sbackup crashes when trying to add a directory to backup

Bug #888367 reported by Peter Schachte on 2011-11-10
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Status tracked in Trunk

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/", line 1005, in on_inc_adddir_clicked
    if not self.already_inc(self.configman.items("dirconfig"), _enc_dir):
  File "/usr/lib/python2.7/", line 647, in items
    for option in options]
  File "/usr/lib/python2.7/", line 655, in _interpolate
    if value and "%(" in value:
TypeError: argument of type 'int' is not iterable

Peter Schachte (schachte) wrote :
Changed in sbackup:
importance: Undecided → Medium
status: New → Confirmed
Changed in sbackup:
status: Confirmed → Fix Committed
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!

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  Edit
Everyone can see this information.

Other bug subscribers

Bug attachments