0.4.3 status trouble

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
ugokanain
Release Testers
Release Testers
Posts: 89
Joined: March 19th, 2008, 6:45 pm

0.4.3 status trouble

Post 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.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: 0.4.3 status trouble

Post by shypike »

Which skin are you using?
Amiga68k
Newbie
Newbie
Posts: 8
Joined: September 2nd, 2008, 1:06 pm

Re: 0.4.3 status trouble

Post 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.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: 0.4.3 status trouble

Post 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.
Amiga68k
Newbie
Newbie
Posts: 8
Joined: September 2nd, 2008, 1:06 pm

Re: 0.4.3 status trouble

Post by Amiga68k »

A refresh or browser restart makes it turn green (Downloading) for a millisec... then jumps to yellow (Idle) again.

Image

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.
Amiga68k
Newbie
Newbie
Posts: 8
Joined: September 2nd, 2008, 1:06 pm

Re: 0.4.3 status trouble

Post 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.
uzenet
Newbie
Newbie
Posts: 25
Joined: April 14th, 2008, 12:45 am

Re: 0.4.3 status trouble

Post 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.
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: 0.4.3 status trouble

Post 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.
Amiga68k
Newbie
Newbie
Posts: 8
Joined: September 2nd, 2008, 1:06 pm

Re: 0.4.3 status trouble

Post 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.
Can you grab the file you get from this page:
http://localhost:8080/sabnzbd/api?mode= ... utput=json...
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
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: 0.4.3 status trouble

Post 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:

Code: Select all

		} else if 	(speed>0)
Amiga68k
Newbie
Newbie
Posts: 8
Joined: September 2nd, 2008, 1:06 pm

Re: 0.4.3 status trouble

Post by Amiga68k »

Yep, that did the trick switch! Thanks  ;)
User avatar
switch
Moderator
Moderator
Posts: 1380
Joined: January 17th, 2008, 3:55 pm
Location: UK

Re: 0.4.3 status trouble

Post by switch »

No problem, thanks for sending the api text files, they helped in finding the issue.
PacoBell
Release Testers
Release Testers
Posts: 14
Joined: March 23rd, 2008, 5:17 pm

Re: 0.4.3 status trouble

Post 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?
ugokanain
Release Testers
Release Testers
Posts: 89
Joined: March 19th, 2008, 6:45 pm

Re: 0.4.3 status trouble

Post by ugokanain »

Thanks Amiga68k
Post Reply