** Attachment added: "apport-bug" https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/2019281/+attachment/5672630/+files/brz.1000.2023-05-12T05%3A41.crash
-- You received this bug notification because you are a member of Ubuntu Packaging Guide Team, which is subscribed to Ubuntu Packaging Guide. https://bugs.launchpad.net/bugs/2019281 Title: Unknown Launchpad path when pushing branch Status in Ubuntu Packaging Guide: New Bug description: Following the packaging tutorial located in https://packaging.ubuntu.com/html/packaging-new-software.html#next- steps The command to upload the branch to Launchpad is failing with the following stack trace: ``` bzr push lp:~tuaris/+junk/openarc-focal brz: ERROR: AttributeError: module 'breezy.errors' has no attribute 'InvalidURL' Traceback (most recent call last): File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1036, in exception_to_return_code return the_callable(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/breezy/commands.py", line 1228, in run_bzr ret = run(*run_argv) ^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/breezy/commands.py", line 779, in run_argv_aliases return self.run(**all_cmd_args) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/breezy/commands.py", line 804, in run return class_run(*args, **kwargs) ^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/breezy/builtins.py", line 1415, in run _show_push_branch(br_from, revision_id, location, self.outf, File "/usr/lib/python3/dist-packages/breezy/push.py", line 82, in _show_push_branch to_transport = transport.get_transport(location, purpose='write') ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/breezy/transport/__init__.py", line 1605, in get_transport location_to_url(base, purpose=purpose), ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/breezy/location.py", line 143, in location_to_url location = directories.dereference(location, purpose) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/breezy/directory_service.py", line 89, in dereference return directory.look_up(name, url, purpose=purpose) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/breezy/plugins/launchpad/lp_directory.py", line 126, in look_up return self._resolve(url) ^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/breezy/plugins/launchpad/lp_directory.py", line 169, in _resolve result = _api_resolver(path, url) ^^^^^^^^^^^^^^^^^^^^^^^^ File "/usr/lib/python3/dist-packages/breezy/plugins/launchpad/lp_directory.py", line 117, in _resolve_via_api raise errors.InvalidURL("Unknown Launchpad path: %s" % url) ^^^^^^^^^^^^^^^^^ AttributeError: module 'breezy.errors' has no attribute 'InvalidURL' ``` The other command to upload to the PPA is working just fine. My system is a clean install of 23.04 from the ISO image, running on VMWare Workstation 17. To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu-packaging-guide/+bug/2019281/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~ubuntu-packaging-guide-team Post to : [email protected] Unsubscribe : https://launchpad.net/~ubuntu-packaging-guide-team More help : https://help.launchpad.net/ListHelp

