RC3: 'module' object has no attribute 'SABYENC_VERSION'

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
mrcortez34
Newbie
Newbie
Posts: 2
Joined: April 6th, 2017, 10:00 pm

RC3: 'module' object has no attribute 'SABYENC_VERSION'

Post by mrcortez34 »

I need help with trying to figure the issue. I did an update, but now I keeping getting an "AttributeError"







sabnzbdplus
2017-04-06 20:49:01,909::INFO::[sabnzbdplus:1158] --------------------------------
2017-04-06 20:49:01,909::INFO::[sabnzbdplus:1159] sabnzbdplus-2.0.0RC3 (rev=840b03c875a4b2ad1199aecb7398f882c974093b)
2017-04-06 20:49:01,909::INFO::[sabnzbdplus:1160] Full executable path = /usr/bin/sabnzbdplus
2017-04-06 20:49:01,909::INFO::[sabnzbdplus:1172] Platform = posix
2017-04-06 20:49:01,909::INFO::[sabnzbdplus:1173] Python-version = 2.7.12 (default, Nov 19 2016, 06:48:10)
[GCC 5.4.0 20160609]
2017-04-06 20:49:01,909::INFO::[sabnzbdplus:1174] Arguments = /usr/bin/sabnzbdplus
2017-04-06 20:49:01,910::INFO::[sabnzbdplus:1179] Preferred encoding = UTF-8
2017-04-06 20:49:01,910::INFO::[sabnzbdplus:1220] Read INI file /home/michaelmc/.sabnzbd/sabnzbd.ini
2017-04-06 20:49:01,911::INFO::[__init__:995] Loading data for rss_data.sab from /home/michaelmc/.sabnzbd/admin/rss_data.sab
2017-04-06 20:49:01,911::INFO::[__init__:995] Loading data for totals10.sab from /home/michaelmc/.sabnzbd/admin/totals10.sab
2017-04-06 20:49:01,911::INFO::[postproc:93] Loading postproc queue
2017-04-06 20:49:01,911::INFO::[__init__:995] Loading data for postproc2.sab from /home/michaelmc/.sabnzbd/admin/postproc2.sab
2017-04-06 20:49:01,911::INFO::[__init__:995] Loading data for queue10.sab from /home/michaelmc/.sabnzbd/admin/queue10.sab
2017-04-06 20:49:01,912::INFO::[__init__:995] Loading data for watched_data2.sab from /home/michaelmc/.sabnzbd/admin/watched_data2.sab
2017-04-06 20:49:01,912::INFO::[__init__:995] Loading data for Rating.sab from /home/michaelmc/.sabnzbd/admin/Rating.sab
2017-04-06 20:49:01,912::INFO::[__init__:998] /home/michaelmc/.sabnzbd/admin/Rating.sab missing
2017-04-06 20:49:01,912::INFO::[scheduler:187] Setting schedule for midnight BPS reset
2017-04-06 20:49:01,922::INFO::[__init__:351] All processes started
2017-04-06 20:49:01,922::INFO::[sabnzbdplus:287] Web dir is /usr/share/sabnzbdplus/interfaces/Glitter
2017-04-06 20:49:01,922::INFO::[sabnzbdplus:287] Web dir is /usr/share/sabnzbdplus/interfaces/Config
2017-04-06 20:49:01,932::INFO::[sabnzbdplus:1258] pygtk2 not found. No SysTray.
Traceback (most recent call last):
File "/usr/bin/sabnzbdplus", line 1730, in <module>
main()
File "/usr/bin/sabnzbdplus", line 1263, in main
print_modules()
File "/usr/bin/sabnzbdplus", line 401, in print_modules
if sabnzbd.decoder.SABYENC_VERSION:
AttributeError: 'module' object has no attribute 'SABYENC_VERSION'
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re:RC3: 'module' object has no attribute 'SABYENC_VERSION'

Post by sander »

I changed the subject for you.

Your log tells two things:
- you haven't got SABYenc installed. You should. See https://sabnzbd.org/wiki/extra/sabyenc.html for instructions.
- the traceback is a bug I've caused while trying to improve the logging for your case >:( . Sorry for that. I'll solve it. EDIT: solved on github, and thus in the next release of SABnzbd.
User avatar
jcfp
Release Testers
Release Testers
Posts: 989
Joined: February 7th, 2008, 12:45 pm

Re: RC3: 'module' object has no attribute 'SABYENC_VERSION'

Post by jcfp »

Just backported https://github.com/sabnzbd/sabnzbd/comm ... 921203cd7d to the ppa package. Update and you should be good again. And install sabyenc too while you're at it :)
mrcortez34
Newbie
Newbie
Posts: 2
Joined: April 6th, 2017, 10:00 pm

Re: RC3: 'module' object has no attribute 'SABYENC_VERSION'

Post by mrcortez34 »

Hey Guys,

Thanks you help!! I installed SAByenc and updated the PPA and all is good now.
User avatar
sander
Release Testers
Release Testers
Posts: 8829
Joined: January 22nd, 2008, 2:22 pm

Re: RC3: 'module' object has no attribute 'SABYENC_VERSION'

Post by sander »

jcfp wrote:Just backported https://github.com/sabnzbd/sabnzbd/comm ... 921203cd7d to the ppa package. Update and you should be good again. And install sabyenc too while you're at it :)
Thank you, jcfp!
Post Reply