[Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-23 Thread chirag jain
Hello everyone, The ListenSpell Activity uses two config. files and a SQLite db. After going through the following information: http://wiki.laptop.org/go/Low-level_Activity_API#File Access I changed the path of the config files. So now the activity can easily create and modify them. Please note

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-23 Thread Tomeu Vizoso
On Tue, Jun 23, 2009 at 09:52, chirag jainchiragjain1...@gmail.com wrote: Hello everyone, The ListenSpell Activity uses two config. files and a SQLite db. After going through the following information: http://wiki.laptop.org/go/Low-level_Activity_API#File Access I changed the path of the

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-22 Thread Tomeu Vizoso
Hi Chirag, On Mon, Jun 22, 2009 at 07:31, chirag jainchiragjain1...@gmail.com wrote: As is mentioned in: http://wiki.laptop.org/go/Low-level_Activity_API#File_Access I changed the path of the config file from $HOME to $SUGAR_ACTIVITY_ROOT/data/ But still I am not able to run it. This time

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-22 Thread chirag jain
Tomeu, Thanks for your help. For now atleast the activity runs from the icon. This activity uses SQLite db for words. When I start the activity by clicking the icon, it starts but after few seconds it again exits. The log says: OperationalError: SQL logic error or missing database. I googled

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-22 Thread Tomeu Vizoso
On Mon, Jun 22, 2009 at 11:35, chirag jainchiragjain1...@gmail.com wrote: Tomeu, Thanks for your help. For now atleast the activity runs from the icon. This activity uses SQLite db for words. When I start the activity by clicking the icon, it starts but after few seconds it again exits. The

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-22 Thread chirag jain
Tomeu, Sorry, from now onwards I will always attach the full logs. So according to you, should I set the search path of the db same as that of the config files??? I yes, then I tried the same, the logs are : http://pastebin.be/19328 Chirag On 6/22/09, Tomeu Vizoso to...@sugarlabs.org wrote:

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-22 Thread Tomeu Vizoso
On Mon, Jun 22, 2009 at 12:07, chirag jainchiragjain1...@gmail.com wrote: Tomeu, Sorry, from now onwards I will always attach the full logs. So according to you, should I set the search path of the db same as that of the config files??? Needs to be a place where your process can write. I'm

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-22 Thread James Simmons
Chirag, Your manifest looks like this: dict/dict.sql.zip dict/index.php begin.wav correct.wav dict.db dict.py incorrect.wav las.py ListenSpell.py progress.py There is no dict directory in your Zip file, and the entry for index.php looks wrong. I would not expect to find a .php file in an

[Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread chirag jain
Hi everyone! I am currently developing the ListenSpell Activity. The main points of development are: 1. Integration of gst-plugin-espeak with the activity - successfull 2. Making the activity a fun game. I have converted the activity into a game in which the user has to spell words of

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread Tomeu Vizoso
On Sun, Jun 21, 2009 at 08:48, chirag jainchiragjain1...@gmail.com wrote: Hi everyone! I am currently developing the ListenSpell Activity. The main points of development are: 1. Integration of gst-plugin-espeak with the activity - successfull 2. Making the activity a fun game. I

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread chirag jain
Tomeu, Thanks for replying. I have pstebined the error log that I get after running the ./setup.py dist_xo http://pastebin.be/19303 Although the error log shows that the manifest file does not contains the file names, but actually itcontains all the file names to be included in the package.

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread Tomeu Vizoso
On Sun, Jun 21, 2009 at 13:00, chirag jainchiragjain1...@gmail.com wrote: Tomeu, Thanks for replying. I have pstebined the error log that I get after running the ./setup.py dist_xo http://pastebin.be/19303 Although the error log shows that the manifest file does not contains the file

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread chirag jain
I call the python setup.py dist_xo without MANIFEST. Although I got an XO package which installed correctly but the activity does not run from the icon displayed on the panel after the installation. The icon comes after the restart of the system. On clicking the icon, the activity tries to start

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread Walter Bender
It is a long shot, but I wonder if the problem is the - in the name? Try renaming your bundle org.laptop.:ListenSpellActivity -walter On Sun, Jun 21, 2009 at 9:27 AM, chirag jainchiragjain1...@gmail.com wrote: I call the python setup.py dist_xo without MANIFEST. Although I got an XO package

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread Bert Freudenberg
Hyphens are not allowed in the bundle-id. See http://wiki.laptop.org/go/Activity_bundles#.info_file_format - Bert - On 21.06.2009, at 15:27, chirag jain wrote: I call the python setup.py dist_xo without MANIFEST. Although I got an XO package which installed correctly but the activity does

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread Tomeu Vizoso
On Sun, Jun 21, 2009 at 15:31, Walter Benderwalter.ben...@gmail.com wrote: It is a long shot, but I wonder if the problem is the - in the name? Try renaming your bundle org.laptop.:ListenSpellActivity The logs suggests what Walter says, but don't include that : in the name or you will get the

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread Walter Bender
Yes. The : was a typo :) -walter On Sun, Jun 21, 2009 at 9:32 AM, Tomeu Vizosoto...@sugarlabs.org wrote: On Sun, Jun 21, 2009 at 15:31, Walter Benderwalter.ben...@gmail.com wrote: It is a long shot, but I wonder if the problem is the - in the name? Try renaming your bundle

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread chirag jain
Hi, Thanks for your reply. I changed my bundle_id to org.laptop.ListenSpellActivity The new XO package is still not running although it gets installed correctly. But this time the errors in the log are changed. I think that the previous error has been fixed by changing the name. But this time

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread Tomeu Vizoso
On Sun, Jun 21, 2009 at 19:59, chirag jainchiragjain1...@gmail.com wrote: Hi, Thanks for your reply. I changed my bundle_id to org.laptop.ListenSpellActivity The new XO package is still not running although it gets installed correctly. But this time the errors in the log are changed. I

Re: [Sugar-devel] Not able to make xo package of ListenSpellActivity

2009-06-21 Thread chirag jain
As is mentioned in: http://wiki.laptop.org/go/Low-level_Activity_API#File_Access I changed the path of the config file from $HOME to $SUGAR_ACTIVITY_ROOT/data/ But still I am not able to run it. This time the logs are: http://pastebin.be/19321 Here is a code snippet: http://pastebin.be/19322