Pause button does not pause the download for more than 5s

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
axel78
Newbie
Newbie
Posts: 10
Joined: May 1st, 2012, 5:29 am

Pause button does not pause the download for more than 5s

Post by axel78 »

When I click on the pause button, the downloads pause for a short period of time (5 to 10 seconds) then go back to normal.

There is a countdown and the pause button is red, but it is still connected and downloading. I checked with Ubuntu System Monitor.
The only way I can disconnect Sabnzbd from the server is by disabling the server I'm using.

SABnzbd Version: 0.6.15
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Pause button does not pause the download for more than 5

Post by shypike »

Sounds like a browser issue, which one do you use?
axel78
Newbie
Newbie
Posts: 10
Joined: May 1st, 2012, 5:29 am

Re: Pause button does not pause the download for more than 5

Post by axel78 »

I can reproduce that with the current versions of Chrome, Firefox and Konqueror.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Pause button does not pause the download for more than 5

Post by shypike »

Then it's likely that your disk is full.
Do you see any warnings displayed?
axel78
Newbie
Newbie
Posts: 10
Joined: May 1st, 2012, 5:29 am

Re: Pause button does not pause the download for more than 5

Post by axel78 »

Here is the trace after I click on pause:


2012-05-01 19:39:28,921::INFO::[downloader:194] Resuming
2012-05-01 19:39:28,922::INFO::[downloader:203] Pausing
2012-05-01 19:39:28,922::INFO::[nzbqueue:170] Saving queue
2012-05-01 19:39:28,924::INFO::[downloader:610] Thread 4@[news.server.com]:563: forcing disconnect
2012-05-01 19:39:34,416::INFO::[__init__:846] Saving data for queue9.sab in /home/ant/.sabnzbd/admin/queue9.sab
2012-05-01 19:39:34,417::INFO::[__init__:846] Saving data for totals9.sab in /home/ant/.sabnzbd/admin/totals9.sab
2012-05-01 19:39:34,417::INFO::[__init__:846] Saving data for rss_data.sab in /home/ant/.sabnzbd/admin/rss_data.sab
2012-05-01 19:39:34,417::INFO::[__init__:846] Saving data for bookmarks.sab in /home/ant/.sabnzbd/admin/bookmarks.sab
2012-05-01 19:39:34,450::INFO::[__init__:846] Saving data for watched_data.sab in /home/ant/.sabnzbd/admin/watched_data.sab
2012-05-01 19:39:34,450::INFO::[postproc:83] Saving postproc queue
2012-05-01 19:39:34,450::INFO::[__init__:846] Saving data for postproc1.sab in /home/ant/.sabnzbd/admin/postproc1.sab
2012-05-01 19:39:34,552::INFO::[downloader:610] Thread 3@[news.server.com]:563: forcing disconnect
2012-05-01 19:39:34,653::INFO::[downloader:610] Thread 1@[news.server.com]:563: forcing disconnect
2012-05-01 19:39:34,754::INFO::[downloader:610] Thread 2@[news.server.com]:563: forcing disconnect
2012-05-01 19:39:40,861::INFO::[downloader:351] 4@[news.server.com]:563: Initiating connection
2012-05-01 19:39:40,862::INFO::[downloader:351] 3@[news.server.com]:563: Initiating connection
2012-05-01 19:39:40,862::INFO::[downloader:351] 1@[news.server.com]:563: Initiating connection
2012-05-01 19:39:40,863::INFO::[downloader:351] 2@[news.server.com]:563: Initiating connection
2012-05-01 19:39:41,962::INFO::[downloader:539] Connecting 4@[news.server.com]:563 finished
2012-05-01 19:39:41,969::INFO::[downloader:539] Connecting 3@[news.server.com]:563 finished
2012-05-01 19:39:41,987::INFO::[downloader:539] Connecting 1@[news.server.com]:563 finished
2012-05-01 19:39:41,994::INFO::[downloader:539] Connecting 2@[news.server.com]:563 finished


None of my disks are full, even if the remaining space is smaller than the queue total size.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Pause button does not pause the download for more than 5

Post by shypike »

Can you set logging to "Debug" level (Status page)?
axel78
Newbie
Newbie
Posts: 10
Joined: May 1st, 2012, 5:29 am

Re: Pause button does not pause the download for more than 5

Post by axel78 »

I have found the origin of the problem.
I use the priorities to sort my groups of files. Some of them were in "Force" priority.
The "force" (at least in french, I suppose this translates to force in the english version) priority prevents Sabnzbd from staying in the paused state.
You should remind to the user when he tries to enter the paused state, that at least one element of the queue is in this forced state.
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Pause button does not pause the download for more than 5

Post by shypike »

Have been interpreting your message wrong all the time as "doesn't download from more than 5 sec." Duh.
Still, this is behaviour as designed.
Force is called force for a reason.
"You should warn" is a nice idea until you actually want to implement it and
put it in a useful place.
axel78
Newbie
Newbie
Posts: 10
Joined: May 1st, 2012, 5:29 am

Re: Pause button does not pause the download for more than 5

Post by axel78 »

OK. That makes sense now.
"Force is called force for a reason."

OK I have found the paragraph describing the feature (no need to tell that users don't read the doc..)
Forced items will go straight to the top of the queue, and will continue to download even if the queue is paused.

I think that users will intuitively interpret this feature as "put this item to the top", but rarely as "continue to download even if the queue is paused". (at least I did)
User avatar
shypike
Administrator
Administrator
Posts: 19773
Joined: January 18th, 2008, 12:49 pm

Re: Pause button does not pause the download for more than 5

Post by shypike »

SABnzbd is too many options and has too many historical compatibility things
to ever make it a truly intuitive app.
I can understand the confusion, but where would we put info in the UI so that people see it?
UI design is hard and we're not particularly good at it.
Post Reply