Exception when selecting the "Use recommended settings": NoOptionError

Bug #609814 reported by Pete Stephenson
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sbackup
Invalid
Undecided
Unassigned
0.10
Won't Fix
Low
Unassigned
sbackup (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: sbackup

In sbackup 0.10.5ubuntu2 (though the version in the About button in the application shows as 0.10.4) in Ubuntu 10.04, after making the configuration change detailed at http://wwww.ubuntuforums.org/showpost.php?p=9477790&postcount=8, selecting the "Use recommended settings" option has no effect.

After saving, closing, and re-opening Simple Backup Config, the "Use custom settings" option is selected. This is not the desired behavior.

The terminal output when selecting the "Use recommended settings" option is chosen is as follows:

Traceback (most recent call last):
.conf.get("places", "prefix") + "/share/sbackup/simple-backup-config.glade")
  File "/usr/sbin/simple-backup-config", line 578, in on_main_radio_group_changed
    self.parse_conf()
  File "/usr/sbin/simple-backup-config", line 402, in parse_conf
    if str(self.conf.get("general", "stop_if_no_target")) == "1":
  File "/usr/lib/python2.6/ConfigParser.py", line 540, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'stop_if_no_target' in section: 'general'
Traceback (most recent call last):
  File "/usr/sbin/simple-backup-config", line 578, in on_main_radio_group_changed
    self.parse_conf()
  File "/usr/sbin/simple-backup-config", line 402, in parse_conf
    if str(self.conf.get("general", "stop_if_no_target")) == "1":
  File "/usr/lib/python2.6/ConfigParser.py", line 540, in get
    raise NoOptionError(option, section)
ConfigParser.NoOptionError: No option 'stop_if_no_target' in section: 'general'

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

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

This issue does not exist in sbackup >= 0.11 as packaged in Maverick and newer. However, it may occur when using sbackup 0.10.5.

summary: - sbackup does not remember selection of "recommended" settings, changes
- to "custom"
+ Exception when selecting the "Use recommended settings": NoOptionError
Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

@Pete Stephenson:
I've filed another bug LP #713324 regarding your original issue (Selection of "recommended" settings is not persistent).

Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :
Changed in sbackup (Ubuntu):
status: New → Confirmed
Changed in sbackup:
status: New → Invalid
Revision history for this message
Jean-Peer Lorenz (peer.loz) wrote :

Please upgrade to our latest release. Thanks.

Changed in sbackup (Ubuntu):
status: Confirmed → Fix Released
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.