Settings menu items don't work
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Explorer |
Fix Released
|
Medium
|
Alexander Belchenko |
Bug Description
In the Settings menu only the Configuration (qconfig) menu item works. The other menu items all fail with very similar traceback messages about missing files. I have conf and ignore files in my \Application Data\bazaar\2.0 directory and some branch specific ignores.
Could be related to another bug I posted: 391334 - Bazaar > Explore > System Log doesnt work
Settings > Ignores:
Traceback (most recent call last):
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
subprocess.
File "subprocess.pyo", line 594, in __init__
File "subprocess.pyo", line 816, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
Settings > Rules:
Traceback (most recent call last):
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
subprocess.
File "subprocess.pyo", line 594, in __init__
File "subprocess.pyo", line 816, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
Settings > Locations:
Traceback (most recent call last):
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
subprocess.
File "subprocess.pyo", line 594, in __init__
File "subprocess.pyo", line 816, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
Settings > Credentials:
Traceback (most recent call last):
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
self.
File "F:/Program Files/Programming Tools/Bazaar/
subprocess.
File "subprocess.pyo", line 594, in __init__
File "subprocess.pyo", line 816, in _execute_child
WindowsError: [Error 2] The system cannot find the file specified
Win2k, bzr 1.16, qbzr 0.11, explorer 0.3.1
Related branches
Changed in bzr-explorer: | |
status: | Fix Committed → Fix Released |
This error occurs because bzre tries to invoke subprocess.Popen for 'wordpad' as editor. subprocess.Popen requires full path to application.
In the same situation bzrlib/msgeditor.py uses subprocess.call function. I think we need to use call() in bzre too.
As short-term workaround you need to specify full path to the editor in your bazaar.conf (use qconfig dialog to edit it).