Might want to file a bug then.
Derek Ekins wrote:
> Hmm ok.
> Ran make check from the root dir and got this:
>
> File "./runtests.py", line 23, in <module>
> suite.addTest(loader.loadTestsFromName(name))
> File "/usr/lib/python2.5/unittest.py", line 533, in loadTestsFromName
> module = __import__('.'.join(parts_copy))
> File "/home/derek/dev/pitivi/tests/test_file_load_save.py", line 5,
> in <module>
> from pitivi.pitivi import Pitivi
> ImportError: No module named pitivi
>
>
>
> 2009/2/3 Brandon Lewis <[email protected]>:
>> You're supposed to use make check. If that doesn't work then there's a
>> problem with our makefile and we ought to know about it. The issue is that
>> the python path isn't set, so it can't find the discoverer (which is not in
>> the tests directory).
>>
>> Derek Ekins wrote:
>>> Ok I can now load up the app and play around no problems
>>> I still can't run the tests though. Getting this error:
>>>
>>> Traceback (most recent call last):
>>> File "runtests.py", line 23, in <module>
>>> suite.addTest(loader.loadTestsFromName(name))
>>> File "/usr/lib/python2.5/unittest.py", line 533, in loadTestsFromName
>>> module = __import__('.'.join(parts_copy))
>>> File "/home/derek/dev/pitivi/tests/test_discoverer.py", line 28, in
>>> <module>
>>> from pitivi.discoverer import Discoverer
>>> ImportError: No module named pitivi.discoverer
>>>
>>> I am running them by going python runtests.py
>>> Is that correct or do I need to do something different?
>>>
>>> Also in terms of playing around with the UI I take it you don't use
>>> any kind of designer, just make change re-run and have a look righ?
>>>
>>> thanks!
>>>
>>> 2009/2/3 Brandon Lewis <[email protected]>:
>>>> Yes. Install the zope.interface package.
>>>>
>>>> Derek Ekins wrote:
>>>>> Thanks Brandon.
>>>>> So I ran all these commands:
>>>>> $ ./autogen.sh
>>>>> $ ./configure
>>>>> $ make
>>>>>
>>>>> and they completed without error. I then tried to run bin/pitivi but
>>>>> get this error:
>>>>>
>>>>> Traceback (most recent call last):
>>>>> File "bin/pitivi", line 118, in <module>
>>>>> _run_pitivi()
>>>>> File "bin/pitivi", line 111, in _run_pitivi
>>>>> import pitivi.application as ptv
>>>>> File "application.py", line 38, in <module>
>>>>> File "pitivi/pluginmanager.py", line 38, in <module>
>>>>> import zope.interface.verify
>>>>> ImportError: No module named zope.interface.verify
>>>>>
>>>>> I googled zope but couldn't find any useful information on it.
>>>>> Any ideas?
>>>>>
>>>>> 2009/2/3 Brandon Lewis <[email protected]>
>>>>>> Hello, welcome to the list.
>>>>>>
>>>>>> Well the first thing is to install all the dependencies. This will be
>>>>>> mostly done for you if you install the latest pitivi package and get it
>>>>>> working. In addition, you need autotools and the like, and I think at
>>>>>> the
>>>>>> moment you still need CVS installed for ./configure to work.
>>>>>>
>>>>>> I don't use an IDE (I use vim, and I think most of the other devs use
>>>>>> emacs). If either of those is too heavy-handed, you might try eclipse
>>>>>> (though the requirements are much more significant). There's a
>>>>>> smattering of
>>>>>> python-specific IDEs out there, so have a look through your package
>>>>>> manager
>>>>>> and try a few.
>>>>>>
>>>>>> If you're using git, you should probably install giggle or gitk, which
>>>>>> lets you review commit history.
>>>>>>
>>>>>> Check the website for more specific instructions:
>>>>>> http://pitivi.org/wiki/Welcome_Developers#Building_PiTiVi
>>>>>>
>>>>>> P.S. we'd appreciate it if you sent text-only postings to this mailing
>>>>>> list
>>>>>>
>>>>>> Derek Ekins wrote:
>>>>>>> Hi,
>>>>>>> I am new to python and I would like to do some work on Pitivi.
>>>>>>>
>>>>>>> I have been doing c# for years so I will be able to work out the
>>>>>>> nuances
>>>>>>> of the language and work out how it Pitivi fits together but I am
>>>>>>> having
>>>>>>> trouble getting the environment set-up!
>>>>>>>
>>>>>>> Could someone give me some pointers on getting started?
>>>>>>> I have cloned the git repository. What is the next step from here?
>>>>>>> What is a good IDE to use for python or should I even use one?
>>>>>>> How do I run the tests? I have tried executing runtests.py but got
>>>>>>> this
>>>>>>> error:
>>>>>>>
>>>>>>> Traceback (most recent call last):
>>>>>>> File "runtests.py", line 23, in <module>
>>>>>>> suite.addTest(loader.loadTestsFromName(name))
>>>>>>> File "/usr/lib/python2.5/unittest.py", line 533, in loadTestsFromName
>>>>>>> module = __import__('.'.join(parts_copy))
>>>>>>> File "/home/derek/Documents/Pitivi/pitivi/tests/test_discoverer.py",
>>>>>>> line 28, in <module>
>>>>>>> from pitivi.discoverer import Discoverer
>>>>>>> ImportError: No module named pitivi.discoverer
>>>>>>>
>>>>>>> Would really appreciate some help!
>>>>>>> Thanks,
>>>>>>>
>>>>>>> Derek Ekins
>>>>>>> http://externalreflections.co.uk <http://externalreflections.co.uk/>
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------------
>>>>>>> This SF.net email is sponsored by:
>>>>>>> SourcForge Community
>>>>>>> SourceForge wants to tell your story.
>>>>>>> http://p.sf.net/sfu/sf-spreadtheword
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> ------------------------------------------------------------------------
>>>>>>>
>>>>>>> _______________________________________________
>>>>>>> Pitivi-pitivi mailing list
>>>>>>> [email protected]
>>>>>>> https://lists.sourceforge.net/lists/listinfo/pitivi-pitivi
>>
------------------------------------------------------------------------------
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
_______________________________________________
Pitivi-pitivi mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/pitivi-pitivi