Installing Sugar on Trisquel 3.0 Dwyn

Projekt:Trisquel
Komponente:Sugar
Kategorie:Leistungsmerkmalanfrage
Priorität:normal
Zugewiesen:nicht zugewiesen
Status:closed
Beschreibung

the reason i found trisquel in the first place (and like it so much) is that it was a good way to run the sugar ui. now i cannot install and use it- it lets you type in a name (i'm not talking about gdm login- sugar asks you for a name) and choose an icon- then stops.

you are taken back to the gdm login, that's as much of sugar that will work. the problem, as i said before, is that the version of python in trisquel is incompatible with the version of sugar.

but since the bug was flagged "cannot reproduce" it's been ignored. really, you can't reproduce it? just install trisquel 3.0 dwyn, and install sugar, and run sugar. it's that easy to reproduce, i've done it twice on a clean system.

having bugs mis-flagged is one of the most annoying things- it makes you think there's no point in reporting anything. it's been months- if you won't fix / update sugar, remove it from the repos- it's broken.

Mo, 01/18/2010 - 13:17

Sorry for the missflaging.

I can reproduce the problem, this is the traceback:

test@trsq3-test:~$ sugar
root window unavailible (maybe another wm is running?)
/usr/lib/python2.6/dist-packages/jarabe/desktop/meshbox.py:19: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
import sha
/usr/lib/python2.6/dist-packages/jarabe/desktop/keydialog.py:17: DeprecationWarning: the md5 module is deprecated; use hashlib instead
import md5

Mo, 01/18/2010 - 13:52

A better (more related) traceback, from ~/.sugar/default/logs/shell.log

Traceback (most recent call last):
File "/usr/bin/sugar-session", line 173, in
main()
File "/usr/bin/sugar-session", line 157, in main
home_window = HomeWindow()
File "/usr/lib/python2.6/dist-packages/jarabe/desktop/homewindow.py", line 55, in __init__
self._home_box = HomeBox()
File "/usr/lib/python2.6/dist-packages/jarabe/desktop/homebox.py", line 47, in __init__
self._favorites_view = favoritesview.FavoritesView()
File "/usr/lib/python2.6/dist-packages/jarabe/desktop/favoritesview.py", line 114, in __init__
self._set_layout(favorites_settings.layout)
File "/usr/lib/python2.6/dist-packages/jarabe/desktop/favoritesview.py", line 284, in _set_layout
raise ValueError('Unknown favorites layout: %r' % layout)
ValueError: Unknown favorites layout: None

Mo, 01/18/2010 - 15:29

I tried alsroot sugar ppa and it works fine. It's a newer version than trisquel's repo, so it may be interesting.

To try alsroot's ppa, add the following line to your sources.list

deb http://ppa.launchpad.net/alsroot/trisquel-edu-3/ubuntu jaunty main

and then, install sugar (apt-get install sugar)

It provides a newer sugar version, 0.86 , vs 0.83 from trisquel repo.

Maybe trisquel's version must be updated using alsroot packages.

Mo, 01/18/2010 - 20:11
Titel:sugar is still broken. no? you can install it then?» sugar is still broken. no?
Kategorie:Fehlerbericht» Leistungsmerkmalanfrage

thank you so much, that works, sugar (0.86 is it?) is now running in trisquel dwyn. it connects to wireless, runs term activity and pippy, all that. (i had to specifically tell it to install python-pygame for pippy, but that's alright.)

yes, the old version of sugar in trisquel is completely incompatible and i can't imagine that will change. sugar ought to be updated (to 0.86 i guess) since it never was compatible with 3.0 dwyn, so i've changed this from bug to feature request. it may become "won't fix" but at least there is a way around it now. thank you again.

Mo, 01/18/2010 - 21:51

The official repository to install Sugar on Trisquel 3 is
deb http://us.archive.trisquel.info/trisquel sugar-dwyn main
as it is documented in the sugar wiki:
http://wiki.sugarlabs.org/go/Community/Distributions/Trisquel

I will try to clarify this in our documentation.

Mo, 01/18/2010 - 21:58
Titel:sugar is still broken. no?» Installing Sugar on Trisquel 3.0 Dwyn
Status:active» closed

Also, the other bug -marked as "cannot reproduce" refers to TOAST, which is not the same as Dwyn with Sugar installed on top, unless you follow the instructions in the Sugar wiki.

So, I'm changing the bug title -Sugar was never broken AFAIK- and closing this bug. Sorry for the inconveniences, we will try to enhance our documentation.