Permssion denied from file watcher when switching branches

Bug #901104 reported by Jon Mills
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Confirmed
Medium
Unassigned

Bug Description

I'm not sure what this means, but I got the following error when switching branches to a new branch which contained extension projects.

Traceback (most recent call last):
  File "C:/Program Files/Bazaar/plugins\explorer\lib\view_workingtree.py", line 142, in refresh_view
  File "C:/Program Files/Bazaar/plugins\explorer\lib\view_workingtree.py", line 116, in _add_file_watcher_paths
  File "bzrlib\osutils.pyo", line 1772, in _walkdirs_utf8
  File "_walkdirs_win32.pyx", line 227, in bzrlib._walkdirs_win32.Win32ReadDir.read_dir (bzrlib\_walkdirs_win32.c:1837)
 WindowsError: [Error 5] C:/jon/jm_bzr/CommonProtocolStack/Testing/gtest/LibraryModules/CircularBuffer/.bzr/branch/lock/releasing.bkc3z1yiuz9p6zwod0k4.tmp/*

Revision history for this message
Jon Mills (jonmills) wrote :

This error occurred while using bzr explorer 1.2.1 on a Windows7 box.

Revision history for this message
Jon Mills (jonmills) wrote :

Upon re-opening bzr expolorer, it appeared that the new branch had been checked out correctly.

Revision history for this message
Martin Packman (gz) wrote :

Thanks for the report. Can you find the section of your .bzr.log (running `bzr version` on the command line will tell you where to find it) and attach it to this bug?

Possibly related issues, bug 874322, bug 880896, bug 891352, and bug 887067 looks similar but the root cause given is probably different.

Changed in bzr-explorer:
status: New → Incomplete
Revision history for this message
Jon Mills (jonmills) wrote :
Download full text (11.1 KiB)

The problem occurred somewhere in the following section of the log file. I'm afraid I don't understand the log file format enough to narrow down in which section the relevant event occurred:

Wed 2011-12-07 07:51:33 +0000
0.057 bazaar version: 2.4.0
0.057 bzr arguments: [u'qswitch', u'--ui-mode']
0.089 looking for plugins in F:\VCS\Utilities\Plugins
0.374 looking for plugins in C:\Windows\system32\config\systemprofile\Application Data\bazaar\2.0\plugins
0.374 looking for plugins in C:/Program Files/Bazaar/plugins
0.375 Plugin name explorer already loaded
0.376 Plugin name qbzr already loaded
0.461 encoding stdout as osutils.get_user_encoding() 'cp1252'

Wed 2011-12-07 07:52:00 +0000
0.058 bazaar version: 2.4.0
0.059 bzr arguments: [u'qsubprocess', u'--bencode', u'l6:switch61:F:\\VCS\\LibraryModules\\CommonProtocolStack\\WriteFileForwardinge']
0.091 looking for plugins in F:\VCS\Utilities\Plugins
0.368 looking for plugins in C:\Windows\system32\config\systemprofile\Application Data\bazaar\2.0\plugins
0.369 looking for plugins in C:/Program Files/Bazaar/plugins
0.369 Plugin name explorer already loaded
0.370 Plugin name qbzr already loaded
0.451 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.456 bazaar version: 2.4.0
0.456 bzr arguments: [u'switch', u'F:\\VCS\\LibraryModules\\CommonProtocolStack\\WriteFileForwarding']
0.460 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.503 opening working tree 'C:/jon/jm_bzr/CommonProtocolStack'
0.855 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.857 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.952 opening working tree 'C:/jon/jm_bzr/CommonProtocolStack'
1.065 Using fetch logic to copy between CHKInventoryRepository('file:///F:/VCS/LibraryModules/CommonProtocolStack/.bzr/repository/')(RepositoryFormat2a()) and CHKInventoryRepository('file:///C:/jon/jm_bzr/CommonProtocolStack/.bzr/repository/')(RepositoryFormat2a())
1.066 fetching: <SearchResult search:(set(['rob.umfreville@<redacted>.com-20111206153305-zrg0jo1v7nphcua6']), ['rob.umfreville@<redacted>.com-20111025150514-4vcrh3v1u9k85xoy', 'jon.mills@<redacted>.com-20111020090747-ckovf2274w56kqa4', 'jon.mills@<redacted>.com-20111102144004-9pqh6n9lefrdauaf', 'rob.umfreville@<redacted>.com-20111025154323-4vb4dsx9e15xkg6w', 'rob.umfreville@<redacted>.com-20111014144516-zkd04soo9y0xt8p6', ...], 4)>
149.624 check paths: None
149.696 check paths: None
149.746 check paths: None
149.793 check paths: None
149.844 check paths: None
149.911 check paths: None
149.957 check paths: None
150.004 check paths: None
150.055 check paths: None
150.102 check paths: None
150.150 check paths: None
150.196 check paths: None
150.242 check paths: None
1.960 Deprecated function called
Called from:
  File "F:\VCS\Utilities\Plugins\externals\externals.py", line 157, in pull
  File "F:\VCS\Utilities\Plugins\externals\externals.py", line 61, in read_config
  File "F:\VCS\Utilities\Plugins\externals\externals.py", line 50, in _set_config
1.960 Deprecated function called
Called from:
  File "F:\VCS\Utilities\Plugins\externals\externals.py", line 157, in pull
  File "F:\VCS\Utilities\Plugins\externals\externals.py", line 61, i...

Revision history for this message
Martin Packman (gz) wrote :

Thanks Jon, that confirms it is a file watcher issue. Will go through the other bugs and may combine them into one later.

description: updated
tags: added: filewatcher win32
summary: - Bzr explorer crashes when checking out extension projects
+ Permssion denied from file watcher when switching branches
Changed in bzr-explorer:
importance: Undecided → Medium
status: Incomplete → Confirmed
Revision history for this message
Alexander Belchenko (bialix) wrote :

Please, test new Bazaar Explorer 1.2.2 release, and tell us whether the problem still exists.

Revision history for this message
Jon Mills (jonmills) wrote :

Seems to work OK for me. No repetition of the problem when switching between branches.

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.