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

Not able to login in Sugar Environment on ubuntu 18.04 #938

Open
aditya113141 opened this issue Jan 22, 2021 · 15 comments
Open

Not able to login in Sugar Environment on ubuntu 18.04 #938

aditya113141 opened this issue Jan 22, 2021 · 15 comments

Comments

@aditya113141
Copy link

I installed Sugar according to the instructions provided here:- https://github.com/sugarlabs/sugar/blob/master/docs/ubuntu.md

It ran well on my pc initially but now When I try to login to the environment, I get redirected to the login window as shown in the video.

https://drive.google.com/file/d/1jNgNx3jse7GsHwiypEHVltFWc5FSheHE/view?usp=sharing

@srevinsaju
Copy link
Member

srevinsaju commented Jan 22, 2021

We request you to not use google drive to post your Videos. GitHub now natively supports sharing Videos. Many of Sugar Maintainers do not use Google Drive and your issue is likely to go unattended. Thanks

@quozl
Copy link
Contributor

quozl commented Jan 22, 2021

You were not redirected. What you see is Sugar failing to start, and the greeter recognising that the desktop environment did not start.

Possibilities are too many. Need more focus.

Which release of Ubuntu?

What is the contents of the file .sugar/default/logs/shell.log?

@srevinsaju
Copy link
Member

Which release of Ubuntu?

Ubuntu 18.04 Bionic, but mentioned in the Issue title only.

@quozl
Copy link
Contributor

quozl commented Jan 22, 2021

Thanks, I missed that. According to my earlier tests it did work once upon a time. Presumably the root causes are changes to dependencies made by unattended upgrades, or a difference in instructions followed. Still too many possibilities; we need the shell.log file.

@aditya113141, why are you using Ubuntu 18.04? It is quite old now.

@ThomasJRyan
Copy link

Sorry to bring up something so old, but I'm also having the same issue, only instead of Ubuntu this is happening with both a fresh install of Fedora 35 and a Sugar on a Stick USB.

I tried looking for the shell.log at .sugar/default/logs/shell.log but it doesn't exist. The only thing I could find was .sugar/default/debug.

If you can direct me to where I can find more information I would be happy to provide it

@ThomasJRyan
Copy link

Apologies for the double post. But after looking around I found that the decorator package in python wasn't being installed. I was able to resolve this issue by running

python3 -m pip install decorator

@aperezbios
Copy link
Contributor

@ThomasJRyan thank you for the report. We appreciate it. I'm able to replicate it. It sounds like a missing dependency. We'll work on fixing it, and, for the time being, documenting it. Presumably, you installed it via the console CLI?

@aperezbios
Copy link
Contributor

The Fedora-packaged version of the 'decorator' python3 package is named python3-decorator, and can be installed by pressing ctrl-alt-F2, logging in as 'liveuser' (there's no password), and then running 'dnf install -y python3-decorator'

@chimosky , when you have a moment, we need to fix the F35 Sugar (GTK3?) package, to explicitly add python3-decorator as a dependency.

@quozl
Copy link
Contributor

quozl commented Dec 16, 2021 via email

@chimosky
Copy link
Member

Apologies for the double post. But after looking around I found that the decorator package in python wasn't being installed. I was able to resolve this issue by running

python3 -m pip install decorator

Thanks for reporting this, can you share your process of looking around?

@ThomasJRyan
Copy link

Apologies for the double post. But after looking around I found that the decorator package in python wasn't being installed. I was able to resolve this issue by running

python3 -m pip install decorator

Thanks for reporting this, can you share your process of looking around?

It wasn't anything special or exciting. After being unable to load into the DE I dropped into the shell instead using the method @aperezbios mentioned. On a whim I tried just running sugar and the error popped up. So I tried installing the missing package and it fixed my issues

@chimosky
Copy link
Member

@chimosky , when you have a moment, we need to fix the F35 Sugar (GTK3?) package, to explicitly add python3-decorator as a dependency.

Done.

I'll still test why the problem is with python3-decorator as I don't see why that should've been a problem.

@chimosky
Copy link
Member

It wasn't anything special or exciting. After being unable to load into the DE I dropped into the shell instead using the method @aperezbios mentioned. On a whim I tried just running sugar and the error popped up. So I tried installing the missing package and it fixed my issues

Thanks, been having issues with switching to cli with that shortcut, don't know if that's a problem with F34 as I've been having some issues since upgrading.

@ThomasJRyan
Copy link

I suspect there might be another issue with downloading XO apps from "Browse" that could potentially be related to this, as when I tried last night nothing would install.

I say it might be related because it has the same sort of error where it starts and then abruptly stops, so there could be another dependency issue someone floating around.

@aperezbios
Copy link
Contributor

@ThomasJRyan without knowing which specific activities you were attempting to install/use, we can't really diagnose the reason. The most likely reason is probably that the activity you're trying to install/use is a python 2 activity, and Fedora has dropped Python 2 from their default installs, since it is end-of-lifed.

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

6 participants