[Bug 756247] New: cannot import python-gobject
https://bugzilla.novell.com/show_bug.cgi?id=756247 https://bugzilla.novell.com/show_bug.cgi?id=756247#c0 Summary: cannot import python-gobject Classification: openSUSE Product: openSUSE 12.1 Version: Final Platform: All OS/Version: openSUSE 12.1 Status: NEW Severity: Major Priority: P5 - None Component: GNOME AssignedTo: bnc-team-gnome@forge.provo.novell.com ReportedBy: spiollinux@alice-dsl.net QAContact: qa-bugs@suse.de Found By: --- Blocker: --- User-Agent: Mozilla/5.0 (X11; Linux i686; rv:11.0) Gecko/20100101 Firefox/11.0 When trying to import the module 'gi', which is part of python-gobject, the python- interpreter fails to do that and prints Traceback. gnome-tweak-tool uses this module too and fails to start with the same error Reproducible: Always Steps to Reproduce: 1. open the python interpreter 2. enter "import gi" 3. watch the traceback Actual Results: Traceback (most recent call last): File "/usr/bin/gnome-tweak-tool", line 22, in <module> import gi File "/usr/lib/python2.7/site-packages/gi/__init__.py", line 23, in <module> from ._gi import _API, Repository ImportError: /usr/lib/python2.7/site-packages/gi/_gi.so: undefined symbol: g_value_get_schar Expected Results: the module gets imported without errors -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=756247 https://bugzilla.novell.com/show_bug.cgi?id=756247#c1 Dominique Leuenberger <dimstar@opensuse.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO CC| |dimstar@opensuse.org InfoProvider| |spiollinux@alice-dsl.net --- Comment #1 from Dominique Leuenberger <dimstar@opensuse.org> 2012-04-09 11:11:26 UTC --- This appears to be an inconsistent setup; Did you upgrade some repositories recently? Or the dist? (If so: how?) To find out what is going on, can you please issue these commands: ldd /usr/lib/python2.7/site-packages/gi/_gi.so This should contain libgobject-2.0.so.0, supposedly pointing to /usr/lib/libgobject-2.0.so.0, right? Next: rpm -qf /usr/lib/libgobject-2.0.so.0 Please post the output of both commands here. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=756247 https://bugzilla.novell.com/show_bug.cgi?id=756247#c2 --- Comment #2 from Dominique Leuenberger <dimstar@opensuse.org> 2012-04-09 12:45:52 UTC --- Forgot: please also add the output of rpm -qf /usr/lib/python2.7/site-packages/gi/_gi.so -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=756247 https://bugzilla.novell.com/show_bug.cgi?id=756247#c3 Oliver Schmidt <spiollinux@alice-dsl.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|spiollinux@alice-dsl.net | --- Comment #3 from Oliver Schmidt <spiollinux@alice-dsl.net> 2012-04-09 22:32:59 UTC --- This is a fresh installation from scratch. I don't use Tumbleweed on this machine. # zypper lr # | Alias | Name | Aktiviert | Aktualisieren ---+----------------------------------------------+------------------------------------------------+-----------+-------------- 1 | ATI | ATI | Nein | Nein 2 | Aktualisierungen-für-openSUSE-12.1-12.1-1.4 | Aktualisierungen für openSUSE 12.1 12.1-1.4 | Ja | Ja 3 | Education | Education | Ja | Ja 4 | devel:languages:go | devel:languages:go | Ja | Ja 5 | download.opensuse.org-Apps | openSUSE BuildService - GNOME:Anwendungen | Ja | Ja 6 | download.opensuse.org-games | openSUSE BuildService - Spiele | Ja | Ja 7 | download.opensuse.org-python | openSUSE BuildService - devel:languages:python | Ja | Ja 8 | home:deltafox | home:deltafox | Ja | Ja 9 | openSUSE BuildService - CrossToolchain (avr) | openSUSE BuildService - CrossToolchain (avr) | Ja | Ja 10 | openSUSE-12.1-12.1-1.4 | openSUSE-12.1-12.1-1.4 | Nein | Nein 11 | openSUSE:Factory:Contrib | openSUSE:Factory:Contrib | Ja | Ja 12 | opensuse-guide.org-repo | libdvdcss repository | Ja | Ja 13 | packman.inode.at-suse | Packman Repository | Ja | Ja 14 | repo-debug | openSUSE-12.1-Debug | Nein | Ja 15 | repo-debug-update | openSUSE-12.1-Update-Debug | Nein | Ja 16 | repo-non-oss | openSUSE-12.1-Non-Oss | Ja | Ja 17 | repo-oss | openSUSE-12.1-Oss | Ja | Ja 18 | repo-source | openSUSE-12.1-Source | Nein | Ja 19 | security | security | Ja | Ja # ldd /usr/lib/python2.7/site-packages/gi/_gi.so linux-gate.so.1 => (0xffffe000) libgirepository-1.0.so.1 => /usr/lib/libgirepository-1.0.so.1 (0xb7778000) libpyglib-gi-2.0-python.so.0 => /usr/lib/libpyglib-gi-2.0-python.so.0 (0xb7773000) libgobject-2.0.so.0 => /usr/lib/libgobject-2.0.so.0 (0xb7723000) libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xb7628000) libpthread.so.0 => /lib/libpthread.so.0 (0xb760c000) libc.so.6 => /lib/libc.so.6 (0xb749f000) libm.so.6 => /lib/libm.so.6 (0xb7474000) libgio-2.0.so.0 => /usr/lib/libgio-2.0.so.0 (0xb732b000) libgmodule-2.0.so.0 => /usr/lib/libgmodule-2.0.so.0 (0xb7326000) libffi.so.4 => /usr/lib/libffi.so.4 (0xb731e000) libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xb7317000) libpcre.so.0 => /lib/libpcre.so.0 (0xb72d9000) librt.so.1 => /lib/librt.so.1 (0xb72d0000) /lib/ld-linux.so.2 (0xb77ed000) libz.so.1 => /lib/libz.so.1 (0xb72b8000) libselinux.so.1 => /lib/libselinux.so.1 (0xb729a000) libresolv.so.2 => /lib/libresolv.so.2 (0xb7282000) libdl.so.2 => /lib/libdl.so.2 (0xb727d000) # rpm -qf /usr/lib/libgobject-2.0.so.0 libgobject-2_0-0-2.30.1-2.1.2.i586 # rpm -qf /usr/lib/python2.7/site-packages/gi/_gi.so python-gobject-3.1.0-38.1.i586 -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=756247 https://bugzilla.novell.com/show_bug.cgi?id=756247#c4 --- Comment #4 from Oliver Schmidt <spiollinux@alice-dsl.net> 2012-04-09 22:35:19 UTC --- BTW: The Python3 version works well -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=756247 https://bugzilla.novell.com/show_bug.cgi?id=756247#c5 Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |NEEDINFO InfoProvider| |spiollinux@alice-dsl.net --- Comment #5 from Vincent Untz <vuntz@suse.com> 2012-04-10 15:59:02 UTC --- (In reply to comment #3)
# rpm -qf /usr/lib/python2.7/site-packages/gi/_gi.so python-gobject-3.1.0-38.1.i586
3.1.0? This is not the python-gobject package from openSUSE 12.1... Can you find out where it comes from? You can see all python-gobject packages available with: zypper search --details python-gobject -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=756247 https://bugzilla.novell.com/show_bug.cgi?id=756247#c6 Oliver Schmidt <spiollinux@alice-dsl.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEEDINFO |NEW InfoProvider|spiollinux@alice-dsl.net | --- Comment #6 from Oliver Schmidt <spiollinux@alice-dsl.net> 2012-04-10 16:30:18 UTC --- It's from openSUSE BuildService - devel:languages:python version 3.0.2-2.3.1 from openSUSE 12.1 Updates works \0/ -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
https://bugzilla.novell.com/show_bug.cgi?id=756247 https://bugzilla.novell.com/show_bug.cgi?id=756247#c7 Vincent Untz <vuntz@suse.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED --- Comment #7 from Vincent Untz <vuntz@suse.com> 2012-04-10 16:50:06 UTC --- Cool. I've removed the python-gobject binary packages from d:l:p, so it shouldn't happen anymore. -- Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email ------- You are receiving this mail because: ------- You are on the CC list for the bug.
participants (1)
-
bugzilla_noreply@novell.com