Build SABnzbd from source on Centos 5.2

Get help with all aspects of 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
master_marcel
Newbie
Newbie
Posts: 5
Joined: April 30th, 2010, 4:29 am

Build SABnzbd from source on Centos 5.2

Post by master_marcel »

Hi,

I installed SABnzbd 5.0 on ClearOS. It is Centos 5.2 based. Thats is running smooth. Now i want to move Sabnzbd 5.2. So i build from source. When i execute this command 

Code: Select all

python -OO SABnzbd.py -v
i'll get this output

Code: Select all

Traceback (most recent call last):
  File "SABnzbd.py", line 63, in ?
    import sabnzbd
  File "/usr/local/SABnzbd-0.5.2/sabnzbd/__init__.py", line 66, in ?
    import sabnzbd.nzbqueue as nzbqueue
  File "/usr/local/SABnzbd-0.5.2/sabnzbd/nzbqueue.py", line 37, in ?
    import sabnzbd.assembler
  File "/usr/local/SABnzbd-0.5.2/sabnzbd/assembler.py", line 40, in ?
    import sabnzbd.postproc
  File "/usr/local/SABnzbd-0.5.2/sabnzbd/postproc.py", line 41, in ?
    import sabnzbd.emailer as emailer
  File "/usr/local/SABnzbd-0.5.2/sabnzbd/emailer.py", line 212, in ?
    from email.message import Message
ImportError: No module named message
Anyone a idea what is going on? Can you direct me in the right way?
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: Build SABnzbd from source on Centos 5.2

Post by shypike »

Centos and RedHat live in the previous century as far as Python support is concerned.
See here for solution: http://forums.sabnzbd.org/index.php?topic=4266.0
master_marcel
Newbie
Newbie
Posts: 5
Joined: April 30th, 2010, 4:29 am

Re: Build SABnzbd from source on Centos 5.2

Post by master_marcel »

Hi Shyspike,

Thanks for your quick reply. I will take a look.
lennardw
Newbie
Newbie
Posts: 23
Joined: July 10th, 2010, 4:32 am

Re: Build SABnzbd from source on Centos 5.2

Post by lennardw »

I just created a quick howto on how to make SABnzbd work on CentOS 5.x:
http://forums.sabnzbd.org/index.php?topic=4675.0
Post Reply