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

Tomeu Vizoso tomeu at sugarlabs.org
Sun Jun 21 09:32:53 EDT 2009


On Sun, Jun 21, 2009 at 15:31, Walter Bender<walter.bender at 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 same error again ;)

Regards,

Tomeu

> -walter
>
> On Sun, Jun 21, 2009 at 9:27 AM, chirag jain<chiragjain1989 at gmail.com> wrote:
>> 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 by displaying the
>> icon for about 1 minute but the again returns to the panel. Then I go
>> to the log activity to see the logs and I have pastebined that :
>>
>> http://pastebin.be/19307
>>
>> If you or anybody else has any idea then please help me out.
>>
>> Thanks
>>
>> Chirag
>>
>> On 6/21/09, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:
>>> On Sun, Jun 21, 2009 at 13:00, chirag jain<chiragjain1989 at 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 names, but actually itcontains all the file names to be
>>>> included in the package. When it tries to fix the Manifest then it
>>>> shows that manifest already exists.
>>>
>>> And what happens if you remove the MANIFEST file and call python
>>> setup.py dist_xo?
>>>
>>> Thanks,
>>>
>>> Tomeu
>>>
>>>> I also tried the ./setup.py command which only creates a xo archive.
>>>> when I unzip it in the /home/olpc/Activities folder, an icon comes in
>>>> the panel but when I click the icon, it tries to load by showing the
>>>> icon for a few seconds and then again returns to the main panel.
>>>>
>>>> Please tell me how to rectify it??
>>>>
>>>> Thanks and Regards
>>>>
>>>> Chirag
>>>>
>>>> On 6/21/09, Tomeu Vizoso <tomeu at sugarlabs.org> wrote:
>>>>> On Sun, Jun 21, 2009 at 08:48, chirag jain<chiragjain1989 at 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 have converted the activity into
>>>>>> a game in which the user has to spell words of difficulty according to
>>>>>> his skill level in a given amount of time. The activity keeps track of
>>>>>> previous best scores. ------------ successfull
>>>>>>
>>>>>> 3. The activity can speak in different voices as supported by
>>>>>> espeak------- successfull
>>>>>>
>>>>>> 4. The user can practice as many words as he wants.
>>>>>>
>>>>>> 5. Now the point comes when I have to make its XO package. I have
>>>>>> tried and followed each and every step given in the url:
>>>>>>
>>>>>> http://wiki.laptop.org/go/Activity_tutorial
>>>>>>
>>>>>> I created a MANIFEST file using the script:
>>>>>>
>>>>>> find . -type f | sed 's,^./,,g' > MANIFEST
>>>>>>
>>>>>> Now when I tried to make a XO package, using the script:
>>>>>>
>>>>>> ./setup.py dist_xo
>>>>>>
>>>>>> This gives me a xo package of size 0 bytes in the dist folder. Also
>>>>>> this logs some errors where the last error it displays is "ASSERTION
>>>>>> error". I am not able to figure it out.
>>>>>
>>>>> Could you please paste the exact errors you get?
>>>>>
>>>>> Thanks,
>>>>>
>>>>> Tomeu
>>>>>
>>>>>> Please note that I am trying to make this xo package on my XO laptop
>>>>>> which I have flashed with gg-767-4.img.
>>>>>>
>>>>>> I request you to download the updated code from:
>>>>>>
>>>>>> http://listen-spell.googlecode.com/files/ListenSpell.activity.zip
>>>>>>
>>>>>> If something is lacking in my code then please do tell me.
>>>>>>
>>>>>> Thanks & Regards
>>>>>>
>>>>>> --
>>>>>> Chirag Jain
>>>>>>
>>>>>> Undergraduate Student
>>>>>> Netaji Subash Institute of Technology
>>>>>> New Delhi
>>>>>> _______________________________________________
>>>>>> Sugar-devel mailing list
>>>>>> Sugar-devel at lists.sugarlabs.org
>>>>>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>>>>>
>>>>>
>>>>
>>>>
>>>> --
>>>> Chirag Jain
>>>>
>>>> Undergraduate Student
>>>> Netaji Subash Institute of Technology
>>>> New Delhi
>>>>
>>>
>>
>>
>> --
>> Chirag Jain
>>
>> Undergraduate Student
>> Netaji Subash Institute of Technology
>> New Delhi
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>>
>
>
>
> --
> Walter Bender
> Sugar Labs
> http://www.sugarlabs.org
>


More information about the Sugar-devel mailing list