LaunchpadLoginError; should be ported to launchpadlib

Bug #354985 reported by Bob Tanner on 2009-04-04
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Vincent Ladeuil

Bug Description

Bug 111227 was mentioned in NEWS but is not marked as affecting bzr
  File "/usr/lib/python2.5/site-packages/launchpadbugs/", line 164, in parse
    text = self.__connection.get(self.__url).text
  File "/usr/lib/python2.5/site-packages/launchpadbugs/", line 253, in get
    return self._safe_urlopen(url, None, False)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/", line 316, in _safe_urlopen
    raise exceptions.LaunchpadLoginError(url)
    * message: To continue, you must log in to Launchpad.
    * url:

Try to access the bug url above gives me Forbidden Error:

Not allowed here

Sorry, you don't have permission to access this page.

You are logged in as Bob Tanner.

Related branches

Bob Tanner (tanner) wrote :

Related to the official releasing process of checking the NEWS file to confirm all listed bugs are closed.

Jelmer Vernooij (jelmer) wrote :

we should probably switch to launchpadlib, as that might not refuse more than X requests in a row since it uses the proper API.

Changed in python-launchpad-bugs:
status: New → Invalid
Changed in bzr:
importance: Undecided → Low
status: New → Triaged
Martin Pool (mbp) on 2010-03-19
Changed in bzr:
status: Triaged → Confirmed
Martin Pool (mbp) wrote :

Changing to launchpadlib would also make it easy to fix the problem that this script gets quite confused by bugs with multiple tasks. (python-launchpad-bugs seems to just do screenscraping or something similar.)

tags: added: headache launchpad
summary: - LaunchpadLoginError
+ LaunchpadLoginError; should be ported to launchpadlib
Robert Collins (lifeless) wrote :

see also bug 586430 and bug 586432

Jelmer Vernooij (jelmer) on 2010-06-01
Changed in bzr:
status: Confirmed → Fix Committed
Vincent Ladeuil (vila) wrote :

The script is now using hydrazine and display private bugs as such.

Changed in bzr:
assignee: nobody → Vincent Ladeuil (vila)
milestone: none → 2.3b4
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Duplicates of this bug

Other bug subscribers