Random errors when updating page or clikking on link

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
RanK
Newbie
Newbie
Posts: 3
Joined: September 17th, 2008, 11:14 am

Random errors when updating page or clikking on link

Post by RanK »

Hi,

Sometimes when i use SABnzbd i get a error in the application this looks to be random but it is some links it`s higher chances of getting a error when i click them.

The one i noticed is this:

http://192.168.1.250:8082/sabnzbd/m/connections/

OR

http://192.168.1.250:8082/sabnzbd/connections/

Also when i try to add nzb files or add nzb ID i get this error.

Unrecoverable error in the server.
Page handler: 'Broken pipe'
Traceback (most recent call last):
  File "/home/sab/SABnzbd-0.4.3/cherrypy/_cpwsgi.py", line 125, in wsgiApp
    environ['wsgi.input'])
  File "/home/sab/SABnzbd-0.4.3/cherrypy/_cphttptools.py", line 88, in run
    _cputil.get_special_attribute("_cp_log_access", "_cpLogAccess")()
  File "/home/sab/SABnzbd-0.4.3/cherrypy/_cputil.py", line 124, in _cp_log_access
    print s
IOError: [Errno 32] Broken pipe

Just got another error when clicking: http://192.168.1.250:8082/sabnzbd/m/con ... t_rss_feed

Error:

Unrecoverable error in the server.

===First Error===

Traceback (most recent call last):
  File "/home/sab/SABnzbd-0.4.3/cherrypy/_cphttptools.py", line 126, in _run
    applyFilters('before_finalize')
  File "/home/sab/SABnzbd-0.4.3/cherrypy/filters/__init__.py", line 151, in applyFilters
    method()
  File "/home/sab/SABnzbd-0.4.3/sabnzbd/utils/multiauth/filter.py", line 59, in beforeFinalize
    cherrypy.response.body = rsrc.callable(rsrc.instance,
  File "/home/sab/SABnzbd-0.4.3/sabnzbd/interface.py", line 1655, in test_rss_feed
    sabnzbd.run_rss_feed(feed, download=False)
  File "/home/sab/SABnzbd-0.4.3/sabnzbd/__init__.py", line 1440, in run_rss_feed
    return RSS.run_feed(feed, download)
  File "/home/sab/SABnzbd-0.4.3/sabnzbd/decorators.py", line 26, in newFunction
    return f(*args, **kw)
  File "/home/sab/SABnzbd-0.4.3/sabnzbd/rss.py", line 162, in run_feed
    logging.debug("[%s] Running feedparser on %s", __NAME__, uri)
  File "/usr/lib/python2.4/logging/__init__.py", line 1305, in debug
    apply(root.debug, (msg,)+args, kwargs)
  File "/usr/lib/python2.4/logging/__init__.py", line 955, in debug
    apply(self._log, (DEBUG, msg, args), kwargs)
  File "/usr/lib/python2.4/logging/__init__.py", line 1079, in _log
    self.handle(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 1089, in handle
    self.callHandlers(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 1126, in callHandlers
    hdlr.handle(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 642, in handle
    self.emit(record)
  File "/usr/lib/python2.4/logging/handlers.py", line 79, in emit
    self.handleError(record)
  File "/usr/lib/python2.4/logging/__init__.py", line 693, in handleError
    traceback.print_exception(ei[0], ei[1], ei[2], None, sys.stderr)
  File "/usr/lib/python2.4/traceback.py", line 124, in print_exception
    _print(file, 'Traceback (most recent call last):')
  File "/usr/lib/python2.4/traceback.py", line 13, in _print
    file.write(str+terminator)
IOError: [Errno 32] Broken pipe


===Second Error===

Page handler: 'Broken pipe'
Traceback (most recent call last):
  File "/home/sab/SABnzbd-0.4.3/cherrypy/_cphttptools.py", line 446, in handleError
    _cputil.get_special_attribute('_cp_on_error', '_cpOnError')()
  File "/home/sab/SABnzbd-0.4.3/cherrypy/_cputil.py", line 375, in _cp_on_error
    cherrypy.HTTPError(500).set_response()
  File "/home/sab/SABnzbd-0.4.3/cherrypy/_cperror.py", line 173, in set_response
    handler(self.status, self.message)
  File "/home/sab/SABnzbd-0.4.3/cherrypy/_cputil.py", line 249, in _cp_on_http_error
    cherrypy.log(logmsg, "HTTP")
  File "/home/sab/SABnzbd-0.4.3/cherrypy/__init__.py", line 115, in log
    logfunc(msg, context, severity)
  File "/home/sab/SABnzbd-0.4.3/cherrypy/_cputil.py", line 149, in _cp_log_message
    print s
IOError: [Errno 32] Broken pipe

My logs is running DEBUG mode right now.

Could someone please help?

Thanks in advance.

Best Regards

-RanK-
Last edited by RanK on September 17th, 2008, 11:32 am, edited 1 time in total.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Random errors when updating page or clikking on link

Post by shypike »

I see you use Linux (or at least not Windows).
Which OS, which Python, which Python modules did you install?
RanK
Newbie
Newbie
Posts: 3
Joined: September 17th, 2008, 11:14 am

Re: Random errors when updating page or clikking on link

Post by RanK »

Hi,

Thanks for your reply  :)

My OS is:

Operating system Debian Linux 4.0
Kernel and CPU Linux 2.6.18-6-686 on i686

Python:

Package python
Version 2.4.4-2
Architecture all Installed

Package python-cherrypy
Version 2.2.1-3etch1
Architecture all

Regards

-RanK-
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Random errors when updating page or clikking on link

Post by shypike »

It's not really possible to  troubleshoot everyone's installation.
Officially we support Python 2.4, but do very little testing with it.
You might consider upgrading to Python 2.5
Post Reply