This site is an archive; learn more about 8 years of OpenHatch.

[OH-Dev] [issue573] Importer for bugs.python.org needs to be updated

Asheesh Laroia bugs at openhatch.org
Mon Aug 29 16:37:25 UTC 2011


New submission from Asheesh Laroia <asheesh at asheesh.org>:

python.org's Roundup install has changed, and so our scraping code 
no longer works. Here is a stacktrace from the deployment's bug 
importing:

2011-08-29 12:33:57,704 handle:197 ERROR    During roundup, the 
particular importer failed. Skipping it.
Traceback (most recent call last):
  File "/home/deploy/milestone-
a/mysite/customs/management/commands/customs_daily_tasks.py", line 
194, in handle
    cdt_fns[key]()
  File "/home/deploy/milestone-
a/mysite/customs/management/commands/customs_daily_tasks.py", line 
91, in find_and_update_enabled_roundup_trackers
    instantiated.update()
  File "/home/deploy/milestone-
a/mysite/customs/bugtrackers/roundup.py", line 212, in update
    self.create_bug_object_for_remote_bug_id_if_necessary(bug_id)
  File "/home/deploy/milestone-
a/mysite/customs/bugtrackers/roundup.py", line 131, in 
create_bug_object_for_remote_bug_id_if_necessary
    remote_bug_id=remote_bug_id)
  File "/home/deploy/milestone-
a/mysite/customs/bugtrackers/roundup.py", line 147, in 
_update_bug_object_for_remote_bug_id
    'form[name=itemSynopsis] + p > b, form[name=itemSynopsis] + hr + 
p > b')]
ValueError: need more than 0 values to unpack

The next steps are to:

* Figure out if the test suite still passes
* If so, add a new HTML snapshot of a bug to the test suite
* Run the test suite again, and reproduce the failure
* Fix the code so that the tests pass again

That should do the trick. This is a good bug for someone who wants 
to get their feet wet with the bug importer.

----------
messages: 2418
milestone: 0.11.09
nosy: paulproteus
priority: bug
status: unread
title: Importer for bugs.python.org needs to be updated

__________________________________________
Roundup issue tracker <bugs at openhatch.org>
<https://openhatch.org/bugs/issue573>
__________________________________________


More information about the Devel mailing list