Can I restore filters? also Cherrypy can not find /sabnzbdapi

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
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Can I restore filters? also Cherrypy can not find /sabnzbdapi

Post by ghostcorps »

Hi Guys,

I originaly posted regaring an issue that turned out to be a simple mistake on my part. But now I have discovered other issues. I hope it is not going to upset anyone that I have changed the topic, the old one wasn't useful to anyone and this saves space.

I restarted my server last night and forgot to shutdown SABnzbd first, after starting it I have lost some of my configurations. For example the filters are not set despite being entered in the sabnzbd.ini while most of the directories are still set correctly.

How may I restore these configurations?

Also

I have found that the text below was regularly posted in the cherrypy.logs prior to the fail, perhaps I wouldnt have picked it up yet as I am havn't started using it for anything more than testing the connection attempts and training the TV episode filter. Would this actually cause any problems? Perhaps the issue above?

Code: Select all

10/Sep/2009:23:31:03 HTTP INFO Page handler: "The path '/sabnzbdapi' was not found."
Traceback (most recent call last):
  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cphttptools.py", line 105, in _run
    self.main()
  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cphttptools.py", line 246, in main
    page_handler, object_path, virtual_path = self.mapPathToObject(path)
  File "/usr/local/lib/python2.5/site-packages/cherrypy/_cphttptools.py", line 312, in mapPathToObject
    raise cherrypy.NotFound(objectpath)
NotFound: 404
The directory /sabnzbdapi does not exist. Where would it normally be found? It isn't supposed to be in the root directory of the webserver is it?

Please help :)

Version: sabnzbdplus-0.4.11
OS: FreeBSD 7.0 Release
Install-type: Ports
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes

-----------------------
Last edited by ghostcorps on September 10th, 2009, 11:15 pm, edited 1 time in total.
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Can I restore filters? also Cherrypy can not find /sabnzbdapi

Post by shypike »

"The path '/sabnzbdapi' was not found.". This is about a URL that SABnzbd receives.
What do you use for an URL to communicate with thh Web-UI?
The path "/sabnzbdapi'" should be "/sabnzbd/api", note the extra slash.
Which skin do you use?
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Re: Can I restore filters? also Cherrypy can not find /sabnzbdapi

Post by ghostcorps »

Thanks shypike,

The path I browse to is http://server-ip:port/sabnzbd/

I was using the default:black schema. I am not familiar with editing the schemas, but I will look into it :)
Last edited by ghostcorps on September 11th, 2009, 3:00 am, edited 1 time in total.
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Can I restore filters? also Cherrypy can not find /sabnzbdapi

Post by shypike »

The Default skin doesn't use API calls.
Are you using some utility that interfaces with SABnzbd?
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

Re: Can I restore filters? also Cherrypy can not find /sabnzbdapi

Post by ghostcorps »

shypike wrote: Are you using some utility that interfaces with SABnzbd?
No, I simply installed SABnzbd+ (make install clean) from the FreeBSD ports colection. I run as a demon (SABnzbd.py -d) and I browse to it in firefox from another PC, nothing more than that. But if the default skin doesn't use it, I guess it won't affect me :) Is there a function I can test to see if it is affecting me?
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
ghostcorps
Newbie
Newbie
Posts: 47
Joined: September 10th, 2009, 6:39 pm

[Solved] Re: Can I restore filters? also Cherrypy can not find /sabnzbdapi

Post by ghostcorps »

The Cherrypy error seems to have stopped since the reboot.

Also, I am not sure why the settings were not retained. I copied the users sabnzbd.ini to the default location and restared from the web-gui, this worked.
Version: 0.4.12_2
OS: FreeBSD 7.0 Rel
Install-type: Install from Ports
Firewall: On router
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Can I restore filters? also Cherrypy can not find /sabnzbdapi

Post by shypike »

Strange, but I'm hapy it works now.
SABnzbd is used on so many platforms that we, as developers, know little about.
We only have limited test resources and rely on package creators and end-users
to solve platform-related problems.

However, in this case the browser cache could be a factor too.
Post Reply