Page 1 of 1

0.4.2, Connections tab problem

Posted: August 22nd, 2008, 6:27 am
by MageMinds
I'm getting a 500 error when I try to access the Connections page, I tried with Plush and Default skin both have the same problem. After like 2 or 3 minutes of downloading then the page does work ... In fact I wanted to cut and paste the eror message for you and then the page got working back... Everything else was working it even was downloading near 1 MB/s on IPv6.

Still while writing the error came back while refreshing automatically here it is.

Code: Select all

500 Internal error

The server encountered an unexpected condition which prevented it from fulfilling the request.

Traceback (most recent call last):
  File "cherrypy\_cphttptools.pyo", line 126, in _run
  File "cherrypy\filters\__init__.pyo", line 151, in applyFilters
  File "sabnzbd\interface.pyo", line 209, in beforeFinalize
  File "sabnzbd\interface.pyo", line 1900, in index
  File "xml\sax\saxutils.pyo", line 39, in escape
AttributeError: 'NoneType' object has no attribute 'replace'

Powered by CherryPy 2.3.0 

Re: 0.4.2, Connections tab problem

Posted: August 22nd, 2008, 6:45 am
by shypike
Possibly an NZB file with some very odd message-titles on which the web server chokes.
Check if other jobs give you the same problem.

You coukd send the NZB file to bugs at sabnzbd.org (add a link to this thread in the email).

Re: 0.4.2, Connections tab problem

Posted: August 22nd, 2008, 11:26 am
by MageMinds
EMail sent.

Re: 0.4.2, Connections tab problem

Posted: August 22nd, 2008, 12:20 pm
by shypike
This problem will not occur anymore in the next release.
It's caused by the fact that the NZB contains a lot of file records that have no proper articles.
The future code will give a warning on this and the Connection page error will not occur.

It's not a problem that will cause any problems in the working of SABnzbd, it's just the
Connections page that fails.

Re: 0.4.2, Connections tab problem

Posted: August 22nd, 2008, 12:28 pm
by switch
shypike wrote: It's caused by the fact that the NZB contains a lot of file records that have no proper articles.
The future code will give a warning on this and the Connection page error will not occur.
That issue was fixed in 0.4.1/2 was it not?

Re: 0.4.2, Connections tab problem

Posted: August 22nd, 2008, 2:40 pm
by shypike
Yes, but there are some fringe cases which may still cause problems.
So it may not be solved in the coming 0.4.3 release.
It will be in 0.5.0.