[BUG] register-branch hates my password
James Westby
jw+debian at jameswestby.net
Tue Jan 16 18:17:55 GMT 2007
I went to register a branch yesterday and got the following traceback
bzr register-branch http://jameswestby.net/bzr/builddeb/builddeb.0.14.hooks/ --branch-description 'A first stab at implementing hooks. The implementation may change somewhat though.' --branch-name 'hooks' --branch-title 'Support for hooks'
launchpad.net password for jw+debian at jameswestby.net:
bzr: ERROR: httplib.InvalidURL: nonnumeric port: 'asdfasdf'
Traceback (most recent call last):
File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/commands.py", line 650, in run_bzr_catch_errors
return run_bzr(argv)
File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/commands.py", line 612, in run_bzr
ret = run(*run_argv)
File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/commands.py", line 304, in run_argv_aliases
return self.run(**all_cmd_args)
File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/plugins/launchpad/__init__.py", line 111, in run
branch_object_url = rego.submit(service)
File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/plugins/launchpad/lp_registration.py", line 140, in submit
return service.send_request(self._methodname, self._request_params())
File "/home/jw2328/devel/bzr/bzr.dev.new/bzrlib/plugins/launchpad/lp_registration.py", line 107, in send_request
result = method(*method_params)
File "xmlrpclib.py", line 1096, in __call__
return self.__send(self.__name, args)
File "xmlrpclib.py", line 1383, in __request
verbose=self.__verbose
File "xmlrpclib.py", line 1122, in request
h = self.make_connection(host)
File "xmlrpclib.py", line 1308, in make_connection
return HTTPS(host, None, **(x509 or {}))
File "httplib.py", line 1185, in __init__
cert_file, strict))
File "httplib.py", line 1064, in __init__
HTTPConnection.__init__(self, host, port, strict)
File "httplib.py", line 586, in __init__
self._set_hostport(host, port)
File "httplib.py", line 598, in _set_hostport
raise InvalidURL("nonnumeric port: '%s'" % host[i+1:])
InvalidURL: nonnumeric port: 'asdfasdf'
bzr 0.14.0dev0 on python 2.4.4.final.0 (linux2)
arguments: ['/home/jw2328/bin//bzr', 'register-branch', 'http://jameswestby.net/bzr/builddeb/builddeb.0.14.hooks/', '--branch-description', 'A first stab at implementing hooks. The implementation may change somewhat though.', '--branch-name', 'hooks', '--branch-title', 'Support for hooks']
** please send this report to bazaar-ng at lists.ubuntu.com
I've changed the password now, but it fails when there is a "/"
character in the password, apparently interpreting part of the string as
a port.
My guess is that it is trying to send the password in the URL that does
this. I have a "+" in the local part of my email address which might
complicate things further.
If you would like a bug report filing please confirm that it should be
against bzr.
Thanks,
James
--
James Westby -- GPG Key ID: B577FE13 -- http://jameswestby.net/
seccure key - (3+)k7|M*edCX/.A:n*N!>|&7U.L#9E)Tu)T0>AM - secp256r1/nistp256
More information about the bazaar
mailing list