pygobject

PyCharm can not resolve PyGObject 3.0, but code runs fine

PyCharm can not resolve PyGObject 3.0, but code runs fine Question: I’m using PyCharm 2.5 on Ubuntu 11.10, trying to develop an application using PyGObject 3.0 on Python 3.2.2. I’ve installed the Ubuntu package python3-gobject, and when I run my code, it works exactly as expected. However, PyCharm can not seem to find any of …

Total answers: 2

What's the recommended way to unittest Python GUI applications?

What's the recommended way to unittest Python GUI applications? Question: I’m currently foolish enough to try to maintaintain two parallel code bases for a Python desktop application, one using PyGObject introspection for GTK 3 and one using PyGTK for GTK 2. I work mainly on the PyGObject branch and then I port changes over to …

Total answers: 4

Mysterious GObject warning: assertion `G_IS_OBJECT (object)' failed

Mysterious GObject warning: assertion `G_IS_OBJECT (object)' failed Question: I have a warning when I run my GTK (Python GObject introspection) application and I can’t figure out its source. When the application is loading and I’m populating a GtkListStore, after the very first time I append a row, I get the following warning: /usr/lib/python2.7/site-packages/gi/types.py:44: Warning: g_object_set_qdata: …

Total answers: 3

Has threading in GTK w/ Python changed in PyGObject introspection?

Has threading in GTK w/ Python changed in PyGObject introspection? Question: I’m in the process of converting a program from PyGTK to PyGObject introspection for the first time and I’ve hit a roadblock with threading. I have a process that takes some time to complete, so I pop up a dialog with a progress bar …

Total answers: 1