Comment 4 for bug 338765

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

I also have this error. I'm currently using bzr 2.3.3-3 with Bazaar Explorer 1.1.4 on WinXP (and Win7 32 Bit also tested).

What happened was this: I created a new checkout from within Bazaar Explorer in a directory which wasn't empty. This directory contains some similar named files, and so there are conflicts with adding files, which gave me 13 of this messages:

...
Conflict adding file changelog.txt. Moved existing file to changelog.txt.moved.
...

When I click on the resolve icon, I got this error message:

==========================================================
bzr: ERROR: exceptions.TypeError: argument 1 of PyQt4.QtCore.QVariant() has an invalid type

Traceback (most recent call last):
  File "C:/Program Files/Bazaar/plugins\qbzr\lib\conflicts.py", line 171, in load
TypeError: argument 1 of PyQt4.QtCore.QVariant() has an invalid type

bzr 2.3.3 on python 2.6.6 (win32)
arguments: ['C:\\Program Files\\Bazaar\\bzrw.exe', 'qconflicts']
encoding: 'cp1252', fsenc: 'mbcs', lang: None
plugins:
  bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.3.1]
  colo C:\Program Files\Bazaar\plugins\colo [0.2.1]
  explorer C:\Program Files\Bazaar\plugins\explorer [1.1.4]
  fastimport C:\Program Files\Bazaar\plugins\fastimport [0.10.0]
  launchpad C:\Program Files\Bazaar\plugins\launchpad [2.3.3]
  loom C:\Program Files\Bazaar\plugins\loom [2.2.1dev]
  netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store [2.3.3]
  news_merge C:\Program Files\Bazaar\plugins\news_merge [2.3.3]
  pipeline C:\Program Files\Bazaar\plugins\pipeline [1.1.0]
  qbzr C:\Program Files\Bazaar\plugins\qbzr [0.20.1]
  rewrite C:\Program Files\Bazaar\plugins\rewrite [0.6.2dev]
  svn C:\Program Files\Bazaar\plugins\svn [1.0.5dev]
  upload C:\Program Files\Bazaar\plugins\upload [1.0.0]
  xmloutput C:\Program Files\Bazaar\plugins\xmloutput [0.8.7.dev]
==========================================================

This is in my .bzr.log:

==========================================================
Tue 2011-07-19 08:42:46 +0200
0.073 bazaar version: 2.3.3
0.073 bzr arguments: [u'qconflicts']
0.103 looking for plugins in C:/Users/abachmann/AppData/Roaming/bazaar/2.0/plugins
0.103 looking for plugins in C:/Program Files/Bazaar/plugins
0.292 encoding stdout as osutils.get_user_encoding() 'cp1252'
0.536 opening working tree 'C:/Freigabe/FUS_EXCT_3AC'
0.542 None

0.545 couldn't find apport bug-reporting library: No module named apport
0.553 Traceback (most recent call last):
  File "bzrlib\plugin.pyo", line 553, in _get__version__
  File "bzrlib\__init__.pyo", line 101, in _format_version_tuple
IndexError: tuple index out of range

0.554 Traceback (most recent call last):
  File "bzrlib\plugin.pyo", line 553, in _get__version__
  File "bzrlib\__init__.pyo", line 101, in _format_version_tuple
IndexError: tuple index out of range
==========================================================

I have attached a sample. If you try to do a checkout from testrepo-fb\trunk to testrepo-fb-checkout, you will get this error.