launchpadbugs.exceptions.LaunchpadURLError in _safe_urlopen

Bug #257516 reported by Daniel Holbach
2
Affects Status Importance Assigned to Milestone
python-launchpad-bugs
Fix Released
Low
Brian Murray

Bug Description

Python 2.5.2 (r252:60911, May 7 2008, 15:21:12)
[GCC 4.2.3 (Ubuntu 4.2.3-2ubuntu7)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import launchpadbugs.connector as Connector
>>> Bug = Connector.ConnectBug(method="Text")
>>> print Bug(int(257313)).infotable
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.5/site-packages/launchpadbugs/lphelper.py", line 261, in <lambda>
    if fget : fget = lambda s, n=fget.__name__ : getattr(s, n)()
  File "/usr/lib/python2.5/site-packages/launchpadbugs/text_bug.py", line 230, in get_infotable
    return self.__textpage["task"]
  File "/usr/lib/python2.5/site-packages/launchpadbugs/text_bug.py", line 150, in __getitem__
    self.parse()
  File "/usr/lib/python2.5/site-packages/launchpadbugs/text_bug.py", line 154, in parse
    text = self.__connection.get(self.__url).text
  File "/usr/lib/python2.5/site-packages/launchpadbugs/http_connection.py", line 169, in get
    return self._safe_urlopen(url, None, False)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/http_connection.py", line 291, in _safe_urlopen
    raise exceptions.choose_LaunchpadError(error, url)
launchpadbugs.exceptions.LaunchpadURLError:
    * message: 400
    * url: https://launchpad.net/bugs/257313/+text
>>>

This is with pylpbugs 0.2.33~ppa4

Revision history for this message
Daniel Holbach (dholbach) wrote :

Seems to be fixed in bzr.

Changed in python-launchpad-bugs:
status: New → Fix Committed
Revision history for this message
Brian Murray (brian-murray) wrote :

I updated the Hardy PPA of python-launchpad-bugs today so this should be resolved there too.

Changed in python-launchpad-bugs:
assignee: nobody → brian-murray
importance: Undecided → Low
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.