Comment 3 for bug 573676

Revision history for this message
Stefan Voelkel (stefan-voelkel) wrote : RE: [Bug 573676] Re: Crashes when saving to GVFS mounts

The crash should happen on all non local filesystems.

This is introduced by the backup file on save patch, which in turn solved the lost all my passwords on full disk problem.

i have an idea on how to fix it but due to gnomevfs' lack of rename it introduces a couple of different problems i need to wrap my head around.

- original message -
Subject: [Bug 573676] Re: Crashes when saving to GVFS mounts
From: Erik Meitner <email address hidden>
Date: 07/07/2010 17:14

Bug with same symptom has also been reported in Debian, but in this case using an SSH GVFS mount:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587600

** Bug watch added: Debian Bug tracker #587600
   http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=587600

--
Crashes when saving to GVFS mounts
https://bugs.launchpad.net/bugs/573676
You received this bug notification because you are subscribed to
revelation in ubuntu.

Status in “revelation” package in Ubuntu: Confirmed

Bug description:
Binary package hint: revelation

Revelation (lucid version) crashes when saving a new entry to the database. The database where created with an earlier version of revelation and are stored on a server (thru gnome-gvfs).

Traceback (most recent call last):
  File "/usr/bin/revelation", line 131, in <lambda>
    action.connect("activate", lambda w: self.entry_add(None, self.tree.get_active()))
  File "/usr/bin/revelation", line 1135, in entry_add
    self.__file_autosave()
  File "/usr/bin/revelation", line 974, in __file_autosave
    self.datafile.save(self.entrystore, self.datafile.get_file(), self.datafile.get_password())
  File "/usr/lib/python2.6/dist-packages/revelation/io.py", line 126, in save
    file_write(file, self.__handler.export_data(entrystore, password))
  File "/usr/lib/python2.6/dist-packages/revelation/io.py", line 243, in file_write
    os.rename(file, backup)
OSError: [Errno 2] Filen eller katalogen finns inte