crash creating a new package
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
| Breezy |
Medium
|
Jelmer Vernooij | ||
| breezy-debian (Ubuntu) |
Undecided
|
Unassigned |
Bug Description
I am trying to my first ubuntu package.
and push it to my own PPA
I am following this guide.
https:/
I have followed all the steps up to this point.
but bzr is crashing
here is the output
```
$ bzr dh-make imlib 1.9.15 imlib-1.9.15.tar.gz
brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_
Traceback (most recent call last):
File "/usr/lib/
tree = workingtree.
File "/usr/lib/
control = controldir.
File "/usr/lib/
return klass.open_
File "/usr/lib/
transport, format = _mod_transport.
File "/usr/lib/
return action(transport)
File "/usr/lib/
return transport, ControlDirForma
File "/usr/lib/
raise errors.
breezy.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
a_controldir = controldir.
File "/usr/lib/
transport, format = _mod_transport.
File "/usr/lib/
return action(transport)
File "/usr/lib/
return transport, ControlDirForma
File "/usr/lib/
raise errors.
breezy.
During handling of the above exception, another exception occurred:
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/
return _do_with_cleanups(
File "/usr/lib/
result = func(*args, **kwargs)
File "/usr/lib/
tree = dh_make.
File "/usr/lib/
tree = _get_tree(
File "/usr/lib/
branch = create_
File "/usr/lib/
controldir = klass.create(base, format, possible_
File "/usr/lib/
return format.
AttributeError: 'NoneType' object has no attribute 'initialize_
brz 3.0.2 on python 3.8.2 (Linux-
arguments: ['/usr/bin/bzr', 'dh-make', 'imlib', '1.9.15',
'imlib-
plugins: bash_completion
commitfromn
email[3.0.2], fastimport[3.0.2], launchpad[3.0.2], mtn[3.0.2],
netrc_
propose[3.0.2], repodebug[3.0.2], stats[3.0.2], upload[3.0.2],
weave_
encoding: 'utf-8', fsenc: 'utf-8', lang: 'en_US.UTF-8'
*** Bazaar has encountered an internal error. This probably indicates a
bug in Bazaar. You can help us fix it by filing a bug report at
https:/
including this traceback and a description of the problem.
```
affects: | brz → brz-debian |
Changed in brz-debian: | |
importance: | Undecided → Medium |
status: | New → Triaged |
assignee: | nobody → Jelmer Vernooij (jelmer) |
affects: | brz-debian → brz |
Changed in brz: | |
status: | Triaged → Fix Released |
milestone: | none → 3.1.0 |
somekool (somekool) wrote : | #1 |
somekool (somekool) wrote : | #2 |
since 20.04 is LTS, unless Breezy 3.1 is scheduled to be released soon, it seems this bug fixed should be backported to 3.0
my two cents
Changed in brz: | |
status: | Fix Released → Fix Committed |
somekool (somekool) wrote : | #3 |
I confirm, I checkout the 3.1 branch locally and I could proceed with the command without errors
somekool (somekool) wrote : | #4 |
I am getting a different error now
```
mathieu:e13 :-) (lifebook-wu2) $ brz dh-make imlib1 1.9.15 imlib-1.9.15.tar.gz
Fetching tarball
Looking for a way to retrieve the upstream tarball
Upstream tarball already exists in build directory, using that
brz: ERROR: TypeError: can only concatenate str (not "bytes") to str
Traceback (most recent call last):
File "/home/
return the_callable(*args, **kwargs)
File "/home/
ret = run(*run_argv)
File "/home/
return self.run(
File "/home/
return class_run(*args, **kwargs)
File "/usr/lib/
tree = dh_make.
File "/usr/lib/
db.
File "/usr/lib/
return self.import_
File "/usr/lib/
(tag, revid) = self.pristine_
File "/usr/lib/
tag_name = self.tag_
File "/usr/lib/
name = "upstream-" + version
TypeError: can only concatenate str (not "bytes") to str
You can report this problem to Bazaar's developers by running
apport-bug /var/crash/
if a bug-reporting window does not automatically appear.
brz: warning: some compiled extensions could not be loaded; see ``brz help missing-
```
Jelmer Vernooij (jelmer) wrote : | #5 |
You also need the trunk version of lp:brz-debian.
Changed in brz: | |
status: | Fix Committed → Fix Released |
Launchpad Janitor (janitor) wrote : | #6 |
Status changed to 'Confirmed' because the bug affects multiple users.
Changed in breezy-debian (Ubuntu): | |
status: | New → Confirmed |
Talha Asghar (iamtalhaasghar) wrote : | #7 |
Unfortunately, I am still having the same issue.
Here is the version details of Breezy on my computer.
Breezy (brz) 3.0.2
Python interpreter: python3 3.8.5
Python standard library: python3.8
Platform: Linux-5.
And here is the bug log:
~$ bzr dh-make hello 2.10 hello-2.10.tar.gz
brz: ERROR: AttributeError: 'NoneType' object has no attribute 'initialize_
Traceback (most recent call last):
File "/usr/lib/
tree = workingtree.
File "/usr/lib/
control = controldir.
File "/usr/lib/
return klass.open_
File "/usr/lib/
transport, format = _mod_transport.
File "/usr/lib/
return action(transport)
File "/usr/lib/
return transport, ControlDirForma
File "/usr/lib/
raise errors.
breezy.
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/
a_controldir = controldir.
File "/usr/lib/
transport, format = _mod_transport.
File "/usr/lib/
return action(transport)
File "/usr/lib/
return transport, ControlDirForma
File "/usr/lib/
raise errors.
breezy.
During handling of the above exception, another exception occurred:
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/
return _do_with_cleanups(
File "/us...
Jelmer Vernooij (jelmer) wrote : | #8 |
This is fixed in breezy/
awesome
thanks for the quick fix.
do you think I can except a package for Ubuntu 20.04 ?
I will for sure test it as soon as available