Page 1 of 1
0.4.3 status trouble
Posted: September 2nd, 2008, 2:26 am
by ugokanain
Since updating to 0.4.3 the status usually stays at idle, even when there is a large speed being displayed. Also when the connections are paused, it shows the last value as speed. Don't know whether this makes a difference, but I am using the os x version with ssl servers.
Re: 0.4.3 status trouble
Posted: September 2nd, 2008, 3:14 am
by shypike
Which skin are you using?
Re: 0.4.3 status trouble
Posted: September 2nd, 2008, 1:08 pm
by Amiga68k
Same here, concerns the smpl interface.
And hi
because it's my first post and I also experience this bug, which made me register.
Re: 0.4.3 status trouble
Posted: September 2nd, 2008, 1:45 pm
by switch
Does it still say idle after a forced refresh(ctrl+f5)/browser restart?
The only way I know for this to come up is when sabnzbd is restarted and the interface is not refreshed.
Re: 0.4.3 status trouble
Posted: September 2nd, 2008, 2:10 pm
by Amiga68k
A refresh or browser restart makes it turn green (Downloading) for a millisec... then jumps to yellow (Idle) again.
In my particular case somehow the third party tool sabnzbstatus is a bit of a suspect here. I think (not sure though) that it worked well before installing/deinstalling this addon in firefox.
Re: 0.4.3 status trouble
Posted: September 2nd, 2008, 2:26 pm
by Amiga68k
Hmm, skip the bit about the suspicious sabnzbdstatus thingie.
I reinstalled 0.4.2 and the status is displayed correctly again. Afterwards I updated to the latest (0.4.3) again and it stayed on Idle again when there is a confirmed download going on.
Re: 0.4.3 status trouble
Posted: September 2nd, 2008, 7:19 pm
by uzenet
I noticed this same issue a few days ago but a pause/resume of the queue fixed it, which makes it sort of an annoying problem.
Re: 0.4.3 status trouble
Posted: September 3rd, 2008, 11:32 am
by switch
There have been no changes to smpl, or the json api it uses to update that message since 0.4 was released, so I'm not sure what the issue is.
When the update takes place it basically goes like this:
Queue paused? > Display paused
Speed greater than 0? > Display Downloading
Else > Display idle.
Since the speed is obviously greater than 0 I'm not sure how it could update itself to "Idle". Does the value of the speed change?
If you are using firefox, are there any errors in the javascript console(ctrl+shift+j)? Clear the console then let smpl update a few times and look for errors.
Can you grab the file you get from this page:
http://localhost:8080/sabnzbd/api?mode= ... utput=json
and send it to
[email protected] while it is showing itself as "Idle" when it shouldn't be, if you need to rename it, just add .txt to the end.
Re: 0.4.3 status trouble
Posted: September 3rd, 2008, 2:34 pm
by Amiga68k
Since the speed is obviously greater than 0 I'm not sure how it could update itself to "Idle". Does the value of the speed change?
Yes, constantly.
If you are using firefox, are there any errors in the javascript console(ctrl+shift+j)? Clear the console then let smpl update a few times and look for errors.
No errors in the console.
I grabbed 4 api text files:
1_api_1st_download: SABnzdb started for the first time and this is the first download. Status not correct.
2_api_paused: Pressed Pause and grabbed mentioned api file.
3_api_resume: Resumed the first download, and the status jumped back to how it should work like uzenet mentioned two posts back.
4_api_2nd_download: Status displayed correctly.
So it seems one needs to press the Pause button once in each SABnzbd session to have a correct status display.
Done
Re: 0.4.3 status trouble
Posted: September 3rd, 2008, 4:04 pm
by switch
If you don't mind editing a file, you can try this to see if it sorts it:
Open up "\interfaces\smpl\templates\main.tmpl" in an editor (eg, notepad) and change Line 510, change from:
Code: Select all
} else if (paused == false && speed>0)
to:
Re: 0.4.3 status trouble
Posted: September 3rd, 2008, 4:15 pm
by Amiga68k
Yep, that did the trick switch! ThanksĀ
Re: 0.4.3 status trouble
Posted: September 3rd, 2008, 7:30 pm
by switch
No problem, thanks for sending the api text files, they helped in finding the issue.
Re: 0.4.3 status trouble
Posted: September 4th, 2008, 11:04 pm
by PacoBell
switch wrote:Code: Select all
} else if (paused == false && speed>0)
Maybe you meant || instead of && ? I mean, either one is a sufficient condition, correct?
Re: 0.4.3 status trouble
Posted: September 5th, 2008, 5:22 am
by ugokanain
Thanks Amiga68k