Ubuntu Linux: Strange Behaviour?

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
psycko
Newbie
Newbie
Posts: 4
Joined: August 14th, 2008, 10:53 am

Ubuntu Linux: Strange Behaviour?

Post by psycko »

Version: 0.4.2
OS: Ubuntu 8
Install-type: http://www.xs4all.nl/~mgj1/sabnzbd.htm
Skin (if applicable): Plush
Firewall Software: pg + hw firewall
Are you using IPV6? no
Is the issue reproducible? yes

First of all hi, and thank you for this WONDERFUL piece of software!

I installed sabnzbd using a deb package and the guide found on the link above. after noticing that i couldn't run sabnzbd as a deamon i followed the advice from another site and launched it from the install folder (/usr/share/sabnzbd) normally it would read the .ini file inside my home folder so i had to reconfigure everything.. now sabnzbd works but doesn't do anything after the download (no check, no unrar etc) everything just has the circle thing going on forever.. i have everything installed (rar par etc). Can you help me?

Thanks
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Ubuntu Linux: Strange Behaviour?

Post by shypike »

Check the logging (see Config->Connections) to find out more info.

How do you start the program?
In daemon mode you need to use the -f parameter to specify the INI file.
User avatar
Shadowtester
Newbie
Newbie
Posts: 44
Joined: July 31st, 2008, 11:04 am

Re: Ubuntu Linux: Strange Behaviour?

Post by Shadowtester »

Check your config make sure you have the location of the unrar and par2 correct.
psycko
Newbie
Newbie
Posts: 4
Joined: August 14th, 2008, 10:53 am

Re: Ubuntu Linux: Strange Behaviour?

Post by psycko »

shypike wrote: Check the logging (see Config->Connections) to find out more info.

How do you start the program?
In daemon mode you need to use the -f parameter to specify the INI file.

Code: Select all

[sabnzbd] Error accessing NZBQ?
Traceback (most recent call last):
  File "/usr/share/sabnzbd/sabnzbd/__init__.py", line 790, in purge_history
    NZBQ.purge(job)
  File "/usr/share/sabnzbd/sabnzbd/decorators.py", line 25, in newFunction
    return f(*args, **kw)
  File "/usr/share/sabnzbd/sabnzbd/nzbqueue.py", line 410, in purge
    hist_item = self.__downloaded_items.pop(int(job))
IndexError: pop index out of range
Those are the more related errors (the others are just connections errors)

I start the program as such:

Code: Select all

/usr/share/sabnzbd/SABnzbd.py -d -b0 -s 192.168.0.100:8080
I cannot find any options related to the path to unrar and par2 into the .ini file

thanks
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Ubuntu Linux: Strange Behaviour?

Post by shypike »

You have a corrupt cache folder.
Either remove the content of "cache" or start with the --clean option.
You will lose the current queue and history.

How do you stop SABnzbd?
Did you last time stop it by just closing the terminal you started it from (in non-daemon mode).
How does the daemon script stop SABnzbd?
psycko
Newbie
Newbie
Posts: 4
Joined: August 14th, 2008, 10:53 am

Re: Ubuntu Linux: Strange Behaviour?

Post by psycko »

I stop the progran using the webinterface..
As for the deamon i'm not sure about what you mean  :(
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Ubuntu Linux: Strange Behaviour?

Post by shypike »

You start it with -d, so you run in daemon mode.
If you always top through the web-ui, that's fine.

Still I think you have corrupt cache folder and need to clean it.
psycko
Newbie
Newbie
Posts: 4
Joined: August 14th, 2008, 10:53 am

Re: Ubuntu Linux: Strange Behaviour?

Post by psycko »

shypike wrote: You start it with -d, so you run in daemon mode.
If you always top through the web-ui, that's fine.

Still I think you have corrupt cache folder and need to clean it.
Actually that fixed everything! Much Appreciated! Thanks

Actually I think it happened because i ran sabnzbd as a daemon and normally at the same time..  :(
Post Reply