Hi, (long time!)
I'm trying to work with the development tip of mwlib so that I can upgrade
the parser version that I have been using for a year.
When I try to import a module such as mwlib.uparser, I get an error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "mwlib/uparser.py", line 5, in <module>
from mwlib.refine.uparser import simpleparse, parseString
File "mwlib/mwlib/refine/uparser.py", line 5, in <module>
from mwlib import expander, nshandling
File "mwlib/expander.py", line 10, in <module>
from mwlib.templ.nodes import Node, Variable, Template, show
File "nodes.py", line 300, in mwlib.templ.nodes
(mwlib/templ/nodes.c:6747)
File "evaluate.py", line 6, in mwlib.templ.evaluate
(mwlib/templ/evaluate.c:5594)
File "mwlib/templ/parser.py", line 5, in <module>
from mwlib.templ.nodes import Node, Variable, Template, IfNode,
SwitchNode
File "nodes.py", line 300, in mwlib.templ.nodes
(mwlib/templ/nodes.c:6750)
AttributeError: 'module' object has no attribute 'maybe_newline'
I've discovered I can work around this by importing mwlib.templ.nodes
first, but it would be good if some of the circular dependencies were
removed.
- Joel
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---