I managed to get rid of the PIL module errors:

Download and extract:

http://packages.ubuntu.com/karmic/python-imaging

Copy the files from the extracted deb (specifically the files in
/usr/lib/python2.5/site-packages/P*) to /usr/lib/python2.5/site-packages
on your local machine. Then from the command line:

cd /usr/lib/python2.6
sudo ln -s ../python2.5/site-packages .

python-imaging_1.1.7-1_i386.deb (the version included with Lucid)
doesn't include the site-packages directory while the python-
imaging_1.1.6-3ubuntu1_i386.deb (the version included with Karmic). I
assume this is why pdvdlinux couldn't find the PIL module. However when
I start pdvdlinux from the command line I still get:

./version.kc
Traceback (most recent call last):
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/PCM4/version.py", line 178, in 
kImport_module
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/PCM4/version.py", line 332, in 
LoadKoanModule
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/mm/caffeine.py", line 1, in 
<module>
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/PCM4/version.py", line 72, in 
import_hook
ImportError: No module named dbus
KImport fail
Traceback (most recent call last):
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/PCM4/version.py", line 178, in 
kImport_module
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/PCM4/version.py", line 332, in 
LoadKoanModule
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/PCM4/Common/__init__.py", line 
19, in <module>
ImportError: cannot import name caffeine
KImport fail
Traceback (most recent call last):
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/PCM4/version.py", line 352, in 
<module>
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/PCM4/startup_dist.py", line 64, 
in main
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/PCM4/root.py", line 384, in main
  File "/home/david/SVN/pdvdlinux_ubuntu/trunk/PCM4/root.py", line 328, in 
InitPath
AttributeError: 'module' object has no attribute 'SetPath'


These errors might be related to how the dbus and caffeine modules are imported 
within the code. I don't know python so I am guessing.

-- 
CyberLink PowerDVD Linux -
https://bugs.launchpad.net/bugs/570967
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to