GI error while trying to show notifications

Bug #961342 reported by Alejandro J. Cura
46
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Ubuntu One Client
Status tracked in Trunk
Stable-3-0
Fix Released
High
dobey
Trunk
Fix Released
High
dobey
ubuntuone-client (Ubuntu)
Fix Released
High
dobey
Precise
Fix Released
High
dobey

Bug Description

2012-03-21 13:03:50,656 - ubuntuone.SyncDaemon.EQ - ERROR - Error encountered while handling: AQ_CHANGE_PUBLIC_ACCESS_OK in <ubuntuone.syncdaemon.status_listener.StatusListener object at 0x1f0d350>
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/event_queue.py", line 303, in _dispatch
    method(**kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/status_listener.py", line 73, in handle_AQ_CHANGE_PUBLIC_ACCESS_OK
    self.status_frontend.file_published(public_url)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/status/aggregator.py", line 800, in file_published
    UBUNTUONE_TITLE, status_event.one())
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/status/aggregator.py", line 134, in send_notification
    return self.notification.send_notification(*args)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/platform/linux/notification.py", line 75, in send_notification
    self.notification.set_hint('transient', True)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
TypeError: Expected GLib.Variant, but got StructMeta

Related branches

Revision history for this message
John O'Brien (jdobrien) wrote :

Min is slightly different:

john@Monolith:~/.cache/ubuntuone/log$ cat syncdaemon-exceptions.log
2012-03-22 19:00:42,845 - ubuntuone.SyncDaemon.EQ - ERROR - Error encountered while handling: SYS_CONNECTION_MADE in <ubuntuone.syncdaemon.status_listener.StatusListener object at 0x4f8fa50>
Traceback (most recent call last):
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/event_queue.py", line 303, in _dispatch
    method(**kwargs)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/syncdaemon/status_listener.py", line 123, in handle_SYS_CONNECTION_MADE
    self.status_frontend.server_connection_made()
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/status/aggregator.py", line 853, in server_connection_made
    self.aggregator.connection_made()
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/status/aggregator.py", line 783, in connection_made
    self.file_discovery_bubble.connection_made()
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/status/aggregator.py", line 500, in connection_made
    self._popup()
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/status/aggregator.py", line 475, in _popup
    self.notification.send_notification(UBUNTUONE_TITLE, text)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/status/aggregator.py", line 134, in send_notification
    return self.notification.send_notification(*args)
  File "/usr/lib/python2.7/dist-packages/ubuntuone-client/ubuntuone/platform/linux/notification.py", line 75, in send_notification
    self.notification.set_hint('transient', True)
  File "/usr/lib/python2.7/dist-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
TypeError: Expected GLib.Variant, but got StructMeta

Changed in ubuntuone-client:
status: New → Confirmed
Revision history for this message
Alejandro J. Cura (alecu) wrote :

Yes, this is happening in every attempt to show a notification bubble, always at the "self.notification.set_hint(...)" call.

dobey (dobey)
Changed in ubuntuone-client (Ubuntu Precise):
milestone: none → ubuntu-12.04
assignee: nobody → Rodney Dawes (dobey)
status: New → Triaged
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ubuntuone-client - 2.99.92-0ubuntu1

---------------
ubuntuone-client (2.99.92-0ubuntu1) precise; urgency=low

  * New upstream release.
    - Use set_int32 for transient hint. (LP: #961342)
    - Notify clients when volumes info form server is ready. (LP: #851810)
    - Fix an error on u1sdtool --info. (LP: #917222)
    - Exit proxy tunnel process with u1sdtool -q. (LP: #963485)
    - Unbreak and test the validate_path call. (LP: #968637)
  * debian/patches:
    - Remove patches included in upstream release.
  * debian/watch:
    - Update watch file for new release.
 -- Rodney Dawes <email address hidden> Wed, 04 Apr 2012 10:42:09 -0400

Changed in ubuntuone-client (Ubuntu Precise):
status: Triaged → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.