Problem with keep min free space

Bug #1437623 reported by Daniel Betschart
14
This bug affects 3 people
Affects Status Importance Assigned to Milestone
Back In Time
Fix Released
Medium
Germar

Bug Description

After the backup with smart-remove my command window looks like:
INFO: Keep min free disk space: 199680 Mb
INFO: Keep min 2% free inodes
Traceback (most recent call last):
  File "/usr/share/backintime/common/backintime.py", line 436, in <module>
    start_app()
  File "/usr/share/backintime/common/backintime.py", line 191, in start_app
    ret = take_snapshot( cfg, True )
  File "/usr/share/backintime/common/backintime.py", line 52, in take_snapshot
    ret = snapshots.Snapshots( cfg ).take_snapshot( force )
  File "/usr/share/backintime/common/snapshots.py", line 931, in take_snapshot
    self._free_space( now )
  File "/usr/share/backintime/common/snapshots.py", line 1568, in _free_space
    if last_snapshot is not snapshots[-1]:
UnboundLocalError: local variable 'last_snapshot' referenced before assignment
INFO: [qt4systrayicon] end loop

What's the problem?

lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty

ii backintime-common 1.1.4~trusty all Simple backup system (common)
ii backintime-gnome 1.1.4~trusty all Virtual package
ii backintime-qt4 1.1.4~trusty all Simple backup system

Revision history for this message
Germar (germar) wrote :

You've deactivated 'Remove snapshots older than', right? Until next version you could 'fix' this by activating this again. Just set e.g. 20 years and nothing will be deleted.

Problem is me adding new features short before releasing new versions >:|

Changed in backintime:
status: New → Fix Committed
importance: Undecided → Medium
assignee: nobody → Germar (germar)
milestone: none → 1.1.6
Revision history for this message
Daniel Betschart (dbet1) wrote :

Yes, you are right! I have activated this option now and the error is gone. Thank you.

Germar (germar)
Changed in backintime:
status: Fix Committed → 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.