Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Sabnzbd not working with newest gntp
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
Doogman
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 242

PostPosted: Sun Jun 16, 2013 4:01 pm    Post subject: Sabnzbd not working with newest gntp Reply with quote

Synced-up and updated my home server last night and was rewarded with a broken sabnzbd. It would start with this error:

File "/usr/share/sabnzbd/sabnzbd/misc.py", line 46, in <module>
import sabnzbd.growler as growler
File "/usr/share/sabnzbd/sabnzbd/growler.py", line 34, in <module>
from gntp import GNTPRegister
ImportError: cannot import name GNTPRegister

After a good bit of fiddling this morning, I got sabnzbd up and running again by masking the newest version of dev-python/gntp. So this working now:

[I] net-nntp/sabnzbd
Available versions: (~)0.7.10 (~)0.7.11 (~)0.7.12 {{+rar +ssl unzip +yenc}}
Installed versions: 0.7.12(11:35:13 06/16/13)(rar ssl yenc -unzip)
Homepage: http://www.sabnzbd.org/
Description: Binary newsgrabber with web-interface

[I] dev-python/gntp
Available versions: (~)0.5 (~)0.6 [m](~)1.0.1 {{python_targets_python2_5 python_targets_python2_6 python_targets_python2_7 python_targets_python3_3}}
Installed versions: 0.6(11:32:14 06/16/13)
Homepage: https://github.com/kfdm/gntp http://pypi.python.org/pypi/gntp
Description: Python library for working with the Growl Notification Transport Protocol

Anyone else seeing this? Bug in sabnzbd or gntp package and not a python problem?
Back to top
View user's profile Send private message
pums974
Tux's lil' helper
Tux's lil' helper


Joined: 27 Feb 2010
Posts: 78

PostPosted: Sun Jun 16, 2013 5:21 pm    Post subject: Reply with quote

seems like correcting
Code:
from gntp import GNTPRegister

by
Code:
from gntp.core import GNTPRegister

solve the problem here
Back to top
View user's profile Send private message
arandomerik
n00b
n00b


Joined: 21 Apr 2012
Posts: 3

PostPosted: Sun Jun 23, 2013 4:39 pm    Post subject: Reply with quote

Thanks! This worked for me as well.


pums974 wrote:
seems like correcting
Code:
from gntp import GNTPRegister

by
Code:
from gntp.core import GNTPRegister

solve the problem here
Back to top
View user's profile Send private message
Doogman
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 242

PostPosted: Sun Jun 23, 2013 11:09 pm    Post subject: Reply with quote

OK, I submitted a bug on this.
Back to top
View user's profile Send private message
Doogman
Apprentice
Apprentice


Joined: 24 Sep 2004
Posts: 242

PostPosted: Tue Jun 25, 2013 1:12 am    Post subject: Reply with quote

Should be fixed with sabnzbd-0.7.13-r1.

https://bugs.gentoo.org/show_bug.cgi?id=474540
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum