SABYenc trolls me

Support for the Debian/Ubuntu package, created by JCFP.
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
NotANoobLol
Newbie
Newbie
Posts: 8
Joined: September 12th, 2017, 7:09 pm

SABYenc trolls me

Post by NotANoobLol » September 12th, 2017, 7:22 pm

Hey people,
I have sabnzbd installed on my raspberrypi which has Raspbian 8 (Jessie) installed.
Current version of SABnzbd: 2.3.0Alpha2
SAByenc is not yet installed:

Code: Select all

[email protected]:~ $ python -c "import sabyenc ; print sabyenc.__version__ "
Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named sabyenc
Basically I did the following

Code: Select all

sudo apt-get install python-dev python-pip
Which went fine. No problems during the installation.

Then I did the following (i had to cut the output because I'm not allowed to post links. And the Forum software seems to recognize /usr/dir1/dir2 as a link.)

Code: Select all

[email protected]:~ $ sudo -H pip install sabyenc --upgrade
Traceback (most recent call last):
(...)
    import colorama, pkg_resources
importError: No module named 'colorama'
After that I tried to install colorama

Code: Select all

[email protected]:~ $ sudo -H pip install colorama --upgrade
Traceback (most recent call last):
(...)
ImportError: No module named 'colorama'

I have no idea what else to try. Most stfuff I found via google wasn't helpful I only figured out that it might have something to do with different versions. But the thread on stackoverflow didn't explained what do to...

User avatar
safihre
Administrator
Administrator
Posts: 2114
Joined: April 30th, 2015, 7:35 am
Location: Switzerland
Contact:

Re: SABYenc trolls me

Post by safihre » September 13th, 2017, 1:05 am

I read online that it kas something to do with using it via sudo. Doesn't it work without?
The installing of Sabyenc first.

User avatar
sander
Release Testers
Release Testers
Posts: 6131
Joined: January 22nd, 2008, 2:22 pm

Re: SABYenc trolls me

Post by sander » September 13th, 2017, 6:25 am

"colorama" is not needed by sabnzbd nor sabyenc.

If pip is complaining about colorama, I would say something is wrong with your raspi / pip setup. So I would not say "SABYenc trolls me", but "PIP trolls me". You can try with another, unrelated pip package, like "sudo pip install urwid" and see what happens.

If safihre's suggestion does not work, you can try:
- install via the PPA. Very discouraged on ARM, but you can try
- reinstall a fresh raspbian.

NotANoobLol
Newbie
Newbie
Posts: 8
Joined: September 12th, 2017, 7:09 pm

Re: SABYenc trolls me

Post by NotANoobLol » September 13th, 2017, 6:36 am

safihre wrote:
September 13th, 2017, 1:05 am
I read online that it kas something to do with using it via sudo. Doesn't it work without?
The installing of Sabyenc first.
Right I forgot to mention, that I tried every command without "sudo" too. The same issue happens with the --upgrade flag.

Code: Select all

[email protected]:~ $ pip install sabyenc
Traceback (most recent call last):
(...)
    from requests.compat import IncompleteRead
ImportError: cannot import name 'IncompleteRead'

sander wrote:
September 13th, 2017, 6:25 am
"colorama" is not needed by sabnzbd nor sabyenc.

If pip is complaining about colorama, I would say something is wrong with your raspi / pip setup. So I would not say "SABYenc trolls me", but "PIP trolls me". You can try with another, unrelated pip package, like "sudo pip install urwid" and see what happens.

If safihre's suggestion does not work, you can try:
- install via the PPA. Very discouraged on ARM, but you can try
- reinstall a fresh raspbian.
I get the same colorama issue with urwid. But how can that happen if I purged the python dev which includes pip? I thought with apt-get purge you basically do a reset on that package?

I guess with PPA you mean adding this here to my /etc/apt/source.list?

Code: Select all

deb http://ppa.launchpad DOT net/ jcfp/ sab-addons /ubuntu trusty main
without the spaces of course

User avatar
sander
Release Testers
Release Testers
Posts: 6131
Joined: January 22nd, 2008, 2:22 pm

Re: SABYenc trolls me

Post by sander » September 13th, 2017, 6:43 am

I get the same colorama issue with urwid.
OK. So that proves my hypothesis, and hopefully helps in pinpointing the cause/solution.
But how can that happen if I purged the python dev which includes pip? I thought with apt-get purge you basically do a reset on that package?
pip and apt-get are separated systems ... :(
I guess with PPA you mean adding this here to my /etc/apt/source.list?
Yes. Woth a try. Works for me on my ARM ... :)

If the above fails ... fresh install of Raspbian. FWIW: I also did a fresh on my ARM yesterday ... so that's common business ...

NotANoobLol
Newbie
Newbie
Posts: 8
Joined: September 12th, 2017, 7:09 pm

Re: SABYenc trolls me

Post by NotANoobLol » September 13th, 2017, 7:55 am

I installed it via the PPA.
Easy Gude:
viewtopic.php?f=16&t=22809#p112614

User avatar
sander
Release Testers
Release Testers
Posts: 6131
Joined: January 22nd, 2008, 2:22 pm

Re: SABYenc trolls me

Post by sander » September 13th, 2017, 8:49 am

NotANoobLol wrote:
September 13th, 2017, 7:55 am
I installed it via the PPA.
Easy Gude:
viewtopic.php?f=16&t=22809#p112614
Yeah, that's a good & easy guide by an experienced person ... ;)

... and a wise comment by jcfp ...

Post Reply