Page 1 of 1

Plush interface no file upload option - xebian box

Posted: August 21st, 2008, 3:14 pm
by truxntrax
I hope someone can help.

I have 2 instalations of SAB 0.4.2.  One is running on my little nas box dlink 323 using a chrooted debian etch.  It works like a treat just the box is a little slow at par2 repair.

So I have a xbox running xebian (debian) so I thought I would give that a go.

Got everything working ok ('ish) but my main plroblem is that I have no option to upload an nzb file.  I am using the plush interface just like on my nas box.  My nas box shows the option for uploading an nzb file but my xebian box doesn't??  I have also noticed the xebian box does not show all the progress icons in the history section - although it does download , par-repair, unrar and delete correctly.

Could this be because on the xebian box I haven't sucessfully managed to get yenc and cemelemtnttree installed correctly yet?  (what do these 2 moduals do?) Not sure why I am struggling to get them installed this time as I installed them ok on my nas box...

Really would appreciate some help.

Many thanks

Trux

Extra info:

Version: 0.4.2
OS: xebian which is debian running on an old xbox 1 console
Install-type: python
Skin (if applicable): Plush
Firewall Software: None
Are you using IPV6? no
Is the issue reproducible? yes - each time

Extract from my log:

2008-08-21 20:03:16,874::INFO::All processes started
2008-08-21 20:03:16,879::INFO::_yenc module... NOT found!
2008-08-21 20:03:16,881::INFO::celementtree module... NOT found!
2008-08-21 20:03:16,882::INFO::par2 binary... found (/usr/bin/par2)
2008-08-21 20:03:16,884::INFO::rar binary... found (/usr/bin/unrar)
2008-08-21 20:03:16,886::INFO::unzip binary... found (/usr/bin/unzip)
2008-08-21 20:03:16,888::INFO::pyOpenSSL... NOT found - try apt-get install python-pyopenssl (SSL is optional)
2008-08-21 20:03:16,890::DEBUG::host -> 192.168.1.166
2008-08-21 20:03:16,950::DEBUG::port -> 8080
2008-08-21 20:03:16,952::DEBUG::log_dir: /SABnzbd-0.4.2/log
2008-08-21 20:03:16,954::INFO::Web dir is /SABnzbd-0.4.2/interfaces/Plush
2008-08-21 20:03:17,013::INFO::Web dir is /SABnzbd-0.4.2/interfaces/iphone
2008-08-21 20:03:17,061::DEBUG::username ->

Re: Plush interface no file upload option - xebian box

Posted: August 21st, 2008, 4:45 pm
by shypike
yenc and cemelemtnttree are optimizations for respectively decoding yEnc messages and XML analysis.
Unlikely to cause the problem.

However, you say "celementree" is missign. So it looks like your using Python 2.4 (and not 2.5)
and you did not install the celementree module.
We don't test a lot with Python 2.4, although it should work.

Did you try with one of the other skins?

Re: Plush interface no file upload option - xebian box

Posted: August 21st, 2008, 5:27 pm
by truxntrax
Compiling python 2.5 now so will see if that fixes.

Thanks

Trux

Re: Plush interface no file upload option - xebian box

Posted: August 22nd, 2008, 4:52 am
by truxntrax
Ok same problem with python 2.5 - no file upload functionality on the main screen...  Now have yenc and elemnttree installed ok.

However the default skin does have the menu option.

So I copied the interface files from my other box and restarted but still the same problem - it would be nice to have the plush interface but not essential. 

Any ideas?

Thanks

Trux

Re: Plush interface no file upload option - xebian box

Posted: August 22nd, 2008, 6:47 am
by shypike
Did the Python code and all the skins come from the same SABnzbd release?
You cannot mix code and skins from different releases.

Re: Plush interface no file upload option - xebian box

Posted: August 23rd, 2008, 1:42 am
by vlad59
Have tried moving your mouse to the top of the plush page (just above Category), you should see Menu toggler, if you click on it( once or twice I don't remember) you should be able to upload an nzb

Re: Plush interface no file upload option - xebian box

Posted: August 26th, 2008, 5:12 am
by truxntrax
Yes the skins came from the same version.

Just tried to use the default interface and upload a file (from work) and get the following error.:

Unrecoverable error in the server.

===First Error===

Traceback (most recent call last):
  File "/SABnzbd-0.4.2/cherrypy/_cphttptools.py", line 126, in _run
    applyFilters('before_finalize')
  File "/SABnzbd-0.4.2/cherrypy/filters/__init__.py", line 151, in applyFilters
    method()
  File "/SABnzbd-0.4.2/sabnzbd/utils/multiauth/filter.py", line 61, in beforeFinalize
    **rsrc.callable_kwargs)
TypeError: addFile() takes at least 2 arguments (1 given)


===Second Error===

Page handler: 'Input/output error'
Traceback (most recent call last):
  File "/SABnzbd-0.4.2/cherrypy/_cphttptools.py", line 446, in handleError
    _cputil.get_special_attribute('_cp_on_error', '_cpOnError')()
  File "/SABnzbd-0.4.2/cherrypy/_cputil.py", line 375, in _cp_on_error
    cherrypy.HTTPError(500).set_response()
  File "/SABnzbd-0.4.2/cherrypy/_cperror.py", line 173, in set_response
    handler(self.status, self.message)
  File "/SABnzbd-0.4.2/cherrypy/_cputil.py", line 249, in _cp_on_http_error
    cherrypy.log(logmsg, "HTTP")
  File "/SABnzbd-0.4.2/cherrypy/__init__.py", line 115, in log
    logfunc(msg, context, severity)
  File "/SABnzbd-0.4.2/cherrypy/_cputil.py", line 149, in _cp_log_message
    print s
IOError: [Errno 5] Input/output error


I will try again with the plush interface and see what that does (although I cannot restart my box from work so will do it tonight)

Thanks for replies.

trux

Re: Plush interface no file upload option - xebian box

Posted: August 26th, 2008, 5:58 am
by shypike
You do have Java-script enabled in your browser?

You could email the filles sabnzbd.log and cherrypy.log to bugs at sabnzbd.org.
(You can get the files using the Connections page).

Re: Plush interface no file upload option - xebian box

Posted: August 26th, 2008, 7:38 am
by truxntrax
Thanks - I will test again locally and send the emails tonight.

trux

Re: Plush interface no file upload option - xebian box

Posted: August 26th, 2008, 1:57 pm
by truxntrax
Doh it was menu toggle (it was invisivble!)

Arrgghhhhh!!!

Thanks for your help.  Local file upload is working ok - will try again from work tomorrow with the plush interface

:-)