bzr needs a float (puts encoded URL on lhs of a format)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
New
|
Undecided
|
Unassigned |
Bug Description
wing-commander libnih% bzr break-lock bzr+ssh:
bzr: ERROR: exceptions.
Traceback (most recent call last):
File "/usr/lib/
return the_callable(*args, **kwargs)
File "/usr/lib/
ret = run(*run_argv)
File "/usr/lib/
return self.run(
File "/usr/lib/
control.
File "/usr/lib/
return BzrDir.
File "/usr/lib/
thing_
File "/usr/lib/
return self._real_
File "/usr/lib/
self.
File "/usr/lib/
self.
File "/usr/lib/
if bzrlib.
File "/usr/lib/
self.
File "/usr/lib/
prompt = prompt % kwargs
TypeError: a float is required
bzr 1.14 on python 2.6.2 (linux2)
arguments: ['/usr/bin/bzr', 'break-lock', 'bzr+ssh:
encoding: 'UTF-8', fsenc: 'UTF-8', lang: 'en_GB.UTF-8'
plugins:
builddeb /usr/lib/
bzrtools /usr/lib/
dbus /usr/lib/
git /usr/lib/
gtk /usr/lib/
launchpad /usr/lib/
netrc_
rebase /usr/lib/
svn /usr/lib/
*** Bazaar has encountered an internal error.
Please report a bug at https:/
including this traceback, and a description of what you
were doing when the error occurred.
zsh: exit 4 bzr break-lock
The problem is that "prompt" contains:
Break lock bzr+ssh: //bazaar. launchpad. net/%7Escott/ libnih/ trunk/. bzr/branch/ lock
held by <email address hidden> on host crowberry [process #9552]
locked 14 minutes, 23 seconds ago? [y/n]:
IE. bzr has over-encoded a URL, replacing the ~ with %7e, and then used that as the LHS of a string format operator