Bazaar Explorer fails to launch

Bug #1154869 reported by Michael Crain
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Bazaar Explorer
Incomplete
Undecided
Unassigned

Bug Description

I have installed Bazaar for Windows 2.5.1 Standalone. When I try to launch Explorer it fails to launch. I have uninstalled and reinstalled a couple of times and still have the same problem. The traceback is immediately below. The complete log from trying to launch is at the bottom. Is this a bug or something else?

C:\Program Files (x86)\Bazaar>bzr selftest explorer
bzr: ERROR: exceptions.ImportError: Couldn't find the real 'site' module

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 "bzrlib\builtins.pyo", line 4128, in run
  File "bzrlib\tests\__init__.pyo", line 41, in <module>
  File "site.pyo", line 73, in <module>
  File "site.pyo", line 38, in __boot
ImportError: Couldn't find the real 'site' module

bzr 2.5.1 on python 2.6.6 (Windows-7-6.1.7601-SP1)
arguments: ['bzr', 'selftest', '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.

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Wed 2013-03-13 20:03:29 -0400
0.047 bazaar version: 2.5.1
0.047 bzr arguments: [u'explorer']
0.047 looking for plugins in C:/Users/Valued Customer/AppData/Roaming/bazaar/2.0/plugins
0.047 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.078 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.141 Deprecated function called
Called from:
  File "bzrlib\lazy_import.pyo", line 200, in _import
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\explorer.py", line 32, in <module>
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\desktop_env.py", line 158, in <module>
0.203 Deprecated method called
Called from:
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\explorer.py", line 166, in __init__
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\explorer.py", line 258, in _refresh_user_configuration
  File "C:/Program Files (x86)/Bazaar/plugins\explorer\lib\explorer.py", line 265, in get_default_editor
0.203 loading explorer extensions for clothes ['Bazaar support', 'Register on Launchpad']
0.203 explorer extensions provided by the colo plugin in C:/Program Files (x86)/Bazaar/plugins/colo/explorer
0.219 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".

0.219 couldn't find apport bug-reporting library: No module named apport
0.234 return code 4

Revision history for this message
Michael Crain (michaelcrain) wrote :

As it turns out, there was a bzr .conf (configuration) file left over that was not in the Bazaar directory. After finding and deleting it, bzr explorer now launches fine.
I searched on *bzr*.* to find the .conf file after uninstalling bzr.

Revision history for this message
Vincent Ladeuil (vila) wrote :

Thanks for the feedback !

Do you still have that bogus conf file or do you remember what kind of content it had ? That may help understand why it was left around...

Otherwise, I think we could close this bug.

affects: bzr → bzr-explorer
Changed in bzr-explorer:
status: New → Incomplete
Revision history for this message
Michael Crain (michaelcrain) wrote : RE: [Bug 1154869] Re: Bazaar Explorer fails to launch
Download full text (6.0 KiB)

371Hello, Vincent:
Thanks for your message. Unfortunately, I didn't look at the conf file's contents and have deleted it.

> Date: Fri, 15 Mar 2013 07:47:39 +0000
> From: <email address hidden>
> To: <email address hidden>
> Subject: [Bug 1154869] Re: Bazaar Explorer fails to launch
>
> Thanks for the feedback !
>
> Do you still have that bogus conf file or do you remember what kind of
> content it had ? That may help understand why it was left around...
>
> Otherwise, I think we could close this bug.
>
> ** Project changed: bzr => bzr-explorer
>
> ** Changed in: bzr-explorer
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/1154869
>
> Title:
> Bazaar Explorer fails to launch
>
> Status in Bazaar Explorer:
> Incomplete
>
> Bug description:
> I have installed Bazaar for Windows 2.5.1 Standalone. When I try to
> launch Explorer it fails to launch. I have uninstalled and reinstalled
> a couple of times and still have the same problem. The traceback is
> immediately below. The complete log from trying to launch is at the
> bottom. Is this a bug or something else?
>
> C:\Program Files (x86)\Bazaar>bzr selftest explorer
> bzr: ERROR: exceptions.ImportError: Couldn't find the real 'site' module
>
> 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 "bzrlib\builtins.pyo", line 4128, in run
> File "bzrlib\tests\__init__.pyo", line 41, in <module>
> File "site.pyo", line 73, in <module>
> File "site.pyo", line 38, in __boot
> ImportError: Couldn't find the real 'site' module
>
> bzr 2.5.1 on python 2.6.6 (Windows-7-6.1.7601-SP1)
> arguments: ['bzr', 'selftest', '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.
>
> %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
>
> Wed 2013-03-13 20:03:29 -0400
> 0.047 bazaar version: 2.5.1
> 0.047 bzr arguments: [u'explorer']
> 0.047 looking for plugins in C:/Users/Valued Customer/AppData/Roaming/bazaar/2.0/plugins
> 0.047 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
> 0.078 encoding stdout as osutils.get_user_encoding() 'cp1252'
> 0.141 Deprecated f...

Read more...

Revision history for this message
Adam Webb (adamwebb-rrs) wrote :

I am not sure if it is the same error but I get a window with the message "ParseError: Invalid line at line "1"." This happens for explorer or anything else I try to launch from windows explorer. I don't get a full trace, just a small window with the message. I found that I had a qbzr.conf file that seems to be junk. If I remove it then every works and a new (text) file is created.

I think I noticed after updating to 2.5.1. I think I installed the new one without uninstalling the old one.

Adam

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.