sugarlabs / sugar

Sugar GTK shell
GNU General Public License v3.0
252 stars 240 forks source link

Local .xo activity can't be added #970

Open k4th4 opened 10 months ago

k4th4 commented 10 months ago

When I click on the local .xo file in the browser activity (downloaded with Lubuntu), it says download, the downward arrow slowly fills. But then nothing changed. The full activity list is still the same. Is there a video tutorial somewhere. Maybe I make a stupid mistake.

k4th4 commented 10 months ago

PXL_20230820_154922811 This is how it looks

quozl commented 10 months ago

Thanks, interesting. Use the Log activity to look at the Browse or Sugar log to find what went wrong. https://help.sugarlabs.org/en/log.html has some instruction.

What version of Sugar, on top of what operating system? A reason I ask is that Sugar is being distributed by operating systems without support for Python 2 activities, in turn because the Python Foundation has withdrawn support for Python 2 in favour of Pyhon 3. gcompris-18.xo is from our Python 2 activity library, and was released in 2012. On the other hand, it does not use Python 2, but does embed a 32-bit compiled program from about the same vintage, which will fail on a 64-bit operating system.

You might try GCompris-21 from http://people.sugarlabs.org/~quozl/GCompris-21.xo released in 2019. (Source code and instructions at https://github.com/sugarlabs/gcompris-wrapper-activity). If you are using Lubuntu 22.04 you might start a Terminal, type sudo apt install gcompris-qt, then start it by typing gcompris-qt, or run the GCompris-21 activity.

k4th4 commented 10 months ago

You might try GCompris-21 from http://people.sugarlabs.org/~quozl/GCompris-21.xo released in 2019. (Source code and instructions at https://github.com/sugarlabs/gcompris-wrapper-activity). If you are using Lubuntu 22.04 you might start a Terminal, type sudo apt install gcompris-qt, then start it by typing gcompris-qt, or run the GCompris-21 activity.

this worked, but I can only start it in the terminal. it doesn't show up in the app list.

PXL_20230821_054950572 MP

quozl commented 10 months ago

That's odd. The GCompris-21.xo bundle should have added the activity to Sugar. I'll wait for your answer to my other questions.