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_on_transport'
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 26, in _get_tree
tree = workingtree.WorkingTree.open(".")
File "/usr/lib/python3/dist-packages/breezy/workingtree.py", line 201, in open
control = controldir.ControlDir.open(path, _unsupported=_unsupported)
File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 706, in open
return klass.open_from_transport(t, probers=probers,
File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport
transport, format = _mod_transport.do_catching_redirections(
File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections
return action(transport)
File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format
return transport, ControlDirFormat.find_format(transport,
File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format
raise errors.NotBranchError(path=transport.base)
breezy.errors.NotBranchError: Not a branch: "/home/talha/Downloads/".
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 37, in _get_tree
a_controldir = controldir.ControlDir.open_from_transport(
File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 736, in open_from_transport
transport, format = _mod_transport.do_catching_redirections(
File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1613, in do_catching_redirections
return action(transport)
File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 724, in find_format
return transport, ControlDirFormat.find_format(transport,
File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 1166, in find_format
raise errors.NotBranchError(path=transport.base)
breezy.errors.NotBranchError: Not a branch: "/home/talha/Downloads/hello/".
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1016, in exception_to_return_code
return the_callable(*args, **kwargs)
File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1202, in run_bzr
ret = run(*run_argv)
File "/usr/lib/python3/dist-packages/breezy/commands.py", line 759, in run_argv_aliases
return self.run(**all_cmd_args)
File "/usr/lib/python3/dist-packages/breezy/commands.py", line 784, in run
return self._operation.run_simple(*args, **kwargs)
File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 136, in run_simple
return _do_with_cleanups(
File "/usr/lib/python3/dist-packages/breezy/cleanup.py", line 166, in _do_with_cleanups
result = func(*args, **kwargs)
File "/usr/lib/python3/dist-packages/breezy/plugins/debian/cmds.py", line 1385, in run
tree = dh_make.import_upstream(
File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 83, in import_upstream
tree = _get_tree(package_name)
File "/usr/lib/python3/dist-packages/breezy/plugins/debian/dh_make.py", line 42, in _get_tree
branch = create_branch(to_transport.base,
File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 660, in create_branch_convenience
controldir = klass.create(base, format, possible_transports)
File "/usr/lib/python3/dist-packages/breezy/controldir.py", line 859, in create
return format.initialize_on_transport(t)
AttributeError: 'NoneType' object has no attribute 'initialize_on_transport'
*** 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://bugs.launchpad.net/brz/+filebug
including this traceback and a description of the problem.
Unfortunately, I am still having the same issue.
Here is the version details of Breezy on my computer.
Breezy (brz) 3.0.2 4.0-54- generic- x86_64- with-glibc2. 29
Python interpreter: python3 3.8.5
Python standard library: python3.8
Platform: Linux-5.
And here is the bug log: on_transport'
~$ 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): python3/ dist-packages/ breezy/ plugins/ debian/ dh_make. py", line 26, in _get_tree WorkingTree. open(". ") python3/ dist-packages/ breezy/ workingtree. py", line 201, in open ControlDir. open(path, _unsupported= _unsupported) python3/ dist-packages/ breezy/ controldir. py", line 706, in open from_transport( t, probers=probers, python3/ dist-packages/ breezy/ controldir. py", line 736, in open_from_transport do_catching_ redirections( python3/ dist-packages/ breezy/ transport/ __init_ _.py", line 1613, in do_catching_ redirections python3/ dist-packages/ breezy/ controldir. py", line 724, in find_format t.find_ format( transport, python3/ dist-packages/ breezy/ controldir. py", line 1166, in find_format NotBranchError( path=transport. base) errors. NotBranchError: Not a branch: "/home/ talha/Downloads /".
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): python3/ dist-packages/ breezy/ plugins/ debian/ dh_make. py", line 37, in _get_tree ControlDir. open_from_ transport( python3/ dist-packages/ breezy/ controldir. py", line 736, in open_from_transport do_catching_ redirections( python3/ dist-packages/ breezy/ transport/ __init_ _.py", line 1613, in do_catching_ redirections python3/ dist-packages/ breezy/ controldir. py", line 724, in find_format t.find_ format( transport, python3/ dist-packages/ breezy/ controldir. py", line 1166, in find_format NotBranchError( path=transport. base) errors. NotBranchError: Not a branch: "/home/ talha/Downloads /hello/ ".
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): python3/ dist-packages/ breezy/ commands. py", line 1016, in exception_ to_return_ code python3/ dist-packages/ breezy/ commands. py", line 1202, in run_bzr python3/ dist-packages/ breezy/ commands. py", line 759, in run_argv_aliases **all_cmd_ args) python3/ dist-packages/ breezy/ commands. py", line 784, in run .run_simple( *args, **kwargs) python3/ dist-packages/ breezy/ cleanup. py", line 136, in run_simple python3/ dist-packages/ breezy/ cleanup. py", line 166, in _do_with_cleanups python3/ dist-packages/ breezy/ plugins/ debian/ cmds.py" , line 1385, in run import_ upstream( python3/ dist-packages/ breezy/ plugins/ debian/ dh_make. py", line 83, in import_upstream package_ name) python3/ dist-packages/ breezy/ plugins/ debian/ dh_make. py", line 42, in _get_tree branch( to_transport. base, python3/ dist-packages/ breezy/ controldir. py", line 660, in create_ branch_ convenience transports) python3/ dist-packages/ breezy/ controldir. py", line 859, in create initialize_ on_transport( t) on_transport'
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.5 (Linux- 5.4.0-54- generic- x86_64- with-glibc2. 29) 2.10.tar. gz'] [3.0.2] , changelog_ merge[3. 0.2], ews[3.0. 2], cvs[3.0.2], darcs[3.0.2], debian[3.0.0], credential_ store[3. 0.2], news_merge[3.0.2], po_merge[3.0.2], fmt[3.0. 2]
arguments: ['/usr/bin/bzr', 'dh-make', 'hello', '2.10', 'hello-
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 /bugs.launchpad .net/brz/ +filebug
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.