After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 442352 - Exception inside gobject bindings
Exception inside gobject bindings
Status: RESOLVED NOTGNOME
Product: gnome-games-superseded
Classification: Deprecated
Component: glchess
unspecified
Other All
: High critical
: ---
Assigned To: Robert Ancell
GNOME Games maintainers
Depends on:
Blocks:
 
 
Reported: 2007-05-30 16:25 UTC by Doyen Gilles
Modified: 2007-06-04 00:27 UTC
See Also:
GNOME target: ---
GNOME version: 2.17/2.18



Description Doyen Gilles 2007-05-30 16:25:07 UTC
What were you doing when the application crashed?
nothing !
Just launched the game while Beryl was running


Distribution: Ubuntu 7.04 (feisty)
Gnome Release: 2.18.1 2007-04-10 (Ubuntu)
BugBuddy Version: 2.18.1

System: Linux 2.6.20.11 #1 SMP Thu May 17 22:03:40 CEST 2007 i686
X Vendor: The X.Org Foundation
X Vendor Release: 70200000
Selinux: No
Accessibility: Disabled
GTK+ Theme: Human
Icon Theme: Human

Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0
CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0



----------- .xsession-errors (222 sec old) ---------------------
beryl: Couldn't bind redirected window 0x12069aa to texture
beryl: pixmap 0x1e007fd can't be bound to texture
beryl: Couldn't bind redirected window 0x12069aa to texture
beryl: pixmap 0x1e007fd can't be bound to texture
beryl: Couldn't bind redirected window 0x12069aa to texture
beryl: pixmap 0x1e007fd can't be bound to texture
beryl: Couldn't bind redirected window 0x12069aa to texture
beryl: pixmap 0x1e007fd can't be bound to texture
beryl: Couldn't bind redirected window 0x12069aa to texture
beryl: pixmap 0x1e007fd can't be bound to texture
beryl: Couldn't bind redirected window 0x12069aa to texture
beryl: pixmap 0x1e007fd can't be bound to texture
beryl: Couldn't bind redirected window 0x12069aa to texture
...Too much output, ignoring rest...
--------------------------------------------------
Traceback (most recent call last):
  • File "/usr/games/glchess", line 20 in <module>
    start_game()
  • File "/usr/lib/python2.5/site-packages/glchess/glchess.py", line 2 in start_game
    import main
  • File "/usr/lib/python2.5/site-packages/glchess/main.py", line 16 in <module>
    import gtkui
  • File "/usr/lib/python2.5/site-packages/glchess/gtkui/__init__.py", line 3 in <module>
    from gtkui import GtkView, GtkUI
  • File "/usr/lib/python2.5/site-packages/glchess/gtkui/gtkui.py", line 21 in <module>
    import gobject
  • File "/var/lib/python-support/python2.5/gtk-2.0/gobject/__init__.py", line 4
    if [ "\$1" = "remove" ]; then
SyntaxError: invalid syntax

Comment 1 Robert Ancell 2007-06-03 05:26:58 UTC
Looks like your python-gobject install is corrupted (the line generating the error is shell script not python).

Please try from the command line:
$ python
>>> import gobject

If the same errors are reported there is a problem with your python-gobject package and you will need to raise a bug with Ubuntu.

Re-installing with:
# apt-get install --reinstall python-gobject
may fix the problem. But that leaves the question how did that file get corrupted?
Comment 2 Doyen Gilles 2007-06-03 15:55:32 UTC
Hi,
I have seen after this bug that I had a lot of problemes with my ext3 partition (file system nearly corrupted ... a real big mess in fact)

The fsck might have caused the problem ...

In fact, my gnome instal was completely broken (bug everywhere :() so I reinstalled it and from noow, everything seems to work back again ;)

Thanks for your interest to my problem :D
Comment 3 Robert Ancell 2007-06-04 00:27:07 UTC
No problem, closing.