Re: [sugar] Proposal: Activity developers mailing list
Marco Pesenti Gritti wrote: Greg Smith wrote: Hi Bernie, I read the lists in digest except for Sur which I get individually because I was the first admin for that the list (can't seem to turn that off :-( I focus 100% on delivering the best experience possible for users of the 400K XOs shipped so far (50K more shipping every month). So I scan or read all the lists on lists.laptop.org and I try to stay up to date with wiki.laptop.org. Hello Greg, Sugar is a project with a very large scope. Many of the core contributors believes that the resources OLPC is able to devote to it are not going to be sufficient to fullfill it's long term goals or even to get near enough to them. We need to make Sugar available and used also outside OLPC to attract more contributors. That's the very reason of the existence of SugarLabs. On the long term that's going to be very useful to those 400K XOs in the field. That requires to establish Sugar as an independent FOSS project and building a community around it. And it's important for the identity of the project that the mailing lists and other services are available from its domain. After 8.2 is out and we are all a little less pressed, I'd like to propose that: 1 We move [EMAIL PROTECTED] to [EMAIL PROTECTED] OLPC specific issues related to Sugar can be discussed on [EMAIL PROTECTED] 2 We move Fructose git repositories on sugarlabs.org. They would be a couple of good steps towards the long-term goal and they would not hinder in any way the immediate OLPC goals. Cheers, Marco Right, the independent sugar FOSS project is the reason for all this moving. As marco said, we are quite sure that in the end this will help sugar to mature which will directly make the experience on the XO much better. Best, Simon ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
[sugar] Reviews report
= Approved requests = ohm and sugar should cooperate to unfreeze dcon http://dev.laptop.org/ticket/7357 ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] How do I connect to a Jabber server ?
On Tue, Aug 5, 2008 at 19:30, Mikus Grinbergs [EMAIL PROTECTED] wrote: Morgan wrote: My _wish_ is simple: I want a chance to contact (for Chat, or for collaboration) another XO at a different location. Basically, for me to initiate that, that other XO's icon needs to be shown in my Neighborhood view. Therefore you (and the people you want to contact) need to be on a community jabber server You are talking about how to *use* a jabber server once one is connected. I do not *have* a connected jabber server. It should *just work*. However there are many potential problems. You might be able to help us detect problems we haven't triggered ourselves, and by providing logs you can help us diagnose and therefore fix the problem, if it is something we can fix. Unfortunately there are many situations we can't fix, like a jabber server not running - it's up to the admin of that server to rectify that situation, and we are willing to provide assistance with that. To see people from remote locations, you need to be on the same Jabber server as they are. That requires: * Internet access - via an Access Point, or over the mesh via a school server, or over the mesh via a Mesh Portal Point XO which in turn has access, or even via some dialup technology like bluetooth+GPRS. * Network Manager to get an IP address * A jabber server to be configured * That server to be working * Other people to be on the server. What I an aware of is: (1) Months ago, I would boot my XO, and other XO icons would show up in my neighborhood view (from whatever jabber server I had specified via sugar-control-panel). Then remote users stopped showing up (no matter which server I had specified). (2) I do not myself know enough about 'telepathy', etc., to be able to figure out what is going wrong. That is why I am asking for assistance. presenceservice.log and the output of olpc-netstatus should tell us what was happening. You don't *need* to know much about the details, but we will explain for all who are interested. [I'm a G1G1 user, and do not have a Mesh Portal Point to use, nor a school server. Except for me not connecting to a jabber server, the internet works well for me.] I listed possible use cases to illustrate how the system operates... Connecting to an AP disables the mesh, so I don't see the value of what you want. Turning off the mesh while you are connected to a mesh channel would simply (in the proposal) turn the wireless radio off completely, resulting in neither gabble nor salut able to operate. Then I believe the language being used is imprecise. To me, turning off the mesh means turning off the __mesh__. If what is actually being turned off is the __radio__, then call it turning off the wireless radio. What I keep butting my head against is not being able to *control* what is going on. In my mind a 'mesh' is one interface, and an 'AP' is another interface. I would like to turn off the mesh when there are no local XOs, and no school server. You are saying that the 'AP' would get turned off as well. Not something I prefer. Mikus, tickets and logs, logs and tickets. The last time I focused on connectivity was Apr/May. What I concluded then was that my tickets got closed depending on the effect they had on the code -- *not* on whether I as a user could now experience consistent system behavior. We do now have QA people who will try the situation out and see whether the fault was fixed, and a process that involves their signoff before bugs are closed. I'm willing to file a ticket when I see something happening -- such as an error when accessing a Jabber server (though one such ticket was closed as 'invalid' - because that particular server had not given the expected answer). But it is difficult to decide what to ticket/log when I do not see something happening -- for instance, what if a connection to a Jabber server were never attempted by my XO? We appreciate the tickets, even they do on occasion get closed as Won't Fix, Works For Me, Invalid... That's no indication of your ticket-filing skills. We fix the things we can fix, and if it's something out of our control we need to remove it from our work queues. If there's some other way to resolve the situation perhaps we can do better about notifying others if their servers are down, and so on. The log files should tell us a lot about a given situation. presenceservice.log tells us when gabble and salut were running, what disconnected or failed to connect, what buddies were seen and so on. For any presence-related failure, including not seeing any buddies on your screen, presenceservice.log gives us an ability to diagnose the failure. It might not give us enough information, and if there is ultimately not enough information for us to know what failed we have no choice but to close the bug in some way. Sorry. Besides, I post from home - where I do not have a
Re: [sugar] New joyride build 2258
On Wed, Aug 6, 2008 at 7:10 AM, Build Announcer v2 [EMAIL PROTECTED] wrote: --- Changes for sugar 0.81.8-2.20080806git0fc57309f3.olpc3 from 0.81.8-1.fc9 --- + 7495 open cp software-updater on first boot after an update I don't want this! I keep shouting about it and no one seems to be listening! Home absolutely needs to be home base, especially after an update. I'm fine with tossing up a non-modal alert at boot which prompts the user to update right away, with a button which reveals the software update control panel module, but I'm NOT OK with anything which, unbeknownst to the user, flits them away to some other part of the system without his/her consent. - Eben ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] New joyride build 2258
On 8/6/08, Eben Eliason [EMAIL PROTECTED] wrote: On Wed, Aug 6, 2008 at 7:10 AM, Build Announcer v2 [EMAIL PROTECTED] wrote: --- Changes for sugar 0.81.8-2.20080806git0fc57309f3.olpc3 from 0.81.8-1.fc9 --- + 7495 open cp software-updater on first boot after an update I don't want this! I keep shouting about it and no one seems to be listening! Home absolutely needs to be home base, especially after an update. I'm fine with tossing up a non-modal alert at boot which prompts the user to update right away, with a button which reveals the software update control panel module, but I'm NOT OK with anything which, unbeknownst to the user, flits them away to some other part of the system without his/her consent. +1 Initially I was all for such first-boot features (especially with regard to G1G1 and the help-activity). But after thinking about Eben's arguments in both cases I agree that user should definitely see the home-view as the first thing when they boot the machine. Especially the Sugar-Control-Panel and its overlay above the home-view (which IIRC isn't used anywhere else in Sugar except for the Journal object chooser instead of the traditional file-choose dialogue) could be quite confusing. Cheers, Christoph - Eben ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar -- Christoph Derndorfer co-editor, olpcnews url: www.olpcnews.com e-mail: [EMAIL PROTECTED] ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Another sugar rant (was: x2o physics problem solving game)
On Wed, Aug 6, 2008 at 2:08 AM, Neil Graham [EMAIL PROTECTED] wrote: On Wednesday 06 August 2008 7:08:33 am Alex Levenson wrote: Searching for X2o using the wiki search doesn't find it. It's Called X2o! it's url is http://wiki.laptop.org/go/X2o for heaven's sake! Somebody either fix the search or just change the search box to go to google. Are you sure? When I search for 'X2o' (case insensitive) I am taken directly to the page you identified, bypassing any search results page altogether. With regards to using activities on the XO I've tried to be accepting of the sugar interface style, but this activity crystallizes things for me. I'm now prepared to move to the sugar-sucks camp. I've used many and written a few I think nearly all of us are in the sugar-sucks-but-is-still-changing-lives-and-we're-gonna-do-everything-in-our-power-to-make-it-rock camp. We like it when people move from the sugar-sucks camp into ours! ;) I'd like to be clear that I don't think there is anything done poorly in the X2o activity itself. I think it all comes from having the sugar interface. The more I encounter sugar interfaced programs, the more I think Activities would be better off with just about anything else. Specific examples would be extremely beneficial here. Is it the fullscreen nature of the window? The toolbars? (Note, there's another interesting design proposed for these: http://wiki.laptop.org/go/Designs/Toolbars) The GTK theme? There's lots of stuff missing still, but feedback on the particulars of what's already there would be great. I gave myself a long time to acclimatise, much longer than I would have for anything else, because the XO is really quite important. I really believe in the goals of the OLPC project, but I cant use the XO effectively! My daughter can't use the XO effectively! Perhaps you mean efficiently? (Most of us would agree with you, there.) However, there are certainly thousands of kids using them effectively despite the inefficiencies and bugs; the work we see coming back from deployments proves this, and keeps all of us going with the hope of making it far better in the future -- perhaps even effective and efficient enough for us spoiled folk. =) At what point does a do-over make more sense? I was prepared to take the resource usage and the slow bits and the joke that is the journal because they were all things that future work would have addressed. The cumbersome user interface is a killer though because it's designed to be like that. Again, without examples a rant is nothing but hot air. What parts are so fundamentally broken that not even future software updates could fix them? The Journal is a pretty good example of a fundamental part of the system that's mostly non-functional at present, but we have some good designs for it (http://wiki.laptop.org/go/Designs/Journal) and I expect that, at some point, hopefully soon, we'll also have the resources to implement them. - Eben ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Another sugar rant
On Wed, Aug 6, 2008 at 11:30 AM, Ton van Overbeek [EMAIL PROTECTED] wrote: Eben Eliason wrote: On Wed, Aug 6, 2008 at 2:08 AM, Neil Graham [EMAIL PROTECTED] wrote: On Wednesday 06 August 2008 7:08:33 am Alex Levenson wrote: Searching for X2o using the wiki search doesn't find it. It's Called X2o! it's url is http://wiki.laptop.org/go/X2o for heaven's sake! Somebody either fix the search or just change the search box to go to google. Are you sure? When I search for 'X2o' (case insensitive) I am taken directly to the page you identified, bypassing any search results page altogether. I have to agree with Neil. Entering X2o in the Wiki search box on the left hand side of wiki.laptop.org leads to no matches whatsoever. Searching laptop.org via Google gives the correct page as first hit. Sorry, my fault. I failed to realize that the enter key was bound to the Go button instead of the Search button. You're right, I get no results either. It's truly strange that it doesn't recognize the page title direct match. In fact, I can even click on the 'X2o' in the text where it says You searched for X2o and get linked to the correct page! It sounds like a wiki bug, to me...has anyone filed one yet? If not, I guess it should be done. - Eben Ton van Overbeek ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Another sugar rant
Hi, I believe this guy is the culprit: http://www.mediawiki.org/wiki/Manual:%24wgDBminWordLen Default minimum word length = 4. Cheers, Reinier (But still wikipedia's search function doesn't beat google by far) Eben Eliason wrote: On Wed, Aug 6, 2008 at 11:30 AM, Ton van Overbeek [EMAIL PROTECTED] wrote: Eben Eliason wrote: On Wed, Aug 6, 2008 at 2:08 AM, Neil Graham [EMAIL PROTECTED] wrote: On Wednesday 06 August 2008 7:08:33 am Alex Levenson wrote: Searching for X2o using the wiki search doesn't find it. It's Called X2o! it's url is http://wiki.laptop.org/go/X2o for heaven's sake! Somebody either fix the search or just change the search box to go to google. Are you sure? When I search for 'X2o' (case insensitive) I am taken directly to the page you identified, bypassing any search results page altogether. I have to agree with Neil. Entering X2o in the Wiki search box on the left hand side of wiki.laptop.org leads to no matches whatsoever. Searching laptop.org via Google gives the correct page as first hit. Sorry, my fault. I failed to realize that the enter key was bound to the Go button instead of the Search button. You're right, I get no results either. It's truly strange that it doesn't recognize the page title direct match. In fact, I can even click on the 'X2o' in the text where it says You searched for X2o and get linked to the correct page! It sounds like a wiki bug, to me...has anyone filed one yet? If not, I guess it should be done. - Eben Ton van Overbeek -- Reinier Heeres Waalstraat 17 2515 XK Den Haag The Netherlands Tel: +31 6 10852639 ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] New joyride build 2258
On 6 Aug 2008, at 14:47, Eben Eliason wrote: On Wed, Aug 6, 2008 at 7:10 AM, Build Announcer v2 [EMAIL PROTECTED] wrote: --- Changes for sugar 0.81.8-2.20080806git0fc57309f3.olpc3 from 0.81.8-1.fc9 --- + 7495 open cp software-updater on first boot after an update I don't want this! I keep shouting about it and no one seems to be listening! Home absolutely needs to be home base, especially after an update. I'm fine with tossing up a non-modal alert at boot which prompts the user to update right away, with a button which reveals the software update control panel module, but I'm NOT OK with anything which, unbeknownst to the user, flits them away to some other part of the system without his/her consent. +1 Just installed 2258 here, my first impression was that home page had hung/locked-up, noticed no Journal, tried to click an activity to launch something and then was dragged away into the control panel auto update. One of those non-modal alerts (horizontal black strip that pops out from below the toolbar) would be more friendly. The XOs been downloading updates for 10+min now. BTW: I do really like the standard updater (progress bar still needs some tweaking so it keep a grey outline and isn't all white fill), just would be nice to alow the user to trigger it*** ***I also felt the the behaviour where software update starts as soon as you click on the control panel icon was a little off. Would be more user friendly to display the updater interface with a button to clearly initiate the update process. Currently, if a kid goes poking about the control panel UI (a good thing), they are going to be triggering unintended update attempts for sure – on all kinds of slow network topologies... --G ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] New joyride build 2258 (Eben Eliason)
Hi All, +1 on not reaching out over the network or doing anything without user input. I'm also nervous about the software update icon in the control panel going out over the network and doing something immediately after you click and before you do anything else with the Update interface. Is there any precedent or guidelines on what happens first after you choose a Sugar Control Panel option? Has anyone tested the SW updater control panel over low-BW or offline? I'd rather see it land on a nice GUI that explains what will happen and gives you the option to click and check for the latest activities. Thanks, Greg S -- Message: 2 Date: Wed, 6 Aug 2008 09:47:42 -0400 From: Eben Eliason [EMAIL PROTECTED] Subject: Re: [sugar] New joyride build 2258 Cc: Sugar Mailing List sugar@lists.laptop.org, [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 On Wed, Aug 6, 2008 at 7:10 AM, Build Announcer v2 [EMAIL PROTECTED] wrote: --- Changes for sugar 0.81.8-2.20080806git0fc57309f3.olpc3 from 0.81.8-1.fc9 --- + 7495 open cp software-updater on first boot after an update I don't want this! I keep shouting about it and no one seems to be listening! Home absolutely needs to be home base, especially after an update. I'm fine with tossing up a non-modal alert at boot which prompts the user to update right away, with a button which reveals the software update control panel module, but I'm NOT OK with anything which, unbeknownst to the user, flits them away to some other part of the system without his/her consent. - Eben -- Message: 3 Date: Wed, 6 Aug 2008 15:57:31 +0200 From: Christoph Derndorfer [EMAIL PROTECTED] Subject: Re: [sugar] New joyride build 2258 To: Eben Eliason [EMAIL PROTECTED] Cc: Sugar Mailing List sugar@lists.laptop.org, [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 On 8/6/08, Eben Eliason [EMAIL PROTECTED] wrote: On Wed, Aug 6, 2008 at 7:10 AM, Build Announcer v2 [EMAIL PROTECTED] wrote: --- Changes for sugar 0.81.8-2.20080806git0fc57309f3.olpc3 from 0.81.8-1.fc9 --- + 7495 open cp software-updater on first boot after an update I don't want this! I keep shouting about it and no one seems to be listening! Home absolutely needs to be home base, especially after an update. I'm fine with tossing up a non-modal alert at boot which prompts the user to update right away, with a button which reveals the software update control panel module, but I'm NOT OK with anything which, unbeknownst to the user, flits them away to some other part of the system without his/her consent. +1 Initially I was all for such first-boot features (especially with regard to G1G1 and the help-activity). But after thinking about Eben's arguments in both cases I agree that user should definitely see the home-view as the first thing when they boot the machine. Especially the Sugar-Control-Panel and its overlay above the home-view (which IIRC isn't used anywhere else in Sugar except for the Journal object chooser instead of the traditional file-choose dialogue) could be quite confusing. Cheers, Christoph - Eben ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] New joyride build 2258 (Eben Eliason)
On Wed, Aug 6, 2008 at 12:30 PM, Greg Smith [EMAIL PROTECTED] wrote: Hi All, +1 on not reaching out over the network or doing anything without user input. I'm also nervous about the software update icon in the control panel going out over the network and doing something immediately after you click and before you do anything else with the Update interface. Is there any precedent or guidelines on what happens first after you choose a Sugar Control Panel option? These are usually implemented in 1 of 2 ways. It may be implemented as a menu item titled Check for updates or similar, which makes the desire to actually initiate the action implicit in selecting it. It can also be implemented as a control panel module, in which case there's usually a Check now button, in addition to information such as the time/date of the last successful update, and options to set up automatic update checks. In our case, we do offer a Cancel button, which would prevent this update scenario from taking over the system/bandwidth completely. However, a Check now button would also work just fine. - Eben Has anyone tested the SW updater control panel over low-BW or offline? I'd rather see it land on a nice GUI that explains what will happen and gives you the option to click and check for the latest activities. Thanks, Greg S -- Message: 2 Date: Wed, 6 Aug 2008 09:47:42 -0400 From: Eben Eliason [EMAIL PROTECTED] Subject: Re: [sugar] New joyride build 2258 Cc: Sugar Mailing List sugar@lists.laptop.org, [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=ISO-8859-1 On Wed, Aug 6, 2008 at 7:10 AM, Build Announcer v2 [EMAIL PROTECTED] wrote: --- Changes for sugar 0.81.8-2.20080806git0fc57309f3.olpc3 from 0.81.8-1.fc9 --- + 7495 open cp software-updater on first boot after an update I don't want this! I keep shouting about it and no one seems to be listening! Home absolutely needs to be home base, especially after an update. I'm fine with tossing up a non-modal alert at boot which prompts the user to update right away, with a button which reveals the software update control panel module, but I'm NOT OK with anything which, unbeknownst to the user, flits them away to some other part of the system without his/her consent. - Eben -- Message: 3 Date: Wed, 6 Aug 2008 15:57:31 +0200 From: Christoph Derndorfer [EMAIL PROTECTED] Subject: Re: [sugar] New joyride build 2258 To: Eben Eliason [EMAIL PROTECTED] Cc: Sugar Mailing List sugar@lists.laptop.org, [EMAIL PROTECTED] Message-ID: [EMAIL PROTECTED] Content-Type: text/plain; charset=iso-8859-1 On 8/6/08, Eben Eliason [EMAIL PROTECTED] wrote: On Wed, Aug 6, 2008 at 7:10 AM, Build Announcer v2 [EMAIL PROTECTED] wrote: --- Changes for sugar 0.81.8-2.20080806git0fc57309f3.olpc3 from 0.81.8-1.fc9 --- + 7495 open cp software-updater on first boot after an update I don't want this! I keep shouting about it and no one seems to be listening! Home absolutely needs to be home base, especially after an update. I'm fine with tossing up a non-modal alert at boot which prompts the user to update right away, with a button which reveals the software update control panel module, but I'm NOT OK with anything which, unbeknownst to the user, flits them away to some other part of the system without his/her consent. +1 Initially I was all for such first-boot features (especially with regard to G1G1 and the help-activity). But after thinking about Eben's arguments in both cases I agree that user should definitely see the home-view as the first thing when they boot the machine. Especially the Sugar-Control-Panel and its overlay above the home-view (which IIRC isn't used anywhere else in Sugar except for the Journal object chooser instead of the traditional file-choose dialogue) could be quite confusing. Cheers, Christoph - Eben ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
[sugar] [PATCH] 5657: don't install activities in Rainbow's loophole (and draft 2 of bigger patch for 9.1)
attachments, in order: (1) 0...the proposed patch to sugar (2) suga..9.1 sugar part of a draft patch for 9.1, only read it if you're interested, scarcely tested. (3) 0...s-l proposed patch for sugar-toolkit (4) tool...9.1 the sugar-toolkit part of the draft 9.1 patch (5) 0...fixes some minor pylint cleanup to sugar, to be applied after patch 1 above. So, the important parts here are (1) and (3). Patch (1) makes sugar registry service not add bundles unless they're in ~/Activities. (The registry can add such bundles, but the service will refuse to). Patch (3) makes activitybundle.py refuse to install loopholed activities unless called with securitycheck=False. From 4db7faf72edc7eaa2aa4631a98aa29819f2e5ec8 Mon Sep 17 00:00:00 2001 From: Jameson Quinn [EMAIL PROTECTED] Date: Mon, 4 Aug 2008 19:17:11 -0600 Subject: [PATCH] bug #5657 - don't add bundles to registry unless they're in ~/Activities --- service/bundleregistry.py |7 +-- 1 files changed, 5 insertions(+), 2 deletions(-) diff --git a/service/bundleregistry.py b/service/bundleregistry.py index e7c30a8..5d3fec8 100644 --- a/service/bundleregistry.py +++ b/service/bundleregistry.py @@ -174,12 +174,15 @@ class BundleRegistry(gobject.GObject): bundle_dirs.sort(lambda d1, d2: cmp(bundles[d1], bundles[d2])) for folder in bundle_dirs: try: -self.add_bundle(folder) +self.add_bundle(folder, securitycheck=False) except Exception, e: logging.error('Error while processing installed activity ' \ 'bundle: %s, %s, %s' % (folder, e.__class__, e)) -def add_bundle(self, bundle_path): +def add_bundle(self, bundle_path, securitycheck=True): +if securitycheck and not bundle_path.startswith( +os.path.expanduser(~/Activities)): +return False try: bundle = ActivityBundle(bundle_path) except MalformedBundleException: -- 1.5.2.5 diff --git a/service/activityregistryservice.py b/service/activityregistryservice.py index 6ba5598..7b3415a 100644 --- a/service/activityregistryservice.py +++ b/service/activityregistryservice.py @@ -24,6 +24,11 @@ _ACTIVITY_REGISTRY_SERVICE_NAME = 'org.laptop.ActivityRegistry' _ACTIVITY_REGISTRY_IFACE = 'org.laptop.ActivityRegistry' _ACTIVITY_REGISTRY_PATH = '/org/laptop/ActivityRegistry' +def log_it(s): +f = file(/home/chema/.sugar/default/logs/hardcoded,ab) +f.write(s+\n) +f.close() + class ActivityRegistry(dbus.service.Object): def __init__(self): bus = dbus.SessionBus() @@ -64,11 +69,8 @@ class ActivityRegistry(dbus.service.Object): @dbus.service.method(_ACTIVITY_REGISTRY_IFACE, in_signature='', out_signature='aa{sv}') def GetActivities(self): -result = [] registry = bundleregistry.get_registry() -for bundle in registry: -result.append(self._bundle_to_dict(bundle)) -return result +return (bundle for bundle in registry) @dbus.service.method(_ACTIVITY_REGISTRY_IFACE, in_signature='s', out_signature='a{sv}') @@ -78,7 +80,8 @@ class ActivityRegistry(dbus.service.Object): if not bundle: return {} -return self._bundle_to_dict(bundle) +log_it(service about to return +str(bundle)) +return bundle @dbus.service.method(_ACTIVITY_REGISTRY_IFACE, in_signature='s', out_signature='aa{sv}') @@ -90,18 +93,15 @@ class ActivityRegistry(dbus.service.Object): name = bundle.get_name().lower() bundle_id = bundle.get_bundle_id().lower() if name.find(key) != -1 or bundle_id.find(key) != -1: -result.append(self._bundle_to_dict(bundle)) +result.append(bundle) return result @dbus.service.method(_ACTIVITY_REGISTRY_IFACE, in_signature='s', out_signature='aa{sv}') def GetActivitiesForType(self, mime_type): -result = [] registry = bundleregistry.get_registry() -for bundle in registry.get_activities_for_type(mime_type): -result.append(self._bundle_to_dict(bundle)) -return result +return registry.get_activities_for_type(mime_type) @dbus.service.method(_ACTIVITY_REGISTRY_IFACE, in_signature='sib', out_signature='') @@ -127,32 +127,14 @@ class ActivityRegistry(dbus.service.Object): def ActivityChanged(self, activity_info): pass -def _bundle_to_dict(self, bundle): -registry = bundleregistry.get_registry() -favorite = registry.is_bundle_favorite(bundle.get_bundle_id(), - bundle.get_activity_version()) -x, y = registry.get_bundle_position(bundle.get_bundle_id(), -
[sugar] [RELEASE] Chat 45
I've released Chat-44, available at: http://dev.laptop.org/pub/sugar/sources/chat-activity/Chat-45.tar.bz2 http://dev.laptop.org/~morgan/bundles/Chat-45.xo NEWS: 45 * Updated translations: sl, nb, el, mr, rw, ur, ne * Fixed MANIFEST to include all translations (morgs) Regards Morgan ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Question about write from Niue -OLPC training
Hi Gary, The versions I am using are: - Sugar v.1.703 - WikiBrowse v.9, and - Write v.55. Thanks Grisel On Thu, Aug 7, 2008 at 9:16 AM, Gary C Martin [EMAIL PROTECTED] wrote: Hi Grisel, On 6 Aug 2008, at 23:42, grisel carreira wrote: Hi there, Please let me know if I should direct the questions to someone else since I haven't received any response. (see below) Cheers, Grisel Sorry, this probably doesn't help... I'm running a very new development build (joyride-2258) and it seems to be running as hoped. Using Browse-94, visiting Google images, right clicking and selecting copy on several images into the clipboard, then starting a new Write-56 activity and dragging in the images with the mouse one by one (see attached screen shot for the not so masterpiece result). Can you say what version of the Sugar operating system you are using? Also Browse version and Write version would be good. Hi there, I am doing some volunteer work for the OLPC in Niue island. One basic activity we set up on the teacher training was to get pictures from Google images, save them to the journal and upload them into Write by using the Image tab, insert facility but it didnt work. We tried various ways: - copy the image and paste it in the 'write' document - upload to clipboard image and insert it into write - saving the image from goolge with a .jpg extension - although it will save it as a picture in the journal it will still not insert it in write -well, it will insert it but it can not be viewed. - combination of the above. Could you please send us details of how to deal with this basic activity of having people inserting images into 'write' which are not coming from pictures being taken from the OLPC. It will be great if you can get us an answer by tomorrow which is our last day of training. Thanks heaps, Grisel --Gary ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Question about write from Niue -OLPC training
HI Grisel, Think that write might not allow the image to be imported if it is too big. Can you tell me how large the images are? What are their dimensions in pixels? Thanks! Martin On Thu, 2008-08-07 at 08:42 +1000, grisel carreira wrote: Hi there, Please let me know if I should direct the questions to someone else since I haven't received any response. (see below) Cheers, Grisel -- Forwarded message -- From: grisel carreira [EMAIL PROTECTED] Date: Thu, Jul 31, 2008 at 7:53 PM Subject: Question about write from Niue -OLPC training To: sugar@lists.laptop.org Hi there, I am doing some volunteer work for the OLPC in Niue island. One basic activity we set up on the teacher training was to get pictures from Google images, save them to the journal and upload them into Write by using the Image tab, insert facility but it didnt work. We tried various ways: - copy the image and paste it in the 'write' document - upload to clipboard image and insert it into write - saving the image from goolge with a .jpg extension - although it will save it as a picture in the journal it will still not insert it in write -well, it will insert it but it can not be viewed. - combination of the above. Could you please send us details of how to deal with this basic activity of having people inserting images into 'write' which are not coming from pictures being taken from the OLPC. It will be great if you can get us an answer by tomorrow which is our last day of training. Thanks heaps, Grisel ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Question about write from Niue -OLPC training
Martin Sevior [EMAIL PROTECTED] writes: Think that write might not allow the image to be imported if it is too big. Can you tell me how large the images are? What are their dimensions in pixels? We've had had the same issue in Haïti, with both 656 and 703 builds, and with images as taken with the Record activity (I don't know ths size and dimensions.) Is this fixed in newer (stable) builds? -- Bastien ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] Question about write from Niue -OLPC training
On Thu, 2008-08-07 at 09:45 +1000, grisel carreira wrote: Hi Gary, The versions I am using are: - Sugar v.1.703 - WikiBrowse v.9, and - Write v.55. Thanks Grisel Hi Grisel, There is a good chance this is fixed in the current joyride 8.20 builds. Clearly we need to get these out to you. A work around until then would be to reduce the size of the images or to only select images that are 640x480 or smaller. I'm almost certain these will work as this is the size of images made with the camera. Cheers Martin On Thu, Aug 7, 2008 at 9:16 AM, Gary C Martin [EMAIL PROTECTED] wrote: Hi Grisel, On 6 Aug 2008, at 23:42, grisel carreira wrote: Hi there, Please let me know if I should direct the questions to someone else since I haven't received any response. (see below) Cheers, Grisel Sorry, this probably doesn't help... I'm running a very new development build (joyride-2258) and it seems to be running as hoped. Using Browse-94, visiting Google images, right clicking and selecting copy on several images into the clipboard, then starting a new Write-56 activity and dragging in the images with the mouse one by one (see attached screen shot for the not so masterpiece result). Can you say what version of the Sugar operating system you are using? Also Browse version and Write version would be good. Hi there, I am doing some volunteer work for the OLPC in Niue island. One basic activity we set up on the teacher training was to get pictures from Google images, save them to the journal and upload them into Write by using the Image tab, insert facility but it didnt work. We tried various ways: - copy the image and paste it in the 'write' document - upload to clipboard image and insert it into write - saving the image from goolge with a .jpg extension - although it will save it as a picture in the journal it will still not insert it in write -well, it will insert it but it can not be viewed. - combination of the above. Could you please send us details of how to deal with this basic activity of having people inserting images into 'write' which are not coming from pictures being taken from the OLPC. It will be great if you can get us an answer by tomorrow which is our last day of training. Thanks heaps, Grisel --Gary ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
[sugar] [RELEASE] etoys-3.0.2076 / etoys-activity-87
Hello, This is new release of etoys. http://dev.laptop.org/pub/sugar/sources/etoys/etoys-3.0.2076.tar.gz http://dev.laptop.org/pub/sugar/sources/etoys-activity/etoys-activity-87.tar.gz NEWS * Updated translations: ne, fr, ur, de, el * Pango is off by default. * Keep the screen depth at 16 bit upon the transition of virtual display and non-virtual. * Some fixes for the pango rendering binding. * Fixes a bug in 'save Morph on file'. * TRAC #7779: lastKeystroke malfunction in player moved to different project. * Use translated name to find buddies flap, do not translate holder morph name Cheers, - Takashi ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
[sugar] suspend on 'idle'
First of all. I want to mention that when I first install a Joyride build, the initial state of the 'inhibit' flags (i.e., filenames) in /etc and /etc/ohm is not present -- that allows the XO to 'suspend'. Yet on the 'Power' sub-panel within the olpc 'Control Panel', the 'Automatic power management' box is __NOT__ checked. I thought that box would control 'suspend' -- and leaving it unchecked would mean I don't want my XO to suspend. Seems like an incompatibility somewhere. More to the point, I perform a number of actions as part of installing a new build. Lately, if I forget to first set 'inhibit-idle-suspend', the XO is __suspending__ on me while performing downloads (via yum) of modules to augment what the build contained. [I use ethernet, and 'suspend' currently kills it - so I have to reboot to again have an ethernet connection.] I *really* would like 'idle' to mean processor is idle -- not just keyboard is idle (of course my keyboard is idle -- I'm waiting for the still-ongoing downloads to finish before I type the next command). mikus ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
Re: [sugar] suspend on 'idle'
On Thu, Aug 7, 2008 at 12:01 AM, Mikus Grinbergs [EMAIL PROTECTED] wrote: More to the point, I perform a number of actions as part of installing a new build. Lately, if I forget to first set 'inhibit-idle-suspend', the XO is __suspending__ on me while performing downloads (via yum) of modules to augment what the build contained. [I use ethernet, and 'suspend' currently kills it - so I You may find http://dev.laptop.org/ticket/6432 useful. --scott -- ( http://cscott.net/ ) ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar
[sugar] [RELEASE] Calculate 21
Hi, I have release Calculate 21, available at: http://dev.laptop.org/pub/sugar/sources/calculate-activity/Calculate-21.tar.bz2 http://dev.laptop.org/~rwh/Calculate-21.xo NEWS entries: * Updated translations Regards, -- Reinier Heeres Waalstraat 17 2515 XK Den Haag The Netherlands Tel: +31 6 10852639 ___ Sugar mailing list Sugar@lists.laptop.org http://lists.laptop.org/listinfo/sugar