sugarlabs / sugar

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

Can not run the Sugar Development Environment #809

Closed hkatzdev closed 5 years ago

hkatzdev commented 5 years ago

After successfully installing sucrose, I could not manage to run the Sugar DE. I tried in both rdesktop and as a session, but I will focus more on the session error as there are more log files for that. The first time I ran the session, the setup went fine. After the setup was complete, though, the screen switch to a photo of my desktop instead of the Sugar DE. While it did have the Sugar cursor, I could not do anything besides move the cursor or switch to a console terminal. This forced me to restart my computer. Now, whenever I try to log into the Sugar session, it will quickly flash my desktop and the cursor, but take me back to the login prompt right after.

I am running AVLinux (I believe the 2017 edition, but I'm not 100% sure), which is based off Debian. Running lsb_release -a | grep Description says

No LSB modules are available.
Description:    Debian GNU/Linux 9.4 (stretch)

I also use UberMix, which is based off Ubuntu, and had no problems with either rdesktop or running the Sugar DE as a session.

I have attached my log files below: Sugar Logs.zip

Thank you, Harrison

quozl commented 5 years ago

Thanks, interesting.

Your .sugar/default/logs/shell.log contains this;

/usr/lib/python2.7/dist-packages/jarabe/view/viewhelp.py:27: PyGIWarning: WebKit2 was imported
without specifying a version first. Use gi.require_version('WebKit2', '4.0') before import to ensure
that the right version gets loaded.
  from gi.repository import WebKit2

While this isn't the cause of your problem, it does show me you are using a very old version of Sugar, and we did fix several related problems after that version and before 0.112, and have fixed several since 0.112. (The file viewhelp.py does not have an import of WebKit2, from 0.111 onwards).

Could you please try again with 0.112?

Your logs also contained;

dbus.exceptions.DBusException: org.freedesktop.DBus.Error.ServiceUnknown: The name org.freedesktop.Telepathy.AccountManager was not provided by any .service files

This looks like Telepathy is not properly installed. Please make sure you have installed all dependencies, especially telepathy-mission-control-5, telepathy-salut, and telepathy-gabble.

AVLinux probably hasn't updated to the latest Debian packages, in which the latest version of Sugar is packaged, along with updated dependencies.

hkatzdev commented 5 years ago

Installing those dependencies and updating to the Ubuntu 18.04 (bionic) version did the trick - thank you!