No module named 'launchpadlib'

Bug #1815866 reported by Saša Janiška
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Breezy
Fix Released
Medium
Jelmer Vernooij

Bug Description

Hello!

I've built brz-3.0b1 on my Manjaro/Arch Linux machine using python3, but then attempt to e.g. clone the repo from Launchpad gives:

$  brz branch lp:brz breezy
brz: ERROR: Unable to import library "launchpadlib": No module named 'launchpadlib'

The problem is that, at the moment, there is only python3-launchpadlib package available in Arch's AUR, so wonder what can be done to eliminate such kind of problems after 3.0 release assuming that many users are going to try how does Breezy works with different hosting providers (Github, Launchpad, Gitlab...)?

Related branches

Revision history for this message
Jelmer Vernooij (jelmer) wrote : Re: [Bug 1815866] [NEW] No module named 'launchpadlib'

We can improve the error message here (to say: please install Launchpadlib to access branches on Launchpad), but other than that I don't think we can do much more.

If your distribution doesn't ship Launchpadlib packages, you should be able to install it from pip.

On 14 February 2019 07:52:30 GMT, "Saša Janiška" <email address hidden> wrote:
>Public bug reported:
>
>Hello!
>
>I've built brz-3.0b1 on my Manjaro/Arch Linux machine using python3,
>but
>then attempt to e.g. clone the repo from Launchpad gives:
>
>$  brz branch lp:brz breezy
>brz: ERROR: Unable to import library "launchpadlib": No module named
>'launchpadlib'
>
>The problem is that, at the moment, there is only python3-launchpadlib
>package available in Arch's AUR, so wonder what can be done to
>eliminate
>such kind of problems after 3.0 release assuming that many users are
>going to try how does Breezy works with different hosting providers
>(Github, Launchpad, Gitlab...)?
>
>** Affects: brz
> Importance: Undecided
> Status: New
>
>--
>You received this bug notification because you are subscribed to
>Breezy.
>https://bugs.launchpad.net/bugs/1815866
>
>Title:
> No module named 'launchpadlib'
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/brz/+bug/1815866/+subscriptions

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Revision history for this message
Jelmer Vernooij (jelmer) wrote :

Breezy also works with python 2, so another option would be to switch back to python 2 if your distribution ships python 2 Launchpadlib packages.

On 14 February 2019 07:52:30 GMT, "Saša Janiška" <email address hidden> wrote:
>Public bug reported:
>
>Hello!
>
>I've built brz-3.0b1 on my Manjaro/Arch Linux machine using python3,
>but
>then attempt to e.g. clone the repo from Launchpad gives:
>
>$  brz branch lp:brz breezy
>brz: ERROR: Unable to import library "launchpadlib": No module named
>'launchpadlib'
>
>The problem is that, at the moment, there is only python3-launchpadlib
>package available in Arch's AUR, so wonder what can be done to
>eliminate
>such kind of problems after 3.0 release assuming that many users are
>going to try how does Breezy works with different hosting providers
>(Github, Launchpad, Gitlab...)?
>
>** Affects: brz
> Importance: Undecided
> Status: New
>
>--
>You received this bug notification because you are subscribed to
>Breezy.
>https://bugs.launchpad.net/bugs/1815866
>
>Title:
> No module named 'launchpadlib'
>
>To manage notifications about this bug go to:
>https://bugs.launchpad.net/brz/+bug/1815866/+subscriptions

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

Jelmer Vernooij (jelmer)
Changed in brz:
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → Jelmer Vernooij (jelmer)
milestone: none → 3.0.0
Jelmer Vernooij (jelmer)
Changed in brz:
status: Triaged → Fix Committed
Jelmer Vernooij (jelmer)
Changed in brz:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

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