← Back to team overview

dx-packages team mailing list archive

[Bug 1269256] Re: unity_scope_dbus_connector_export() reports obscure error message

 

** Changed in: libunity (Ubuntu)
       Status: New => Confirmed

** Changed in: libunity (Ubuntu)
   Importance: Undecided => Medium

-- 
You received this bug notification because you are a member of DX
Packages, which is subscribed to libunity in Ubuntu.
Matching subscriptions: dx-packages
https://bugs.launchpad.net/bugs/1269256

Title:
  unity_scope_dbus_connector_export() reports obscure error message

Status in libunity:
  Confirmed
Status in libunity package in Ubuntu:
  Confirmed

Bug description:
  OS: ubuntu 13.10 saucy
  libunity: 7.1.2+13.10.20131010-0ubuntu2

  when I call unity_scope_dbus_connector_export() with an illegal dbus
  name like "com.canonical.Unity.Scope.Graphics.500px", the error
  message is obscure to understand

  204	    connector = unity_scope_dbus_connector_new(UNITY_ABSTRACT_SCOPE(scope));
  (gdb) 
  205	    assert(connector);
  (gdb) 
  207	    unity_scope_dbus_connector_export(connector, NULL);
  (gdb) 
  [New Thread 0x7fffef0f7700 (LWP 7997)]
  208	    unity_scope_dbus_connector_run();
  (gdb) 

  (process:7988): GLib-GIO-CRITICAL **: g_bus_own_name: assertion
  'g_dbus_is_name (name) && !g_dbus_is_unique_name (name)' failed

To manage notifications about this bug go to:
https://bugs.launchpad.net/libunity/+bug/1269256/+subscriptions