NameError: global name 'result' is not defined
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Bazaar |
Fix Released
|
High
|
Martin Pool |
Bug Description
Got this traceback when running "bzr branch ubuntu:
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/
return self._operation
File "/usr/lib/
self.cleanups, self.func, *args, **kwargs)
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
from_location)
File "/usr/lib/
bzrdir = klass.open(
File "/usr/lib/
t = _mod_transport.
File "/usr/lib/
base = directories.
File "/usr/lib/
return service(
File "/usr/lib/
return self._resolve(url)
File "/usr/lib/
url, path = self._update_
File "/usr/lib/
raise errors.
NameError: global name 'result' is not defined
Crash file attached (apport wouldn't accept it, saying bzr is not a genuine ubuntu package).
Related branches
- John A Meinel: Approve
-
Diff: 34 lines (+12/-1)2 files modifiedbzrlib/plugins/launchpad/lp_directory.py (+1/-1)
bzrlib/plugins/launchpad/test_lp_directory.py (+11/-0)
Changed in bzr: | |
status: | New → Confirmed |
importance: | Undecided → High |
tags: | added: launchpad trivial |
Changed in bzr: | |
milestone: | none → 2.5b3 |
status: | In Progress → Fix Released |
Hi, I'll fix this so that you get at least a clean "invalid url" as intended.
I think the url you want is actually ubuntu: natty-updates/ smart - using the distroseries and pocket together, and using the source package name not the binary name - but even that does not exist for some reason.
I filed https:/ /bugs.launchpad .net/launchpad/ +bug/868934 for the lack of documentation.