Zim

rev 317 crashes on windows with shared notebook

Bug #665121 reported by smu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Zim
Fix Released
High
Unassigned

Bug Description

Running rev 317 on WinXP I discovered a bug with shared notebooks.

When a notebook is shared, the cache directory is changed in notebook.py by the function _cache_dir. This function takes the notebook path replaces the '/' and appends it to the cache dir, as far as I understood :-)
Unfortunately the function does not consider the current operating system; on windows '\' and ':' should be replaced.
The patch I used to fix this is attached.

best regards,
 stefan

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

Patch looks good, will apply it before releasing this week.

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

Fix committed in rev319

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

Released in 0.49

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.