can't add nzb from lotta

Bug #651233 reported by nicolas janik
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
LottaNZB
Fix Released
High
Severin H

Bug Description

Hello,
when I try to add a nzb file to the queue using the 'Add' button, and after choosing a nzb file and pressing 'add', nothing append.
I can see an error in the console:

Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.6/lottanzb/gui/add_file.py", line 65, in on_add_file_dialog__response
    self.enqueue_selection()
  File "/usr/lib/pymodules/python2.6/lottanzb/gui/add_file.py", line 61, in enqueue_selection
    general_hub.add_file(a_file)
  File "/usr/lib/pymodules/python2.6/lottanzb/backend/hubs/general/__init__.py", line 416, in add_file
    query = AddRemoteFileQuery(*args)
  File "/usr/lib/pymodules/python2.6/lottanzb/backend/interface/queries.py", line 490, in __init__
    self.include_nzb_file(name)
  File "/usr/lib/pymodules/python2.6/lottanzb/backend/interface/queries.py", line 478, in include_nzb_file
    "value": nzb_file.read()
NameError: global name 'nzb_file' is not defined

On another computer I don't have this error and all is working fine.
The only difference between this computer (where the error is present) and the second computer it's that sabnzb is not on installed on the computer. I use a NAS (qnap TS-219p) and using another computer with lotta nzb to command sabnzb on my NAS.
(

Related branches

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

Hi Nicolas,

thanks alot for reporting this bug. As you've pointed out, it only occurs when LottaNZB is used to manage the downloads of another computer running SABnzbd. I've just fixed the 'NameError' you've encountered, but there still seems to be a problem. I'll look into it as soon as possible.

Changed in lottanzb:
status: New → In Progress
importance: Undecided → High
assignee: nobody → Severin Heiniger (lantash)
milestone: none → 0.6
Severin H (severinh)
Changed in lottanzb:
status: In Progress → Fix Committed
Revision history for this message
Severin H (severinh) wrote :

A fix has been committed and should be available as part of the next daily build. Let me know whether it works for you!

Revision history for this message
nicolas janik (n1colas) wrote :

Hi Severin,
Yes, it's working fine now. Thanks a lot for you excelent work :)

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.