Page 1 of 1

Error under freebsd 7 Release

Posted: December 24th, 2008, 10:53 am
by Rainmaster
I get this error when i run SABnzbd

Traceback (most recent call last):
  File "SABnzbd.py", line 42, in
    import cherrypy
  File "/usr/home/stefan/SABnzbd-0.4.6/cherrypy/__init__.py", line 10, in
    import config
  File "/usr/home/stefan/SABnzbd-0.4.6/cherrypy/config.py", line 7, in
    from cherrypy import _cputil
  File "/usr/home/stefan/SABnzbd-0.4.6/cherrypy/_cputil.py", line 9, in
    from cherrypy.lib import httptools
ImportError: No module named lib

This is my pkg_info

gettext-0.17_1      GNU gettext package
gmake-3.81_3        GNU version of 'make' utility
libiconv-1.11_1    A character set conversion library
libtool-1.5.26      Generic shared library support script
linux_base-fc-4_10  Base set of packages needed in Linux mode (for i386/amd64)
par2cmdline-0.4_1  Tools for using Parity v2 Archive files
py25-chardet-1.0.1  Character encoding auto-detection in Python
py25-cheetah-2.0.1  HTML template engine for Python
py25-cherrypy-old-2.2.1,1 A pythonic, object-oriented web development framework
py25-elementtree-1.2.6 Container for hierarchical data structures written in Pytho
py25-feedparser-4.1_2 An RSS feed parser written in Python
py25-openssl-0.8    Python interface to the OpenSSL library
py25-setuptools-0.6c9 Download, build, install, upgrade, and uninstall Python pac
py25-yenc-0.3      A yenc decoding module for Python in C
python25-2.5.2_3    An interpreted object-oriented programming language
unrar-3.80,5        Extract, view & test RAR archives
unzip-5.52_5        List, test and extract compressed files in a ZIP archive
yencode-0.46_5      A free (GPL) encoder and decoder for the yEnc Usenet file f

Do i miss something???

Re: Error under freebsd 7 Release

Posted: December 24th, 2008, 11:35 am
by shypike
It looks like something is wrong with your Python installation,
although I cannot tell what from this error message.

It looks like the  CherryPy 2.2.1 package is installed.
You can try to remove (or rename) the cherrypy directory inside the SABnzbd installation.
SABnzbd will then use the installed CherryPy module, instead of the one in the distribution.

Re: Error under freebsd 7 Release

Posted: December 24th, 2008, 11:39 am
by Rainmaster
Thanks it works using py25-cherrypy-old-2.2.1,1 ;D