SABnzbd fails to suspend system after downloads

Support for the Debian/Ubuntu package, created by JCFP.
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
HTJ
Newbie
Newbie
Posts: 5
Joined: May 11th, 2014, 4:36 am

SABnzbd fails to suspend system after downloads

Post by HTJ »

I recently upgraded OpenElec to 4.0.0 and reinstalled the SANnzbd suite; it can no longer suspend the system after completing the queued downloads. I ran the debug logging last night and it provided this:

INFO::[__init__:1600] Queue has finished, launching: <function system_standby at 0x117c320> (None)
2014-05-11 05:06:03,753::INFO::[__init__:1600] Performing system standby
2014-05-11 05:06:03,763::INFO::[__init__:1600] DBus not reachable (org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files)
2014-05-11 05:06:03,763::INFO::[__init__:1600] DBus not reachable (org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.DeviceKit.Power was not provided by any .service files)
2014-05-11 05:06:03,764::INFO::[__init__:1600] DBus does not support Suspend (standby)

Any suggestions on how to fix this? Thanks.
HTJ
Newbie
Newbie
Posts: 5
Joined: May 11th, 2014, 4:36 am

Re: SABnzbd fails to suspend system after downloads

Post by HTJ »

A completely fresh install of OE 4.0.1 hasn't fixed this problem and it definitely isn't the hardware as XBMC can suspend the system without a problem (as could previous versions of SAB). Does anyone have a clue how this works?
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd fails to suspend system after downloads

Post by sander »

I can't find which code SAB executes to suspend, but some googling lead me to this command:

Code: Select all

dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend
So if you run that as normal user on your OE 4, what do you get?
FWIW, my Ubuntu laptop went to suspend immediatly:

Code: Select all

$ dbus-send --print-reply --system --dest=org.freedesktop.UPower /org/freedesktop/UPower org.freedesktop.UPower.Suspend
method return sender=:1.19 -> dest=:1.122 reply_serial=2
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd fails to suspend system after downloads

Post by sander »

@HTJ did you try this?
User avatar
sander
Release Testers
Release Testers
Posts: 9264
Joined: January 22nd, 2008, 2:22 pm

Re: SABnzbd fails to suspend system after downloads

Post by sander »

Hmmm .. no response from the OP. Quite disappointing. I will unsubscribe from this thread and put HTJ on my ignore list.
HTJ
Newbie
Newbie
Posts: 5
Joined: May 11th, 2014, 4:36 am

Re: SABnzbd fails to suspend system after downloads

Post by HTJ »

I wasn't free during the week to test it. It produces the same type of error:

Error org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.UPower was not provided by any .service files

I've tested this on a completely clean install of OpenElec 4.0.1 and the same thing happens.
User avatar
shypike
Administrator
Administrator
Posts: 19774
Joined: January 18th, 2008, 12:49 pm

Re: SABnzbd fails to suspend system after downloads

Post by shypike »

Is "dbus" support installed?
Post Reply