Talk:Platform Team/Guide/Sugar via Sweets: Difference between revisions
Inkyfingers (talk | contribs) |
Inkyfingers (talk | contribs) Edit detail |
||
| Line 96: | Line 96: | ||
== Installing Sugar via sweets - in Mint-12 == | == Installing Sugar via sweets - in Mint-12 == | ||
17/12/2011 by inkyfingers | 17/12/2011 by inkyfingers | ||
Host environment: Mint-12 installed three days ago from:linuxmint-12-gnome-cd-nocodecs-32bit. | Host environment: Mint-12 installed three days ago from:linuxmint-12-gnome-cd-nocodecs-32bit. | ||
Testing Mint-12 over three days, it is fairly sound, but some freezing when using Firefox 8. I wait 10 seconds for unfreeze, no crashes. | Testing Mint-12 over three days, it is fairly sound, but some freezing when using Firefox 8. I wait 10 seconds for unfreeze, no crashes. | ||
My machine: http://www.smolts.org/client/show/pub_98841a4d-b674-4a44-804b-d7cee2872a09 | My machine: http://www.smolts.org/client/show/pub_98841a4d-b674-4a44-804b-d7cee2872a09 | ||
| Line 214: | Line 217: | ||
Close the host environment terminal. | Close the host environment terminal. | ||
: End of test. | |||
:: '''NOTE''' the above was carried out without the benefit of -S switch. | |||
NOTE the above was carried out without the benefit of -S switch. | |||
=== Testing Xephyr === | |||
Immediately follows the above. | Immediately follows the above. | ||
The product of this command under Mint-12 in GUI xterm: sweets dextrose/sugar:emulator | The product of this command under Mint-12 in GUI xterm: sweets dextrose/sugar:emulator | ||
Title bar reads: Xephyr on :30.0 | Title bar reads: Xephyr on :30.0 | ||
: Build: Linux Mint 12 Lisa | |||
: Sugar: 0.88.1 | |||
PS Note this test is without benefit of -S switch. | PS Note this test is without benefit of -S switch. | ||
F1 to F6 work - pre-existing journal is intact. | F1 to F6 work - pre-existing journal is intact. | ||
Terminal starts - simple commands work. | Terminal starts - simple commands work. | ||
About my computer: Sugar 0.88.1 | About my computer: Sugar 0.88.1 | ||
Keyboard settings survived. | Keyboard settings survived. | ||
Pre-existing downloaded Activites are in Home View. | Pre-existing downloaded Activites are in Home View. | ||
Click irc, flashing icon, starts. Test tx in and out ok. | Click irc, flashing icon, starts. Test tx in and out ok. | ||
Click Surf-115.xo, flashing icon, starts, is online. | Click Surf-115.xo, flashing icon, starts, is online. | ||
Write appears in journal. Right click, resume, - flashing icon, but reports fails to start. | Write appears in journal. Right click, resume, - flashing icon, but reports fails to start. | ||
Using Surf, download Sugar file manager. | Using Surf, download Sugar file manager. | ||
Successful and Sugar File manager starts and works. | Successful and Sugar File manager starts and works. | ||
Attempt to download Write again. | Attempt to download Write again. | ||
Write icon in Home View, Click Write,- flashing icon - reports, 'fail to start' | Write icon in Home View, Click Write,- flashing icon - reports, 'fail to start' | ||
Back to Host environment | Back to Host environment | ||
xterm output is as follows. ie this is the last few lines of the traceback which launched the test in progress. | xterm output is as follows. ie this is the last few lines of the traceback which launched the test in progress. | ||
-- Solve dextrose/sugar-base for building | -- Solve dextrose/sugar-base for building | ||
-- Solve dextrose/sugar-toolkit for building | -- Solve dextrose/sugar-toolkit for building | ||
-- Solve dextrose/sugar-presence-service for building | -- Solve dextrose/sugar-presence-service for building | ||
-- Solve dextrose/sugar-datastore for building | -- Solve dextrose/sugar-datastore for building | ||
-- Solve dextrose/sugar-artwork for building | -- Solve dextrose/sugar-artwork for building | ||
-- Solve dextrose/sugar for building | -- Solve dextrose/sugar for building | ||
-- Build dextrose/sugar-base (0.88.0) | -- Build dextrose/sugar-base (0.88.0) | ||
-- Build dextrose/sugar-toolkit (0.88.1) | -- Build dextrose/sugar-toolkit (0.88.1) | ||
-- Build dextrose/sugar-presence-service (0.88.0) | -- Build dextrose/sugar-presence-service (0.88.0) | ||
-- Build dextrose/sugar-datastore (0.88.0) | -- Build dextrose/sugar-datastore (0.88.0) | ||
-- Build dextrose/sugar-artwork (0.88.1) | -- Build dextrose/sugar-artwork (0.88.1) | ||
- Build dextrose/sugar (0.88.1) | |||
Gtk-Message: Failed to load module "pk-gtk-module" | Gtk-Message: Failed to load module "pk-gtk-module" | ||
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list! | ||
/home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar: 60: [[: not found | /home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar: 60: [[: not found | ||
/home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar: 113: [[: not found | /home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar: 113: [[: not found | ||
ls: cannot access /usr/lib*/xulrunner-1.*: No such file or directory | ls: cannot access /usr/lib*/xulrunner-1.*: No such file or directory | ||
E: [pulseaudio] pid.c: Daemon already running. | E: [pulseaudio] pid.c: Daemon already running. | ||
E: [pulseaudio] main.c: pa_pid_file_create() failed. | E: [pulseaudio] main.c: pa_pid_file_create() failed. | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc01955 specified for 0xc01988 (sugar-sess). | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc01955 specified for 0xc01988 (sugar-sess). | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc0347a specified for 0xc034a8 (sugar-sess). | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc0347a specified for 0xc034a8 (sugar-sess). | ||
Window manager warning: last_focus_time (48387255) is greater than comparison timestamp (48387251). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around... | Window manager warning: last_focus_time (48387255) is greater than comparison timestamp (48387251). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around... | ||
| Line 281: | Line 294: | ||
In host environment open new xterm | In host environment open new xterm | ||
iain@Mint2 ~ $ sweets sdk/sugar:emulator | iain@Mint2 ~ $ sweets sdk/sugar:emulator | ||
Gtk-Message: Failed to load module "pk-gtk-module" | Gtk-Message: Failed to load module "pk-gtk-module" | ||
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list! | ||
ls: cannot access /usr/lib*/xulrunner-1.*: No such file or directory | ls: cannot access /usr/lib*/xulrunner-1.*: No such file or directory | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00223 specified for 0xc00260 (sugar-sess). | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00223 specified for 0xc00260 (sugar-sess). | ||
Both sweets are running, both on desktop 4. | Both sweets are running, both on desktop 4. | ||
Close both Sweets, by using close icon in top right corner. | |||
* Back at Host environment | |||
'''xterm output, ref: sdk/sugar ''' | |||
iain@Mint2 ~ $ sweets sdk/sugar:emulator | |||
/... copy last lines only: | |||
Gtk-Message: Failed to load module "pk-gtk-module" | |||
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! | |||
Gtk-Message: Failed to load module "pk-gtk-module" | [dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list! | ls: cannot access /usr/lib*/xulrunner-1.*: No such file or directory | ||
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list! | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00223 specified for 0xc00260 (sugar-sess). | ||
ls: cannot access /usr/lib*/xulrunner-1.*: No such file or directory | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00223 specified for 0xc02b34 (sugar-sess). | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00223 specified for 0xc00260 (sugar-sess). | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00223 specified for 0xc02c62 (sugar-sess). | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00223 specified for 0xc02b34 (sugar-sess). | XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc00223 specified for 0xc02c62 (sugar-sess). | |||
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" | |||
after 23718 requests (23718 known processed) with 0 events remaining. | after 23718 requests (23718 known processed) with 0 events remaining. | ||
Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':31'. | Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':31'. | ||
iain@Mint2 ~ $ | iain@Mint2 ~ $ | ||
xterm output, ref: dextrose/sugar | '''xterm output, ref: dextrose/sugar ''' | ||
/home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar: 113: [[: not found | |||
ls: cannot access /usr/lib*/xulrunner-1.*: No such file or directory | /... copy last lines only: | ||
E: [pulseaudio] pid.c: Daemon already running. | /home/iain/.cache/0install.net/implementations/sha1new=c19654b00070887627e457daaaaaafbdeafb380a/.sweets/local/bin/sugar: 113: [[: not found | ||
E: [pulseaudio] main.c: pa_pid_file_create() failed. | ls: cannot access /usr/lib*/xulrunner-1.*: No such file or directory | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc01955 specified for 0xc01988 (sugar-sess). | E: [pulseaudio] pid.c: Daemon already running. | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc0347a specified for 0xc034a8 (sugar-sess). | E: [pulseaudio] main.c: pa_pid_file_create() failed. | ||
Window manager warning: last_focus_time (48387255) is greater than comparison timestamp (48387251). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around... | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc01955 specified for 0xc01988 (sugar-sess). | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc01955 specified for 0xc0f645 (sugar-sess). | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc0347a specified for 0xc034a8 (sugar-sess). | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc08267 specified for 0xc1202e (sugar-sess). | Window manager warning: last_focus_time (48387255) is greater than comparison timestamp (48387251). This most likely represents a buggy client sending inaccurate timestamps in messages such as _NET_ACTIVE_WINDOW. Trying to work around... | ||
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc01955 specified for 0xc0f645 (sugar-sess). | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc08267 specified for 0xc1202e (sugar-sess). | |||
XIO: fatal IO error 11 (Resource temporarily unavailable) on X server ":0.0" | |||
after 176360 requests (176360 known processed) with 0 events remaining. | after 176360 requests (176360 known processed) with 0 events remaining. | ||
(metacity:28952): GConf-WARNING **: Got Disconnected from DBus. | |||
Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':30'. | |||
iain@Mint2 ~ $ | |||
=== Check out the -S option === | |||
'''Start xephyr session with''' | |||
iain@Mint2 ~ $ sweets -S dextrose/sugar:emulator | |||
asks for root password. Downloading. | |||
after 4 minutes Xephyr on :30.0 apears. | after 4 minutes Xephyr on :30.0 apears. | ||
Click on Surf, flashing icon and starts. | Click on Surf, flashing icon and starts. | ||
Click on Physics, flashing icon and starts. | Click on Physics, flashing icon and starts. | ||
Click on Chat, flashing icon and starts. Share a Chat session, F1 - Chat bubble icon is visible in my colours. | Click on Chat, flashing icon and starts. Share a Chat session, F1 - Chat bubble icon is visible in my colours. | ||
Check contents of Frame. System resources and USB device seen and appear working. | Check contents of Frame. System resources and USB device seen and appear working. | ||
See repair Journal feature. Close all activities, Opporunity to rename activities not given by default. | See repair Journal feature. Close all activities, Opporunity to rename activities not given by default. | ||
Click on repair journal. Reports, "Journal has been reindexed", and Sugar session is terminated without further warning. | Click on repair journal. Reports, "Journal has been reindexed", and Sugar session is terminated without further warning. | ||
Click on Sugar File Manager. Works as expected. | Click on Sugar File Manager. Works as expected. | ||
In host environment there is now an icon representing a drive or partition labelled Journal. This will open with Nautilus, Write documents are seen and can be printed. | In host environment there is now an icon representing a drive or partition labelled Journal. This will open with Nautilus, Write documents are seen and can be printed. | ||
Start Sugar in a window session with | '''Start Sugar in a window session with''' | ||
iain@Mint2 ~ $ sweets -S sdk/sugar:emulator | |||
iain@Mint2 ~ $ sweets -S sdk/sugar:emulator | |||
Click on Write, flashing icon and starts. | Click on Write, flashing icon and starts. | ||
Able to write, save, rename Activity title | Able to write, save, rename Activity title | ||
Click on Surf, flashing icon and reports fail to start. | Click on Surf, flashing icon and reports fail to start. | ||
Click on Terminal, flashing icon and starts. | Click on Terminal, flashing icon and starts. | ||
All seems to work, but no Surf, | All seems to work, but no Surf, | ||
From Home View, List, | From Home View, List, | ||
Click Browse-129.xo. Flashing icon and starts, is online, three sites visited and logon ok. | Click Browse-129.xo. Flashing icon and starts, is online, three sites visited and logon ok. | ||
Using Activity Browse, download Reflection 3 from ASLO - Demonstrate Reflection, name, title, description and tag ok. | Using Activity Browse, download Reflection 3 from ASLO - Demonstrate Reflection, name, title, description and tag ok. | ||
Using browse, download Chat-73.xo, saves to Journal. | Using browse, download Chat-73.xo, saves to Journal. | ||
Click on Chat, flashing icon and starts. | Click on Chat, flashing icon and starts. | ||
Click neighbourhood icon to share. | Click neighbourhood icon to share. | ||
F1, neighbourhood view no chat ballon to indicate shared Chat Activity. | F1, neighbourhood view no chat ballon to indicate shared Chat Activity. | ||
Change name in My Setting. Click for restart, Sugar in a window session closes. | Change name in My Setting. Click for restart, Sugar in a window session closes. | ||
Host environment remains. | Host environment remains. | ||
This is the trace from the above session: | This is the trace from the above session: | ||
iain@Mint2 ~ $ sweets -S sdk/sugar:emulator | iain@Mint2 ~ $ sweets -S sdk/sugar:emulator | ||
-- Download http://download.sugarlabs.org/sweets/sdk/sugar-presence-service/sugar-presence-service-0.88.1-r10-src.tar.gz | -- Download http://download.sugarlabs.org/sweets/sdk/sugar-presence-service/sugar-presence-service-0.88.1-r10-src.tar.gz | ||
-- Solve sdk/sugar-presence-service for building | -- Solve sdk/sugar-presence-service for building | ||
-- Build sdk/sugar-presence-service (0.88.1) | -- Build sdk/sugar-presence-service (0.88.1) | ||
Gtk-Message: Failed to load module "pk-gtk-module" | Gtk-Message: Failed to load module "pk-gtk-module" | ||
[dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/cyrillic, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/100dpi/:unscaled, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/75dpi/:unscaled, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/100dpi, removing from list! | ||
[dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list! | [dix] Could not init font path element /usr/share/fonts/X11/75dpi, removing from list! | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc02cc9 specified for 0xc02d2e (sugar-sess). | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc02cc9 specified for 0xc02d2e (sugar-sess). | ||
Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc06b70 specified for 0xc06ba3 (sugar-sess). | Window manager warning: Invalid WM_TRANSIENT_FOR window 0xc06b70 specified for 0xc06ba3 (sugar-sess). | ||
Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':30'. | Window manager warning: Fatal IO error 11 (Resource temporarily unavailable) on display ':30'. | ||
iain@Mint2 ~ $ | iain@Mint2 ~ $ | ||
'''Start Sugar in a window session with''' | |||
iain@Mint2 ~ $ sweets -S sdk/sugar:emulator | iain@Mint2 ~ $ sweets -S sdk/sugar:emulator | ||
Name change has been applied. | Name change has been applied. | ||
Resume Chat, I see on line message and countdown, but no chat balloom in F1. | Resume Chat, I see on line message and countdown, but no chat balloom in F1. | ||
Later, download Chat-73.xo again, Resume Chat, I see on line message and countdown, but no chat balloon in F1. | Later, download Chat-73.xo again, Resume Chat, I see on line message and countdown, but no chat balloon in F1. | ||
Resume Chat, I see on line message and countdown, but no chat balloom in F1. | Resume Chat, I see on line message and countdown, but no chat balloom in F1. | ||
Surf, flashing icon, reports fails to start. | Surf, flashing icon, reports fails to start. | ||