dweber@skiweber:/data/psychophysics/pyepl$ python exp.py -s dweber
Traceback (most recent call last):
File "exp.py", line 14, in <module>
vt = VideoTrack("video")
File "/usr/lib/python2.5/site-packages/pyepl/display.py", line 1049, in __init__
textlog.LogTrack.__init__(self, basename, archive, autoStart)
File "/usr/lib/python2.5/site-packages/pyepl/textlog.py", line 41, in __init__
self.startService()
File "/usr/lib/python2.5/site-packages/pyepl/display.py", line 1085, in startService
hardware.startVideo()
File "/usr/lib/python2.5/site-packages/pyepl/hardware/graphics/__init__.py", line 218, in startVideo
pygame.display.set_icon(pygame.image.load(os.path.join(pyepldir, "resources", "icon.png")))
pygame.error: Couldn't open /usr/lib/python2.5/site-packages/pyepl/resources/icon.png
dweber@skiweber:/data/psychophysics/pyepl$
Logged In: YES
user_id=295704
Originator: NO
This bug was submitted by Darren Weber. All it amount to is that the ubuntu package does not contain a resources directory with the icon.png file, eg:
dweber@skiweber:/data/psychophysics/pyepl$ ls /usr/lib/python2.4/site-packages/pyepl/
base.py convenience.pyc exceptions.py __init__.py keyboard.pyc mouse.py reposinit.pyc sound.py textlog.pyc version.py
base.pyc display.py exceptions.pyc __init__.pyc locals.py mouse.pyc repository.py sound.pyc timing.py version.pyc
calibration.py display.pyc exputils.py joystick.py locals.pyc pool.py repository.pyc stimulus.py timing.pyc virtualtrack.py
calibration.pyc eeg.py exputils.pyc joystick.pyc mechinput.py pool.pyc repospool.py stimulus.pyc transarchive.py virtualtrack.pyc
convenience.py eeg.pyc hardware keyboard.py mechinput.pyc reposinit.py repospool.pyc textlog.py transarchive.pyc vr
dweber@skiweber:/data/psychophysics/pyepl$
Logged In: YES
user_id=295704
Originator: NO
The icon.png file is installed into
dweber@skiweber:/data/psychophysics/pyepl$ ls /usr/share/python-pyepl/
icon.png splash.png
But the program is still looking for it in the resources directory of the site package installation.
Logged In: YES
user_id=295704
Originator: NO
Note that ubuntu 7.10 (gutsy, amd64) has a ton of symbolic links for the site-package installations in
/usr/lib/python2.4/site-packages/pyepl/
/usr/lib/python2.5/site-packages/pyepl/
into the same location in
/usr/share/pycentral/python-pyepl/site-packages/pyepl/
So it seems that python2.4 and python2.5 actually call the same code installation. So far, I've done nothing extraordinary in my installation of any python packages on this system.
Darren