[gcompris-devel] Cannot start a new python activity

s.granjeaud at free.fr s.granjeaud at free.fr
Sun Jan 20 20:13:38 UTC 2013


Hi,

I am stucked on an error while starting a python acitivty from template:
Couldn't find the board menu, or plugin execution error

It looks like runit.sh does not recognize something. The error seems to impact every python activity. Here is the debug of the sudoku python activity. I guess it should have run normally as it runs with the standard gcompris.

I am running ScientificLinux 6.3 (CentOS like). I downloaded the lastest source (12.11). I think I may have forgotten a dependancy. Hope someone could help me.

Best reagrds,
Samuel


[gc-dvp at sam src]$ ./runit.sh sudoku-activity -wmcD
<< sudoku-activity/../gcompris/gcompris -L sudoku-activity/../boards/.libs     -P sudoku-activity     -A sudoku-activity/resources     -S sudoku-activity/../../boards/skins     -M sudoku-activity     --locale_dir=/usr/local/share/locale     -l /puzzle/sudoku sudoku-activity -wmcD >>
exec_prefix              = /home/gc-dvp/gcompris-12.11/src/gcompris/.libs
package_data_dir         = /home/gc-dvp/gcompris-12.11/src/gcompris/share/gcompris/boards
package_skin_dir         = /home/gc-dvp/gcompris-12.11/src/gcompris/share/gcompris/boards/skins
package_menu_dir         = /home/gc-dvp/gcompris-12.11/src/gcompris/share/gcompris/boards
package_locale_dir       = /home/gc-dvp/gcompris-12.11/src/gcompris/share/locale
package_plugin_dir       = /home/gc-dvp/gcompris-12.11/src/gcompris/lib/gcompris
package_python_plugin_dir= /home/gc-dvp/gcompris-12.11/src/gcompris/share/gcompris/python
user_dir                 = /home/gc-dvp/My GCompris
gcompris: gc_locale_set 'en_US.UTF-8'


gcompris: Sound disabled

gcompris: Default system cursor enabled

Overloaded package_data_dir          = sudoku-activity/resources
Overloaded package_skin_dir          = sudoku-activity/../../boards/skins
Overloaded menu_dir                  = sudoku-activity
Overloaded package_plugin_dir        = sudoku-activity/../boards/.libs
Overloaded package_python_plugin_dir = sudoku-activity
Overloaded locale_dir                = /usr/local/share/locale
gcompris: Using menu /puzzle/sudoku as root.

Infos:
   Config dir '/home/gc-dvp/.config/gcompris'
   Users dir '/home/gc-dvp/My GCompris'
   Database '/home/gc-dvp/.config/gcompris/gcompris_sqlite.db'
gcompris: Couldn't open music dir: sudoku-activity/resources/music/background

gcompris: absolute_filename '/home/gc-dvp/gcompris-12.11/src/gcompris/share/pixmaps/gcompris.png' NOT FOUND


gcompris: Failed to find icon file: 'gcompris.png'

gcompris: The screen_width=800.000000 screen_height=520.000000 ratio=1.000000


gcompris: Status=


gcompris: gcompris window is now mapped

gcompris: No user, getting one from system.

gcompris: opened module sudoku-activity/../boards/.libs/libpython.so with name python


gcompris: Executing import sys; sys.path.append('sudoku-activity')


Traceback (most recent call last):
  File "<string>", line 1, in <module>
ImportError: No module named gcompris
gcompris: ! Python disabled: Cannot import gcompris modules


gcompris: We found a plugin with the name sudoku but is_our_board() returned FALSE (type=python:sudoku)


gcompris: No plugin library found for board type 'python:sudoku', requested by 'sudoku-activity/sudoku.xml'

gcompris: Dialog=Couldn't find the board menu, or plugin execution error


gcompris: No boards to pause ?

gcompris: gcompris window is now mapped

gcompris: No boards to pause ?

gcompris: gc_sound_fx_close

gcompris: gc_sound_fx_close done

[gc-dvp at sam src]$ 




More information about the Gcompris-devel mailing list