Adding kdiff3 as diff tool results in a traceback

Bug #873220 reported by André Bachmann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Fix Released
Medium
Gordon Tyler

Bug Description

I'm using bzr 2.4.1-1 with Win7 32 Bit.

I only wanted to add KDiff3 as an external diff tool. After I put in the command line and click OK, bzr gave me an error:
http://najut.org/~blackarchon/bzr-diff-error.png

I'm not sure why the traceback indicates that there is a problem with merge tools (I didn't even open the merge tab of qconfig).

Here is the relevant part of my .bzr.log:
Thu 2011-10-13 11:10:07 +0200
0.051 bazaar version: 2.4.1
0.051 bzr arguments: [u'qconfig']
0.078 looking for plugins in C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins
0.078 looking for plugins in C:/Program Files/Bazaar/plugins
0.128 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.315 loaded merge tools: {u'kdiff3.exe': u'\'\'\'"""\'"C:/Program Files/KDiff3/kdiff3.exe" --output {result} {base} {this} {other}\'"""\'\'\''}
68.719 check paths: None
51.272 None

51.286 couldn't find apport bug-reporting library: No module named apport
51.311 Traceback (most recent call last):
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\config.py", line 546, in do_accept
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\config.py", line 537, in save
  File "bzrlib\decorators.pyo", line 217, in write_locked
  File "bzrlib\config.pyo", line 1047, in set_user_option
  File "bzrlib\config.pyo", line 1074, in _set_option
  File "bzrlib\config.pyo", line 1015, in _write_config_file
  File "bzrlib\config.pyo", line 936, in _write_config_file
  File "bzrlib\util\configobj\configobj.pyo", line 2024, in write
  File "bzrlib\util\configobj\configobj.pyo", line 2030, in write
  File "bzrlib\util\configobj\configobj.pyo", line 1942, in _write_line
  File "bzrlib\util\configobj\configobj.pyo", line 1776, in _quote
  File "bzrlib\util\configobj\configobj.pyo", line 1796, in _get_triple_quote
ConfigObjError: Value "'''"""'"C:/Program Files/KDiff3/kdiff3.exe" --output {result} {base} {this} {other}'"""'''" cannot be safely quoted.

51.312 No Apport available to Bazaar

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

@Gordon, can you look at this, please?

Changed in qbzr:
assignee: nobody → Gordon Tyler (doxxx)
status: New → Confirmed
importance: Undecided → Medium
Revision history for this message
Gordon Tyler (doxxx) wrote :

This might be bug 828803. Could you try upgrading to bzr 2.4.2?

Revision history for this message
André Bachmann (andrebachmann-dd) wrote :

There is no configurable diff tab with bzr 2.4.2, so I can't test it.

Revision history for this message
André Bachmann (andrebachmann-dd) wrote :

Sorry, nevermind... The problem is gone with 2.4.2 Thanks!

Changed in qbzr:
status: Confirmed → 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.