Cannot terminate sbackup (unhandled exception in case of not implemented 'attach_to_status_icon')

Bug #988219 reported by Paul Barbee
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
sbackup
Status tracked in Trunk
0.11
Fix Released
Medium
Unassigned
Trunk
Fix Released
Medium
Unassigned

Bug Description

Right clicked on sbackup icon in the system tray, clicked "Cancel backup", an error window popped up and requested that I file a bug report.

The window said:

Sorry, this should not have happened
An uncaught error occurred. Close this message window and restart the application.
Please report this error on bugs.launchpad.net/sbackup.

'pynotify.Notification' object has no attribute.
'attach_to_ status_icon'

Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/sbackup/ui/indicator_core.py", line 696, in _cancel_handler
    message = _("Unable to cancel backup process."))
  File "/usr/lib/python2.7/site-packages/sbackup/ui/indicator_legacy.py", line 59, in _notify_info
    PyNotifyMixin._notify_info(self, profilename, message)
  File "/usr/lib/python2.7/site-packages/sbackup/ui/indicator_core.py", line 141, in _notify_info
    self.__notif.attach_to_status_icon(self.__trayicon)
AttributeError: 'pynotify.Notification' object has no attribute 'attach_to_status_icon'

Revision history for this message
Paul Barbee (paulbarbee-gmail) wrote :

Distribution: Arch Linux x86_64.

I tried closing the application again using root password instead of local user and the application terminated without further feedback.

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

A fix for this issue was pushed to repository (sbackup/0.11):

revno: 245
committer: Jean-Peer Lorenz <email address hidden>
branch nick: 0.11
timestamp: Wed 2012-12-19 20:45:07 +0100
message:
  * added exception handling in case of not implemented 'attach_to_status_icon'
    method (e.g. Debian Wheezy)

Please feel free to re-open the bug if it is still valid. Thanks.

summary: - Cannot terminate sbackup
+ Cannot terminate sbackup (unhandled exception in case of not implemented
+ 'attach_to_status_icon')
Changed in sbackup:
importance: Undecided → Medium
milestone: none → 0.11.5
status: New → Fix Committed
Revision history for this message
jhoechtl (johann-hoechtl) wrote :

Well, using sbackup 0.11.4 of Ubuntu 13.04 (fresh install) has the issue that I can not terminate a running backup. It doesn't fail with an exception but keeps telling me that the password is wrong. However it is exactly the same password I started sbackup or I start the restauration.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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