I'm running Fedora 25 Workstation and had been running sabnzbd 1.2.1 Final. When I ran pip install sabyenc I received this error. When I ran pip -V it reported pip 9.0.1 from /usr/lib/python2.7/site-packages (python 2.7). Do you think this is a Fedora issue or something else?
[2.0.0 Alpha 1] sabyenc install error with Fedora 25
Forum rules
Help us help you:
Help us help you:
- 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.
-
- Newbie
- Posts: 18
- Joined: January 25th, 2016, 4:11 pm
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
First of all: thank you for testing 2.0.0 Alpha 1!
Could you also post the message as text, so that Google and others can find it, and so that I don't have to type the whole line:
Did you Google that line?
On Ubuntu (see https://sabnzbd.org/wiki/extra/sabyenc.html ) you need
So ... install python-dev (or equirvalent) on your Fedora.
EDIT: Fedora's equivalent might be python-devel
Could you also post the message as text, so that Google and others can find it, and so that I don't have to type the whole line:
Code: Select all
src/sabyenc.h:22:20: fatal error: Python.h: No such file or directory
On Ubuntu (see https://sabnzbd.org/wiki/extra/sabyenc.html ) you need
Code: Select all
python-dev python-pip
EDIT: Fedora's equivalent might be python-devel
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
total history on a fresh Fedora 25 docker:
Reasons for those packages:
Solution:
Solution:
All working:
Code: Select all
yum install -y python python-devel gcc redhat-rpm-config
pip install --upgrade pip
pip install sabyenc --upgrade
python -c "import sabyenc; print sabyenc.__version__"
Reasons for those packages:
Code: Select all
unable to execute 'gcc': No such file or directory
Code: Select all
yum install gcc
Code: Select all
gcc: error: /usr/lib/rpm/redhat/redhat-hardened-cc1: No such file or directory
Code: Select all
yum install redhat-rpm-config
Code: Select all
# python -c "import sabyenc; print sabyenc.__version__"
2.7.0
-
- Newbie
- Posts: 18
- Joined: January 25th, 2016, 4:11 pm
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
Thanks for the quick response and the help. It turns out that I was just missing the --upgrade at the end of the pip install sabyenc line. I guess that's what happens when you try to throw it in quickly at the end of day/night. I already had gcc and redhat-rpm-config installed and I didn't need to install python-devel for sabyenc to install correctly.
Thanks again for the help. I look forward to seeing how 2.0.0 runs.
Thanks again for the help. I look forward to seeing how 2.0.0 runs.
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
Well ... you're the judge, so tell us! Do you see a speed gain over SAB 1.2.x? You should if your CPU is the bottleneck.I look forward to seeing how 2.0.0 runs.
-
- Newbie
- Posts: 18
- Joined: January 25th, 2016, 4:11 pm
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
I'm running sab from a RAM drive on a system with an older i7 so no speed bump for me. I downloaded the same 4 GB file twice with 1.2.1 and twice with 2.0.0 and all the downloads were within 12 seconds of each other. I'm running sab from source so it's really easy to switch back and forth.
Thanks again and keep up the good work.
Thanks again and keep up the good work.
-
- Newbie
- Posts: 18
- Joined: January 25th, 2016, 4:11 pm
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
I guess I spoke to soon as 2.0.0 is now downloading noticeably slower than 1.2.1. The time difference between the two to dl the same 3.7 GB file is now around 45 seconds and when I watch the network speed monitor it shows 1.2.1 running 120-130 Mb/s and 2.0.0 running 100-110 Mb/s. Can I uninstall sabyenc and use the Python yenc module to get my speed back or should I fall back to 1.2.1?
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
Yes,
Code: Select all
pip uninstall sabyenc
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
I am surprised. It seems more likely that it's a drop in network/newsserver than 2.0.0.
The improvements in 2.0.0 have been so great that it can only be similar, not slower.
Maybe keep watching it for a few more downloads?
The improvements in 2.0.0 have been so great that it can only be similar, not slower.
Maybe keep watching it for a few more downloads?
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
-
- Newbie
- Posts: 18
- Joined: January 25th, 2016, 4:11 pm
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
Thanks, I wondered if it was that easy.sander wrote:Yes,
Code: Select all
pip uninstall sabyenc
I can make the change between 1.2.1 and 2.0.0 in about 1 minute and 2.0.0 is consistently slower for me. I used 1.2.1 today but I'll switch back to 2.0.0 tomorrow and let you know what happens.safihre wrote:I am surprised. It seems more likely that it's a drop in network/newsserver than 2.0.0.
The improvements in 2.0.0 have been so great that it can only be similar, not slower.
Maybe keep watching it for a few more downloads?
-
- Newbie
- Posts: 18
- Joined: January 25th, 2016, 4:11 pm
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
Well I saw the same results today as I did yesterday. For some reason 2.0.0 is slower, by about 10 - 15 Mb/s, for me than 1.2.1B1. I didn't try the pip uninstall sabyenc. Is 2.0.0 slower for anyone else or is it just me?
-
- Newbie
- Posts: 18
- Joined: January 25th, 2016, 4:11 pm
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
I've done more testing with the following results. I uninstalled sabyenc and downloaded the same 2.5 GB file twice with 2.0.0 and 1.2.1 alternating the downlaods between the versions and found 2.0.0 was 12 Mb/s slower than 1.2.1. I reinstalled sabyenc and completed the same test with the same file and 2.0.0 was 10 Mb/s slower than 1.2.1. I run sabnzbd from source and installed python-cheetah dbus-python python-yenc python-cryptography notify-python openssl par2cmdline unrar unzip p7zip sabyenc, am I missing any programs that might cause the slow down in 2.0.0? I have the article cache limit set to 1 GB. When I tested sabnzbd 1.2.1 with nzbget 18 the download speeds were within 1 Mb/s which is probably just network or NNTP traffic differences. Please let me know if there is anything I can do to bring the 2.0.0 speeds more in line with what I see with 1.2.1.
Thanks
Thanks
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
I honestly have no idea..
If you like our support, check our special newsserver deal or donate at: https://sabnzbd.org/donate
-
- Newbie
- Posts: 18
- Joined: January 25th, 2016, 4:11 pm
Re: [2.0.0 Alpha 1] sabyenc install error with Fedora 25
Ok.
Thanks for taking the time.
Thanks for taking the time.