sugarlabs / sugar

Sugar GTK shell
GNU General Public License v3.0
255 stars 241 forks source link

most activities "failed to start" #990

Open chriistoph opened 1 week ago

chriistoph commented 1 week ago

Hello,

on my fedora 40 python class live usb stick I have running "sugar desktop environment" v0.121 . Most of the activities arent working at all and get stuck in startup with screen message "[name of activity] failed to start" . I tried to get older version of fedora and or sugar but that didnt worked for me.

Can someone give me guidance or any help how to solve this issue?

Many thanks in advance, Christoph

chimosky commented 1 week ago

Could you paste the logs from ~/.sugar/default/logs/*.log?

Most of the activities in f40 had failed to build from source, this is probably a result of that.

chriistoph commented 6 days ago

Thank you @chimosky I appreaciate your help!

sugar_logs.zip

Nice regards, Christoph

chimosky commented 6 days ago

Could you just paste the errors here?

On Wed, Sep 18, 2024, 20:55 chriistoph @.***> wrote:

Thank you @chimosky https://github.com/chimosky I appreaciate your help!

sugar_logs.zip https://github.com/user-attachments/files/17049572/sugar_logs.zip sugar_logs.zip https://github.com/user-attachments/files/17049572/sugar_logs.zip sugar_logs.zip https://github.com/user-attachments/files/17049572/sugar_logs.zip

here is my onedrive link from the zipped .log files https://1drv.ms/u/s!AopV7JbJ5IBSg-MBHyUwvNXp1iwLfg?e=o4CDEu

Nice regards, Christoph

— Reply to this email directly, view it on GitHub https://github.com/sugarlabs/sugar/issues/990#issuecomment-2359291506, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD3UAOW3BBHGWKNPQXBRVBLZXHLEBAVCNFSM6AAAAABON5T7LCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNJZGI4TCNJQGY . You are receiving this because you were mentioned.Message ID: @.***>

chriistoph commented 6 days ago

Apparently there are no errors I can see. Its loading until message e.g.

"Letter Match failed to to start"

and the log file is empty. You can see in the zipped .log files , most of them doesnt give me some information.

Can you recommend some fedora version where most activities are working fine?

quozl commented 5 days ago

In your logs, Terminal failed to start due to changes in Python ConfigParser. Shell logs show you downloaded and installed many activity bundles, some of which I know won't work because they have not been maintained and are only compatible with very old releases of Sugar from about ten years ago. There was also a reference to 0sugar/launch, something that is quite incompatible and hasn't been used for about 15 years. Tell us what method you used to choose activity bundles for download? Thanks!

chriistoph commented 5 days ago

Most of the activities are downloaded from https://activities.sugarlabs.org/en-US/sugar/

Later I discovered some default defined webpage in the sugar browser, where less activities were listed. https://v4.activities.sugarlabs.org most of them worked, but sad most of the desired ones prev discovered arent listed.

quozl commented 5 days ago

Okay, thanks. Don't use https://activities.sugarlabs.org/en-US/sugar/ as these are Python 2 activities for older vintage releases. https://v4.activities.sugarlabs.org/ are those currently working. Yes, it is sad, but the effort needed is more than the resources available.

chriistoph commented 5 days ago

So there is no way to use older versions of sugar and fedora ?

quozl commented 5 days ago

You can use old fedora with old sugar, but incompatibilities arise, and security vulnerabilities are not fixed. The most recent Python 2 and 3 mixed build was OLPC OS based on Ubuntu 20.04. https://wiki.laptop.org/go/20.04.0

chriistoph commented 5 days ago

Okay, thank you very much . Can you also show how / where to download older 0.117 sugar versions ?

chimosky commented 5 days ago

Fedora archives contain images from F25, that's older than 0.117 - that should be F32 -.

chriistoph commented 5 days ago

I accomplished your suggestion with olpc-os-20.04.0-1587711417.iso and its running with sugar 0.117. Anyway, I tried to change some random activity "Calendar 6" https://activities.sugarlabs.org/en-US/sugar/downloads/latest/4360/addon-4360-latest.xo?src=addondetail to show my young ones, how to use some calendar and insert birthday dates. Result of fixxing the errors with old GTK to new GTK3 and some other fixes with ChatGPT help werent successfull.

I know its again not the default OLPC OS 20.04 Activities from the browser http://dev.laptop.org/pub/us/activities/focal/ but there are 5 or 6 activities and not very satisfying.

So as I struggled now some more time again and start to think its not the best easy way to show my young ones computer usage. Do you have any further suggestions or advice?

Many thank in advance and thank you for your already offered help!

walterbender commented 5 days ago

It would be helpful feedback to know what old activities might merit porting to Python 3 and the new sugar toolkit.

chriistoph commented 4 days ago

I got some self created activity game running on python3 and GTK3.0, but the old ubuntu version has some issues and I could not install ubuntu software.

Can someone give me the prefered OS system where I run sugar desktop ? The Fedora 40 was event not stable for the terminal activity. Latest sugar version?

Many thanks, Christoph

quozl commented 4 days ago

I'm not surprised. I've not seen anyone do end to end testing for a while. It's bit rot.

chimosky commented 4 days ago

I got some self created activity game running on python3 and GTK3.0, but the old ubuntu version has some issues and I could not install ubuntu software.

Can someone give me the prefered OS system where I run sugar desktop ? The Fedora 40 was event not stable for the terminal activity. Latest sugar version?

Many thanks, Christoph

For the Calendario activity, I'll make a release later as most of the issues you're facing has already been fixed but a release wasn't made.

Fedora 40 issues weren't fixed and I'm not looking at doing so anytime soon, the issues have been fixed in f41 though.

chriistoph commented 4 days ago

Thank you 💯

chriistoph commented 3 days ago

I created some live usb stick with fedora41-beta, but "Sugar Desktop Environment" is not in the dnf group list anymore. Can someone tell me how to install sugar when

sudo dnf group install "Sugar Desktop Environment"

is not working as expected?

quozl commented 3 days ago

No idea. Perhaps something was changed. I don't know that ever worked though, as our Fedora instructions in the Sugar repository say something different.

chriistoph commented 2 days ago

for dnf5 groupinstall changed to group install, so correct commanmd is now

sudo dnf group install sugar-desktop

Anyway, terminal activity still only works once and afterwards fails to start. I add the .lof file.

I also discovered the missing persistence storage again, so after restart sugar asks everytime the user color theme and the selection about school grade. Persistence storage and creating one user first boot and using this one after reboot again worked already, when using the

sudo dnf group install "Sugar Desktop Environment"

Can you please tell me the fedora version you are using cause its a bit exhausting.

Nice regards, Christoph org.laptop.Log-1.log

chimosky commented 2 days ago

for dnf5 groupinstall changed to group install, so correct commanmd is now

sudo dnf group install sugar-desktop

Anyway, terminal activity still only works once and afterwards fails to start. I add the .lof file.

I also discovered the missing persistence storage again, so after restart sugar asks everytime the user color theme and the selection about school grade. Persistence storage and creating one user first boot and using this one after reboot again worked already, when using the

sudo dnf group install "Sugar Desktop Environment"

Can you please tell me the fedora version you are using cause its a bit exhausting.

Nice regards, Christoph org.laptop.Log-1.log

Yes, the missing persistent storage is a fedora thing because they made sugar on a stick images to only be live After running it the first time, open a terminal and run liveinst, that should start the installation process.

We do have an xdg script that should automatically run when you start Sugar On a Stick for the first time but it doesn't get executed, sorry about the stress.

chriistoph commented 2 days ago

Can you please be more detailed? For what is the liveinst and do I run this command after first setup sugar user (first boot in sugar user).

I tried again, and the "Write Activity" from the prev sent .log file still persisted. So I am confused why its asking for the color and school grade, although write activities stay saved?

It worked with fedora40, only the less activities were the sad thing. Can you tell tell me some fedora version its working better with terminal and still newest python and GTK ? Please! :)

chimosky commented 2 days ago

Can you please be more detailed? For what is the liveinst and do I run this command after first setup sugar user (first boot in sugar user).

liveinst is a command that starts up anaconda, which is the installation program Fedora uses. You can run the command after the first time you run Sugar.

I tried again, and the "Write Activity" from the prev sent .log file still persisted. So I am confused why its asking for the color and school grade, although write activities stay saved?

It worked with fedora40, only the less activities were the sad thing. Can you tell tell me some fedora version its working better with terminal and still newest python and GTK ? Please! :)

Try rawhide SoaS, it should work.

chriistoph commented 2 days ago

Tried Fedora-SoaS-Live-x86_64-Rawhide-20240923.n.0.iso but there is the same terminal issue. First time it starts but if I "STOP" the terminal one time it will not work again and show error "Terminal failed to start" .

Lucky there is again no persistent storage so after reboot the terminal works again, haha.

Perhaps now, I have some .sh shell script to create fedora based live usb with persistent storage. Afterwards I run sudo dnf installgroup "sugar Desktop Environment" and its working with persistent storage and always start within the usere first time created. The problem is

depending on which fedora version I am using, the sugar environment malfunctions here or there :( . So question,

what fedora version should I use to avoid the annouying terminal issue?

Thank you!

chimosky commented 1 day ago

Did you run liveinst from the terminal after running rawhide for the first time?

chriistoph commented 21 hours ago

Setup the usb with rufus and persistent storage FYI. First start terminal ran liveinst

I add the terminal output terminal_after_liveinst.txt

org.laptop.Terminal-1.log

and again terminal stops working after first time.

Thanks for your support!

chimosky commented 17 hours ago

I've tested, and I faced the same issue, so I've made a comment on this ticket tracking the issue.

Thank you for testing this.