[Sugar-devel] Tuxmath on 0.96+ mystery

lionel at olpc-france.org lionel at olpc-france.org
Thu Mar 28 17:12:43 EDT 2013


 

> Don't have sense that works if you patch after install and not if already
patched.

> The log says anything? and the shell.log?

 

I know it don’t have sense. It’s why I’ve already spent hours on this
problem


I’ve worked again on it today. Here some other information:

 

As I said, the working way to proceed is:

1) Download the latest-version form the Sugar App Store

2) Install it/launch it. An error occurs: bundle malformed

3) Patch the activity.info

4) Launch again, it works.

 

When the activity.info is patched before installing, it not works.

The error in log is:

 

Traceback (most recent call last):

File "/usr/bin/sugar-activity", line 154, in <module>

   main()

File "/usr/bin/sugar-activity", line 110, in main

   class_name = splitted_module[1]

IndexError: list index out of range

Exited with status 1, pid 933 data (None, <open file '<fdopen>', mode 'w' at
0x9bc7e90>, '1bb1deaed1d6647ac6dfadf3e6dafaf8676cd71a')

 

Today, I’ve tried another way to patch the app.

1) Put the latest version on an USB Key

2) Install it without launch using the “sugar-install-bundle” command line

3) Patch the activity.info

4) Launch the app, it don’t work: the error is pretty the same:

 

Traceback (most recent call last):

File "/usr/bin/sugar-activity", line 154, in <module>

   main()

File "/usr/bin/sugar-activity", line 110, in main

   class_name = splitted_module[1]

IndexError: list index out of range

Exited with status 1, pid 748 data (None, <open file '<fdopen>', mode 'w' at
0x9ab85a0>, dbus.ByteArray('e4a32a21d20c60809a3c9adbaac8f4b104eb8571',
variant_level=1))

 

It’s like at first launch “something” was “built” when the bundle is mal
formed but not when the bundle is okay.

It’s strange but it’s like this :-(

 

Another bad news (I must confirm) is that the same problem seems to occur on
GCompris.

 

                Lionel.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.sugarlabs.org/archive/sugar-devel/attachments/20130328/b8321234/attachment.html>


More information about the Sugar-devel mailing list