[Sugar-devel] [PATCH] avoid reporting missing DCON
Jerry Vonau
me at jvonau.ca
Wed Feb 18 20:13:24 EST 2015
> On February 18, 2015 at 5:09 PM James Cameron <quozl at laptop.org> wrote:
>
>
> The DCON is OLPC XO specific and the absence need not be reported.
>
> Removes message:
>
> ERROR root: Cannot unfreeze the DCON
>
> However, this doesn't fix an immediately preceeding message:
>
> ERROR dbus.proxies: Introspect error on
> org.freedesktop.ohm:/org/freedesktop/ohm/Keystore:
> dbus.exceptions.DBusException:
> org.freedesktop.DBus.Error.ServiceUnknown: The name
> org.freedesktop.ohm was not provided by any .service files
>
> Any ideas how to fix that one?
check extensions/cpsection/power/model.py
> ---
> src/jarabe/model/screen.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/src/jarabe/model/screen.py b/src/jarabe/model/screen.py
> index f70bda1..8c7d1c7 100644
> --- a/src/jarabe/model/screen.py
> +++ b/src/jarabe/model/screen.py
> @@ -42,4 +42,4 @@ def set_dcon_freeze(frozen):
> try:
> _get_ohm().SetKey('display.dcon_freeze', frozen)
> except dbus.DBusException:
> - logging.error('Cannot unfreeze the DCON')
> + pass
> --
> 1.8.3.2
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
More information about the Sugar-devel
mailing list