0
我在使用PyXB为WSDL文件创建python绑定时遇到了问题。我做的:PyXB says AttributeError:'module'object
- PIP安装pyxb(目前版本1.1.5)
- pyxbwsdl http://dic.googlecode.com/files/GoogleSearch.wsdl
我得到 “AttributeError的: '模块' 对象有没有属性 'CreateFromDOM'”,没有代码产生。对于另一个WSDL文档,我得到相同的错误。
有人可以给我一个线索吗? 谢谢!
完整堆栈跟踪:
ERROR: Unable to convert DOM node {http://www.w3.org/2001/XMLSchema}schema to Python instance
Traceback (most recent call last):
File "/home/boehlke/.virtualenvs/env/local/lib/python2.7/site-packages/pyxb/binding/basis.py", line 2047, in append
value = mr.module().CreateFromDOM(node)
AttributeError: 'module' object has no attribute 'CreateFromDOM'
您能否包含* full * traceback? –
thx,我添加了堆栈跟踪。 –