docdiff: 'unicode' object has no attribute 'name'

Bug #718867 reported by Bastian
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Fix Committed
Martin Pool

Bug Description

when calling the docdiff extension I'm getting a
AttributeError: 'unicode' object has no attribute 'name'

Relevant part of my .bzr.log:
Mon 2011-02-14 17:56:09 +0100
0.057 bazaar version: 2.2.3
0.057 bzr arguments: [u'docdiff', u'-r', u'1..2', u'mydoc.doc']
0.065 looking for plugins in C:/Users/xyz/AppData/Roaming/bazaar/2.0/plugins
0.086 looking for plugins in C:/Program Files (x86)/Bazaar/plugins
0.206 encoding stdout as sys.stdout encoding 'cp850'
0.227 opening working tree 'C:/Users/xyz/Documents/mydocdir'
0.241 Traceback (most recent call last):
  File "bzrlib\commands.pyo", line 912, in exception_to_return_code
  File "bzrlib\commands.pyo", line 1112, in run_bzr
  File "bzrlib\commands.pyo", line 690, in run_argv_aliases
  File "bzrlib\commands.pyo", line 705, in run
  File "bzrlib\cleanup.pyo", line 135, in run_simple
  File "bzrlib\cleanup.pyo", line 165, in _do_with_cleanups
  File "C:/Users/xyz/AppData/Roaming/bazaar/2.0/plugins\docdiff\", line 88, in run
  File "C:/Users/xyz/AppData/Roaming/bazaar/2.0/plugins\docdiff\", line 111, in _diff_to_file
AttributeError: 'unicode' object has no attribute 'name'

0.243 couldn't find apport bug-reporting library: No module named apport
0.268 Transferred: 0kB (0.0kB/s r:0kB w:0kB)
0.268 return code 4

Related branches

Revision history for this message
Martin Pool (mbp) wrote :

This is actually a bug in the bzr-docdiff plugin

Changed in bzr:
assignee: nobody → Martin Pool (mbp)
affects: bzr → bzr-docdiff
Revision history for this message
Martin Pool (mbp) wrote :

Please try updating your plugin from lp:~mbp/bzr-docdiff/718867-filename and let me know if that fixes it.

(For example, run 'bzr pull -d ~/.bazaar/plugins/docdiff lp:~mbp/bzr-docdiff/718867-filename')

Changed in bzr-docdiff:
status: New → Fix Committed
importance: Undecided → Medium
Revision history for this message
Bastian (baztian) wrote :

It works. Thank you!

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.