GCompris core dumps at load time in kubuntu jaunty jackalope (alpha 3)

Bug #328917 reported by Tom Pringle
32
This bug affects 3 people
Affects Status Importance Assigned to Milestone
gcompris (Ubuntu)
Fix Released
Undecided
nur alim
Nominated for Jaunty by Bruno coudoin

Bug Description

I installed GCompris with this command line:
>sudo apt-get install gcompris

When I first tried to run GCompris from the "K" menu it started to launch but then exited silently.

I then ran GCompris with this command line:
>gcompris

which generated this error:
>Exception exceptions.ImportError: 'No module named Numeric'
>in 'garbage collection' ignored
>Fatal Python error: unexpected exception during garbage collection
>Aborted (core dumped)

digging through the python code I found this file that used the module "Numeric"
/usr/share/gcompris/python/DTW/dtw.py

!explicitly installing the python-numeric package resolved the problem!
>sudo apt-get install python-numeric

I presume the package manager should have detected this dependency automatically when I originally installed GCompris

More system details:

1) The release of Ubuntu you are using, via 'lsb_release -rd' or System -> About Ubuntu.
> lsb_release -rd
>Description: Ubuntu jaunty (development branch)
>Release: 9.04

2) The version of the package you are using, via 'apt-cache policy packagename' or by checking in Synaptic.
>apt-cache policy gcompris
>gcompris:
> Installed: 8.4.4-1.1ubuntu2
> Candidate: 8.4.4-1.1ubuntu2
> Version table:
> *** 8.4.4-1.1ubuntu2 0
> 500 http://us.archive.ubuntu.com jaunty/main Packages
> 100 /var/lib/dpkg/status

Revision history for this message
Bruno coudoin (bruno-coudoin) wrote :

One solution is to add Numeric but this is somewhat silly because this activity was an experimental one that was uncomplete. It has been removed from the latest GCompris release 8.4.8. The correct fix for you is to provide the latest release. It includes several bugfixes and most important the intro voices that explains what to do in each activities.

Revision history for this message
Tom Pringle (thomas-b-pringle) wrote :

Yes that sounds like the right solution. I didn't realize I was using an experimental release of GCompris. Who is the right person to update the Kubuntu package system to the correct release of GCompris? Perhpas my /etc/apt/sources.list isn't pointing at the correct place? (which would be?)

I tried downloading and building the latest source
   sudo apt-get build-dep gcompris
   svn co http://svn.gnome.org/svn/gcompris/trunk gcompris

but hit this error during configure
   checking for python module pysqlite2... no
   configure: error: *** pysqlite2 missing

However, sqlite2 package was not available
   sudo apt-get install python-sqlite2
   E: Couldn't find package python-sqlite2

Revision history for this message
Bruno coudoin (bruno-coudoin) wrote :

Let me clarify. This is not an experimental version of GCompris. Only the activity that requires python numeric is.

Revision history for this message
Tom Pringle (thomas-b-pringle) wrote : Re: [Bug 328917] Re: GCompris core dumps at load time in kubuntu jaunty jackalope (alpha 3)

Hi Bruno,

Sorry for the misunderstanding.

I just wanted to be sure that I'm reporting this problem in the right
place? Or perhaps this should be done by direct email? I don't usually
file bugs on the Internet so I wanted to be sure I'm not breaking some kind
of etiquette?

My son and I are very grateful for GCompris and I'd like to help as much as
I can.

Thanks,
Tom

On Fri, Feb 13, 2009 at 10:41 AM, Bruno coudoin <email address hidden>wrote:

> Let me clarify. This is not an experimental version of GCompris. Only
> the activity that requires python numeric is.
>
> --
> GCompris core dumps at load time in kubuntu jaunty jackalope (alpha 3)
> https://bugs.launchpad.net/bugs/328917
> You received this bug notification because you are a direct subscriber
> of the bug.
>
> Status in "gcompris" source package in Ubuntu: New
>
> Bug description:
> I installed GCompris with this command line:
> >sudo apt-get install gcompris
>
> When I first tried to run GCompris from the "K" menu it started to launch
> but then exited silently.
>
> I then ran GCompris with this command line:
> >gcompris
>
> which generated this error:
> >Exception exceptions.ImportError: 'No module named Numeric'
> >in 'garbage collection' ignored
> >Fatal Python error: unexpected exception during garbage collection
> >Aborted (core dumped)
>
> digging through the python code I found this file that used the module
> "Numeric"
> /usr/share/gcompris/python/DTW/dtw.py
>
> !explicitly installing the python-numeric package resolved the problem!
> >sudo apt-get install python-numeric
>
> I presume the package manager should have detected this dependency
> automatically when I originally installed GCompris
>
>
> More system details:
>
> 1) The release of Ubuntu you are using, via 'lsb_release -rd' or System ->
> About Ubuntu.
> > lsb_release -rd
> >Description: Ubuntu jaunty (development branch)
> >Release: 9.04
>
> 2) The version of the package you are using, via 'apt-cache policy
> packagename' or by checking in Synaptic.
> >apt-cache policy gcompris
> >gcompris:
> > Installed: 8.4.4-1.1ubuntu2
> > Candidate: 8.4.4-1.1ubuntu2
> > Version table:
> > *** 8.4.4-1.1ubuntu2 0
> > 500 http://us.archive.ubuntu.com jaunty/main Packages
> > 100 /var/lib/dpkg/status
>

Revision history for this message
LaserJock (laserjock) wrote :

No, this was just fine. Thanks for reporting the bug! I wasn't aware of that problem. Thanks aso Bruno, for the heads up on updates, I'll see what I can do.

Revision history for this message
Bruno coudoin (bruno-coudoin) wrote : Re: [Bug 328917] Re: GCompris core dumps at load time in kubuntu jaunty jackalope (alpha 3)

Le vendredi 13 février 2009 à 17:17 +0000, Tom Pringle a écrit :
> Hi Bruno,
>
> Sorry for the misunderstanding.
>
> I just wanted to be sure that I'm reporting this problem in the right
> place? Or perhaps this should be done by direct email? I don't usually
> file bugs on the Internet so I wanted to be sure I'm not breaking some kind
> of etiquette?
>
> My son and I are very grateful for GCompris and I'd like to help as much as
> I can.

Sure, no problem, yes you did it perfectly.

Revision history for this message
Alethea Mack (halow8888) wrote :

Still happening in Ubuntu 9.04 alpha 6. Perhaps this should have python-numeric as a dependency? Or is Jaunty going to get the latest version of Gcompris that just came out earlier this month?

Revision history for this message
Bruno coudoin (bruno-coudoin) wrote :

Please update to 8.4.11 this problem is solved.

Revision history for this message
Alethea Mack (halow8888) wrote :

While I don't have a problem doing so, and even compiled the latest version in my Intrepid install, that version simply isn't in the Ubuntu repositories. It doesn't make sense that it should be broken on install.

Revision history for this message
Tom Pringle (thomas-b-pringle) wrote :

I just tried install Gcompris from a fresh Alpha6 install and the problem remains.

Unfortunately, I'm now having difficulty building Gcompris from source so it would be really nice if someone could update the binary package that is downloaded when a user types: 'apt-get install Gcompris'

Should I do something else to help resolved this?

Tom

Revision history for this message
Troy Ready (troyready) wrote :

This is still present in the Jaunty beta. Installed gcompris, and it core dumps on load. Installing python-numeric fixes the issue.

I imagine it's too late for a new package to be uploaded -- I think the dependency needs to be marked.

Revision history for this message
Tim Richardson (tim-richardson) wrote :

Still in RC1.

Revision history for this message
Will Taygan (william-taygan) wrote :

Same bug in Jaunty Release, installing python-numeric is a workaround. Seems there's an upstream fix, it's just not in the repositories:

exec_prefix NULL
XF86VidMode: Compiled with XF86VidMode.
If you have problems starting GCompris in fullscreen, try the -x option to disable XF86VidMode.

** (process:10561): WARNING **: Binary relocation disabled
package_data_dir = /usr/share/gcompris/boards
package_locale_dir = /usr/share/locale
package_plugin_dir = /usr/lib/gcompris
package_python_plugin_dir= /usr/share/gcompris/python
Infos:
   Config dir '/home/taygan/.config/gcompris'
   Users dir '/home/taygan/My GCompris'
   Database '/home/taygan/.config/gcompris/gcompris_sqlite.db'
Exception ImportError: 'No module named Numeric' in 'garbage collection' ignored
Fatal Python error: unexpected exception during garbage collection
Aborted

Revision history for this message
Istvan Botka (boti) wrote :

I've been upgraded from Intrepid to Jaunty just now. Gcompris was broken after upgrade. with same error. The installing python-numeric worked for me also. I'm think this can be fix adding the python-numeric to the dependency list of gcompris package.

Revision history for this message
LaserJock (laserjock) wrote :

Are you running a particular game when it crashes? I'm unable to reproduce the crashing, at least when using Gnome. Gcompris works fine but if I go to /usr/share/gcompris/python/, open a python shell and run from DWT import dwt I get:
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "DTW/dtw.py", line 25, in <module>
    from Numeric import *
ImportError: No module named Numeric

So while I can see there is an issue here, I'm not able to get gcompris to crash because of it. Has everybody who has experienced this been running KDE?

I haven't fixed this bug by simply adding the python-numeric dependency because python-numeric is in the Universe repository and so gcompris is forbidden to depend on it. I was hoping that Debian would get a newer version of gcompris soon enough for me to fix it that way but in the end I didn't have time.

If people can get a reproducible crash here I think we might be able to patch gcompris to use python-numpy (Numeric's successor) which is in Main.

Revision history for this message
Bruno coudoin (bruno-coudoin) wrote :

Le samedi 02 mai 2009 à 21:26 +0000, Jordan Mantha a écrit :
> Are you running a particular game when it crashes?
> I'm unable to reproduce the crashing, at least when using Gnome.

I have reproduced it. Just install a fresh Jaunty, then GCompris and it
crashes at startup.

> Gcompris works fine but if I go to /usr/share/gcompris/python/, open a python shell and run from DWT import dwt I get:
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> File "DTW/dtw.py", line 25, in <module>
> from Numeric import *
> ImportError: No module named Numeric

Yes this is the root cause. Sadly, the activity
requiring DTW is experimental in this version of GCompris and has been
removed in newer releases. Thus the patch is to remove the *tutor*
activities (the xml activity menus and the python code) and DTW.

By the way, it is probably easier to package the latest release because
there has been numerous bug fix and a few major improvements.

Revision history for this message
LaserJock (laserjock) wrote :

Well, I tried in a relatively fresh Jaunty VM and still can't get gcompris to crash. I couldn't find the specific activity that DTW was used , everything I tried worked.

We can't put a whole new version of Gcompris into Jaunty, but we can certainly either remove activities that have a problem or perhaps get python-numpy working.

Revision history for this message
LaserJock (laserjock) wrote :

Some more info, I had a few people try it and 2 people got the crash and 2 people didn't. I have no idea what's going on.

Revision history for this message
Marc Gariépy (mgariepy) wrote :

I am also affected by this issue, installing python-numeric sure "patch" the problem but i think we should need to install a package of universe to launch a program from main.

If it could help, i installed my system for netinstall, selected ubuntu-desktop then install gcompris.

Revision history for this message
Bernard Decock (decockbernard) wrote :

I encountered the same problem :

----------
bedc@VM-Ubuntu-Bedc:~$ gcompris
exec_prefix NULL
XF86VidMode: Compiled with XF86VidMode.
If you have problems starting GCompris in fullscreen, try the -x option to disable XF86VidMode.

** (process:5212): WARNING **: Binary relocation disabled
package_data_dir = /usr/share/gcompris/boards
package_locale_dir = /usr/share/locale
package_plugin_dir = /usr/lib/gcompris
package_python_plugin_dir= /usr/share/gcompris/python
Infos:
   Config dir '/home/bedc/.config/gcompris'
   Users dir '/home/bedc/My GCompris'
   Database '/home/bedc/.config/gcompris/gcompris_sqlite.db'
Exception ImportError: 'No module named Numeric' in 'garbage collection' ignored
Fatal Python error: unexpected exception during garbage collection
------------

It's a pity that you have to start GCompris in the terminal to see what actually is happening. I explored the logfiles, but couldn't see anything abnormal.

Installing python-numeric solved my problem. Thank's a lot.

Revision history for this message
Bruno coudoin (bruno-coudoin) wrote :

Le jeudi 18 juin 2009 à 06:57 +0000, Bernard Decock a écrit :
> It's a pity that you have to start GCompris in
> the terminal to see what actually is happening.
> I explored the logfiles, but couldn't see anything
> abnormal.
>
> Installing python-numeric solved my problem. Thank's a lot.
>

I fully agree with you. It's a pity and a total disrespect for our work
from Ubuntu. There are several ways to solve this issue and they are all
in the hands of Ubuntu for too long now.

Having say that, I use Ubuntu and love this distribution ...

--
Bruno Coudoin
http://gcompris.net Free educational software for kids
http://toulibre.org Logiciel Libre à Toulouse
http://april.org Promouvoir et défendre le Logiciel Libre

Revision history for this message
Tim Richardson (tim-richardson) wrote : Re: [Bug 328917] Re: GCompris core dumps at load time in kubuntu jaunty jackalope (alpha 3)

I suppose we should take the beta testing phase of abound more seriously
------Original Message------
From: Bruno coudoin
Sender: <email address hidden>
To: Tim Richardson
ReplyTo: Bug 328917
Subject: Re: [Bug 328917] Re: GCompris core dumps at load time in kubuntu jaunty jackalope (alpha 3)
Sent: 19 Jun 2009 07:18

Le jeudi 18 juin 2009 à 06:57 +0000, Bernard Decock a écrit :
> It's a pity that you have to start GCompris in
> the terminal to see what actually is happening.
> I explored the logfiles, but couldn't see anything
> abnormal.
>
> Installing python-numeric solved my problem. Thank's a lot.
>

I fully agree with you. It's a pity and a total disrespect for our work
from Ubuntu. There are several ways to solve this issue and they are all
in the hands of Ubuntu for too long now.

Having say that, I use Ubuntu and love this distribution ...

--
Bruno Coudoin
http://gcompris.net Free educational software for kids
http://toulibre.org Logiciel Libre à Toulouse
http://april.org Promouvoir et défendre le Logiciel Libre

--
GCompris core dumps at load time in kubuntu jaunty jackalope (alpha 3)
https://bugs.launchpad.net/bugs/328917
You received this bug notification because you are a direct subscriber
of the bug.

Sent via BlackBerry® from Vodafone

Revision history for this message
Tim Richardson (tim-richardson) wrote :

Beta testing phase of ubuntu I meant
------Original Message------
From: Bruno coudoin
Sender: <email address hidden>
To: Tim Richardson
ReplyTo: Bug 328917
Subject: Re: [Bug 328917] Re: GCompris core dumps at load time in kubuntu jaunty jackalope (alpha 3)
Sent: 19 Jun 2009 07:18

Le jeudi 18 juin 2009 à 06:57 +0000, Bernard Decock a écrit :
> It's a pity that you have to start GCompris in
> the terminal to see what actually is happening.
> I explored the logfiles, but couldn't see anything
> abnormal.
>
> Installing python-numeric solved my problem. Thank's a lot.
>

I fully agree with you. It's a pity and a total disrespect for our work
from Ubuntu. There are several ways to solve this issue and they are all
in the hands of Ubuntu for too long now.

Having say that, I use Ubuntu and love this distribution ...

--
Bruno Coudoin
http://gcompris.net Free educational software for kids
http://toulibre.org Logiciel Libre à Toulouse
http://april.org Promouvoir et défendre le Logiciel Libre

--
GCompris core dumps at load time in kubuntu jaunty jackalope (alpha 3)
https://bugs.launchpad.net/bugs/328917
You received this bug notification because you are a direct subscriber
of the bug.

Sent via BlackBerry® from Vodafone

Revision history for this message
Helen Hicks (hhicks) wrote :

This week I installed xubuntu (jaunty) on my old PB WinMe laptop and then used the application adding window interface to add gcompris and the edubuntu primary package.

All the primary packages I have tried have started and worked fine (TuxPaint, TuxMath, TuxType, Marble) but gcompris and gcompris config fail to start.

Looking for this problem in user forums and bug lists I have seen that circa 2006 gcompris start up failures were due to the screen resize operation, but no solutions or workarounds are then provided in response to the bugs.

The description of this python-numeric related problem from this year sounds very much like the problem I have had this week and I will go home and see which of these 2 errors (screenres or python) my installation is experiencing. I'll let you know how I get on.

Revision history for this message
Helen Hicks (hhicks) wrote :

I can confirm that on reviewing the failure error at gcompris launch, it was due to the lack of python-numeric in the version of gcompris downloaded last week. I downloaded the missing dependancy and gcompris works fine now.

Revision history for this message
LaserJock (laserjock) wrote :

This is a very frustrating bug but we're not able to fix the bug properly in Jaunty because python-numeric is in the Universe component of the archive and gcompris is in Main. This means that I can't just introduce the dependency into jaunty-updates. This has been fixed in Karmic so I'm marking it Fix Released. One thing we can try to do is request a backport of 8.4.12 to jaunty-backports. https://help.ubuntu.com/community/UbuntuBackports has info on requesting that.

Changed in gcompris (Ubuntu):
status: New → Fix Released
Revision history for this message
nur alim (patiadji) wrote :

it's good for my childs

Changed in gcompris (Ubuntu):
assignee: nobody → nur alim (patiadji)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.