AssertionError: Wrong XPath-Expr in InfoTable.parse() 'affects'

Bug #189395 reported by Kjell Braden
0
Affects Status Importance Assigned to Milestone
python-launchpad-bugs (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: python-launchpad-bugs

I'm crashing again, it's again due to some changes in the launchpad beta and I'm not sure if python-launchpad-bugs should really be adjusted everytimes the beta changes.

$ bughelper bughelper --cookie=$HOME/.mozilla/firefox/k/cookies.txt -T python2.5 "/usr/lib/gio/modules/libgvfsdbus.so" "WA problem" -p python2.5
'Checked at [] - no clues found. Check README on how to create one using the bugxml(1) command.'
Traceback (most recent call last):
  File "/usr/bin/bughelper", line 228, in <module>
    main()
  File "/usr/bin/bughelper", line 172, in main
    info_file = files.get_info_file(b.sourcepackage, cl.options.verbose)
  File "/usr/lib/python2.5/site-packages/launchpadbugs/bugbase.py", line 17, in <lambda>
    if fget : fget = lambda s, n=fget.__name__ : getattr(s, n)()
  File "/usr/lib/python2.5/site-packages/launchpadbugs/html_bug.py", line 128, in f
    x = a.infotable.current
  File "/usr/lib/python2.5/site-packages/launchpadbugs/bugbase.py", line 17, in <lambda>
    if fget : fget = lambda s, n=fget.__name__ : getattr(s, n)()
  File "/usr/lib/python2.5/site-packages/launchpadbugs/html_bug.py", line 161, in func
    x.parse()
  File "/usr/lib/python2.5/site-packages/launchpadbugs/html_bug.py", line 454, in parse
    assert m_type, "Wrong XPath-Expr in InfoTable.parse() 'affects' (%s)" %(DEBUG_URL or "unknown")
AssertionError: Wrong XPath-Expr in InfoTable.parse() 'affects' (https://bugs.launchpad.net/ubuntu/+source/python2.5/+bug/90308)

I'm using python-launchpad-bugs 0.2.26 with the patch from bug #184594

Revision history for this message
Michael Bienia (geser) wrote :

Should be fixed in python-launchpad-bugs 0.2.27 (available in hardy).

Revision history for this message
Kjell Braden (afflux) wrote :

Yes, that works.

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