Here, too (Windows XP SP2, bzr 2.0.3, latest revno 28 of historycache. "bzr log -n N" for any N except 1 crashes. In fact, it crashes even if I remove the history-cache-* settings from branch.conf; only removing the plugins/historycache directory stops the crashes.
Here's my traceback from .bzr.log, in case it helps:
Sat 2010-01-23 11:38:04 +0200
0.125 bzr arguments: [u'log', u'--short', u'-n1']
0.156 looking for plugins in C:/Documents and Settings/Zaretzky/Application Data/bazaar/2.0/plugins
0.156 looking for plugins in D:/usr/Bazaar/plugins
0.531 encoding stdout as sys.stdout encoding 'cp1252'
2.281 return code 0
Sat 2010-01-23 11:38:08 +0200
0.110 bzr arguments: [u'log', u'--short', u'-n2']
0.125 looking for plugins in C:/Documents and Settings/Zaretzky/Application Data/bazaar/2.0/plugins
0.125 looking for plugins in D:/usr/Bazaar/plugins
0.500 encoding stdout as sys.stdout encoding 'cp1252'
0.844 failed to open D:/gnu/bzr/emacs/trunk/.bzr/branch/historycache/graph-cache: [Errno 2] No such file or directory: u'D:/gnu/bzr/emacs/trunk/.bzr/branch/historycache/graph-cache'
8.735 load of revno-cache (0 entries) took 0.00 secs
8.735 Traceback (most recent call last):
File "bzrlib\commands.pyo", line 842, in exception_to_return_code
File "bzrlib\commands.pyo", line 1037, in run_bzr
File "bzrlib\commands.pyo", line 654, in run_argv_aliases
File "D:/usr/Bazaar/plugins\historycache\__init__.py", line 225, in run
File "bzrlib\commands.pyo", line 1052, in ignore_pipe
File "bzrlib\builtins.pyo", line 2355, in run
File "bzrlib\log.pyo", line 330, in show
File "bzrlib\log.pyo", line 354, in _show_body
File "bzrlib\log.pyo", line 389, in iter_log_revisions
File "bzrlib\log.pyo", line 871, in _make_revision_objects
File "bzrlib\log.pyo", line 896, in _make_batch_filter
File "bzrlib\log.pyo", line 725, in _convert
File "bzrlib\log.pyo", line 648, in _graph_view_revisions
File "D:/usr/Bazaar/plugins\historycache\__init__.py", line 175, in historycache_iter_msr_method
File "D:/usr/Bazaar/plugins\historycache\revnocache.py", line 149, in update
TypeError: 'bzrlib._known_graph_pyx._MergeSortNode' object is not iterable
8.750 couldn't find apport bug-reporting library: No module named apport
8.782 Traceback (most recent call last):
File "bzrlib\plugin.pyo", line 407, in _get__version__
File "bzrlib\lazy_import.pyo", line 125, in __call__
File "bzrlib\__init__.pyo", line 112, in _format_version_tuple
ValueError: version_info (1, 1, 0, 'pre', 0) not valid
Here, too (Windows XP SP2, bzr 2.0.3, latest revno 28 of historycache. "bzr log -n N" for any N except 1 crashes. In fact, it crashes even if I remove the history-cache-* settings from branch.conf; only removing the plugins/ historycache directory stops the crashes.
Here's my traceback from .bzr.log, in case it helps:
Sat 2010-01-23 11:38:04 +0200 Zaretzky/ Application Data/bazaar/ 2.0/plugins Bazaar/ plugins
0.125 bzr arguments: [u'log', u'--short', u'-n1']
0.156 looking for plugins in C:/Documents and Settings/
0.156 looking for plugins in D:/usr/
0.531 encoding stdout as sys.stdout encoding 'cp1252'
2.281 return code 0
Sat 2010-01-23 11:38:08 +0200 Zaretzky/ Application Data/bazaar/ 2.0/plugins Bazaar/ plugins bzr/emacs/ trunk/. bzr/branch/ historycache/ graph-cache: [Errno 2] No such file or directory: u'D:/gnu/ bzr/emacs/ trunk/. bzr/branch/ historycache/ graph-cache' commands. pyo", line 842, in exception_ to_return_ code commands. pyo", line 1037, in run_bzr commands. pyo", line 654, in run_argv_aliases Bazaar/ plugins\ historycache\ __init_ _.py", line 225, in run commands. pyo", line 1052, in ignore_pipe builtins. pyo", line 2355, in run objects view_revisions Bazaar/ plugins\ historycache\ __init_ _.py", line 175, in historycache_ iter_msr_ method Bazaar/ plugins\ historycache\ revnocache. py", line 149, in update _known_ graph_pyx. _MergeSortNode' object is not iterable
0.110 bzr arguments: [u'log', u'--short', u'-n2']
0.125 looking for plugins in C:/Documents and Settings/
0.125 looking for plugins in D:/usr/
0.500 encoding stdout as sys.stdout encoding 'cp1252'
0.844 failed to open D:/gnu/
8.735 load of revno-cache (0 entries) took 0.00 secs
8.735 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
File "D:/usr/
File "bzrlib\
File "bzrlib\
File "bzrlib\log.pyo", line 330, in show
File "bzrlib\log.pyo", line 354, in _show_body
File "bzrlib\log.pyo", line 389, in iter_log_revisions
File "bzrlib\log.pyo", line 871, in _make_revision_
File "bzrlib\log.pyo", line 896, in _make_batch_filter
File "bzrlib\log.pyo", line 725, in _convert
File "bzrlib\log.pyo", line 648, in _graph_
File "D:/usr/
File "D:/usr/
TypeError: 'bzrlib.
8.750 couldn't find apport bug-reporting library: No module named apport plugin. pyo", line 407, in _get__version__ lazy_import. pyo", line 125, in __call__ __init_ _.pyo", line 112, in _format_ version_ tuple
8.782 Traceback (most recent call last):
File "bzrlib\
File "bzrlib\
File "bzrlib\
ValueError: version_info (1, 1, 0, 'pre', 0) not valid
8.797 return code 4