Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

most activities "failed to start" #990

Open
chriistoph opened this issue Sep 18, 2024 · 27 comments
Open

most activities "failed to start" #990

chriistoph opened this issue Sep 18, 2024 · 27 comments

Comments

@chriistoph
Copy link

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
Copy link
Member

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
Copy link
Author

chriistoph commented Sep 18, 2024

Thank you @chimosky I appreaciate your help!

sugar_logs.zip

Nice regards,
Christoph

@chimosky
Copy link
Member

chimosky commented Sep 19, 2024 via email

@chriistoph
Copy link
Author

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
Copy link
Contributor

quozl commented Sep 19, 2024

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
Copy link
Author

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
Copy link
Contributor

quozl commented Sep 19, 2024

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
Copy link
Author

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

@quozl
Copy link
Contributor

quozl commented Sep 19, 2024

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
Copy link
Author

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

@chimosky
Copy link
Member

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

@chriistoph
Copy link
Author

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
Copy link
Member

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

@chriistoph
Copy link
Author

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
Copy link
Contributor

quozl commented Sep 20, 2024

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

@chimosky
Copy link
Member

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
Copy link
Author

Thank you 💯

@chriistoph
Copy link
Author

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
Copy link
Contributor

quozl commented Sep 22, 2024

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
Copy link
Author

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
Copy link
Member

chimosky commented Sep 23, 2024

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
Copy link
Author

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
Copy link
Member

chimosky commented Sep 23, 2024

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
Copy link
Author

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
Copy link
Member

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

@chriistoph
Copy link
Author

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
Copy link
Member

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants