Results 1 to 5 of 5

Thread: Request for help with python-sabyenc

Hybrid View

  1. #1

    Default Request for help with python-sabyenc

    I am trying to install & run SABnzbd on Leap15
    I have SABnzbd running, but i cannot get python-sabyenc v3.3.5 installed.
    I have managed to install v3.0.2 from https://software.opensuse.org/package/python-sabyenc
    But SABnzbd is asking for a later version.
    SABYenc disabled: no correct version found! (Found v3.0.2, expecting v3.3.5)
    following the instructions on this page:
    https://sabnzbd.org/wiki/installation/sabyenc.html
    I have also tried to compile it myself, but being an absolute Python noob I get errors

    I have installed everything I could find on those pages but no luck.
    The error fatal error: Python.h: Bestand of map bestaat niet (file or map does not exist)
    But as far as I know python is installed in leap15 and SABnzb (also Python) is running

    Is the some kind soul that would help me out , or somebody who can update the package in the openSUSE downloads.
    The error when compiling :
    Code:
      linux-v1ws:/home/me/bin/SABnzbd-2.3.5 # pip install sabyenc --upgrade                 
    Collecting sabyenc 
      Using cached https://files.pythonhosted.org/packages/4f/30/a1a313ee4d9881cc5e119fcefb9f746df71f1b4fa6d3b53cc334799dbfd8/sabyenc-3.3.5.tar.gz 
    Installing collected packages: sabyenc 
      Running setup.py install for sabyenc ... error 
        Complete output from command /usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-2d2iw3mm/sabyenc/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.re
    ad().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-jzsuaojs/install-record.txt --single-version-externally-managed --compile: 
        running install 
        running build 
        running build_ext 
        building 'sabyenc' extension 
        creating build 
        creating build/temp.linux-x86_64-3.6 
        creating build/temp.linux-x86_64-3.6/src 
        gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwin
    d-tables -fstack-clash-protection -g -DOPENSSL_LOAD_CONF -fwrapv -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-
    unwind-tables -fstack-clash-protection -g -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector-strong -funwind-tables -fasynchronous-unwind-tables -fstack-c
    lash-protection -g -fPIC -I/usr/include/python3.6m -c src/sabyenc.c -o build/temp.linux-x86_64-3.6/src/sabyenc.o 
        In file included from src/sabyenc.c:22:0: 
        src/sabyenc.h:22:10: fatal error: Python.h: Bestand of map bestaat niet 
         #include <Python.h> 
                  ^~~~~~~~~~ 
        compilation terminated. 
        error: command 'gcc' failed with exit status 1 
         
        ---------------------------------------- 
    Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-install-2d2iw3mm/sabyenc/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n
    ');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-record-jzsuaojs/install-record.txt --single-version-externally-managed --compile" failed with error code 1 in /tmp
    /pip-install-2d2iw3mm/sabyenc/                                                                                                                                                                   
    linux-v1ws:/home/me/bin/SABnzbd-2.3.5 # exit

  2. #2
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,043
    Blog Entries
    14

    Default Re: Request for help with python-sabyenc

    You may need python3-devel
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  3. #3

    Default Re: Request for help with python-sabyenc

    Quote Originally Posted by Knurpht View Post
    You may need python3-devel
    Thanks, that did the trick
    Confusing stuff that Python.

    It would only work when I used pip2 (Python2 ? )
    so you need Python3 to compile Python2.
    I am getting to old for this modern developing

    But a short test and SABnzbd seems to be working now without errors!

  4. #4

    Default Re: Request for help with python-sabyenc

    @Knurpht
    By the way, also thanks for the latest version of par2cmdline (0.8.0) in the downloads
    Was also a blocker in SABnzbd when installed on Leap15.


  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,043
    Blog Entries
    14

    Default Re: Request for help with python-sabyenc

    Quote Originally Posted by nietgiftig View Post
    @Knurpht
    By the way, also thanks for the latest version of par2cmdline (0.8.0) in the downloads
    Was also a blocker in SABnzbd when installed on Leap15.

    Graag gedaan
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •