Re: [Testing] Software update problems in OLPC 10.1.3

2011-01-13 Thread Martin Langhoff
On Wed, Jan 12, 2011 at 9:00 PM, S Page skierp...@gmail.com wrote:
 Good to know.  I've got a Help-11 installed according to its
 activity_version in activity.info and Home view  List view, so it
 seems right to be trying to update.

 I just repeated Software Update and it claims all my software is up to
 date, including Help-11.  Hmmm.

Sounds normal to me. The G1G1 activities for 10.1.3 do _not_ include
Help, so this is expected -- no new version of Help is mentioned, the
updater won't try to update. Relevant URL:
http://wiki.laptop.org/go/Activities/G1G1/10.1.3

Veering offtopic -- there was discussion (and perhaps even a partial
implementation) of the Activity Updater looking inside the activity
metadata for a URL provided by the activity. Not sure how much of that
is implemented in 0.84 -- likely nothing. Newer versions of Sugar have
seen a major reimplementation of the updater, which I am not familiar
with.

cheers,


m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Testing] Software update problems in OLPC 10.1.3

2011-01-13 Thread Gonzalo Odiard
On Thu, Jan 13, 2011 at 11:51 AM, Martin Langhoff martin.langh...@gmail.com
 wrote:

 On Wed, Jan 12, 2011 at 9:00 PM, S Page skierp...@gmail.com wrote:
  Good to know.  I've got a Help-11 installed according to its
  activity_version in activity.info and Home view  List view, so it
  seems right to be trying to update.
 
  I just repeated Software Update and it claims all my software is up to
  date, including Help-11.  Hmmm.

 Sounds normal to me. The G1G1 activities for 10.1.3 do _not_ include
 Help, so this is expected -- no new version of Help is mentioned, the
 updater won't try to update. Relevant URL:
 http://wiki.laptop.org/go/Activities/G1G1/10.1.3


We are including Help 12

[image: Help icon] http://wiki.laptop.org/go/File:Activity-help.svg
edithttp://wiki.laptop.org/index.php?title=Activities/Help_%2810.1.3%29action=edit
*Help http://wiki.laptop.org/go/Help:*
org.laptop.HelpActivityDocumentation and Help for the XO

*Download*: Help (10.1.3) http://dev.laptop.org/%7Egonzalo/Help-12.xo (v.
12)
Gonzalo
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Testing] Software update problems in OLPC 10.1.3

2011-01-13 Thread Samuel Greenfeld
Help-12 is in the G1G1 set, as well as the G1G1Lite set for 10.1.3.   
This update issue therefore would be somewhat unexpected.  I just 
checked on an XO-1.5 I upgraded from 10.1.2 and it does have Help-12.  
Some more debugging likely is needed for your case.

Another activity which we know has upgrade problems is Scratch, because 
older versions used the MMDD date for the version internally versus 
a small incrementing number, and the updater sees the larger date 
number as newer than version 17.

As mentioned by Gonzalo, please remove the /home/olpc/Activities/.groups 
hidden file if you haven't already after upgrading to 10.1.3.  This file 
from 8.x builds overrides the update URL used in newer versions of 
Sugar.  There was discussion about attempting to do this automatically 
but this feature did not make the current release candidate build.



On 01/13/11 09:51, Martin Langhoff wrote:
 On Wed, Jan 12, 2011 at 9:00 PM, S Pageskierp...@gmail.com  wrote:
 Good to know.  I've got a Help-11 installed according to its
 activity_version in activity.info and Home view  List view, so it
 seems right to be trying to update.

 I just repeated Software Update and it claims all my software is up to
 date, including Help-11.  Hmmm.
 Sounds normal to me. The G1G1 activities for 10.1.3 do _not_ include
 Help, so this is expected -- no new version of Help is mentioned, the
 updater won't try to update. Relevant URL:
 http://wiki.laptop.org/go/Activities/G1G1/10.1.3

 Veering offtopic -- there was discussion (and perhaps even a partial
 implementation) of the Activity Updater looking inside the activity
 metadata for a URL provided by the activity. Not sure how much of that
 is implemented in 0.84 -- likely nothing. Newer versions of Sugar have
 seen a major reimplementation of the updater, which I am not familiar
 with.

 cheers,


 m

___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Testing] Software update problems in OLPC 10.1.3

2011-01-13 Thread Martin Langhoff
On Thu, Jan 13, 2011 at 9:58 AM, Gonzalo Odiard gonz...@laptop.org wrote:

 We are including Help 12


Everyone's right and I misread the page. Apologies to all.

As Sam points out, it does upgrade in our testing -- can you get us logs
from a run of the software updater?



m
-- 
 martin.langh...@gmail.com
 mar...@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Testing] Software update problems in OLPC 10.1.3

2011-01-12 Thread S Page
On Sat, Jan 8, 2011 at 8:48 PM, Mikus Grinbergs mi...@bga.com wrote:
 I install Activities manually, rather than with software install.  With
 Help-12 (from 'help-12.xo' gotten via activities.sugarlabs.org) on that
 system, My Settings - Software Update tells me all my software is
 up-to-date (and does NOT get errors checking installed activities).

Good to know.  I've got a Help-11 installed according to its
activity_version in activity.info and Home view  List view, so it
seems right to be trying to update.

I just repeated Software Update and it claims all my software is up to
date, including Help-11.  Hmmm.
___
Devel mailing list
Devel@lists.laptop.org
http://lists.laptop.org/listinfo/devel


Re: [Testing] Software update problems in OLPC 10.1.3

2011-01-08 Thread Mikus Grinbergs
Admittedly, the XO-1 system I tested with is customized.  And I
installed build os860 on it from scratch with 'copy-nand'.

I install Activities manually, rather than with software install.  With
Help-12 (from 'help-12.xo' gotten via activities.sugarlabs.org) on that
system, My Settings - Software Update tells me all my software is
up-to-date (and does NOT get errors checking installed activities).

[File 'Help-12.xo' gotten via
http://wiki.laptop.org/go/Activities/G1G1Lite/10.1.3 is functionally
identical to (it only differs in a few comments from) the sugarlabs file
'help-12.xo'.]

mikus


p.s.  On the XO-1, the log output of Help-12 is not clean (attached).


/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead
  import sha
DEBUG:xpcom:Python Factory creating ModuleLoader
1294534394.104052 DEBUG xpcom: Python Factory creating ModuleLoader
/usr/lib/xulrunner-1.9.1/python/xpcom/__init__.py:54: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  self.message = message
/usr/lib/xulrunner-1.9.1/python/xpcom/__init__.py:62: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6
  message = self.message
DEBUG:xpcom:'int8 loadModule(in nsISomething, out retval nsISomething);' raised COM Exception -2147024809 (-2147024809)
Traceback (most recent call last):
  File /usr/lib/xulrunner-1.9.1/python/xpcom/server/policy.py, line 277, in _CallMethod_
return 0, func(*params)
  File /usr/lib/xulrunner-1.9.1/python/xpcom/server/loader.py, line 92, in loadModule
return self._getCOMModuleForLocation(aFile)
  File /usr/lib/xulrunner-1.9.1/python/xpcom/server/loader.py, line 97, in _getCOMModuleForLocation
raise xpcom.ServerException(nsError.NS_ERROR_INVALID_ARG)
ServerException: -2147024809 (-2147024809)
1294534394.298688 DEBUG xpcom: 'int8 loadModule(in nsISomething, out retval nsISomething);' raised COM Exception -2147024809 (-2147024809)
Traceback (most recent call last):
  File /usr/lib/xulrunner-1.9.1/python/xpcom/server/policy.py, line 277, in _CallMethod_
return 0, func(*params)
  File /usr/lib/xulrunner-1.9.1/python/xpcom/server/loader.py, line 92, in loadModule
return self._getCOMModuleForLocation(aFile)
  File /usr/lib/xulrunner-1.9.1/python/xpcom/server/loader.py, line 97, in _getCOMModuleForLocation
raise xpcom.ServerException(nsError.NS_ERROR_INVALID_ARG)
ServerException: -2147024809 (-2147024809)
Registering '@mozilla.org/module-loader/python;1' (libpyloader.so)
Registering '@mozilla.org/network/protocol/about;1?what=python' (pyabout.py)
returning /home/olpc/.sugar/default/org.laptop.HelpActivity/data/gecko/prefs.js for key NS_APP_PREFS_50_FILE
1294534395.595726 DEBUG root: *** Act cb40acc99c3c48e3bdba5f3392adf2a9d0d95734, mesh instance None, scope private
1294534395.597564 DEBUG root: Creating a jobject.
1294534395.605308 DEBUG root: datastore.write
1294534395.680119 DEBUG root: dbus_helpers.create: 091586a4-73f6-41c6-a501-02c2a096104a
1294534395.692720 DEBUG root: Written object 091586a4-73f6-41c6-a501-02c2a096104a to the datastore.
1294534396.374995 DEBUG root: ('Setup widget', None)
1294534396.383179 WARNING root: No gtk.AccelGroup in the top level window.
1294534396.404433 DEBUG root: ('Setup widget', None)
1294534396.426905 WARNING root: No gtk.AccelGroup in the top level window.
1294534396.473334 DEBUG root: ('Setup widget', gtk.Button object at 0x9f3ce14 (GtkButton at 0x9e85e60))
1294534396.497428 DEBUG root: ('Setup widget', gtk.Button object at 0x9f3d4b4 (GtkButton at 0x9e85ed8))
1294534396.542730 DEBUG root: ('Setup widget', gtk.Button object at 0x9f3db44 (GtkButton at 0x9e85f50))
1294534396.584004 DEBUG root: ('Setup widget', gtk.Button object at 0x9f3f2ac (GtkButton at 0x9e87010))
1294534396.607480 DEBUG root: ('Setup widget', gtk.Button object at 0x9f3f914 (GtkButton at 0x9e87088))
1294534396.653273 DEBUG root: ('Setup widget', gtk.Button object at 0x9f4102c (GtkButton at 0x9e87178))
1294534397.881703 DEBUG root: nsIEmbeddingSiteWindow.get_visibility: False
1294534397.887640 DEBUG root: nsIEmbeddingSiteWindow.get_visibility: False
1294534398.025050 DEBUG root: nsIEmbeddingSiteWindow.set_visibility: True
1294534398.027536 DEBUG root: Activity.__canvas_map_cb
1294534398.134800 DEBUG root: ActivityService.set_active: 1.
1294534398.143248 DEBUG root: nsIEmbeddingSiteWindow.get_visibility: False
** (sugar-activity:2544): DEBUG: Got client ID 10d573dd9cb1c2b28112945343982702460022010001
** (sugar-activity:2544): DEBUG: Setting initial properties
** (sugar-activity:2544): DEBUG: Received SaveYourself(SmSaveLocal, !Shutdown, SmInteractStyleNone, !Fast) in state idle
** (sugar-activity:2544): DEBUG: Sending SaveYourselfDone(True) for initial SaveYourself
** (sugar-activity:2544): DEBUG: Received SaveComplete message in state save-yourself-done
1294534398.392388 DEBUG root: nsIEmbeddingSiteWindow.get_visibility: False
1294534398.624309 DEBUG root: