Python seems to be segfaulting here, weird.
** Also affects: python-defaults (Ubuntu)
Importance: Undecided
Status: New
** Also affects: pygobject (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/1021032
Title:
libindicate-ERROR **: Unable to get session bus: Operation was
cancelled
Status in Libindicate:
New
Status in “pygobject” package in Ubuntu:
New
Status in “python-defaults” package in Ubuntu:
New
Bug description:
greg@greg-precise:~/Desktop/fbuntu-gtk3$ python test-indicate.py
(test-indicate.py:3825): libindicate-ERROR **: Unable to get session bus:
Operation was cancelled
Trace/breakpoint trap (core dumped)
When running the following python (both in python2 and python3):
from gi.repository import Indicate
from gi.repository import Gtk
from gi.repository import GLib
mm = Indicate.Server()
mm.set_type("message.im")
#mm.set_desktop_file("/home/greg/.fbuntu/bin/FBuntu.desktop")
mm.show()
indicator = Indicate.Indicator.new_with_server(mm)
indicator.set_property("subtype", "im")
indicator.set_property("draw-attention", "true")
indicator.set_property("sender", "Joe sent you a message")
timeval = GLib.TimeVal()
timeval.tv_sec = int('1340830988768'[:-3])
indicator.set_property_time("time", timeval)
indicator.show()
Gtk.main()
To manage notifications about this bug go to:
https://bugs.launchpad.net/libindicate/+bug/1021032/+subscriptions
--
Mailing list: https://launchpad.net/~desktop-packages
Post to : [email protected]
Unsubscribe : https://launchpad.net/~desktop-packages
More help : https://help.launchpad.net/ListHelp