Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-10 Thread Bert Freudenberg
On 09.02.2011, at 19:08, Martin Langhoff martin.langh...@gmail.com wrote:

 On Wed, Feb 9, 2011 at 10:17 AM, Martin Langhoff
 martin.langh...@gmail.com wrote:
 The solution is to grab the src and recompile. That .so is likely old.
 
 Actually, not so much of a solution. Still getting some crashes. May
 be related to the program misbehaving.

libsugarize only works for well-behaved simple X11 programs. It relies on 
certain functions being called that have been redirected to the library's 
overrides. It's a preload-hack, not a proper library, so I'd expect many 
programs not to work correctly. 

- Bert -

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] time for a design meeting?

2011-02-10 Thread Sascha Silbe
Excerpts from Christian Marc Schmidt's message of Thu Feb 10 04:23:19 +0100 
2011:

 Great, talk to you Sunday at 11 EST!

That's 2011-02-13 16:00 UTC, right?

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


signature.asc
Description: PGP signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-10 Thread Mikus Grinbergs
Bert wrote
 libsugarize only works for well-behaved simple X11 programs

Hmmm.  For me, libsugarize.so has worked even with complex X11
programs.  I launch most of my third-party (Linux) applications from the
command line -- but some number of them (e.g., Chrome, Labquest) I've
sugarized so that others can launch them through Home View.

Even though these applications are not simple, I've so far not
encountered any problems:  I point activity.info to the bash
sugarize.script (rather than to the compiled sugarize.c)
and make sure the bash script has the line
export LD_PRELOAD=$SUGAR_BUNDLE_PATH/lib/libsugarize.so
I then add in lines to the end of the bash script which set up the
application's variables, then launch the application's executable.




mikus



p.s.  Non-well-behaved programs (perhaps because they might open
multiple windows) can leave behind gray circles in Frame when they
close.  I wish Sugar would automatically clean out icons from Frame once
the X11 window|session (which that icon represents) has gone away.

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] time for a design meeting?

2011-02-10 Thread Gary Martin
On 10 Feb 2011, at 09:34, Sascha Silbe si...@sugarlabs.org wrote:

 Excerpts from Christian Marc Schmidt's message of Thu Feb 10 04:23:19 +0100 
 2011:
 
 Great, talk to you Sunday at 11 EST!
 
 That's 2011-02-13 16:00 UTC, right?

Yes 16:00 UTC.

--G

 Sascha
 
 -- 
 http://sascha.silbe.org/
 http://www.infra-silbe.de/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] time for a design meeting?

2011-02-10 Thread Walter Bender
On Thu, Feb 10, 2011 at 4:34 AM, Sascha Silbe si...@sugarlabs.org wrote:
 Excerpts from Christian Marc Schmidt's message of Thu Feb 10 04:23:19 +0100 
 2011:

 Great, talk to you Sunday at 11 EST!

 That's 2011-02-13 16:00 UTC, right?

correct.

-walter


 Sascha

 --
 http://sascha.silbe.org/
 http://www.infra-silbe.de/




-- 
Walter Bender
Sugar Labs
http://www.sugarlabs.org
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-10 Thread Martin Langhoff
On Thu, Feb 10, 2011 at 3:54 AM, Bert Freudenberg b...@freudenbergs.de wrote:
 libsugarize only works for well-behaved simple X11 programs. It relies on 
 certain functions being called that have been redirected to the library's 
 overrides. It's a preload-hack, not a proper library, so I'd expect many 
 programs not to work correctly.

Indeed. At this point, we think the crash comes not so much from
libsugarize but from changing windows very quickly during startup.

If we don't use libsugarize, Sugar doesn't recognize the window as
interesting, and doesn't get the callbacks.

I have a fixed-up libsugarize that doesn't cache the call results in a
static var -- it was caching the window handle too. Not sure why it is
structured like that, it doesn't seem to make sense with apps that may
switch windows.

If we do use libsugarize, Sugar gets the callbacks
(jarabe.model.shell._window_opened_cb()) and crashes querying the
window that was valid a ms ago, and now is no longer valid. This app
(Adobe AIR stuff) seems to trigger 4 window switches (that trigger the
callback) during startup. The crash doesn't always happen -- you gotta
get the timining right for the race condition.

We're tracing this to strengthen Sugar in the face of flipping
windows -- so it won't crash. But it won't be able to keep track of
the correct window for the app either.

On the other side of the fence, I'm working with the upstream on the
activity side so that it doesn't flip windows faster than the eye can
see.

Where the eye has 'persistence of vision', xorg has race conditions. Progress?



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


[Sugar-devel] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-10 Thread Anish Mangal
Hi,

Currently, the 'network' icon on the frame tells us whether we're
connected to a network or not. Would it make sense for it to test for
internet connectivity and maybe reflect that by displaying a small
globe overlaid on the 'Network' icon?

--
Anish
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] determine origin of file selected from an object chooser?

2011-02-10 Thread Erik Blankinship
How can I determine if a file loaded with a sugar object chooser was
selected from the datastore or from an external storage device?

dsobject = chooser.get_selected_object( )
logger.debug( opening %s % dsobject.file_path )

On an xo, opening a file from the usb results in something like:

opening /home/olpc/.sugar/default/data/rawobject ...

... which is not too different from opening a file from the journal.  Is
there some additional metadata to look at to determine where the file came
from?
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] closing an activity immediately

2011-02-10 Thread Erik Blankinship


 There's a whole lot of stuff being run after Activity.__init__() before
 the activity is actually started (take a look at the source [1]).
 I haven't looked into it closely, but I suspect that your early
 self.close() hangs because the widgets are not set up yet.


 Maybe I should put self.close() into a gobject.idle_add( )?
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] determine origin of file selected from an object chooser?

2011-02-10 Thread Sascha Silbe
Excerpts from Erik Blankinship's message of Thu Feb 10 17:11:40 +0100 2011:

 How can I determine if a file loaded with a sugar object chooser was
 selected from the datastore or from an external storage device?

On Sugar 0.84+, there is no difference. Objects on external storage get
copied to the data store first.

Sascha

-- 
http://sascha.silbe.org/
http://www.infra-silbe.de/


signature.asc
Description: PGP signature
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] determine origin of file selected from an object chooser?

2011-02-10 Thread Erik Blankinship


  How can I determine if a file loaded with a sugar object chooser was
  selected from the datastore or from an external storage device?

 On Sugar 0.84+, there is no difference. Objects on external storage get
 copied to the data store first.


But the objects don't get copied to the Journal (or at least I don't see
them there).

Maybe I should rephrase my question: how can I know if the selected object
was loaded from the Journal?

What I am trying to do:
If an object is loaded from an external device, I want to add a copy of that
object to the user's journal.
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-10 Thread Martin Langhoff
On Thu, Feb 10, 2011 at 8:50 AM, Martin Langhoff
martin.langh...@gmail.com wrote:
 Indeed. At this point, we think the crash comes not so much from
 libsugarize but from changing windows very quickly during startup.

Wrtiteup of my diagnosis and patches at http://dev.laptop.org/ticket/10683

Note that the patches only shrink the window. Combine them, and the
crash (with this specific program, this hw, this load profile) goes
away. Mostly :-)

Not sure if there's a way to ask gtk.gdk  wnck to query a window in a
sane manner. Maybe this race is bad API in those bindings, maybe it's
just an X11 protocol gotcha.

Where's jg when we need him? ;-)


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


Re: [Sugar-devel] Activity crashes when using libsugarize.so

2011-02-10 Thread Simon Schampijer

On 02/10/2011 11:55 AM, Martin Langhoff wrote:

On Thu, Feb 10, 2011 at 8:50 AM, Martin Langhoff
martin.langh...@gmail.com  wrote:

Indeed. At this point, we think the crash comes not so much from
libsugarize but from changing windows very quickly during startup.


Wrtiteup of my diagnosis and patches at http://dev.laptop.org/ticket/10683

Note that the patches only shrink the window. Combine them, and the
crash (with this specific program, this hw, this load profile) goes
away. Mostly :-)

Not sure if there's a way to ask gtk.gdk  wnck to query a window in a
sane manner. Maybe this race is bad API in those bindings, maybe it's
just an X11 protocol gotcha.

Where's jg when we need him? ;-)


m


For reference: We just found that master has a catch for that issue:
http://bugs.sugarlabs.org/ticket/1123

http://git.sugarlabs.org/sugar-toolkit/mainline/commit/d304f72872fa346dd2c3cedd1d3e508a3aeb5107

Regards,
   Simon

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] determine origin of file selected from an object chooser?

2011-02-10 Thread Erik Blankinship
On Thu, Feb 10, 2011 at 11:30 AM, Erik Blankinship er...@mediamods.comwrote:


  How can I determine if a file loaded with a sugar object chooser was
  selected from the datastore or from an external storage device?

 On Sugar 0.84+, there is no difference. Objects on external storage get
 copied to the data store first.


 But the objects don't get copied to the Journal (or at least I don't see
 them there).

 Maybe I should rephrase my question: how can I know if the selected object
 was loaded from the Journal?

 What I am trying to do:
 If an object is loaded from an external device, I want to add a copy of
 that object to the user's journal.



How does this idea look to the community?  Seems hackish to me, but might
work?

errything = datastore.find( {} )[0]

...

dsobject = chooser.get_selected_object( )

from_journal = False
for errything_ds in errything:
 if errything_ds.object_id == dsobject.object_id:
  from_journal = True
  break
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] determine origin of file selected from an object chooser?

2011-02-10 Thread Gonzalo Odiard
Please, don't do it. :(

Gonzalo

How does this idea look to the community?  Seems hackish to me, but might
work?


 errything = datastore.find( {} )[0]

 ...

 dsobject = chooser.get_selected_object( )

 from_journal = False
 for errything_ds in errything:
  if errything_ds.object_id == dsobject.object_id:
   from_journal = True
   break


 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] determine origin of file selected from an object chooser?

2011-02-10 Thread Samuel Greenfeld
As far as I know there really is no need; when your activity saves state
(when exiting, etc.), it should save the copied file as part of the
activity's journal entry.

At least this is how it has always worked with Jukebox  Read.

(As a side note, the Journal description for a copied item often states
the path where it came from, but I would not rely on this to tell you
that it came from an external source.  The description or this feature
could change at any time.)

---
SJG


On 02/10/11 12:57, Erik Blankinship wrote:
 
 
 On Thu, Feb 10, 2011 at 11:30 AM, Erik Blankinship er...@mediamods.com
 mailto:er...@mediamods.com wrote:
 
 
  How can I determine if a file loaded with a sugar object
 chooser was
  selected from the datastore or from an external storage device?
 
 On Sugar 0.84+, there is no difference. Objects on external
 storage get
 copied to the data store first.
 
 
 But the objects don't get copied to the Journal (or at least I don't
 see them there).  
 
 Maybe I should rephrase my question: how can I know if the selected
 object was loaded from the Journal?
 
 What I am trying to do:
 If an object is loaded from an external device, I want to add a copy
 of that object to the user's journal.
 
 
 
 How does this idea look to the community?  Seems hackish to me, but
 might work?
 
 errything = datastore.find( {} )[0]
 
 ...
 
 dsobject = chooser.get_selected_object( )
 
 from_journal = False
 for errything_ds in errything:
  if errything_ds.object_id == dsobject.object_id:
   from_journal = True
   break
 
 
 
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release Conozco Uruguay-10

2011-02-10 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4199

Sugar Platform:
0.82 - 0.90

Download Now:
http://activities.sugarlabs.org/downloads/file/27204/conozco_uruguay-10.xo

Release notes:



Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [RELEASE] sugar-toolkit-0.84.17

2011-02-10 Thread Simon Schampijer
== Source ==

http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit/sugar-toolkit-0.84.17.tar.bz2

== News ==

* Release 0.84.17 (Simon Schampijer)
* pylint: sugar.wm._property_change_trapped: allow overriding built-in method 
(Sascha Silbe)
* pylint cleanup: pass format parameters to log functions instead of using % 
(Sascha Silbe)
* Get the correct window property instead of '_SUGAR_ACTIVITY_ID' (#1251) 
(Benjamin Berg)
* Do not pop the error trap twice (pointed out by Sascha Silbe in #1123). 
(Benjamin Berg)
* Trap X errors in wm.py (#1123) (Benjamin Berg)
* Commit from Sugar Labs: Translation System by user danishka.: 36 of 36 
messages translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user godiard.: 36 of 36 
messages translated (0 fuzzy). (Pootle daemon)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [RELEASE] sugar-0.84.32

2011-02-10 Thread Simon Schampijer
== Source ==

http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.84.32.tar.bz2

== News ==

* Release 0.84.32 (Simon Schampijer)
* Clean up the the mess introdueced by pootle that had an outdated repo (Martin 
Langhoff)
* trace flipping windows for debugging purposes dlo#10683 (Martin Langhoff)
* Commit from Sugar Labs: Translation System by user mschlager.: 222 of 222 
messages translated (0 fuzzy). (Pootle daemon)
* Commit from Sugar Labs: Translation System by user danishka.: 222 of 222 
messages translated (0 fuzzy). (Pootle daemon)
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Dextrose] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-10 Thread Bernie Innocenti
On Thu, 2011-02-10 at 12:46 -0300, Anish Mangal wrote: 
 Hi,
 
 Currently, the 'network' icon on the frame tells us whether we're
 connected to a network or not. Would it make sense for it to test for
 internet connectivity and maybe reflect that by displaying a small
 globe overlaid on the 'Network' icon?

Nice, but how do we determine if we have internet connectivity, by
pinging a host such as activities.sugarlabs.org every now and then?

If it's sufficiently low-bandwidth, then I'd be in favor. Since no other
OS currently does something similar, there's a high chance that this
idea was already tried and found to be unfeasible.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] determine origin of file selected from an object chooser?

2011-02-10 Thread Erik Blankinship
My suggestion appears to work.  What would the community suggest as a better 
solution using the existing object chooser?



On Feb 10, 2011, at 1:07 PM, Gonzalo Odiard gonz...@laptop.org wrote:

 Please, don't do it. :(
 
 Gonzalo
 
 How does this idea look to the community?  Seems hackish to me, but might 
 work?
 
 errything = datastore.find( {} )[0]
 
 ...
 
 dsobject = chooser.get_selected_object( )
 
 from_journal = False
 for errything_ds in errything:
  if errything_ds.object_id == dsobject.object_id:
   from_journal = True
   break
 
 
 ___
 Sugar-devel mailing list
 Sugar-devel@lists.sugarlabs.org
 http://lists.sugarlabs.org/listinfo/sugar-devel
 
 
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Dextrose] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-10 Thread Samuel Greenfeld
I'm pretty certain that the latest versions of Windows attempt to do
determine if they have Internet or just local access, contacting a
Microsoft server to see if they can reach it.

However I would not recommend doing this unless you have the resources
of Microsoft, or the permission to use the resources of someone who
does.  Netgear made the mistake of hardcoding the University of
Wisconsin's NTP server in a bunch of their earlier products.  Combined
with a bug this caused the university to get 150 Mb/sec (250,000
packets/second) of NTP queries coming at them.


This icon may also not be desirable on low-bandwidth connections, as
even pings from 20-30 laptops could become measurable amounts of billed
data.  Some school servers may also run offline proxies which can
request pages to be fetched from a remote online system later, and who
knows what our icon should show in that case.



On 02/10/11 15:20, Bernie Innocenti wrote:
 On Thu, 2011-02-10 at 12:46 -0300, Anish Mangal wrote: 
 Hi,

 Currently, the 'network' icon on the frame tells us whether we're
 connected to a network or not. Would it make sense for it to test for
 internet connectivity and maybe reflect that by displaying a small
 globe overlaid on the 'Network' icon?
 
 Nice, but how do we determine if we have internet connectivity, by
 pinging a host such as activities.sugarlabs.org every now and then?
 
 If it's sufficiently low-bandwidth, then I'd be in favor. Since no other
 OS currently does something similar, there's a high chance that this
 idea was already tried and found to be unfeasible.
 

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-10 Thread James Cameron
It might indicate connectivity to either the school server, Jabber
server, or successful NTP synchronisation.  A deployment might customise
what method to use, including hostnames of their own infrastructure.
The default should be harmless.

This feature is present on at least three modern consumer routers that
I've used in the past six months, in the form of an extra LED called
INTERNET.  It isn't clear how it is implemented, but it seems quite
reliable ... not indicating when I've got a problem loading pages, for
example.

-- 
James Cameron
http://quozl.linux.org.au/
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Dextrose] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-10 Thread Peter Robinson
On Thu, Feb 10, 2011 at 8:20 PM, Bernie Innocenti ber...@codewiz.org wrote:
 On Thu, 2011-02-10 at 12:46 -0300, Anish Mangal wrote:
 Hi,

 Currently, the 'network' icon on the frame tells us whether we're
 connected to a network or not. Would it make sense for it to test for
 internet connectivity and maybe reflect that by displaying a small
 globe overlaid on the 'Network' icon?

 Nice, but how do we determine if we have internet connectivity, by
 pinging a host such as activities.sugarlabs.org every now and then?

A DNS lookup of some centralised host would likely be enough. Some
networks don't allow ping so its likely that won't be a good check.
Name lookup is a fairly reasonable indication that you have some form
of network connectivity.

Peter
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Dextrose] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-10 Thread Samuel Greenfeld
I believe (but am not 100% certain) that I read somewhere that the 
Microsoft approach uses HTTP.  This likely is because if you are using 
an HTTP proxy, you may not have external DNS resolution or pinging ability.


As far routers go, I don't know how many of them try to be smart and 
indicate full internet connectivity, while others may just acknowledge 
they have an active working DHCP lease or PPPoE connection.  Most 
routers still try to use NTP to set their own clocks from the Internet 
so they could use that too, but hopefully they are a lot saner about 
using NTP than they used to be.


What I'd like to avoid with this feature is falsely claiming Sugar is 
offline, and having some activity (Get Books, etc.), refuse to function 
because it thinks (incorrectly) it cannot do anything.  We can warn if 
we want, but we don't want to be persistent about warning if a 
deployment is screwy to the point users ignore Sugar messages entirely.



On 02/10/11 18:50, Peter Robinson wrote:

On Thu, Feb 10, 2011 at 8:20 PM, Bernie Innocentiber...@codewiz.org  wrote:

On Thu, 2011-02-10 at 12:46 -0300, Anish Mangal wrote:

Hi,

Currently, the 'network' icon on the frame tells us whether we're
connected to a network or not. Would it make sense for it to test for
internet connectivity and maybe reflect that by displaying a small
globe overlaid on the 'Network' icon?

Nice, but how do we determine if we have internet connectivity, by
pinging a host such as activities.sugarlabs.org every now and then?

A DNS lookup of some centralised host would likely be enough. Some
networks don't allow ping so its likely that won't be a good check.
Name lookup is a fairly reasonable indication that you have some form
of network connectivity.

Peter
___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


Re: [Sugar-devel] [Dextrose] [DESIGN] Reflect internet connectivity in the 'Network' frame icon

2011-02-10 Thread Bernie Innocenti
On Thu, 2011-02-10 at 19:40 -0500, Samuel Greenfeld wrote:

 What I'd like to avoid with this feature is falsely claiming Sugar is 
 offline, and having some activity (Get Books, etc.), refuse to function 
 because it thinks (incorrectly) it cannot do anything.  We can warn if 
 we want, but we don't want to be persistent about warning if a 
 deployment is screwy to the point users ignore Sugar messages entirely.

+1 


 On 02/10/11 18:50, Peter Robinson wrote:
  A DNS lookup of some centralised host would likely be enough. Some
  networks don't allow ping so its likely that won't be a good check.
  Name lookup is a fairly reasonable indication that you have some form
  of network connectivity.

A DNS lookup isn't sufficient. the DNS server (for example, in the
schoolserver) can return a cached result even if the network is offline.

-- 
   // Bernie Innocenti - http://codewiz.org/
 \X/  Sugar Labs   - http://sugarlabs.org/


___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release GCompris Administration-16

2011-02-10 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4314

Sugar Platform:
0.82 - 0.90

Download Now:
http://activities.sugarlabs.org/downloads/file/27205/gcompris_administration-16.xo

Release notes:
* GCompris 9.3 release, http://gcompris.net/Release-9-30
* GCompris 9.4/5 release, http://gcompris.net/Release-9-4-2010-11-06
* Minor bug fixes


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel


[Sugar-devel] [ASLO] Release GCompris-16

2011-02-10 Thread Sugar Labs Activities
Activity Homepage:
http://activities.sugarlabs.org/addon/4313

Sugar Platform:
0.84 - 0.90

Download Now:
http://activities.sugarlabs.org/downloads/file/27206/gcompris-16.xo

Release notes:
* GCompris 9.3 release, http://gcompris.net/Release-9-30
* GCompris 9.4/5 release, http://gcompris.net/Release-9-4-2010-11-06
* Minor bug fixes
* Include voices for all available languages


Sugar Labs Activities
http://activities.sugarlabs.org

___
Sugar-devel mailing list
Sugar-devel@lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel