Recent rollout of edge.launchpad.net broke py-lp-bugs

Bug #247498 reported by Markus Korn
4
Affects Status Importance Assigned to Milestone
python-launchpad-bugs
Fix Released
High
Markus Korn

Bug Description

======================================================================
FAIL: parse bug.bugreport
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/disk-1/python-launchpad-bugs/main/tests/testcase_general.py", line 160, in test_001_2_parse_bugreport
    self.failIfRaises(Exception, i._Bug__bugreport.parse)
  File "/media/disk-1/python-launchpad-bugs/main/tests/testbase.py", line 85, in failIfRaises
    raise self.failureException, "%s raised!\n%s" % (excName, e)
AssertionError: PythonLaunchpadBugsXMLParsingError raised!
Wrong XPath-Expr while parsing BugReport.__nickname (https://bugs.edge.launchpad.net/ubuntu/+bug/1)

======================================================================
FAIL: parse bug.secrecy
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/media/disk-1/python-launchpad-bugs/main/tests/testcase_general.py", line 185, in test_006_parse_secrecy
    self.failIfRaises(Exception, i._Bug__secrecy.parse)
  File "/media/disk-1/python-launchpad-bugs/main/tests/testbase.py", line 85, in failIfRaises
    raise self.failureException, "%s raised!\n%s" % (excName, e)
AssertionError: PythonLaunchpadBugsXMLParsingError raised!
Wrong XPath-Expr while parsing Secrecy.__xml (https://bugs.edge.launchpad.net/ubuntu/+bug/1)

======================================================================

Markus Korn (thekorn)
Changed in python-launchpad-bugs:
assignee: nobody → thekorn
importance: Undecided → High
milestone: none → intrepid
status: New → In Progress
Revision history for this message
Markus Korn (thekorn) wrote :

------------------------------------------------------------
revno: 129
committer: Markus Korn <email address hidden>
branch nick: main
timestamp: Fri 2008-07-11 11:25:43 +0200
message:
  * launchpadbugs/html_bug.py: second part of fixing (LP: #247498). This is
    not a robust solution, but I thing launchpad will change anyway over the next
    few weeks. The problem is that there is a big difference between edge and
    stable.
------------------------------------------------------------
revno: 128
committer: Markus Korn <email address hidden>
branch nick: main
timestamp: Fri 2008-07-11 11:04:21 +0200
message:
  * launchpadbugs/html_bug.py: adjusted Secrecy.parse() in the html mode for
    the latest rollout of launchpad. this is a part of fixing (LP: #247498)
------------------------------------------------------------

Changed in python-launchpad-bugs:
status: In Progress → Fix Committed
Revision history for this message
Markus Korn (thekorn) wrote :

Fix released in py-lp-bugs 0.3

Changed in python-launchpad-bugs:
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.