incunabulum / guidata

Python library generating graphical user interfaces for easy dataset editing and display / From code.google.com
Other
0 stars 0 forks source link

Example on main page is not working #17

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?

1. copy-paste example on project home page
2. start it with python
3. Get error :

QWidget: Must construct a QApplication before a QPaintDevice
Abandon

The problem is that the second line :

guidata.qapplication()

do not store the qapplication. Just replacing it with

a = guidata.qapplication()

do the trick.

What is the expected output?

Dialog should appear.

What do you see instead?

Error message

What version of the product are you using? On what operating system?

Debian sid

Please provide any additional information below.

Original issue reported on code.google.com by francois...@gmail.com on 16 Nov 2011 at 3:23

GoogleCodeExporter commented 9 years ago
Updated a while ago.

Original comment by pierre.raybaut on 6 Nov 2012 at 4:23