(sympom bzr command line works fine, but from tortoisebzr gives the same error).
Fix was to rename the file, relaunch Bazaar explorer and let them create a new one.
The complete bzr error I was getting was:
bzr: ERROR: bzrlib.util.configobj.configobj.ConfigObjError: Parsing failed with several errors.
First error at line 1.
Traceback (most recent call last):
File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\commands.py", line 176, in run
File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\commands.py", line 510, in _qbzr_run
File "bzrlib\lazy_import.pyo", line 129, in __call__
File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\log.py", line 113, in __init__
File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\util.py", line 339, in restoreSize
File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\util.py", line 128, in get_option
File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\util.py", line 109, in _load
File "bzrlib\util\configobj\configobj.pyo", line 1223, in __init__
File "bzrlib\util\configobj\configobj.pyo", line 1306, in _load
ConfigObjError: Parsing failed with several errors.
First error at line 1.
I found another reason why this happens, On windows 7 the file
C:\Users\ myuser1\ AppData\ Roaming\ bazaar\ 2.0\qbzr. conf got somehow corrupted
(sympom bzr command line works fine, but from tortoisebzr gives the same error).
Fix was to rename the file, relaunch Bazaar explorer and let them create a new one.
The complete bzr error I was getting was:
bzr: ERROR: bzrlib. util.configobj. configobj. ConfigObjError: Parsing failed with several errors.
First error at line 1.
Traceback (most recent call last): plugins\ qbzr\lib\ commands. py", line 176, in run plugins\ qbzr\lib\ commands. py", line 510, in _qbzr_run lazy_import. pyo", line 129, in __call__ plugins\ qbzr\lib\ log.py" , line 113, in __init__ plugins\ qbzr\lib\ util.py" , line 339, in restoreSize plugins\ qbzr\lib\ util.py" , line 128, in get_option plugins\ qbzr\lib\ util.py" , line 109, in _load util\configobj\ configobj. pyo", line 1223, in __init__ util\configobj\ configobj. pyo", line 1306, in _load
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "bzrlib\
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "C:/Program Files (x86)/Bazaar/
File "bzrlib\
File "bzrlib\
ConfigObjError: Parsing failed with several errors.
First error at line 1.
bzr 2.4.2 on python 2.6.6 (win32) Bazaar\ \tbzrcommand. exe', '--command=log', '--file= C:\\src\ \MainSource\ \features\ \DebuggerNewSyn cLogic4' ] plugins\ bzrtools [2.4.1] plugins\ changelog_ merge [2.4.2] plugins\ colo [0.3.1dev] plugins\ explorer [1.2.1] fergs\AppData\ Roaming\ bazaar\ 2.0\plugins\ extmerge [unknown] plugins\ fastimport [0.12.0dev] plugins\ launchpad [2.4.2] plugins\ loom [2.2.1dev] fergs\AppData\ Roaming\ bazaar\ 2.0\plugins\ mysql_plugins [0.4.4] credential_ store C:\Program Files (x86)\Bazaar\ plugins\ netrc_credentia l_store [2.4.2] plugins\ news_merge [2.4.2] plugins\ pipeline [1.1.0] plugins\ qbzr [0.21.1] plugins\ rewrite [0.6.3dev] plugins\ svn [1.1.0] plugins\ upload [1.0.1dev] plugins\ xmloutput [0.8.7]
arguments: ['C:\\Program Files (x86)\\
encoding: 'cp1252', fsenc: 'mbcs', lang: 'en'
plugins:
bzrtools C:\Program Files (x86)\Bazaar\
changelog_merge C:\Program Files (x86)\Bazaar\
colo C:\Program Files (x86)\Bazaar\
explorer C:\Program Files (x86)\Bazaar\
extmerge C:\Users\
fastimport C:\Program Files (x86)\Bazaar\
launchpad C:\Program Files (x86)\Bazaar\
loom C:\Program Files (x86)\Bazaar\
mysql_plugins C:\Users\
netrc_
news_merge C:\Program Files (x86)\Bazaar\
pipeline C:\Program Files (x86)\Bazaar\
qbzr C:\Program Files (x86)\Bazaar\
rewrite C:\Program Files (x86)\Bazaar\
svn C:\Program Files (x86)\Bazaar\
upload C:\Program Files (x86)\Bazaar\
xmloutput C:\Program Files (x86)\Bazaar\
The corrupted contents of qbzr.conf are a chunk of .NET Fusion log viewer (how did they output end up there?):
<meta http-equiv= "Content- Type" content= "charset= unicode- 1-1-utf- 8"><!-- saved from url=(0015) assemblybinder: --><html><pre>
*** Assembly Binder Log Entry (7/8/2012 @ 12:14:34 AM) ***
The operation failed.
Bind result: hr = 0x80070002. The system cannot find the file specified.
Assembly manager loaded from: C:\Windows\ Microsoft. NET\Framework\ v4.0.30319\ clr.dll MainSource\ Bugs\Bug65065ConstraintExcep tionMSSQL\Bug65065ConstraintExcep tionMSSQL\ bin\Debug\Bug65065ConstraintExcep tionMSSQL. vshost. exe
Running under executable D:\src\
--- A detailed error log follows.
=== Pre-bind state information === VisualStudio. HostingProcess. Utilities, Version=10.0.0.0, Culture=neutral, PublicKeyToken= b03f5f7f11d50a3 a, processorArchit ecture= MSIL /D:/src/ xxxx/
LOG: User = 5YJDTM1\fergs
LOG: DisplayName = Microsoft.
(Fully-specified)
LOG: Appbase = file://
LOG: Initial PrivatePath = NULL
LOG: Dynamic Base = NULL
LOG: Cache Base = NULL
LOG: AppName = xxx.vshost.exe
Calling assembly : (Unknown).
===
LOG: Start binding of native image Microsoft.Vis