nzo_id changes for queued dl in 0.7.14

Report & discuss bugs found in SABnzbd
Forum rules
Help us help you:
  • Are you using the latest stable version of SABnzbd? Downloads page.
  • Tell us what system you run SABnzbd on.
  • Adhere to the forum rules.
  • Do you experience problems during downloading?
    Check your connection in Status and Interface settings window.
    Use Test Server in Config > Servers.
    We will probably ask you to do a test using only basic settings.
  • Do you experience problems during repair or unpacking?
    Enable +Debug logging in the Status and Interface settings window and share the relevant parts of the log here using [ code ] sections.
Post Reply
SlackerATX
Newbie
Newbie
Posts: 2
Joined: August 2nd, 2013, 8:06 am

nzo_id changes for queued dl in 0.7.14

Post by SlackerATX »

Running 0.7.14 on Windows 8

The api is reporting two different nzo_ids for a specific download in the queue. One when it is initially queued and a different nzo_id when the download becomes active (starts dling). Here is the result of two identical calls to the api, the first right when the job is queued and the second less than a minute later after the job started. The first returns nzo_id = SABnzbd_nzo_uc4mp5, but the second returns nzo_id = SABnzbd_nzo_dpdfzv.

API call:
http://localhost:8080/api?output=json&a ... mode=queue

Result of first call:
{"queue":{"uniconfig":"C:\\Program Files (x86)\\SABnzbd\\interfaces\\Config\\templates","cache_size":"0 B","active_lang":"en","paused":false,"session":"<edited out>","restart_req":false,"power_options":true,"slots":[{"status":"Checking","index":0,"eta":"unknown","missing":0,"avg_age":"919d","script":"None","msgid":"","verbosity":"","mb":"5075.27","sizeleft":"5.0 GB","filename":"Overboard.1987.720p.BluRay.x264-KaKa kaka-overboard.nzb.cp(tt0093693)","priority":"Normal","cat":"movies","mbleft":"5075.27","timeleft":"0:00:00","percentage":"0","nzo_id":"SABnzbd_nzo_uc4mp5","unpackopts":"3","size":"5.0 GB"}],"speed":"0 ","helpuri":"http://wiki.sabnzbd.org/","size":"5.0 GB","uptime":"12h","refresh_rate":"","my_home":"C:\\Users\\Ryan\\Documents","limit":15,"have_quota":false,"isverbose":false,"start":0,"finish":1,"version":"0.7.14","new_rel_url":"","my_lcldata":"C:\\Users\\Ryan\\AppData\\Local\\sabnzbd","color_scheme":"Gold","diskspacetotal1":"5488.02","nt":true,"status":"Idle","last_warning":"2013-08-02 01:52:19,252\nERROR:\nSaving Z:\\temp\\tide-gday.1\\__ADMIN__\\SABnzbd_nzo_k3kgcu failed","have_warnings":"2","cache_art":"0","sizeleft":"5.0 GB","finishaction":null,"paused_all":false,"quota":"0 ","newzbin_url":"www.newzbin2.es","new_release":"","pause_int":"0","mbleft":"5075.27","diskspace1":"3208.14","scripts":[],"categories":["*","movies"],"pp_pause_event":false,"darwin":false,"timeleft":"0:00:00","mb":"5075.27","noofslots":1,"eta":"unknown","diskspacetotal2":"5488.02","nzb_quota":"","loadavg":"","cache_max":"209715200","kbpersec":"0.00","speedlimit":"","webdir":"","queue_details":"0","left_quota":"0 ","diskspace2":"3208.14"}}

Result of second call:
{"queue":{"uniconfig":"C:\\Program Files (x86)\\SABnzbd\\interfaces\\Config\\templates","cache_size":"16 MB","active_lang":"en","paused":false,"session":"<edited out>","restart_req":false,"power_options":true,"slots":[{"status":"Downloading","index":0,"eta":"09:40 Fri 02 Aug","missing":0,"avg_age":"919d","script":"None","msgid":"","verbosity":"","mb":"5075.27","sizeleft":"4.9 GB","filename":"Overboard.1987.720p.BluRay.x264-KaKa kaka-overboard.nzb.cp(tt0093693)","priority":"Normal","cat":"movies","mbleft":"5057.10","timeleft":"0:35:48","percentage":"0","nzo_id":"SABnzbd_nzo_dpdfzv","unpackopts":"3","size":"5.0 GB"}],"speed":"2.4 M","helpuri":"http://wiki.sabnzbd.org/","size":"5.0 GB","uptime":"12h","refresh_rate":"","my_home":"C:\\Users\\Ryan\\Documents","limit":15,"have_quota":false,"isverbose":false,"start":0,"finish":1,"version":"0.7.14","new_rel_url":"","my_lcldata":"C:\\Users\\Ryan\\AppData\\Local\\sabnzbd","color_scheme":"Gold","diskspacetotal1":"5488.02","nt":true,"status":"Downloading","last_warning":"2013-08-02 09:04:14,668\nERROR:\nToo many connections to server ssl-us.astraweb.com:443","have_warnings":"3","cache_art":"27","sizeleft":"4.9 GB","finishaction":null,"paused_all":false,"quota":"0 ","newzbin_url":"www.newzbin2.es","new_release":"","pause_int":"0","mbleft":"5057.10","diskspace1":"3208.14","scripts":[],"categories":["*","movies"],"pp_pause_event":false,"darwin":false,"timeleft":"0:35:48","mb":"5075.27","noofslots":1,"eta":"09:40 Fri 02 Aug","diskspacetotal2":"5488.02","nzb_quota":"","loadavg":"","cache_max":"209715200","kbpersec":"2409.91","speedlimit":"","webdir":"","queue_details":"0","left_quota":"0 ","diskspace2":"3208.14"}}
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: nzo_id changes for queued dl in 0.7.14

Post by shypike »

Will be looked at, but not on short term.
SlackerATX
Newbie
Newbie
Posts: 2
Joined: August 2nd, 2013, 8:06 am

Re: nzo_id changes for queued dl in 0.7.14

Post by SlackerATX »

FYI this breaks the interface with Couchpotato.
mano3m
Newbie
Newbie
Posts: 5
Joined: March 2nd, 2013, 4:54 am

Re: nzo_id changes for queued dl in 0.7.14

Post by mano3m »

I have been able to pinpoint the problem: The culprit is the SabNZBd option in: Switches -> Queue -> Check before download. After the checking phase, it gives the NZB a new NZO_ID. If you disable this option everything works as it should and the nzo_id remains as it was when sending the NZB.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: nzo_id changes for queued dl in 0.7.14

Post by shypike »

OK, that's a side effect of the fact that the job enters the queue as a "new" job.
We'll probably not fix that because we no longer recommend using that option.
"Abort when completion is not possible" is a better option for most people.
Post Reply