Hi,

I'm new in python e pyside.

I have installed here pyside 0.4.1 and Qt Designer 4.6.2 in Ubuntu 10.04.

I create a simple form widget and saved as teste.ui but, when i try run
pyside-uic teste.ui or pyside-uic teste.ui -o Ui_teste.py get the following
error:

------------------------------------------------------------------------------------------
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'teste.ui'
#
# Created: Sat Sep 25 13:04:56 2010
#      by: PySide uic UI code generator
#
# WARNING! All changes made in this file will be lost!

An unexpected error occurred.
------------------------------------------------------------------------------------------


I try to run pyside-uic -d teste.ui and get the following error:

------------------------------------------------------------------------------------------
# -*- coding: utf-8 -*-

# Form implementation generated from reading ui file 'teste.ui'
#
# Created: Sat Sep 25 13:05:17 2010
#      by: PySide uic UI code generator
#
# WARNING! All changes made in this file will be lost!

Traceback (most recent call last):
  File "/usr/bin/pyside-uic", line 75, in <module>
    options.indent)
  File "/usr/bin/pyside-uic", line 39, in generateUi
    pysideuic.compileUi(uifname, pyfile, execute, indent)
  File "/usr/lib/pymodules/python2.6/pysideuic/__init__.py", line 73, in
compileUi
    winfo = compiler.UICompiler().compileUi(uifile, pyfile)
  File "/usr/lib/pymodules/python2.6/pysideuic/Compiler/compiler.py", line
37, in __init__
    CompilerCreatorPolicy())
  File "/usr/lib/pymodules/python2.6/pysideuic/uiparser.py", line 110, in
__init__
    self.factory = QObjectCreator(creatorPolicy)
  File "/usr/lib/pymodules/python2.6/pysideuic/objcreator.py", line 79, in
__init__
    raise WidgetPluginError, "%s: %s" % (e.__class__, str(e))
WidgetPluginError: <type 'exceptions.KeyError'>: 'pluginType'
---------------------------------------------------------------------------------------------------------------------------------

what's the problem? where i'm erring?

Sorry me, bad english!!!

--
Gabriel Santana
ITILv2, LPIC-1
_______________________________________________
PySide mailing list
[email protected]
http://lists.openbossa.org/listinfo/pyside

Reply via email to