Bazaar will not push code to new series

Bug #2065549 reported by Travis Bean
32
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Bazaar
Invalid
Undecided
Unassigned
breezy (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When I try to push code to a new series (bzr push lp:~tlbean/linuxsoho/24.04) I receive the following error:

brz: ERROR: Invalid url supplied to transport: "Unknown Launchpad path: lp:~tlbean/linuxsoho/24.04"

I am able to reproduce this error on Ubuntu Server 24.04 running Bazaar version 2.7.0+bzr6622+brz.

I can successfully push code to a new series with Ubuntu Server 22.04 running Bazaar version 2.7.0+bzr6622+brz.

Revision history for this message
MestreLion (mestrelion) wrote :

I'm getting this error when trying to push a local branch to my launchpad account. I'm trying to contribute a bug fix to a project hosted on Launchpad. The steps taken from a somewhat clean Ubuntu 24.04 are:

```
sudo apt install bzr
bzr branch lp:nautilus-compare
cd nautilus-compare
brz launchpad-login MestreLion
bzr whoami "Rodrigo Silva <email address hidden>"
# ... made some changes to fix a bug
bzr commit
bzr push 'lp:~mestrelion/nautilus-compare/nautilus-compare'
```

All commands prior to the last `bzr push` were successful. I was able to authenticate to Launchpad and authorize my desktop, my default SSH key is registered on Launchpad, etc etc.

The last command shows this error:
```
brz: ERROR: Invalid url supplied to transport: "Unknown Launchpad path: lp:~mestrelion/nautilus-compare/nautilus-compare"
```

Revision history for this message
MestreLion (mestrelion) wrote :

Additional info:

- bzr version
Breezy (brz) 3.3.5
  Python interpreter: /usr/bin/python3 3.12.3
  Python standard library: /usr/lib/python3.12
  Platform: Linux-6.8.0-49-generic-x86_64-with-glibc2.39
  breezy: /usr/lib/python3/dist-packages/breezy
  Breezy configuration: /home/rodrigo/.config/breezy
  Breezy log file: /home/rodrigo/.cache/breezy/brz.log

- This is most likely related to https://bugs.launchpad.net/brz/+bug/2008103

- It works when using this alternate "URL", but that feels very hackish:
```
bzr push 'bzr+ssh://bazaar.launchpad.net/~mestrelion/nautilus-compare/nautilus-compare'
```

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Jelmer Vernooij (jelmer)
affects: brz → breezy (Ubuntu)
Changed in breezy (Ubuntu):
status: New → Confirmed
Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Are you able to reproduce this with the latest version of Breezy, 3.3.9?

Changed in bzr:
status: New → Invalid
Revision history for this message
Thomas Bechtold (toabctl) wrote :

I can still reproduce this with the breezy version from Plucky:

$ bzr version
Breezy (brz) 3.3.9
  Python interpreter: /usr/bin/python3 3.13.1
  Python standard library: /usr/lib/python3.13
  Platform: Linux-6.11.0-13-generic-x86_64-with-glibc2.40
  breezy: /usr/lib/python3/dist-packages/breezy
  Breezy configuration: /home/tom/.config/breezy
  Breezy log file: /home/tom/.cache/breezy/brz.log

$ bzr push lp:~toabctl/merge-o-matic/py312
Ignoring insteadOf lp: in git config, because the Launchpad plugin is loaded.
brz: ERROR: Invalid url supplied to transport: "Unknown Launchpad path: lp:~toabctl/merge-o-matic/py312"

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in breezy (Ubuntu):
status: New → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.