Ok ok, I think I'm no one step closer to the solution. What I now did was that
Code: Select all
export PYTHONPATH="$PYTHONPATH:/usr/lib/python2.6/dist-packages"
now I get this output for the testpaths.py
Code: Select all
python sys.path is as follows:- ['/media/Videos/TEMP', '/usr/local/sbin/moviegrabber/logs', '/usr/lib/python2.6/dist-packages', '/u sr/lib/python2.6/dist-packages/PIL', '/usr/lib/python2.6/dist-packages/gst-0.10', '/usr/lib/pymodules/python2.6', '/usr/lib/python2 .6/dist-packages/gtk-2.0', '/usr/lib/pymodules/python2.6/gtk-2.0', '/usr/lib/python2.7', '/usr/lib/python2.7/plat-linux2', '/usr/li b/python2.7/lib-tk', '/usr/lib/python2.7/lib-old', '/usr/lib/python2.7/lib-dynload', '/usr/local/lib/python2.7/dist-packages', '/us r/lib/python2.7/dist-packages', '/usr/local/sbin/moviegrabber/logs/lib/sitepackages', '/usr/local/sbin/moviegrabber/logs/lib/movieg rabber']
trying to load Image module
load succesful
trying to load _imaging module
load succesful
and "import Image" works now also
but still an error in moviegrabber
Code: Select all
18/10/2011 05:50:15 Error In Poster Download Function
Traceback (most recent call last):
File "MovieGrabber.py", line 1695, in PosterDownload
poster_image.load()
File "/usr/local/sbin/moviegrabber/lib/sitepackages/PIL/ImageFile.py", line 164, in load
self.load_prepare()
File "/usr/local/sbin/moviegrabber/lib/sitepackages/PIL/ImageFile.py", line 231, in load_prepare
self.im = Image.core.new(self.mode, self.size)
File "/usr/local/sbin/moviegrabber/lib/sitepackages/PIL/Image.py", line 37, in __getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed
18/10/2011 05:50:15 Error In NZBMatrix RSS Function
Traceback (most recent call last):
File "MovieGrabber.py", line 2529, in RunDownloader
PosterDownload()
File "MovieGrabber.py", line 1741, in PosterDownload
ErrorLogging("Poster Download Function")
File "MovieGrabber.py", line 1695, in PosterDownload
poster_image.load()
File "/usr/local/sbin/moviegrabber/lib/sitepackages/PIL/ImageFile.py", line 164, in load
self.load_prepare()
File "/usr/local/sbin/moviegrabber/lib/sitepackages/PIL/ImageFile.py", line 231, in load_prepare
self.im = Image.core.new(self.mode, self.size)
File "/usr/local/sbin/moviegrabber/lib/sitepackages/PIL/Image.py", line 37, in __getattr__
raise ImportError("The _imaging C module is not installed")
ImportError: The _imaging C module is not installed