x***@arcor.de
2015-05-15 14:43:23 UTC
Hello to everyone,
some problems here to run the first guidata example
import guidata
guidata.qapplication() # not required if a QApplication has already been
created
import guidata.dataset.datatypes as dt
import guidata.dataset.dataitems as di
class Processing(dt.DataSet):
"""Example"""
a = di.FloatItem("Parameter #1", default=2.3)
b = di.IntItem("Parameter #2", min=0, max=10, default=5)
type = di.ChoiceItem("Processing algorithm",
("type 1", "type 2", "type 3"))
param = Processing()
param.edit()
from
https://pythonhosted.org/guidata/examples.html
The following 2 configurations
(1) WinPython-64bit-2.7.9.3.exe, installed on a Win7SP1x64 Computer
(2) WinPython-32bit-2.7.9.3.exe, installed on a Win7SP1x32 Computer
lead to the same message
'QWidget: Must construct a QApplication before a QPaintDevice'
in spyders python console and the examples guidata dialog doesn't appear.
The example works fine on a Windows XPSP3x32 Computer with Python(x,y)
2.6.2.0 installed.
Any ideas to solve this?
Thanks in advance.
some problems here to run the first guidata example
import guidata
guidata.qapplication() # not required if a QApplication has already been
created
import guidata.dataset.datatypes as dt
import guidata.dataset.dataitems as di
class Processing(dt.DataSet):
"""Example"""
a = di.FloatItem("Parameter #1", default=2.3)
b = di.IntItem("Parameter #2", min=0, max=10, default=5)
type = di.ChoiceItem("Processing algorithm",
("type 1", "type 2", "type 3"))
param = Processing()
param.edit()
from
https://pythonhosted.org/guidata/examples.html
The following 2 configurations
(1) WinPython-64bit-2.7.9.3.exe, installed on a Win7SP1x64 Computer
(2) WinPython-32bit-2.7.9.3.exe, installed on a Win7SP1x32 Computer
lead to the same message
'QWidget: Must construct a QApplication before a QPaintDevice'
in spyders python console and the examples guidata dialog doesn't appear.
The example works fine on a Windows XPSP3x32 Computer with Python(x,y)
2.6.2.0 installed.
Any ideas to solve this?
Thanks in advance.
--
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
You received this message because you are subscribed to the Google Groups "guidata/guiqwt" group.
To unsubscribe from this group and stop receiving emails from it, send an email to guidata_guiqwt+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.