[PyQt] Sourcing libs across network?

Christopher Evans chris.evans at gmail.com
Wed Aug 24 08:39:35 BST 2011


Anyone sourcing the pyqt libs from across a network (windows)?

We have some weird errors, mainly when loading a UIC via the UIC module.

# Error: <type 'exceptions.SyntaxError'>: invalid syntax (<string>, line 31)
# Traceback (most recent call last):
# File "<maya console>", line 1, in <module>
# File "\\fs1\TECHART\Tools\CryMayaTools\CryAnimation\retarget\retarget_tool.py",
line 62, in <module>
# form_class, base_class = uic.loadUiType(uiFile)
# File "\\fs1\TECHART\Tools\libs\PyQt4\uic\__init__.py", line 200, in loadUiType
# winfo = compiler.UICompiler().compileUi(uifile, code_string, from_imports)
# File "\\fs1\TECHART\Tools\libs\PyQt4\uic\Compiler\compiler.py", line
55, in __init__
# CompilerCreatorPolicy())
# File "\\fs1\TECHART\Tools\libs\PyQt4\uic\uiparser.py", line 127, in __init__
# self.factory = QObjectCreator(creatorPolicy)
# File "\\fs1\TECHART\Tools\libs\PyQt4\uic\objcreator.py", line 91, in __init__
# if load_plugin(open(filename), plugin_globals, plugin_locals):
# File "\\fs1\TECHART\Tools\libs\PyQt4\uic\port_v2\load_plugin.py",
line 47, in load_plugin
# raise WidgetPluginError("%s: %s" % (e.__class__, str(e)))
# WidgetPluginError: <type 'exceptions.SyntaxError'>: invalid syntax
(<string>, line 31) #

--
CE


More information about the PyQt mailing list