adamrights / flyback

Automatically exported from code.google.com/p/flyback
0 stars 0 forks source link

crash on non-existant backup-folder #19

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. start flyback and set-up a folder for backups
2. close flyback and remove the folder
3. start flyback

What is the expected output? What do you see instead?
I would expect flyback starting and complaining about a missing
backup-folder, instead I get:
Traceback (most recent call last):
  File "flyback.py", line 533, in ?
    main()
  File "flyback.py", line 528, in main
    main_gui()
  File "flyback.py", line 245, in __init__
    self.refresh_available_backup_list()
  File "flyback.py", line 172, in refresh_available_backup_list
    for n in self.backup.get_available_backups():
  File "/home/zhenech/dev/flyback/flyback-svn/src/backup_backend.py", line
91, in get_available_backups
    dirs = dircache.listdir(self.parent_backup_dir)
  File "/usr/lib/python2.4/dircache.py", line 25, in listdir
    mtime = os.stat(path).st_mtime
OSError: [Errno 2] Datei oder Verzeichnis nicht gefunden:
'/home/zhenech/flybacktest/to/flyback'

What version of the product are you using? On what operating system?
svn r33 on Debian Sid

Original issue reported on code.google.com by zhen...@gmail.com on 11 Nov 2007 at 5:33

GoogleCodeExporter commented 8 years ago
fixed in svn

Original comment by pub...@kered.org on 11 Nov 2007 at 8:48