bazaar explorer doesnt start

Bug #1777960 reported by Jeff Hill
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar
New
Undecided
Unassigned

Bug Description

Under latest stable release of bzr the explorer (and also tortoise) don't appear to work. I did try uninstalling and reinstalling the product.

bzr --version
Bazaar (bzr) 2.5.1
  Python interpreter: C:\Program Files (x86)\Bazaar\python26.dll 2.6.6
  Python standard library: C:\Program Files (x86)\Bazaar\lib\library.zip
  Platform: Windows-7-6.1.7601-SP1
  bzrlib: C:\Program Files (x86)\Bazaar\lib\library.zip\bzrlib
  Bazaar configuration: C:/Users/101150.WIN/AppData/Roaming/bazaar/2.0
  Bazaar log file: C:\Users\101150.WIN\Documents\.bzr.log

Copyright 2005-2012 Canonical Ltd.
http://bazaar.canonical.com/

bzr comes with ABSOLUTELY NO WARRANTY. bzr is free software, and
you may use, modify and redistribute it under the terms of the GNU
General Public License version 2 or later.

Bazaar is part of the GNU Project to produce a free operating system.

bzr plugins -v
bzrtools 2.5.0
  Various useful commands for working with bzr.
   C:\Program Files (x86)\Bazaar\plugins\bzrtools

changelog_merge 2.5.1
  Merge hook for GNU-format ChangeLog files
   C:\Program Files (x86)\Bazaar\plugins\changelog_merge

colo 0.4.0
  Work with colocated branches using current technology.
   C:\Program Files (x86)\Bazaar\plugins\colo

explorer 1.2.2
  Version Control for Human Beings.
   C:\Program Files (x86)\Bazaar\plugins\explorer

fastimport 0.14.0dev
  FastImport Plugin
   C:\Program Files (x86)\Bazaar\plugins\fastimport

git 0.6.8
  A GIT branch and repository format implementation for bzr.
   C:\Program Files (x86)\Bazaar\plugins\git

launchpad 2.5.1
  Launchpad.net integration plugin for Bazaar.
   C:\Program Files (x86)\Bazaar\plugins\launchpad

loom 2.3.0dev
  (no description)
   C:\Program Files (x86)\Bazaar\plugins\loom

netrc_credential_store 2.5.1
  Use ~/.netrc as a credential store for authentication.conf.
   C:\Program Files (x86)\Bazaar\plugins\netrc_credential_store

news_merge 2.5.1
  Merge hook for bzr's NEWS file.
   C:\Program Files (x86)\Bazaar\plugins\news_merge

pipeline 1.4.0
  Manage a series of branches as a pipeline.
   C:\Program Files (x86)\Bazaar\plugins\pipeline

qbzr 0.22.3
  QBzr - Qt-based frontend for Bazaar
   C:\Program Files (x86)\Bazaar\plugins\qbzr

rewrite 0.6.4dev
  Rebase support.
   C:\Program Files (x86)\Bazaar\plugins\rewrite

svn 1.2.2
  Support for Subversion branches
   C:\Program Files (x86)\Bazaar\plugins\svn

upload 1.2.0dev
  Upload a working tree, incrementally.
   C:\Program Files (x86)\Bazaar\plugins\upload

xmloutput 0.8.8
  This plugin adds an option (--xml) to log and provides an xml version of some builtin commands.
   C:\Program Files (x86)\Bazaar\plugins\xmloutput

bzr explorer
bzr: ERROR: bzrlib.util.configobj.configobj.ParseError: Invalid line at line "1".

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 920, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1131, in run_bzr
  File "bzrlib\commands.pyo", line 673, in run_argv_aliases
  File "bzrlib\commands.pyo", line 695, in run
  File "bzrlib\cleanup.pyo", line 136, in run_simple
  File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\commands.py", line 162, in run
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\explorer.py", line 208, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\wt_browser.py", line 49, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\wt_browser.py", line 450, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\wt_browser.py", line 685, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\wt_browser.py", line 628, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\treewidget.py", line 1357, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\treewidget.py", line 1693, in create_context_menu
  File "bzrlib\lazy_import.pyo", line 116, in __call__
  File "bzrlib\lazy_import.pyo", line 85, in _resolve
  File "bzrlib\lazy_import.pyo", line 200, in _import
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\diff.py", line 42, in <module>
  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
ParseError: Invalid line at line "1".

bzr 2.5.1 on python 2.6.6 (Windows-7-6.1.7601-SP1)
arguments: ['bzr', 'explorer']
plugins: bzrtools[2.5.0], changelog_merge[2.5.1], colo[0.4.0],
    explorer[1.2.2], fastimport[0.14.0dev], git[0.6.8], launchpad[2.5.1],
    loom[2.3.0dev], netrc_credential_store[2.5.1], news_merge[2.5.1],
    pipeline[1.4.0], qbzr[0.22.3], rewrite[0.6.4dev], svn[1.2.2],
    upload[1.2.0dev], xmloutput[0.8.8]
encoding: 'cp1252', fsenc: 'mbcs', lang: None

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Revision history for this message
Jeff Hill (johill-lanl) wrote :

C:\Users\101150.WIN\AppData\Roaming\bazaar\2.0>bzr explorer
bzr: ERROR: bzrlib.util.configobj.configobj.ParseError: Invalid line at line "1"
.

Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 920, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1131, in run_bzr
  File "bzrlib\commands.pyo", line 673, in run_argv_aliases
  File "bzrlib\commands.pyo", line 695, in run
  File "bzrlib\cleanup.pyo", line 136, in run_simple
  File "bzrlib\cleanup.pyo", line 166, in _do_with_cleanups
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\commands.py", line 16
2, in run
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\explorer.py", line 20
8, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\wt_browser.py", line
49, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\wt_browser.py", line
450, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\wt_browser.py", line
685, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\wt_browser.py", line
628, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\treewidget.py", line 1357
, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\treewidget.py", line 1693
, in create_context_menu
  File "bzrlib\lazy_import.pyo", line 116, in __call__
  File "bzrlib\lazy_import.pyo", line 85, in _resolve
  File "bzrlib\lazy_import.pyo", line 200, in _import
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\diff.py", line 42, in <mo
dule>
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\util.py", line 128, in ge
t_option
  File "C:/Program Files (x86)/Bazaar/plugins\qbzr\lib\util.py", line 109, in _l
oad
  File "bzrlib\util\configobj\configobj.pyo", line 1223, in __init__
  File "bzrlib\util\configobj\configobj.pyo", line 1306, in _load
ParseError: Invalid line at line "1".

bzr 2.5.1 on python 2.6.6 (Windows-7-6.1.7601-SP1)
arguments: ['bzr', 'explorer']
plugins: bzrtools[2.5.0], changelog_merge[2.5.1], colo[0.4.0],
    explorer[1.2.2], fastimport[0.14.0dev], git[0.6.8], launchpad[2.5.1],
    loom[2.3.0dev], netrc_credential_store[2.5.1], news_merge[2.5.1],
    pipeline[1.4.0], qbzr[0.22.3], rewrite[0.6.4dev], svn[1.2.2],
    upload[1.2.0dev], xmloutput[0.8.8]
encoding: 'cp1252', fsenc: 'mbcs', lang: None

*** Bazaar has encountered an internal error. This probably indicates a
    bug in Bazaar. You can help us fix it by filing a bug report at
        https://bugs.launchpad.net/bzr/+filebug
    including this traceback and a description of the problem.

Revision history for this message
Jeff Hill (johill-lanl) wrote :

I was able to resolve my issue after finding "https://bugs.launchpad.net/qbzr/+bug/723691".

The fix here was to delete one of the bazaar config files.

C:\Users\101150.WIN\AppData\Roaming\bazaar\2.0\qbzr.conf

Some clues could be found when carefully reading the above URL. See below.

Angel Guzman Maeso пишет:
> Attached the requested folder and files. Thanks.
>
> ** Attachment added: "Bazaar 2.0 folder"
> https://bugs.launchpad.net/qbzr/+bug/723691/+attachment/1869302/+files/2.0.zip

Many thanks!

It's very interesting indeed. You have broken qbzr.conf file with size
1208 bytes and all those bytes are zeroes. I suppose you had some disk
failure, perhaps windows scandisk has tried to restore the file and
eventually it ended up filled with the zeroes. I saw similar behavior on
my some my old machines.

So, to repair your bzr install you just need to delete qbzr.conf file,
and it will be created automatically for you with normal content.

I'll provide a corresponding guard check to qbzr itself as well.

[...]

Revision history for this message
Jeff Hill (johill-lanl) wrote :

Unable to guess at what caused this. Hopefully not caused by virus scanner required here.

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.