[gcompris-devel] api gcompris python

raimundo raimundoguimaraes1 at gmail.com
Tue Aug 7 14:49:46 UTC 2012


I tried to test a created activity ...
used:
cd src
. / Createit.sh python2
make
. / Runit.sh myactivity-activity

but the message in the GUI:
"Coudn't find the menu board, or plugin execution error"

in the terminal:

+ [-Z-python2 activity]
+ Dirname. / Runit.sh
Path + =.
+. python2-activity/init_path.sh
+ Path = python2-activity
+ = Activity python2
+ = Plugindir python2-activity/../boards/.libs
= + Pythonplugindir python2-activity
+ = Resourcedir python2-activity/resources
+ Section = / experimental
= + Menudir python2-activity
+ = Localedir python2-activity/locale
+ [! Python2-activity/locale-f]
Localedir + = / usr / share / locale
+ [! Python2-activity/../boards/.libs-d]
Gcompris + = python2-activity/gcompris.bin
+ [! Python2-activity/gcompris.bin-f]
Gcompris + = python2-activity/bin/gcompris
+ [! Python2-activity/bin/gcompris-f]
Gcompris + = python2-activity/../gcompris/gcompris
+ Python2-activity/../gcompris/gcompris 
python2-activity/../boards/.libs-L-P-activity python2-A-S 
python2-activity/resources python2-activity/../../boards / 
skins-python2-M activity - locale_dir = / usr / local / share / locale-l 
/ experimental/python2 python2-activity
Message **: Binary relocation enabled

** (Process: 6262): WARNING **: exec_prefix / 
home/raimundo/gcompris-12.05/src/gcompris/.libs

= package_data_dir / 
home/raimundo/gcompris-12.05/src/gcompris/share/gcompris/boards
= package_skin_dir / 
home/raimundo/gcompris-12.05/src/gcompris/share/gcompris/boards/skins
= package_menu_dir / 
home/raimundo/gcompris-12.05/src/gcompris/share/gcompris/boards
= package_locale_dir / 
home/raimundo/gcompris-12.05/src/gcompris/share/locale
= package_plugin_dir / 
home/raimundo/gcompris-12.05/src/gcompris/lib/gcompris
= package_python_plugin_dir / 
home/raimundo/gcompris-12.05/src/gcompris/share/gcompris/python
user_dir = / home / raimundo / My GCompris
Overloaded package_data_dir = python2-activity/resources
Overloaded package_skin_dir = python2-activity/../../boards/skins
Overloaded menu_dir python2-activity =
Overloaded package_plugin_dir = python2-activity/../boards/.libs
Overloaded package_python_plugin_dir python2-activity =
Overloaded locale_dir = / usr / local / share / locale
Info:
Config dir '/ home / raimundo / .config / gcompris'
Users dir '/ home / raimundo / My GCompris'
Database '/ home / raimundo / .config / gcompris / gcompris_sqlite.db'

(Lt-gcompris: 6262): Gtk-CRITICAL **: IA__gtk_window_set_type_hint: 
assertion `! Gtk_widget_get_mapped (GTK_WIDGET (window)) 'failed
Traceback (most recent call last):
File "<string>", line 1, in <module>
ImportError: No module named gcompris


what should I do?




More information about the Gcompris-devel mailing list