sugarlabs / sugar

Sugar GTK shell
GNU General Public License v3.0
262 stars 242 forks source link

Web Browser Activity failing to start #768

Closed fileoffset closed 7 years ago

fileoffset commented 7 years ago

Hi,

I installed Sugar via APT as the guide says for Ubuntu: apt install sucrose

After installing on a fresh Ubuntu 17 install, I was able to boot into Sugar, and all the preinstalled Activities worked fine except for the Web Browser.

Every time you tried to load it, it would just say "Browser failed to load".

I traced the error to an import in the Browser.activity via a stacktrace in log file. It failed on:

webactivity.py:
from collabwrapper.collabwrapper import CollabWrapper

I fixed this by doing the following:

sudo touch collabwrapper/__init__.py

Adding this ticket so it can be fixed properly in the main branch so no one else has this problem.

HTH

quozl commented 7 years ago

Yes, a well known problem. Was fixed in Debian bug 848840 with Debian package version 200+20170502-1, which is also in Ubuntu 17.10. We didn't have the problem at OLPC because we were using a custom package, and we're now using 201.2. You can get 201.2 at http://people.sugarlabs.org/~quozl/Browse-201.2.xo but you'll need to install it with sugar-install-bundle because of a MIME type problem in Browse-200.

fileoffset commented 7 years ago

I have been trying to figure out why none of the Activities downloaded through the Browser were installing. I was just looking through logs saying no valid mimetype handler, so I think I've hit that bug as well hah.

Updating as suggested fixed that, thanks so much!

On 22-Jun-17 12:22 PM, James Cameron wrote:

Yes, a well known problem. Was fixed in Debian bug 848840 with Debian package version 200+20170502-1, which is also in Ubuntu 17.10. We didn't have the problem at OLPC because we were using a custom package, and we're now using 201.2. You can get 201.2 at http://people.sugarlabs.org/~quozl/Browse-201.2.xo http://people.sugarlabs.org/%7Equozl/Browse-201.2.xo but you'll need to install it with |sugar-install-bundle| because of a MIME type problem in Browse-200.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/sugarlabs/sugar/issues/768#issuecomment-310257372, or mute the thread https://github.com/notifications/unsubscribe-auth/ABHEWQqK8XL6rOPZD4ySV66o2jT4fiOnks5sGdABgaJpZM4OBteh.

quozl commented 7 years ago

Yes, that one was fixed in two patches;