Jose Taza wrote: > Hi there, > > I also found a problem in the latest freevo 2.0 svn version. It is the > following problem: >>>>>>>> > ERROR __init__(1072): Crash! > Traceback (most recent call last): > File "./freevo", line 253, in ? > displays.create() > > File > "/home/joost/freevo2/lib/python2.4/site-packages/freevo/ui/gui/displays/__init__.py", > > line 66, in get > display = Display(size, True) > > File > "/home/joost/freevo2/lib/python2.4/site-packages/freevo/ui/gui/displays/imlib2.py", > > line 50, in __init__ > Imlib2Canvas.__init__(self, size) > File "/usr/lib/python2.4/site-packages/kaa/mevas/displays/imlib2canvas.py", > line 49, in __init__ > self._window = display.X11Window(size = size, title = title) > AttributeError: 'module' object has no attribute 'X11Window' >>>>>>>>>> > > I have really no idea why this happens. I have also tried rebuilding freevo > from scratch (deleting all and starting a new checkout), but still the same > problem. Any ideas?
You should see why when calling setup.py in kaa.display. It should print something like this: | phex-> python setup.py install | checking for X11 ... ok | checking for imlib2 >= 1.1.1 ... 1.3.0 | checking for evas >= 0.9.9.010 ... 0.9.9.037 | checking for directfb >= 0.9.20 ... no | checking for pygame ... not installed | + X11 (imlib2, evas, evasGL) | + Framebuffer (imlib2) | - DirectFB | - SDL I guess in your case X11 was not found. I added some dummy classes to kaa.display now to give a better error message. Maybe X11 header files missing? > I also found out that it is not possible anymore to install kaa in a > different > directory (using the --prefix). If you use the --prefix, freevo will not > build anymore, because the setup (/core/build/lib/freevo/xmlconfig.py) > requires 'kaa.distribution.xmlconfig'. See the error below. > Do we really need to install kaa in the system (/usr/lib/..) or can this be > fixed? OK, I added a small patch to the global Freevo setup, it should work now. The other solution is to set the PYTHONPATH variable. From the python man page: PYTHONPATH Augments the default search path for module files. The format is the same as the shell's $PATH: one or more direc- tory pathnames separated by colons. Non-existent directo- ries are silently ignored. The default search path is installation dependent, but generally begins with ${pre- fix}/lib/python<version> (see PYTHONHOME above). The default search path is always appended to $PYTHONPATH. If a script argument is given, the directory containing the script is inserted in the path in front of $PYTHONPATH. The search path can be manipulated from within a Python program as the variable sys.path . Dischi -- My software never has bugs. It just develops random features.
pgpadPM7DFUGr.pgp
Description: PGP signature
------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel