ricardomv / snapper-gui

GUI for snapper, a tool for Linux filesystem snapshot management, works with btrfs, ext4 and thin-provisioned LVM volumes
GNU General Public License v2.0
226 stars 32 forks source link

Using a limit range breaks config properties window #29

Closed R1dO closed 6 years ago

R1dO commented 7 years ago

Since 0.3.3 snapper supports the range option, see manpage

When using this range in a *_LIMIT_* snapper-config parameter the properties window for any configuration is no longer available.

Snapper-gui throws the following error:

Traceback (most recent call last):
  File "/usr/local/lib/python3.5/dist-packages/snappergui/application.py", line 40, in show_configs_properties
    dialog = propertiesDialog(self, self.snappergui.window)
  File "/usr/local/lib/python3.5/dist-packages/snappergui/propertiesDialog.py", line 64, in __init__
    currentTab = PropertiesTab(config)
  File "/usr/local/lib/python3.5/dist-packages/snappergui/propertiesDialog.py", line 20, in __init__
    adjustment = Gtk.Adjustment(value=int(v),
ValueError: invalid literal for int() with base 10: dbus.String('10-30')
automorphism88 commented 6 years ago

Duplicate of https://github.com/ricardomv/snapper-gui/issues/22