Zim

Fwd: Zim-0.52-1.fc15: fs.py:463:mtime:OSError: [Errno 2] No existe el fichero o el directorio

Bug #809086 reported by Robin Lee
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Fix Released
Undecided
Unassigned

Bug Description

https://bugzilla.redhat.com/show_bug.cgi?id=720434

abrt version: 2.0.3
architecture: x86_64
cmdline: /usr/bin/python /usr/bin/zim
component: Zim
executable: /usr/bin/zim
kernel: 2.6.38.8-32.fc15.x86_64
os_release: Fedora release 15 (Lovelock)
package: Zim-0.52-1.fc15
time: Mon Jul 11 17:50:15 2011
uid: 500
username: peredaj

backtrace:
:fs.py:463:mtime:OSError: [Errno 2] No existe el fichero o el directorio:
'/media/Datos/XXXX/Tareas.txt'
:
:Traceback (most recent call last):
: File "/usr/lib/python2.7/site-packages/zim/index.py", line 359, in
on_page_updated
: self._index_page(indexpath, page)
: File "/usr/lib/python2.7/site-packages/zim/index.py", line 646, in
_index_page
: key = self.notebook.get_page_indexkey(page)
: File "/usr/lib/python2.7/site-packages/zim/notebook.py", line 1526, in
get_page_indexkey
: return store.get_page_indexkey(path)
: File "/usr/lib/python2.7/site-packages/zim/stores/files.py", line 181, in
get_page_indexkey
: return file.mtime()
: File "/usr/lib/python2.7/site-packages/zim/fs.py", line 463, in mtime
: stat_result = os.stat(self.encodedpath)
:OSError: [Errno 2] No existe el fichero o el directorio:
'/media/Datos/XXXXX/Tareas.txt'
:
:Local variables in innermost frame:
:self: <UnixFile: /media/Datos/XXXXX/Tareas.txt>

comment:
:1.- Open Zim.
:2.- Create a new Subpage.
:3.- Write new information.
:4.- Crash Zim

Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Can not reproduce. Looks like a race condition where the file disappeared in between two actions. But no clue how this could happen.

Changed in zim:
status: New → Incomplete
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Went ahead and at least put in a catch so this won't crash the application.

Changed in zim:
status: Incomplete → Fix Committed
Revision history for this message
Jaap Karssenberg (jaap.karssenberg) wrote :

Fix released in zim 0.53.

Changed in zim:
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.