bughelper could crash if a bugreport changes during a run

Bug #154024 reported by Markus Korn
2
Affects Status Importance Assigned to Milestone
bughelper (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: bughelper

I just checked the bughelper-server logs [1] and found out, that there are many errors like:
"AttributeError: Can't get 'sourcepackage'. There is no row of the info-table[...]"
I compared the dates of these errors with the activity log of the involved bugreport and found out that marking the reports as duplicate or closing the bugreports between generating the buglist and running bughelper on a certain bug causes this error. The reason is that py-lp-bugs needs a highlighted row in the infotable and this highlight is removed by the mentioned actions.

This bug results in the output of the "bugs with no package"-query being empty almost the whole time.

As a solution I suggest to just ignore the affected bugs.

Markus

[1] http://daniel.holba.ch/bughelper-logs/bughelper-server.log

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

patch against .main r190 to fix this.

I think this is worth a SRU.

Markus

Changed in bughelper:
importance: Undecided → Medium
status: New → Fix Committed
Revision history for this message
Markus Korn (thekorn) wrote :
Revision history for this message
Wouter Stomp (wouterstomp-deactivatedaccount) wrote :

fixed: text.dev branch has been merged in 0.2.12

Changed in bughelper:
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.