Page 2 of 2

Re: Experience with SABnzbd on Python 2.6

Posted: August 11th, 2009, 2:51 pm
by switch
Could you save it in firefox and send me the file and the folder it creates (zip it up).

Does http://192.168.0.198:9000/static/styles ... .css?trunk work?

Re: Experience with SABnzbd on Python 2.6

Posted: August 11th, 2009, 3:03 pm
by sHINE
No! Here's the error. It seems I'm missing some files???

Mail sent...

404 Not Found
The path '/static/stylesheets/plush-default.css' was not found.

Traceback (most recent call last):
  File "/usr/local/lib/python2.6/site-packages/cherrypy/_cprequest.py", line 618, in respond
    cherrypy.response.body = self.handler()
  File "/usr/local/lib/python2.6/site-packages/cherrypy/_cperror.py", line 233, in __call__
    raise self
NotFound: (404, "The path '/static/stylesheets/plush-default.css' was not found.")
Powered by CherryPy 3.2.0

Re: Experience with SABnzbd on Python 2.6

Posted: August 11th, 2009, 3:08 pm
by sHINE
Maybe I have done something wrong. Just get the files from the trunk branch and executed SABnzbd.py. Updated cherrypy (just overwrite old files). But there is no /static... folder...

Re: Experience with SABnzbd on Python 2.6

Posted: August 11th, 2009, 3:26 pm
by switch
Make sure \path\to\your-sabnzbd\interfaces\Plush\templates\static\stylesheets\plush-default.css exists

Either the files do not exist, or your static dir is not being mounted correctly by cherrypy.

Re: Experience with SABnzbd on Python 2.6

Posted: August 11th, 2009, 3:54 pm
by sHINE
Hmm, just recopied all files from trunk, now I have the mssing ones. used wget before, now got it with some webiste-leecher.

But now, I cannot start that damn thing. it says: ImportErrpr: No module named utils...grrrrr

Re: Experience with SABnzbd on Python 2.6

Posted: August 11th, 2009, 4:04 pm
by sHINE
Here's the error:

freenas:~# /usr/local/bin/python /mnt/Data/sabnzbd/SABnzbd.py
Traceback (most recent call last):
  File "/mnt/Data/sabnzbd/SABnzbd.py", line 60, in
    import sabnzbd
  File "/mnt/Data/sabnzbd/sabnzbd/__init__.py", line 64, in
    import sabnzbd.nzbqueue as nzbqueue
  File "/mnt/Data/sabnzbd/sabnzbd/nzbqueue.py", line 32, in
    from sabnzbd.nzbstuff import NzbObject
  File "/mnt/Data/sabnzbd/sabnzbd/nzbstuff.py", line 31, in
    import sabnzbd.misc
  File "/mnt/Data/sabnzbd/sabnzbd/misc.py", line 38, in
    import sabnzbd.config as config
  File "/mnt/Data/sabnzbd/sabnzbd/config.py", line 27, in
    from sabnzbd.utils import listquote
ImportError: No module named utils
freenas:~#

Re: Experience with SABnzbd on Python 2.6

Posted: August 11th, 2009, 4:18 pm
by switch
You still don't have all the files. Use a standard subversion client (SVN) to download from the trunk, such as the command
svn co http://svn2.assembla.com/svn/SABnzbd/trunk/main/ SABnzbd-svn

Re: Experience with SABnzbd on Python 2.6

Posted: August 11th, 2009, 4:44 pm
by sHINE
Ok, this thing drives me crazy...

Managed to install that svn-thing...

Trying to start SABnzbd and got this:

freenas:~/SABnzbd-svn# SABnzbd.py -s 192.168.0.198:9000
Traceback (most recent call last):
  File "/usr/local/bin/SABnzbd.py", line 828, in
    main()
  File "/usr/local/bin/SABnzbd.py", line 772, in main
    '/sabnzbd/m/static': {'staticFilter.on': True, 'staticFilter.dir': os.path.join(web_dir2, 'static')}
TypeError: update() got an unexpected keyword argument 'updateMap'

Re: Experience with SABnzbd on Python 2.6

Posted: August 11th, 2009, 6:12 pm
by rAf
sHINE wrote: freenas:~/SABnzbd-svn# SABnzbd.py -s 192.168.0.198:9000
Traceback (most recent call last):
  File "/usr/local/bin/SABnzbd.py", line 828, in
    main()
try to launch with :

Code: Select all

python SABnzbd.py -s 192.168.0.198:9000
It seems that you have a SABnzbd.py in /usr/local/bin... perhaps you should clean up.

Re: Experience with SABnzbd on Python 2.6

Posted: August 16th, 2009, 3:12 am
by sHINE
Hi!

Sorry for late reply.

Moved to new hardware...now I'm trying to get the trunk but it gives me the error:

Working copy 'SABnzbd-svn' locked
run 'svn cleanup' to remove locks (type 'svn help cleanup' for details)

Are you working on it currently?

Re: Experience with SABnzbd on Python 2.6

Posted: August 16th, 2009, 5:02 am
by switch
Either issue an svn cleanup command, or delete your folder, and get it from the SVN again. This is not something that happens when we work on it.

Re: Experience with SABnzbd on Python 2.6

Posted: August 18th, 2009, 5:18 pm
by sHINE
OK, back again...

Still cannot access the svn-repository...even with webbrowser doesn't work..

This is the command I use:  /usr/local/bin/svn co http://svn2.assembla.com/svn/SABnzbd/trunk/main/ SABnzbd-svn

This ends up in an endless process which I must kill manually...

Any ideas? Is the trunk mirrored to any other server...

Re: Experience with SABnzbd on Python 2.6

Posted: August 18th, 2009, 5:29 pm
by switch
sHINE wrote: OK, back again...

Still cannot access the svn-repository...even with webbrowser doesn't work..

This is the command I use:  /usr/local/bin/svn co http://svn2.assembla.com/svn/SABnzbd/trunk/main/ SABnzbd-svn

This ends up in an endless process which I must kill manually...

Any ideas? Is the trunk mirrored to any other server...
Just signed you up as a release tester, check the new subforum for a build to try.

Re: Experience with SABnzbd on Python 2.6

Posted: August 18th, 2009, 5:44 pm
by sHINE
Thanks, but I found the error...it was my router, some old D-Link DIR655. I've changed the MTU-Size and voila...access to trunk works :)