on startup, fails in mathexp
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Wikipedia Dump Reader |
New
|
Undecided
|
Unassigned |
Bug Description
Just discovered this project, took a code checkout & tried to starrt with
$ bzr clone lp:wikipediadumpreader
$ cd wikipediadumpreader
$ python dumpReader.py
dumpReader.py:12: RuntimeWarning: Python C API version mismatch for module bz2: This Python has API version 1013, module bz2 has version 1012.
import mod.bz2 as bz2
sh: latex: not found
Traceback (most recent call last):
File "dumpReader.py", line 17, in <module>
import mathexp
File "/tmp/wikipedia
tex_consumer = TexVcConsumer()
File "/tmp/wikipedia
self.
File "/tmp/wikipedia
raise NameError
NameError
Commenting out that test lets the program start (although presumably by hiding the problem, rather than fixing it)
$ bzr diff
Format <RepositoryForm
=== modified file 'mathexp.py'
--- mathexp.py 2010-03-25 11:49:23 +0000
+++ mathexp.py 2010-06-10 15:16:22 +0000
@@ -52,8 +52,8 @@
# test again (paranoid mode ;-)
test = self.parse("test")
- if not os.path.
- raise NameError
+ #if not os.path.
+ # raise NameError
if keepMathImageFiles: