HTML bug parsing broken by current LP edge

Bug #243184 reported by Colin Watson
2
Affects Status Importance Assigned to Milestone
python-launchpad-bugs (Ubuntu)
Fix Released
High
Unassigned

Bug Description

Binary package hint: python-launchpad-bugs

lp_archive@drescher:~/syncs$ (echo 242631 -f; echo 242634 -f; echo 242636 -f; echo 242640 -f; echo 242641 -f; echo 243120 -f; echo 242944 -f; echo 243103 -f) | syncbugbot
Traceback (most recent call last):
  File "/home/lp_archive/bin/syncbugbot", line 102, in <module>
    main()
  File "/home/lp_archive/bin/syncbugbot", line 95, in main
    process_bug(int(fields[0]), options.backport, fields[1:], failed)
  File "/home/lp_archive/bin/syncbugbot", line 63, in process_bug
    print 'processing bug %i, package %s, reporter %s' % (bug, source, b.reporter)
  File "/home/lp_archive/python/launchpadbugs/lphelper.py", line 261, in <lambda>
    if fget : fget = lambda s, n=fget.__name__ : getattr(s, n)()
  File "/home/lp_archive/python/launchpadbugs/html_bug.py", line 87, in func
    x.parse()
  File "/home/lp_archive/python/launchpadbugs/html_bug.py", line 464, in parse
    assert m, "Wrong XPath-Expr in BugReport.parse() 'info line' (%s)" %(DEBUG_URL or "unknown")
AssertionError: Wrong XPath-Expr in BugReport.parse() 'info line' (https://launchpad.net/bugs/242631)

Revision history for this message
Colin Watson (cjwatson) wrote :

Ah, Markus Korn already fixed this in ~bughelper-dev/python-launchpad-bugs/intrepid.merge; this seems to be working for me, so I've switched us over to that branch for the time being.

Revision history for this message
Markus Korn (thekorn) wrote :

yes, Colin, this is fixed in the intrepid.merge branch. I hope to merge this into the .main branch as soon as possible and release a new package, but there are still some tests needed.
Markus

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

This is fixed with python-launchpad-bugs package version 0.30 in Intrepid.

Changed in python-launchpad-bugs:
importance: Undecided → High
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.