Better handling HellaNZB dependencies

Bug #217773 reported by VuDu
2
Affects Status Importance Assigned to Milestone
LottaNZB
Fix Released
Wishlist
Severin H

Bug Description

I added some server and LottaNZB failed to start.

~$ lottanzb
INFO Starting LottaNZB 0.2 using Python 2.5.2.
INFO HellaNZB output: hellanzb v0.13 (config = /home/vudu/.lottanzb/hellanzb.conf, daemonized)
INFO Started HellaNZB daemon.
INFO Connected to the HellaNZB daemon.
WARNING Could not get an update from the HellaNZB daemon, is it (still) running?
WARNING Could not get an update from the HellaNZB daemon, is it (still) running?
(...)
WARNING Could not get an update from the HellaNZB daemon, is it (still) running?
INFO HellaNZB output: Unable to connect to XMLRPC server,
INFO HellaNZB output: error: Connection was refused by other side: 111: Connection refused.
INFO HellaNZB output: The hellanzb queue daemon @ http://hellanzb:changeme@localhost:8760 probably isn't running
INFO HellaNZB daemon stopped.

but then I ran hellanzb:

$ hellanzb -c /home/vudu/.lottanzb/hellanzb.conf

hellanzb v0.13 (config = /home/vudu/.lottanzb/hellanzb.conf)
Unable to use SSL for server: Secure UsenetServer
pyOpenSSL is not installed: No module named OpenSSL

I dunno how easy it is to implement (maybe reading HellaNZB's log) but it would be good if LottaNZB could warn about this kind of problems.

By the way, I see that it is possible to change the hellanzb_launcher on the .xml file but could it be added to the preferences window? I use "tsocks hellanzb" to socksify hellanzb :)

Related branches

Revision history for this message
Severin H (severinh) wrote :

Hi VuDu,

thanks for sharing your ideas with us! The next major version of LottaNZB is going to ship with a new core, which _should_ be able to handle such HellaNZB problems and inform the user, but this is still work in progress.

I think it would be a good idea to check if the OpenSSL module can be imported when the user clicks on the SSL checkbox. If the module isn't available, a tiny confirm window should pop up, where the user is asked to install the required package or download without SSL encryption.

As for the hellanzb_launcher preference: This "hidden" option might indeed deserve a visual input box.

Changed in lottanzb:
assignee: nobody → lottanzb
importance: Undecided → Wishlist
milestone: none → 0.2.1
status: New → In Progress
status: In Progress → Confirmed
Severin H (severinh)
Changed in lottanzb:
assignee: lottanzb → lantash
status: Confirmed → In Progress
Revision history for this message
VuDu (vudu-curse) wrote :

Thanks for fast feedback with the good news :)
Keep up the great work ;)

Severin H (severinh)
Changed in lottanzb:
status: In Progress → Fix Committed
Severin H (severinh)
Changed in lottanzb:
milestone: 0.2.1 → 0.3
Severin H (severinh)
Changed in lottanzb:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.