Comment 0 for bug 412934

Revision history for this message
AllesMeins (spam-startrekarchiv) wrote : sbackup fails if exclude-path contains an equal-sign

The title says it pretty much. I've added a directory with an equal-sign in its name to my exclude list. This causes sbackup to stop working. Luckily I've noticed it by chance a few days later.

Starting sbackupd from a terminal reports the following:

$ sudo sbackupd
Traceback (most recent call last):
  File "/usr/sbin/sbackupd", line 213, in <module>
    dirconfig = dict([ (k, int(v)) for k,v in conf.items("dirconfig") ] )
ValueError: invalid literal for int() with base 10: 'Backups=_/ = 0'

A second problem is, that the directory in question is not displayed in the config-dialog. I had to remove it myself in /etc/sbackup.conf to get it working again.

Im using Xubuntu 9.04 (amd64)