Page 1 of 1

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

Posted: September 10th, 2009, 6:50 pm
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

-----------------------

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

Posted: September 11th, 2009, 1:38 am
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?

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

Posted: September 11th, 2009, 2:32 am
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 :)

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

Posted: September 11th, 2009, 12:05 pm
by shypike
The Default skin doesn't use API calls.
Are you using some utility that interfaces with SABnzbd?

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

Posted: September 11th, 2009, 5:14 pm
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?

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

Posted: September 11th, 2009, 8:57 pm
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.

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

Posted: September 12th, 2009, 4:01 am
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.