qannotate: passing directory as argument -> command fails with traceback

Bug #149816 reported by Alexander Belchenko
2
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Undecided
Alexander Belchenko

Bug Description

C:\work\Bazaar\qbzr-repo\i18n>bzr qann data
bzr: ERROR: exceptions.IndexError: list index out of range

Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 800, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 758, in run_bzr
  File "bzrlib\commands.pyc", line 492, in run_argv_aliases
  File "C:\work\Bazaar\plugins-repo\qbzr\__init__.py", line 83, in run
  File "bzrlib\lazy_import.pyc", line 116, in __call__
  File "C:\work\Bazaar\plugins-repo\qbzr\annotate.py", line 83, in __init__
IndexError: list index out of range

bzr 0.91.0 on python 2.5.1.final.0 (win32)
arguments: ['C:\\Program Files\\Bazaar\\bzr.EXE', 'qann', 'data']

Revision history for this message
Alexander Belchenko (bialix) wrote :

Another traceback if file is non-versioned:

bzr: ERROR: exceptions.TypeError: cannot concatenate 'str' and 'NoneType' objects

Traceback (most recent call last):
  File "bzrlib\commands.pyc", line 800, in run_bzr_catch_errors
  File "bzrlib\commands.pyc", line 758, in run_bzr
  File "bzrlib\commands.pyc", line 492, in run_argv_aliases
  File "C:\work\Bazaar\plugins-repo\qbzr\__init__.py", line 75, in run
  File "bzrlib\store\versioned\__init__.pyc", line 138, in get_weave
  File "bzrlib\identitymap.pyc", line 44, in find_weave
  File "bzrlib\identitymap.pyc", line 61, in _weave_key
TypeError: cannot concatenate 'str' and 'NoneType' objects

Revision history for this message
Alexander Belchenko (bialix) wrote :

fix available in my qbzr.bialix branch

Changed in qbzr:
assignee: nobody → bialix
status: New → Fix Committed
Lukáš Lalinský (luks)
Changed in qbzr:
status: Fix Committed → Fix Released
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.