sbackup crashes when trying to add a directory to backup

Bug #888367 reported by Peter Schachte
42
This bug affects 6 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

When trying to add a directory to back up in the config dialog, it crashes with the message "argument of type 'int' is not iterable", and asks me to report the bug.

This is version sbackup 0.11.4 freshly installed in a fresh ubuntu 11.10 AMD64 install.

Traceback from error dialog:
File "/usr/share/sbackup/sbackup/ui/configgui.py", line 1005, in on_inc_adddir_clicked
    if not self.already_inc(self.configman.items("dirconfig"), _enc_dir):
  File "/usr/lib/python2.7/ConfigParser.py", line 647, in items
    for option in options]
  File "/usr/lib/python2.7/ConfigParser.py", line 655, in _interpolate
    if value and "%(" in value:
TypeError: argument of type 'int' is not iterable

Revision history for this message
Peter Schachte (schachte) wrote :
Changed in sbackup:
importance: Undecided → Medium
status: New → Confirmed
Changed in sbackup:
status: Confirmed → Fix Committed
Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

I've pushed a possible fix for this to the repository (sbackup/0.11): avoid using the ConfigParser interpolation feature when checking added directories. Hopefully this will fix the issue, I was not able to reproduce the bug so far.

Please feel free to re-open this bug if the issue is still valid!

Revision history for this message
jjj (ubu6tu-one) wrote :

Version 0.11.4 on linux Mint 16. Bug is still present.

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

Other bug subscribers

Bug attachments

Remote bug watches

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