[ctypes-users] strange xml2py error
Brought to you by:
theller
From: Patricio S. <kp...@ho...> - 2009-05-25 21:39:38
|
Hi to all, I am trying to create a python wrapper for the zebra barcode decoder project (sourceforge). However I am getting a strange error on the xml2py phase, see below: running: gccxml c:\docume~1\kpoman\config~1\temp\tmppr15r6.cpp -fxml=c:\docume~1\kpoman\config~1\temp\tmphvvbcr.xml Traceback (most recent call last): File "c:\Python25\Scripts\h2xml.py", line 5, in <module> pkg_resources.run_script('ctypeslib==0.5.6', 'h2xml.py') File "C:\Python25\lib\site-packages\setuptools-0.6c9-py2.5.egg\pkg_resources.py", line 448, in run_script File "C:\Python25\lib\site-packages\setuptools-0.6c9-py2.5.egg\pkg_resources.py", line 1166, in run_script File "c:\python25\lib\site-packages\ctypeslib-0.5.6-py2.5.egg\EGG-INFO\scripts\h2xml.py", line 6, in <module> sys.exit(main()) File "c:\python25\lib\site-packages\ctypeslib-0.5.6-py2.5.egg\ctypeslib\h2xml.py", line 86, in main compile_to_xml(argv) File "c:\python25\lib\site-packages\ctypeslib-0.5.6-py2.5.egg\ctypeslib\h2xml.py", line 79, in compile_to_xml parser.parse(files) File "c:\python25\lib\site-packages\ctypeslib-0.5.6-py2.5.egg\ctypeslib\codegen\cparser.py", line 325, in parse types = self.find_types(include_files, defines) File "c:\python25\lib\site-packages\ctypeslib-0.5.6-py2.5.egg\ctypeslib\codegen\cparser.py", line 236, in find_types items = gccxmlparser.parse(fname) File "c:\python25\lib\site-packages\ctypeslib-0.5.6-py2.5.egg\ctypeslib\codegen\gccxmlparser.py", line 423, in parse parser.parse(xmlfile) File "c:\python25\lib\site-packages\ctypeslib-0.5.6-py2.5.egg\ctypeslib\codegen\gccxmlparser.py", line 57, in parse self.startElement(node.tag, dict(node.items())) File "c:\python25\lib\site-packages\ctypeslib-0.5.6-py2.5.egg\ctypeslib\codegen\gccxmlparser.py", line 69, in startElement mth = getattr(self, name) AttributeError: 'GCCXML_Parser' object has no attribute 'Converter' C:\Documents and Settings\kpoman\Escritorio\zbar-0.7-mingw32\zbar-0.7-mingw32\include> Do someone have an idea of what is this ? I never saw that in the past ! Thank you for your time ! _________________________________________________________________ More than messages–check out the rest of the Windows Live™. http://www.microsoft.com/windows/windowslive/ |