Empty notification popup due to invalid markup

Bug #695613 reported by HVGY
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
sbackup
Status tracked in Trunk
0.11
Fix Released
Low
Jean-Peer Lorenz
Trunk
Fix Released
Low
Jean-Peer Lorenz

Bug Description

OS: Ubuntu 10.10
Sbackup ver.. 0.11.3
Source: Official Ubuntu PPA
Use case:
My target place for backups is an usb device. It was switched off when daily cron started to make a fresh backup. Status was detected well and I was noticed about the situation. I canceled the service by clicking on the cancel button on the error window. Everything was Ok with that process but after it I have found an empty message(?) window on my desktop. I think it was an "email was sent succesfully" or something similar message. There was an error on e-mail sending (it might be the root problem, however my e-mail settings are tested successfully). 2 Screenshot provided.

Logs:
SBackup 'Default Profile' Logger

==============

2010-12-30 08:57:06,245 - INFO: Log output for [Default Profile] is directed to file '/var/log/sbackup/sbackup.2010-12-30_08.57.06.239267.log'.
2010-12-30 08:57:06,246 - INFO: Profile settings are being read from file '/etc/sbackup.conf'.
2010-12-30 08:57:06,262 - INFO: Preparation of backup process
2010-12-30 08:57:06,263 - INFO: Initializing GIO File Access Manager.
2010-12-30 08:57:06,436 - INFO: Backup destination: /media/Adatok/viko_UBUNTU_backups
2010-12-30 08:57:06,454 - WARNING: Unable to find destination directory.
2010-12-30 08:57:41,690 - WARNING: Backup was canceled by user.
2010-12-30 08:57:41,710 - INFO: Terminating GIO File Access Manager.
2010-12-30 08:57:41,711 - INFO: Processing of profile was canceled on user request
2010-12-30 08:57:43,163 - ERROR: Error when sending email: (550, '5.1.0 <email address hidden> sender rejected', 'SBackup Daemon <email address hidden>')

Cronlog:
----------
2010-12-30 08:57:06,245 - INFO: Log output for [Default Profile] is directed to file '/var/log/sbackup/sbackup.2010-12-30_08.57.06.239267.log'.
2010-12-30 08:57:06,246 - INFO: Profile settings are being read from file '/etc/sbackup.conf'.
2010-12-30 08:57:06,262 - INFO: Preparation of backup process
2010-12-30 08:57:06,263 - INFO: Initializing GIO File Access Manager.
2010-12-30 08:57:06,436 - INFO: Backup destination: /media/Adatok/viko_UBUNTU_backups
2010-12-30 08:57:06,454 - WARNING: Unable to find destination directory.
2010-12-30 08:57:41,690 - WARNING: Backup was canceled by user.
2010-12-30 08:57:41,710 - INFO: Terminating GIO File Access Manager.
2010-12-30 08:57:41,711 - INFO: Processing of profile was canceled on user request

2010-12-30 08:57:43,163 - ERROR: Error when sending email: (550, '5.1.0 <email address hidden> sender rejected', 'SBackup Daemon <email address hidden>')
Updating DISPLAY to: :0
Updating SSH_AUTH_SOCK to: /tmp/ssh-oUHVli1549/agent.1549
Updating GNOME_KEYRING_CONTROL to: /tmp/keyring-nohxae
Updating GNOME_KEYRING_PID to: 1530
Updating XAUTHORITY to: /var/run/gdm/auth-for-zu-dfjk4I/database
Updating GPG_AGENT_INFO to: None
D-Bus session bus launched
 DBUS_SESSION_BUS_ADDRESS=unix:abstract=/tmp/dbus-4hqO21Auh7,guid=72a1d6740ba1bd147eef630200000601
 DBUS_SESSION_BUS_PID=2264
Now launching indicator application (status icon).
Unable to get KDE Session Manager: org.freedesktop.DBus.Error.ServiceUnknown: The name org.kde.ksmserver was not provided by any .service files
Unable to get Gnome Session Manager: org.freedesktop.DBus.Error.ServiceUnknown: The name org.gnome.SessionManager was not provided by any .service files
No DE found using D-Bus. Looking for process id.
Indicator application started (PID: 2272)
/usr/share/sbackup/sbackup/ui/misc.py:215: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 3 char 32: '<email address hidden>' is not a valid name: '@'
  dialog.set_markup(_msg)
/usr/share/sbackup/sbackup/ui/indicator_core.py:703: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 3 char 32: '<email address hidden>' is not a valid name: '@'
  errmsg.run()
2010-12-30 09:02:17,168 - INFO: SBackupdDBusObject is being terminated.
Updating GPG_AGENT_INFO to: None
Indicator application was started as superuser (EUID=0).
Now dropping privileges (to user 'zu').
drop privileges: running as zu/zu
drop privileges: running as nobody/nogroup

Related branches

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

Thank you for using SBackup and for taking the time reporting this bug.

The issue is cause by malformed markup:

/usr/share/sbackup/sbackup/ui/misc.py:215: GtkWarning: Failed to set text from markup due to error parsing markup: Error on line 3 char 32: '<email address hidden>' is not a valid name: '@'
  dialog.set_markup(_msg)

Thanks for your help.

Changed in sbackup:
status: New → Confirmed
importance: Undecided → Low
summary: - Empty notification window goes up after error riport
+ Empty notification popup due to invalid markup
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.