[opensuse-factory] Python import error
Hi! Under 12.1 I get: ImportError: could not import gobject (could not find _PyGObject_API object) when running any Python application. The Yast package manager does not report any dependency problem or conflict. Could this be a bug or it is as expected? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
Le mercredi 07 décembre 2011, à 00:35 +0400, Ilya Chernykh a écrit :
Hi!
Under 12.1 I get:
ImportError: could not import gobject (could not find _PyGObject_API object)
Which application? It used to happen on 11.4 with G:S:3.0 because some python module was not rebuilt in G:S:3.0, but that sounds surprising for 12.1. Unless you have a python module not coming from a 12.1 repo. Vincent -- Les gens heureux ne sont pas pressés. -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On Wednesday 07 December 2011 11:22:17 Vincent Untz wrote:
ImportError: could not import gobject (could not find _PyGObject_API object)
Which application?
It used to happen on 11.4 with G:S:3.0 because some python module was not rebuilt in G:S:3.0, but that sounds surprising for 12.1. Unless you have a python module not coming from a 12.1 repo.
for example, ccsm, compiz settings manager from compiz 0.8 which I use (did not check the 0.9 version). Itmages image upload client and others. It turned out they all want python-gobject2 package with which they work well. I only found the answer in google. Would it be possible to implement automatic dependency finding for Python programs the same way it is implemented for C/C++ programs? -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
On 12/07/2011 10:37 AM, Ilya Chernykh wrote:
On Wednesday 07 December 2011 11:22:17 Vincent Untz wrote:
ImportError: could not import gobject (could not find _PyGObject_API object)
Which application?
It used to happen on 11.4 with G:S:3.0 because some python module was not rebuilt in G:S:3.0, but that sounds surprising for 12.1. Unless you have a python module not coming from a 12.1 repo.
for example, ccsm, compiz settings manager from compiz 0.8 which I use (did not check the 0.9 version). Itmages image upload client and others.
It turned out they all want python-gobject2 package with which they work well. I only found the answer in google.
Would it be possible to implement automatic dependency finding for Python programs the same way it is implemented for C/C++ programs? see home:saschpe:pyrpm
-- Viele Grüße, Sascha
participants (3)
-
Ilya Chernykh
-
Sascha Peilicke
-
Vincent Untz