Experience with SABnzbd on Python 2.6

Feel free to talk about anything and everything in this board.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Experience with SABnzbd on Python 2.6

Post 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?
sHINE
Release Testers
Release Testers
Posts: 13
Joined: August 10th, 2009, 3:43 pm

Re: Experience with SABnzbd on Python 2.6

Post 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
sHINE
Release Testers
Release Testers
Posts: 13
Joined: August 10th, 2009, 3:43 pm

Re: Experience with SABnzbd on Python 2.6

Post 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...
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Experience with SABnzbd on Python 2.6

Post 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.
sHINE
Release Testers
Release Testers
Posts: 13
Joined: August 10th, 2009, 3:43 pm

Re: Experience with SABnzbd on Python 2.6

Post 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
sHINE
Release Testers
Release Testers
Posts: 13
Joined: August 10th, 2009, 3:43 pm

Re: Experience with SABnzbd on Python 2.6

Post 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:~#
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Experience with SABnzbd on Python 2.6

Post 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
sHINE
Release Testers
Release Testers
Posts: 13
Joined: August 10th, 2009, 3:43 pm

Re: Experience with SABnzbd on Python 2.6

Post 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'
rAf
Moderator
Moderator
Posts: 546
Joined: April 28th, 2008, 2:35 pm
Location: France
Contact:

Re: Experience with SABnzbd on Python 2.6

Post 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.
sHINE
Release Testers
Release Testers
Posts: 13
Joined: August 10th, 2009, 3:43 pm

Re: Experience with SABnzbd on Python 2.6

Post 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?
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Experience with SABnzbd on Python 2.6

Post 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.
sHINE
Release Testers
Release Testers
Posts: 13
Joined: August 10th, 2009, 3:43 pm

Re: Experience with SABnzbd on Python 2.6

Post 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...
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: Experience with SABnzbd on Python 2.6

Post 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.
sHINE
Release Testers
Release Testers
Posts: 13
Joined: August 10th, 2009, 3:43 pm

Re: Experience with SABnzbd on Python 2.6

Post 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 :)
Post Reply