Corrupt history.dat pickle prevents explorer from starting
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar Explorer |
Fix Released
|
Medium
|
Martin Packman |
Bug Description
So I double click the bazaar explorer icon today and nothing happens. I open task manager and click it again..i see the bazaar explorer process open and close immediately. I restart my computer. I uninstall python, bzr, and bazaar explorer. I reinstall using the standalone package for Windows. Currently I get this error:
C:\Users\
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "bzrlib\
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 "C:/Program Files (x86)/Bazaar/
File "pickle.pyo", line 1370, in load
File "pickle.pyo", line 858, in load
KeyError: '\x00'
bzr 2.3.4 on python 2.6.6 (Windows-
arguments: ['bzr', 'explorer']
plugins: bzrtools[2.3.1], colo[0.2.1], explorer[1.1.4], fastimport[0.10.0],
launchpad[
news_
svn[1.0.5dev], upload[1.0.0], xmloutput[
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:/
including this traceback and a description of the problem.
Related branches
- Martin Pool (community): Approve
-
Diff: 143 lines (+84/-13)4 files modifiedNEWS (+2/-0)
lib/history_manager.py (+24/-13)
tests/__init__.py (+1/-0)
tests/test_history_manager.py (+57/-0)
Changed in bzr-explorer: | |
assignee: | nobody → Martin Packman (gz) |
status: | Confirmed → In Progress |
Changed in bzr-explorer: | |
status: | In Progress → Fix Released |
It looks like history.dat got corrupted somehow. As it's only a recent locations cache, just removing it should make explorer work again. It's not clear from the failure what caused the problem in the first place, uploading the file (which should contain some paths and timestamps from your local disk) may be helpful.
Find history.dat at the BZR_CONFIG location (which running `bzr version` will tell you where to find) inside a directory called 'explorer', likely %APPDATA% \bazaar\ 2.0\explorer\ history. dat on windows.