failing to parse bug attachments in text mode

Bug #210576 reported by Brian Murray on 2008-04-02
Affects Status Importance Assigned to Milestone

Bug Description

1) main 84
2) buginfo --title 202595
Traceback (most recent call last):
  File "./buginfo", line 86, in <module>
  File "./buginfo", line 59, in main
    print bug.title
  File "/home/theman/source_trees/bughelper/bug-tags-20080401/launchpadbugs/", line 261, in <lambda>
    if fget : fget = lambda s, n=fget.__name__ : getattr(s, n)()
  File "/home/theman/source_trees/bughelper/bug-tags-20080401/launchpadbugs/", line 249, in get_title
    return self.__textpage["bug"].title[0]
  File "/home/theman/source_trees/bughelper/bug-tags-20080401/launchpadbugs/", line 145, in __getitem__
  File "/home/theman/source_trees/bughelper/bug-tags-20080401/launchpadbugs/", line 190, in parse
    assert len(x) == 2, "wrong line:%s" %l
AssertionError: wrong line: x-unix-mode=0644;

This is most likely really an issue with Malone which I've reported as bug 210571, but it might be worth working around.

Markus Korn (thekorn) wrote :

Hi Brian,
I agree, this is more an issue in Malone. I'm afraid fixing this in the current version of is not possible without changing large parts of the parser, which I think we should not do for just a workaround, so it's "Won't Fix" IMHO. I hope that's Ok for you.
For hardy+1 I plan to rewrite (simplify) the parser (Bug 202262). I committed a simple workaround to the attached branch there.


Changed in python-launchpad-bugs:
status: New → Won't Fix
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers