[OH-Dev] [issue789] bugimporters.bugzilla crashes on KDE Junior Jobs query
Asheesh Laroia
bugs at openhatch.org
Fri Nov 16 19:57:17 UTC 2012
New submission from Asheesh Laroia <asheesh at asheesh.org>:
I'm looking at a stack trace from a bug crawl on the live site, and I see that handle_query_response() crashed when downloading data from:
https://bugs.kde.org/buglist.cgi?query_format=advanced&keywords=junior-
jobs&resolution=---
This seems to be a general problem with parsing these HTML responses, so when we
can figure this out, quite a few more bug trackers should be able to import
cleanly.
To fix this, take the following steps:
* Create a new test method in some existing class in
bugimporters/tests/test_bugzilla.py
* Make sure the above URL appears in the list of queries for the TrackerModel
(usually self.tm or "tm").
* Then run the test suite and watch it crash. Fix the crashes and now you'll get
bugs imported in the test.
Hooray.
----------
messages: 3504
nosy: paulproteus
priority: bug
status: unread
title: bugimporters.bugzilla crashes on KDE Junior Jobs query
__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue789>
__________________________________________
More information about the Devel
mailing list