cannot view article text -- new-style find broken?
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wikipedia Dump Reader |
New
|
Undecided
|
Unassigned |
Bug Description
As in previous bug, this is based on a bzr checkout from launchpad.
I've been testing with the dump at http://
No article text is displayed, either when I enter an (existing) article title in the box at the top, or search for an article and choose one of the results. I just see an "Article Not Found" message. However, if I modify the code to force use of old-style find, the article is displayed OK.
Showing my code modification to force old-style find, and so make articles display. Obviously this is just a crude workaround, but should help you locate the bug:
$ bzr diff dumpReader.py
Format <RepositoryForm
=== modified file 'dumpReader.py'
--- dumpReader.py 2010-03-25 11:49:23 +0000
+++ dumpReader.py 2010-06-10 15:18:36 +0000
@@ -165,7 +165,7 @@
- if self.idx_s: # new style find
+ if self.idx_s and False: # new style find