Python complaining about CherryPY?

Thomas McLean tam at ineed2.co.uk
Sat Aug 19 15:56:59 EDT 2006


Hi all,

First post to the list, so first off, I'm new to Python and everything
surrounding it so if you can please ignore my ignorance.

I setup a cherryPY server so that I could use sabnzbd but once, I have
installed/configured what I was told by the tutorials and everything else.
I run ubuntu x86 dapper FYI.

The error messages I get from the logs are as follows (which don't really
mean to muchto me):

19/Aug/2006:20:55:33 HTTP INFO Traceback (most recent call last):
  File "/usr/lib/python2.4/site-packages/cherrypy/_cphttptools.py", line
110, in _run
    applyFilters('before_finalize')
  File "/usr/lib/python2.4/site-packages/cherrypy/filters/__init__.py",
line 151, in applyFilters
    method()
  File
"/home/tam/www/sites/domain1/htdocs/SABnzbd/sabnzbd/utils/multiauth/filter.py",
line 59, in beforeFinalize
    cherrypy.response.body = rsrc.callable(rsrc.instance,
  File "/home/tam/www/sites/domain1/htdocs/SABnzbd/sabnzbd/interface.py",
line 116, in index
    info, pnfo_list, bytespersec = build_header()
  File "/home/tam/www/sites/domain1/htdocs/SABnzbd/sabnzbd/interface.py",
line 933, in build_header
    header = { 'version':sabnzbd.__version__, 'paused':sabnzbd.paused(),
  File "/home/tam/www/sites/domain1/htdocs/SABnzbd/sabnzbd/__init__.py",
line 753, in paused
    return DOWNLOADER.paused
AttributeError: 'NoneType' object has no attribute 'paused'

127.0.0.1 - - [19/Aug/2006:20:55:33] "POST /sabnzbd/ HTTP/1.1" 500 791
"http://localhost:8080/sabnzbd/" "Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.8.0.4) Gecko/20060608 Ubuntu/dapper-security Firefox/1.5.0.4"


So if anyone can shed some light on this I would be very greatful.

Thanks for your time.

Tam.




More information about the Python-list mailing list