[gcompris-devel] new python gcompris activity problem
Bruno Coudoin
bruno.coudoin at free.fr
Wed Apr 28 17:42:36 UTC 2010
Le mercredi 28 avril 2010 à 15:35 +0000, Fionn Ziegler a écrit :
> Hello GC guys,
> firstly thanks for your great work on gcompris. I'm using it every day in my
> class with disabled childrens.
Good news.
> I have some ideas for new activities so I tried creating a test activity
> following your tutorial in the developers corner. I am a Java developer, so
> I am new to C++/Python.
Please don't hesitate to share your idea with us. If you succeed and you
want, I'll be glad to integrate your work.
> I copied the activity folder, changed the files (configure.ac,
> src/Makefile.am,
> myactivity-activity/pythontest.xml+.in/init_path.sh/pofiles). When I
> try to start the activity with "sh runit.sh
> myactivity-activity" I get this error: "Couldn't find the board menu
> experimental/myactivity-activity or plugin execution error".
> I figured out, that the board xml files aren't created. But why?
> Any ideas? Need more info?
Hum, you have to take care that the type in the file myactivity.xml
(type="python:myactivity") matches the name of the python class (class
Gcompris_myactivity)
For the .xml file to be created, you need to add it in the configure.ac
and rerun an autogen.sh. Then each change in your .xml.in you go in
the .xml after each 'make' command.
You are getting close. While you are at it, it would help is you can
update the wiki with better instructions, do you want an account ?
--
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
More information about the Gcompris-devel
mailing list