[Gfoss] plugin python per qgis e pyuic4 Errore con Qt 4.6.1, pyQt 4.8.6 on Mac Os X 10.5 32bit

Luca Mandolesi mandoluca a gmail.com
Mar 20 Set 2011 22:42:39 CEST


Ciao a tutti...
da un minuto all'altro pyuic4 non ne vuole più sapere di aggiornarmi le gui
da .ui a .py.

L'errore che ricevo è questo[1]

Qualcuno sa darmi qualche dritta???

Ciao e grazie mille!

Luca

[1]
Dynamic:gui pyarchinit$ pyuic4 myDialog_ui.py -o myDialog_ui.ui
An unexpected error occurred.
Check that you are using the latest version of PyQt and send an error report
to
support at riverbankcomputing.com, including the following information:

  * your version of PyQt (snapshot-4.8.6-4726879563e5)
  * the UI file that caused this error
  * the debug output of pyuic4 (use the -d flag when calling pyuic4)
host128-242-dynamic:gui pyarchinit$ pyuic4 pyarchinit_Site_ui.py -o
pyarchinit_Site_ui.ui  -d
Traceback (most recent call last):
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyQt4/uic/port_v2/invoke.py",
line 39, in invoke
    exit_status = driver.invoke()
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyQt4/uic/driver.py",
line 64, in invoke
    self._generate()
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyQt4/uic/driver.py",
line 98, in _generate
    self._opts.pyqt3_wrapper, self._opts.from_imports)
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyQt4/uic/__init__.py",
line 170, in compileUi
    winfo = compiler.UICompiler().compileUi(uifile, pyfile, from_imports)
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyQt4/uic/Compiler/compiler.py",
line 119, in compileUi
    w = self.parse(input_stream)
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/site-packages/PyQt4/uic/uiparser.py",
line 919, in parse
    document = parse(filename)
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/etree/ElementTree.py",
line 862, in parse
    tree.parse(source, parser)
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/etree/ElementTree.py",
line 586, in parse
    parser.feed(data)
  File
"/Library/Frameworks/Python.framework/Versions/2.5/lib/python2.5/xml/etree/ElementTree.py",
line 1245, in feed
    self._parser.Parse(data, 0)
ExpatError: not well-formed (invalid token): line 1, column 1
host128-242-dynamic:gui pyarchinit$
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gfoss.it/pipermail/gfoss/attachments/20110920/7d6c18b2/attachment.html>


Maggiori informazioni sulla lista Gfoss