Exception when selecting the "Use recommended settings": NoOptionError

Reported by Pete Stephenson on 2010-07-25
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
sbackup
Undecided
Unassigned
0.10
Low
Unassigned
sbackup (Ubuntu)
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'

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
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).

Changed in sbackup (Ubuntu):
status: New → Confirmed
Changed in sbackup:
status: New → Invalid
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  Edit
Everyone can see this information.

Other bug subscribers