bzr explorer causes files lock issues over UNC paths

Bug #861503 reported by rherbert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Incomplete
Undecided
Unassigned

Bug Description

When opening a project on a windows UNC share, bzr explorer causes files in the directory to be locked for modification by other programs. The lock doesn't seem to be constant, as sometimes files will save after a ~30 second wait. As soon as you close bzr explorer, the file lock issue goes away.

This is an issue with both 1.2.1 and 1.2.0. I had to revert back to 1.1.4 to fix the problem.

Revision history for this message
Jonathan Riddell (jr) wrote :

I can't recreate this with samba on Linux but maybe Windows acts differently. It could be due to the file watcher although it seems strange that watching a file should cause it to be locked. If you wanted to check you could comment out the lines with QtCore.QFileSystemWatcher() in view_workingtree.py and view_repository.py

Revision history for this message
rherbert (ryan-herbert) wrote :

Sorry that it took so long to get back to this. It looks like commenting out those lines in view_workingtree.py fixed the issue with file locking.

We also had a problem with opening a project with a large number of files/folders (over 10k) over a network share, which would cause bzr explorer to stop responding. Commenting out the QFileSystemWatcher lines also fixed that problem.

Revision history for this message
Alexander Belchenko (bialix) wrote :

I think you hit the problem with filewatcher as many other windows users. I've disabled filewatcher for windows users in bzr-explorer 1.2.2. You can try that version.

Changed in bzr-explorer:
status: New → Incomplete
tags: added: filewatcher win32
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.