Crash when trying to revert any file via qrevert or qcommit dialog

Bug #264838 reported by Nicholas Allen
2
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
High
Gary van der Merwe

Bug Description

The following crash happens whenever I try to revert any file from qrevert or qcommit dialog:

Traceback (most recent call last):
  File "/usr/lib/python2.5/site-packages/bzrlib/plugins/qbzr/lib/wtlist.py", line 218, in revert_selected
    self.tree.revert(paths, self.tree.branch.repository.revision_tree(self.tree.last_revision()))
  File "/usr/lib/python2.5/site-packages/bzrlib/mutabletree.py", line 52, in tree_write_locked
    return unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree.py", line 1977, in revert
    report_changes)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 2107, in revert
    child_pb, filenames, backups)
  File "/usr/lib/python2.5/site-packages/bzrlib/transform.py", line 2147, in _alter_files
    kind, executable) in enumerate(change_list):
  File "/usr/lib/python2.5/site-packages/bzrlib/tree.py", line 824, in iter_changes
    lookup_trees, require_versioned=require_versioned)
  File "/usr/lib/python2.5/site-packages/bzrlib/tree.py", line 456, in paths2ids
    return find_ids_across_trees(paths, [self] + list(trees), require_versioned)
  File "/usr/lib/python2.5/site-packages/bzrlib/tree.py", line 673, in find_ids_across_trees
    require_versioned)
  File "/usr/lib/python2.5/site-packages/bzrlib/tree.py", line 693, in _find_ids_across_trees
    file_id = tree.path2id(tree_path)
  File "/usr/lib/python2.5/site-packages/bzrlib/decorators.py", line 138, in read_locked
    result = unbound(self, *args, **kwargs)
  File "/usr/lib/python2.5/site-packages/bzrlib/workingtree_4.py", line 871, in path2id
    path = path.strip('/')
AttributeError: 'tuple' object has no attribute 'strip'

Revision history for this message
Alexander Belchenko (bialix) wrote : Re: [Bug 264838] [NEW] Crash when trying to revert any file via qrevert or qcommit dialog

Nicholas Allen пишет:
> The following crash happens whenever I try to revert any file from
> qrevert or qcommit dialog:

What is your version of QBzr? Recently in trunk was committed some fix for revert.
Can you try it?

Revision history for this message
Nicholas Allen (nick-allen) wrote : Re: [Bug 264838] [NEW] Crash when trying to revert any file via qrevert or qcommit dialog

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

I have the very latest version as of this morning and this bug is still
there (revno 396).

Nick
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIwmHy1+i51gqqEGkRAmLyAKCLC65A8inW5zPnh/fW6BqZqzB6mgCfaRSp
Cfo2akh0I+4ey1n3b/+hPJQ=
=uZZD
-----END PGP SIGNATURE-----

Changed in qbzr:
assignee: nobody → garyvdm
importance: Undecided → High
milestone: none → 0.9.4
status: New → Confirmed
Changed in qbzr:
status: Confirmed → Fix Committed
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.