[Bug 339333] [NEW] exceptions.NameError: global name 'self' is not defined
Martin Pitt
martin.pitt at ubuntu.com
Sat Mar 7 22:12:46 UTC 2009
Public bug reported:
Binary package hint: bzr-builddeb
I read about bd's ability to build directly from remote branches, so I
wanted to give this a shot:
$ bzr bd lp:usplash
/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/import_dsc.py:33: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5
/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/repack_tarball.py:26: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
Building branch from revision martin.pitt at canonical.com-20090304204247-nm1fms62m0tlkm44
Looking for a way to retrieve the upstream tarball
Using apt to look for the upstream tarball.
bzr: ERROR: exceptions.NameError: global name 'self' is not defined
Traceback (most recent call last):
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 896, in run_bzr_catch_errors
return run_bzr(argv)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 842, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python2.6/dist-packages/bzrlib/commands.py", line 542, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/cmds.py", line 393, in run
builder.export()
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/builder.py", line 74, in export
self.distiller.distill(self.target_dir)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/source_distiller.py", line 82, in distill
self._distill(target)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/source_distiller.py", line 107, in _distill
self.upstream_provider.provide(parent_dir)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/upstream.py", line 204, in provide
elif self.provide_with_apt(self.store_dir):
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/upstream.py", line 237, in provide_with_apt
target_dir)
File "/usr/lib/python2.6/dist-packages/bzrlib/plugins/builddeb/upstream.py", line 47, in provide_with_apt
(self.package, sources.Version)
NameError: global name 'self' is not defined
ProblemType: Bug
Architecture: i386
DistroRelease: Ubuntu 9.04
Package: bzr-builddeb 2.1ubuntu1
PackageArchitecture: all
ProcEnviron:
PATH=(custom, user)
LANG=de_DE.UTF-8
SHELL=/bin/bash
SourcePackage: bzr-builddeb
Uname: Linux 2.6.28-8-generic i686
** Affects: bzr-builddeb (Ubuntu)
Importance: Undecided
Status: Triaged
** Tags: apport-bug i386
--
exceptions.NameError: global name 'self' is not defined
https://bugs.launchpad.net/bugs/339333
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
More information about the universe-bugs
mailing list