Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 456336 - net-nntp/sabnzbd-0.7.11 version bump + error 500 systematically after configuration
Summary: net-nntp/sabnzbd-0.7.11 version bump + error 500 systematically after configu...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Justin Bronder (RETIRED)
URL: http://forums.sabnzbd.org/viewtopic.p...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-02-09 17:15 UTC by Sébastien P.
Modified: 2013-02-14 18:42 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Sébastien P. 2013-02-09 17:15:20 UTC
Justin Bronder is the maintener this ebuild.

Change log:
> Obfuscated file name support causes regular multi-set NZBs to verify (much) slower
> Bad articles from some servers are accepted as valid data
> Generic Sort fails to rename files when an extra folder level is present in the RAR files

About 455190, I try to install 0.7.10 from scratch.
=> Ebuild have to create /var/lib/sabnzbd (user sabnzbd cannot create it). Ebuild need these lines:
“diropts -o ${PN} -g ${PN}
dodir "${HOMEDIR}"”.

=> Problem I cannot use the 0.7.10 from portage. There is an error 500 systematically (after the first configuration wizard pages).

Reproducible: Always

Steps to Reproduce:
1. emerge --unmerge sabnzbd
2. rm -r /etc/sabnzbd /var/lib/sabnzbd /var/log/sabnzbd (only “etc” is mandatory)
3. emerge sabnzbd
4. open a browser http://localhost:8080/
5. Fill the forms (sabnzbd restart by himself at the end)
6. reopen http://localhost:8080/, it fails
Actual Results:  
2013-02-09 16:58:28,322::INFO::[_cplogging:178] [09/Feb/2013:16:58:28] HTTP
Request Headers:
  AUTHORIZATION: Basic c2FibnpiZDpzZWNyZXQ=
  COOKIE: plushHistPerPage=20; plushQueuePerPage=5; plushMultiOps=0; plushFailedOnly=0; plushContainerWidth=100%25; plushNoTopMenu=0
  HOST: localhost:8080
  CONNECTION: keep-alive
  Remote-Addr: 127.0.0.1
  ACCEPT: text/html, text/*;q=0.9, image/jpeg;q=0.9, image/png;q=0.9, image/*;q=0.9, */*;q=0.8
  ACCEPT-CHARSET: utf-8,*;q=0.5
  USER-AGENT: Mozilla/5.0 (X11; Linux 3.5.7-gentoo x86_64; fr) KHTML/4.9.5 (like Gecko) Konqueror/4.9
  ACCEPT-LANGUAGE: fr,en-US;q=0.9,en;q=0.8
  DNT: 1
  ACCEPT-ENCODING: gzip, deflate, x-gzip, x-deflate
2013-02-09 16:58:28,325::ERROR::[_cplogging:178] [09/Feb/2013:16:58:28] HTTP Traceback (most recent call last):
  File "/usr/lib64/python2.7/site-packages/cherrypy/_cprequest.py", line 656, in respond
    response.finalize()
  File "/usr/lib64/python2.7/site-packages/cherrypy/_cprequest.py", line 897, in finalize
    content = self.collapse_body()
  File "/usr/lib64/python2.7/site-packages/cherrypy/_cprequest.py", line 865, in collapse_body
    newbody = ''.join([chunk for chunk in self.body])
  File "/usr/lib64/python2.7/site-packages/cherrypy/lib/encoding.py", line 259, in compress
    crc = zlib.crc32(line, crc)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xe8' in position 33: ordinal not in range(128)

Expected Results:  
Access to the web interface.

I use dev-python/cherry-3.2.0 (last amd64 stable).
Comment 1 xenon 2013-02-13 23:33:05 UTC
While we wait for the maintainer, you can use the old ebuild and manually bump it to 0.7.10 or .11. I did it and did not notice any side effects.

Here's the 0.7.9 ebuild: http://sources.gentoo.org/cgi-bin/viewvc.cgi/gentoo-x86/net-nntp/sabnzbd/sabnzbd-0.7.9.ebuild?view=markup

Also you might want to follow this bug:

https://bugs.gentoo.org/show_bug.cgi?id=456338
Comment 2 Justin Bronder (RETIRED) gentoo-dev 2013-02-14 18:42:19 UTC
Bump is in:

  14 Feb 2013; Justin Bronder <jsbronder@gentoo.org> +sabnzbd-0.7.11.ebuild:
  Version bump (#456336). Rebundle cherrypy until 0.8.0 comes out (#450242,
  #456338 and see comments in ebuild).  Remove default user/pass from config.

However I'm unable to reproduce your initial configuration error with either 0.7.10 or 0.7.11.  Please reopen if you can still reproduce with 0.7.11.