Comment 3 for bug 912344

Revision history for this message
Jeff Wepman (jwepman) wrote : RE: [Bug 912344] Re: Bazaar explorer crashes when in browse and I try to show annotate on a file

Vincent,
Thank you for getting back with me on this.
Jeff

Jeffery A. Wepman
U.S. Dept. of Commerce
ITS.M
325 Broadway
Boulder, CO 80305
Telephone: 303.497.3165
email: <email address hidden>
________________________________________
From: <email address hidden> [<email address hidden>] On Behalf Of Vincent Ladeuil [<email address hidden>]
Sent: Thursday, January 05, 2012 9:11 AM
To: Jeff Wepman
Subject: [Bug 912344] Re: Bazaar explorer crashes when in browse and I try to show annotate on a file

This a bug in RemoteBranchConfig._set_config_option which expects only
strings as values for options.

The local config files use configobj directly which will stringify when
needed.

@Jeff: The only workaround I can think of for you is to use a local
branch to avoid the issue.

** Project changed: qbzr => bzr

** Changed in: bzr
   Importance: Undecided => Medium

** Changed in: bzr
       Status: New => Confirmed

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/912344

Title:
  Bazaar explorer crashes when in browse and I try to show annotate on a
  file

Status in Bazaar Version Control System:
  Confirmed

Bug description:
  The traceback is provided below:

  bzr: ERROR: exceptions.AttributeError: 'int' object has no attribute
  'encode'

  Traceback (most recent call last):
    File "C:/Program Files/Bazaar/plugins\qbzr\lib\uifactory.py", line 32, in decorate
    File "C:/Program Files/Bazaar/plugins\qbzr\lib\treewidget.py", line 1865, in show_file_annotate
    File "bzrlib\lazy_import.pyo", line 129, in __call__
    File "C:/Program Files/Bazaar/plugins\qbzr\lib\annotate.py", line 346, in __init__
    File "bzrlib\lazy_import.pyo", line 129, in __call__
    File "C:/Program Files/Bazaar/plugins\qbzr\lib\widgets\tab_width_selector.py", line 58, in __init__
    File "C:/Program Files/Bazaar/plugins\qbzr\lib\widgets\tab_width_selector.py", line 64, in triggered
    File "C:/Program Files/Bazaar/plugins\qbzr\lib\annotate.py", line 343, in setTabStopWidth
    File "C:/Program Files/Bazaar/plugins\qbzr\lib\util.py", line 1124, in get_set_tab_width_chars
    File "bzrlib\config.pyo", line 1404, in set_user_option
    File "bzrlib\config.pyo", line 1706, in set_option
    File "bzrlib\remote.pyo", line 3162, in set_option
    File "bzrlib\remote.pyo", line 3169, in _set_config_option
  AttributeError: 'int' object has no attribute 'encode'

  bzr 2.4.2 on python 2.6.6 (win32)
  arguments: ['C:\\Program Files\\Bazaar\\bzrw.exe', 'qbrowse', 'bzr+ssh://192.168.130.139/srv/bzr/test', '-r-1']
  encoding: 'cp1252', fsenc: 'mbcs', lang: None
  plugins:
    bzrtools C:\Program Files\Bazaar\plugins\bzrtools [2.4.1]
    changelog_merge C:\Program Files\Bazaar\plugins\changelog_merge [2.4.2]
    colo C:\Program Files\Bazaar\plugins\colo [0.3.1dev]
    explorer C:\Program Files\Bazaar\plugins\explorer [1.2.1]
    fastimport C:\Program Files\Bazaar\plugins\fastimport [0.12.0dev]
    launchpad C:\Program Files\Bazaar\plugins\launchpad [2.4.2]
    loom C:\Program Files\Bazaar\plugins\loom [2.2.1dev]
    netrc_credential_store C:\Program Files\Bazaar\plugins\netrc_credential_store [2.4.2]
    news_merge C:\Program Files\Bazaar\plugins\news_merge [2.4.2]
    pipeline C:\Program Files\Bazaar\plugins\pipeline [1.1.0]
    qbzr C:\Program Files\Bazaar\plugins\qbzr [0.21.1]
    rewrite C:\Program Files\Bazaar\plugins\rewrite [0.6.3dev]
    svn C:\Program Files\Bazaar\plugins\svn [1.1.0]
    upload C:\Program Files\Bazaar\plugins\upload [1.0.1dev]
    xmloutput C:\Program Files\Bazaar\plugins\xmloutput [0.8.7]

To manage notifications about this bug go to:
https://bugs.launchpad.net/bzr/+bug/912344/+subscriptions