Changes

Jump to navigation Jump to search
Deleted by author - updated Debian wheezy in Testing/Reports/
Line 449: Line 449:  
Surf, flashing icon, reports fails to start.
 
Surf, flashing icon, reports fails to start.
    +
----
   −
== Installing Sugar via sweets - in Debian testing Wheezy ==
+
For Debian, Wheezy please see [[Testing/Reports/Sweets on Debian Wheezy]]
Environment Debian Wheezy, window manager SLiM, logging in to openbox-session.
  −
 
  −
/etc/apt/sources.list:
  −
 
  −
:<nowiki>deb http://ftp.debian.org/debian/ wheezy main contrib non-free</nowiki>
  −
:<nowiki>deb-src http://security.debian.org/ wheezy/updates main </nowiki>
  −
 
  −
=== Installation ===
  −
iain@wheezy-box:~$ sudo apt-get update
  −
 
  −
iain@wheezy-box:~$ sudo apt-get install gnome-packagekit
  −
  −
iain@wheezy-box:~$ sudo apt-get install packagekit-backend-smart
  −
  −
Restart machine.
  −
 
  −
iain@wheezy-box:~$ wget http://download.sugarlabs.org/sweets/sweets/installer.sh
  −
--2011-12-10 12:30:29--  http://download.sugarlabs.org/sweets/sweets/installer.sh
  −
Resolving download.sugarlabs.org (download.sugarlabs.org)... 140.186.70.53, 2002:8cba:4635::1
  −
Connecting to download.sugarlabs.org (download.sugarlabs.org)|140.186.70.53|:80... connected.
  −
HTTP request sent, awaiting response... 302 Found
  −
Location: http://ftp.snt.utwente.nl/pub/software/sugarlabs/sweets/sweets/installer.sh [following]
  −
--2011-12-10 12:30:29--  http://ftp.snt.utwente.nl/pub/software/sugarlabs/sweets/sweets/installer.sh
  −
Resolving ftp.snt.utwente.nl (ftp.snt.utwente.nl)... 130.89.149.20, 2001:610:1908:a000::149:20
  −
Connecting to ftp.snt.utwente.nl (ftp.snt.utwente.nl)|130.89.149.20|:80... connected.
  −
HTTP request sent, awaiting response... 200 OK
  −
Length: 584502 (571K) [text/x-sh]
  −
Saving to: `installer.sh'
  −
100%[==============================================>] 584,502      717K/s  in 0.8s   
  −
2011-12-10 12:30:30 (717 KB/s) - `installer.sh' saved [584502/584502]
  −
 
  −
iain@wheezy-box:~$ sh installer.sh
  −
Sweets self extracting installer
  −
-- Scan ftp://download.sugarlabs.org/sweets/sweets for updates
  −
-- Downloading update from http://download.sugarlabs.org/sweets/sweets/sweets-1.0.5.tar.gz
  −
-- sweets launcher was installed to /home/iain/.local/bin                             
  −
-- Relogin to reuse new PATH value                       
  −
-- sweets-index service was installed to /home/iain/.local/share/dbus-1/services
  −
 
  −
Restart machine.
  −
 
  −
I have cut a certain amount of output generated by inexperience. During the process I did try
  −
 
  −
iain@wheezy-box:~$ sweet upgrade
  −
and
  −
iain@wheezy-box:~$ sweet dextrose/sugar:emulator
  −
 
  −
Frequently a xephyr window was produced for 5 seconds and collapsed.
  −
The common error message was
  −
:ImportError: No module named hippo
  −
I produced a logfile thus:
  −
 
  −
iain@wheezy-box:~$ sweets -DD --logfile=27 dextrose/sugar:emulator       
  −
-- Solve dextrose/sugar-artwork for building
  −
-- Install python-rsvg python-wnck libcairo2-dev libcairo2 libdrm2
  −
-- org.freedesktop.DBus.Error.InvalidArgs: Type of message, `(as)', does not match expected type `(bas)'
  −
  Traceback (most recent call last):                                                   
  −
  File "/home/iain/.local/share/sweets/sweets-1.0.5/sweets", line 397, in <module>
  −
      globals()['cmd_' + cmd]()                                                   
  −
  File "/home/iain/.local/share/sweets/sweets-1.0.5/sweets", line 65, in cmd_launch
  −
      injector.launch(config.requirements, args)                                   
  −
  File "/home/iain/.local/share/sweets/sweets-1.0.5/zerosugar/local/injector.py", line 162, in launch
  −
      solution = make(req)                                                             
  −
  File "/home/iain/.local/share/sweets/sweets-1.0.5/zerosugar/local/injector.py", line 130, in make
  −
      packagekit.install(to_install.values())                                           
  −
  File "/home/iain/.local/share/sweets/sweets-1.0.5/zerosugar/local/packagekit.py", line 120, in install
  −
      transaction.install(chunk)                                                       
  −
  File "/home/iain/.local/share/sweets/sweets-1.0.5/zerosugar/local/packagekit.py", line 164, in install
  −
      ('InstallPackages', True, names),                                                 
  −
  File "/home/iain/.local/share/sweets/sweets-1.0.5/zerosugar/local/packagekit.py", line 289, in _auth_wrapper
  −
      return method(*args)                                                             
  −
  File "/home/iain/.local/share/sweets/sweets-1.0.5/zerosugar/local/packagekit.py", line 183, in _compat_call
  −
      return dbus_method(*args)                                                         
  −
  File "/usr/lib/python2.7/dist-packages/dbus/proxies.py", line 143, in __call__
  −
      **keywords)                                                               
  −
  File "/usr/lib/python2.7/dist-packages/dbus/connection.py", line 630, in call_blocking
  −
      message, timeout)                                                                 
  −
  DBusException: org.freedesktop.DBus.Error.InvalidArgs: Type of message, `(as)', does not match expected type `(bas)'
  −
 
  −
The logfile: ~/27 reads, near end, line 862:
  −
 
  −
-- DEBUG (PackageKit) Ask PackageKit to install ['python-rsvg;2.32.0-4+b2;i386;testing', 'python-wnck;2.32.0-4+b2;i386;testing', 'libcairo2-dev;1.10.2-6.2;i386;testing', 'libcairo2;1.10.2-6.2;i386;testing', 'libdrm2;2.4.29-1;i386;testing'] packages
  −
-- INFO (PackageKit) Obtain authentication for org.freedesktop.packagekit.package-install
  −
 
  −
=== Bug Fix ===
  −
 
  −
At this point alsroot helps with bug-fix see:
  −
 
  −
[[Platform_Team/Guide/Sugar_via_Sweets#Debian]]
  −
Due to the 23644010 bug in python-hippocanvas package, you need to be stuck to python2.6, e.g., you need to run a command sudo ln -fs python2.6 /usr/bin/python && sudo sed -i '/^default-version/s/python2../python2.6/' /usr/share/python/debian_defaults.
  −
 
  −
=== First successful test ===
  −
iain@wheezy-box:~$ sudo ln -fs python2.6 /usr/bin/python && sudo sed -i '/^default-version/s/python2../python2.6/' /usr/share/python/debian_defaults.
  −
iain@wheezy-box:~$ sweets -R dextrose/sugar:emulator -f
  −
 
  −
We have Xephyr on :30.0
  −
 
  −
About my computer.
  −
 
  −
::Build: Debian GNU/Linux testing (wheezy)
  −
 
  −
::Sugar: 0.88.1
  −
 
  −
All four views (F1 to F4) look ok, except there are no "neighbour avatars" in F1 neighbourhood view.
  −
 
  −
I copy Browse-129.xo and surf-115.xo from USB flashdrive to Journal.
  −
 
  −
Right click Browse icon in Journal, select start, flashing icon, reports fails to start.
  −
 
  −
Right click Surf icon in Journal, select start, flashing icon, reports fails to start.
  −
 
  −
Right click my avatar, My Settings, adjust keyboard, Frame. All ok.
  −
Cursor activates frame. F5 and F6 work as expected.
  −
 
  −
Software updates:
  −
Offers 11 updates. This offers to install new Activities.
  −
Install all. 7.5 MB - no error reported.
  −
 
  −
No atavar except me in F1. Re-tried later and confirmed.
  −
 
  −
Start Chat activity. Switch to "sharing", balloon appears in F1.
  −
 
  −
Copy Moon.xo from USB flashdrive to Journal. Moon opens, rename activity ok
  −
: There is an intermittent glitch that, while renaming an activity, the "Activity toolbar" will collapse on spacebar or hyphen keystroke, the dialogue box disappears, and my text is lost.
  −
 
  −
Click Moon, flashing icon and starts, rename activity ok and closes.
  −
 
  −
Start Firefox-6.xo - it is in offline mode by default. Switch online. Will browse. Close Firefox with non sugarised "Close x". Firefox icon in frame, still flashing.
  −
 
  −
:Working Activities
  −
 
  −
Click Image Viewer, flashing icon and starts, rename activity ok and closes.
  −
 
  −
Click Turtle Art, flashing icon and starts, rename activity ok and closes.
  −
 
  −
Click Calculate, flashing icon and starts, rename activity ok and closes.
  −
 
  −
Click Read Etexts, flashing icon and starts. Able to search for and download and read a Book. Rename activity ok and closes.
  −
 
  −
<u>Using Host machine</u> download Sugar_file_manager-2.xo. Copy and paste to Journal, Opens, works as expected.
  −
Creates /home/iain/Journal on Host machine. /home/iain/Journal is an empty directory not linked to "Journal Activity in Sugar"
  −
 
  −
Download JAMedit-1.xo. Opens and works as expected.
  −
 
  −
: This note added 3 days after first tests. Having run through the test of all Activities in dextrose and sdk, Surf will now start in dextrose/sugar, browse successfully, rename Activity and closes.
  −
 
  −
 
  −
Click Speak - pulsing icon, reports fails to start.
  −
 
  −
Click Log, pulsing icon. Reports fails to start.
  −
 
  −
Click Etoys, pulsing icon. Reports fails to start.
  −
 
  −
Click Memorize, pulsing icon. Reports fails to start.
  −
 
  −
Click Pippy, pulsing icon. Opens, can test a few items, but Pippy generally reports ImportError: no module named pygame.
  −
 
  −
Click Jukebox, pulsing icon. Reports fails to start.
  −
 
  −
Download Write_77.xo. Pulsing icon but reports fails to start.
  −
 
  −
In F3 Home view, all working Activities show in colour, all non-working activities are grey. In the Frame, all attached partitions show, but will not open. USB flashdrive shows distinctively and opens.
  −
 
  −
=== Second successful test ===
  −
iain@wheezy-box:~$ sweets -R sdk/sugar:emulator -f
  −
 
  −
F1 view present.
  −
About my computer
  −
:Build: Debian GNU/Linux testing wheezy
  −
:Sugar: 0.94.1
  −
 
  −
Test Terminal Activity with some simple commands eg:
  −
iain@wheezy-box:~$ python -V
  −
Python 2.6.7
  −
 
  −
Click Log, pulsing icon, starts, is able to capture a log and save it.
  −
 
  −
Implode tested - choose sharing view - no sign of Implode in F1
  −
 
  −
Chat opens start a chat in single view, I see no chat balloon in F1
  −
 
  −
Open Chat to "sharing" - no balloon seen. Retry later, confirm no "shared" activities show in F1
  −
 
  −
Turtle art starts test ok
  −
 
  −
Moon starts and test ok
  −
 
  −
As above non-working activities are: Speak, Etoys,Memorize, Pippy, Jukebox, Physics,
  −
Surf-115 fails to start, and confirmed
  −
: Note we are confined to Python v. 2.6.7, at present in Wheezy.
  −
In both cases the host environment works fine and I saw no evidence of Sugar compromising the host in any way. No second computer available to test collaboration, so far.
  −
 
  −
Also an extended test carried out by children, barely supervised of this setup. Openbox is set up to launch the most-used programs, including GCompris [Alt+F6] and dextrose/sugar [Alt+F7] by simple key-binding. Three desktops [changed by Ctrl+Alt+arrow], 1, Iceweasel + any other programs, 2, GCompris, 3, dextrose/sugar:emulator -f.
 
687

edits

Navigation menu