Hi,

I'm trying out mw-html with the following command line:

mw-html -c http://en.wikipedia.org/w/ Light

Regardless of the article I try, mw-html crashes with the following
stacktrace:

---
2009-06-10T17:48:41 mwlib.utils.info >> fetching 'http://
en.wikipedia.org/w/api.php?
redirects=1&titles=Template:cite_web&format=json&action=query&rvprop=content&prop=revisions'
Traceback (most recent call last):
  File "/usr/local/bin/mw-html", line 8, in <module>
    load_entry_point('mwlib==0.11.2', 'console_scripts', 'mw-html')()
  File "/Library/Python/2.5/site-packages/mwlib-0.11.2-py2.5-
macosx-10.5-i386.egg/mwlib/apps/__init__.py", line 566, in html
    w.write(a)
  File "/Library/Python/2.5/site-packages/mwlib-0.11.2-py2.5-
macosx-10.5-i386.egg/mwlib/htmlwriter.py", line 46, in write
    m(obj)
  File "/Library/Python/2.5/site-packages/mwlib-0.11.2-py2.5-
macosx-10.5-i386.egg/mwlib/htmlwriter.py", line 338, in writeArticle
    self.write(x)
  File "/Library/Python/2.5/site-packages/mwlib-0.11.2-py2.5-
macosx-10.5-i386.egg/mwlib/htmlwriter.py", line 46, in write
    m(obj)
  File "/Library/Python/2.5/site-packages/mwlib-0.11.2-py2.5-
macosx-10.5-i386.egg/mwlib/htmlwriter.py", line 134, in writeTagNode
    self.out.write(t.starttext)
AttributeError: 'TagNode' object has no attribute 'starttext'
---

is anyone aware of what causes this, and what a possible solution
might be?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"mwlib" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [email protected]
For more options, visit this group at http://groups.google.com/group/mwlib?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to