Re: [Sugar-devel] [Systems] updating pootle and creating branches
On 09/28/10 18:21, Tomeu Vizoso wrote: On Tue, Sep 28, 2010 at 15:43, Sayamindu Dasgupta sayami...@gmail.com wrote: On Tue, Sep 28, 2010 at 9:17 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Sep 28, 2010 at 15:07, Chris Leonard cjlhomeaddr...@gmail.com wrote: Bernie, I will continue to to the work I do as a Pootle admin (as time allows), but as we've discussed before, we need someone from the Systems group to handle back-end things like project versioning and git connections. I do what I can via the Pootle administrative interface, but that is limited to adding new language admins, new language set up, adding existing projects to new languages, and the like. That's great, I'm now working on fixing pushing to git and then will do branches. Will try to write down processes for the next admin. Hi guys, Apologies for disappearing. Here are the details you may require: Documentation of the helper scripts: http://git.sugarlabs.org/projects/pootle-helpers/repos/mainline/blobs/master/README Updater stuff (look at the cronjobs for Pootle - they ensure the VCS stuff remain in sync). SSH keys (/var/lib/pootle/.ssh) Let me know if you need any more help. If it makes sense - I can participate in a Skype/IRC meeting to guide you through the process. Can you check when you have time if what I added to the wiki is true and if there's any big omission? http://wiki.sugarlabs.org/go/Service/translate#Notes Thanks for writing this excellent documentation. I added an administrative contact translate AT sugarlabs DOT org. It forwards to sayamindu, cjl, tomeu and bernie. There's also pootle AT sugarlabs DOT org, which seems to be used for bounces of email sent out by pootle. If you want, I could route pootle's cron output to one of these in addition to systems-logs. In case of trouble, it may send you plenty of spam. -- // 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] [Systems] updating pootle and creating branches
On Wed, Sep 29, 2010 at 08:37, Bernie Innocenti ber...@codewiz.org wrote: On 09/28/10 18:21, Tomeu Vizoso wrote: On Tue, Sep 28, 2010 at 15:43, Sayamindu Dasgupta sayami...@gmail.com wrote: On Tue, Sep 28, 2010 at 9:17 AM, Tomeu Vizoso to...@sugarlabs.org wrote: On Tue, Sep 28, 2010 at 15:07, Chris Leonard cjlhomeaddr...@gmail.com wrote: Bernie, I will continue to to the work I do as a Pootle admin (as time allows), but as we've discussed before, we need someone from the Systems group to handle back-end things like project versioning and git connections. I do what I can via the Pootle administrative interface, but that is limited to adding new language admins, new language set up, adding existing projects to new languages, and the like. That's great, I'm now working on fixing pushing to git and then will do branches. Will try to write down processes for the next admin. Hi guys, Apologies for disappearing. Here are the details you may require: Documentation of the helper scripts: http://git.sugarlabs.org/projects/pootle-helpers/repos/mainline/blobs/master/README Updater stuff (look at the cronjobs for Pootle - they ensure the VCS stuff remain in sync). SSH keys (/var/lib/pootle/.ssh) Let me know if you need any more help. If it makes sense - I can participate in a Skype/IRC meeting to guide you through the process. Can you check when you have time if what I added to the wiki is true and if there's any big omission? http://wiki.sugarlabs.org/go/Service/translate#Notes Thanks for writing this excellent documentation. I added an administrative contact translate AT sugarlabs DOT org. It forwards to sayamindu, cjl, tomeu and bernie. There's also pootle AT sugarlabs DOT org, which seems to be used for bounces of email sent out by pootle. If you want, I could route pootle's cron output to one of these in addition to systems-logs. In case of trouble, it may send you plenty of spam. I would be interested in getting those for a short period from now. Thanks, Tomeu -- // 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] [Localization] 0.90 localization
On Tue, Sep 28, 2010 at 20:34, Chris Leonard cjlhomeaddr...@gmail.com wrote: On Tue, Sep 28, 2010 at 12:59 PM, Tomeu Vizoso to...@sugarlabs.org wrote: Ok, what was happening is that Walter was checking the Spanish .po for TurtleArt and it had not been merged from the templates. Language administrators need to do so from time to time by clicking the update the files from templates link in the Files tab. Btw, do we have documented somewhere what language admins need to do? There is a page that needs some improvement and updating that would be the appropriate place to document the update templates task for lang admins. http://wiki.sugarlabs.org/go/Translation_Team/Administration_QuickStart Have added this section: http://wiki.sugarlabs.org/go/Translation_Team/Administration_QuickStart#Catching_up_with_new_strings_to_translate Would be good if language admins could do what is said there so they get the latest strings from 0.90. And also, if someone could double check that what is said is true and cannot cause harm. Regards, Tomeu cjl ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Initial F14 developers-only release for XO and XO-1.5
On Tue, Sep 28, 2010 at 3:37 PM, Simon Schampijer si...@schampijer.de wrote: Hi Gary, thanks a lot for your notes. I will comment on the things I have answers to. On 09/27/2010 05:38 PM, Gary C Martin wrote: On 24 Sep 2010, at 13:08, Simon Schampijer wrote: [...] Thanks for the image Simon, great to have something working on the XO-1 to test! Have been poking a stick at it yesterday and today – here's a quick brain dump (no tickets filed yet) just to get the ball rolling on this 0.89.6 Sugar based build: - First boot dcon speckled/corrupt video image initially, and then just before first boot name/colour chooser, did not happen on subsequent boots - XO boot animation ends with the XO character with one dot below it, think this is the wrong frame to end on – it should hold with the XO and full circle of dots - Non-Sugar style cursor for interacting with first boot name/colour chooser - Terminal-31 activity console and tabs text layout/redraw vte (?) issues - When activities launch on an XO-1, you see a brief flash of a non-Sugar themed window before going correctly fullscreen - Display brightness XO-1 keys have no effect - Journal toolbar empty space to left of new 'sort by' icon, would expect the search field to expand to take any available space - Tried sharing Chat-67 with neighbourhood and later stopping, it does not remove the Chat icon from neighbourhood view Seen that, too. Would be great if someone with an F14 non-XO build could check if that happens there as well. - Resuming/Joining a shared Chat always resumes as private mode Same here. Should be tested on vanilla F14. - Home fav view ring re-suffles its activity order after a reboot for no obvious pattern, but seems somewhat related to activities used - Experienced Sugar crashing and rebooting on several occasions just after switching between two activities, or just after trying to start one (sorry couldn't find any useful logs) - The 'My Settings' control panel still overflows module icons off the right edge, did the patches to fix this not land in mainline? No, I have seen no patch that has been proposed to master. - Missing gettext dependency for using ./setup build when developing/hacking activities ;) Has this been added back to the package yet as dependency? No, because everything I've seen in the discussion thread on it tells me that the script that builds the .xo packages should be building them so gettext isn't generally needed. There seemed that there was a few exceptions and one of them didn't have any translations. Peter ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Systems] updating pootle and creating branches
On 09/29/10 09:24, Tomeu Vizoso wrote: I would be interested in getting those for a short period from now. Done. For now I've added you explicitly in /etc/aliases on pootle, so you can remove yourself easily. (remember to run newaliases after editing the file). -- // 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] Initial F14 developers-only release for XO and XO-1.5
On 09/27/2010 05:38 PM, Gary C Martin wrote: - Tried sharing Chat-67 with neighbourhood and later stopping, it does not remove the Chat icon from neighbourhood view Has been reproduced in vanilla 0.90 and filed as http://bugs.sugarlabs.org/ticket/2389 - Resuming/Joining a shared Chat always resumes as private mode Has been reproduced in vanilla 0.90 and filed as http://bugs.sugarlabs.org/ticket/2390 Thanks Gary for identifying those. Regards, Simon ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] Setup local network on the olpc with python
Hi guys, for my bachelor thesis i need to program a short demonstration for the game i worked out to show the main functionality. It's some kind of a multiplayer learning game with some rpg-ideas for motivation keeping. For the multiplayer approach i need so setup a local mesh network to send data from one XO to all other. The data, that is send, is always an integer or a string value. So what i read till now, the dbus tubes would fit perfectly for my approach. But at the moment i fail at this point. I don't understand how i have to implement it. So i'm on search for some good tutorial, some code snippets, where this is shown, or someone, who could explain it to me. Thanks very much for your help! grevenilvec ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] RIT Humanitarian Open Source Software Class
On 09/23/2010 06:38 PM, Justin Lewis wrote: RIT has a humanitarian open source class that willl be working on some more projects this semester. All our students have been instructed to get their blogs on the sugar planet. We have also aggregated their blogs in our own planet that can be found here: http://foss.rit.edu/planet/hoss/ Today we have decided on projects and the teams. See this blog post for more information: http://blog.jlewopensource.com/2010/09/class-092310.html Justin Lewis http://jlewopensource.com Thanks Justin for notifying. Looking forward to the results (yeay, some posts have already been appearing on our planet...) Simon ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Weekly test request reminders? (was Re: Priorities for testing)
On 09/26/2010 10:04 PM, Tim McNamara wrote: On 25 September 2010 21:07, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: Excerpts from Tim McNamara's message of Fri Sep 24 22:37:18 +0200 2010: The New Zealand testing groups will be operating in a few hours. If you have any requests for things to be explored, please respond within 5 hours. That was a bit short notice. Sorry about that Sascha. We meet every weekend (Friday evening in Europe, Friday afternoon USA) , but haven't received many direct requests in a while. If it would be worthwhile, I can send out reminders in the middle of the week asking for things that are worthwhile to be manually tested. Do people think that would be excessive? Tim Hi Tim, that would be excellent indeed. We especially need help with 0.90 testing. What hardware and software setup are you using for testing? XOs? Soas? Regards, Simon ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] about reader
Hi: I'm replying to the list for more feedback. Please see below. 2010/9/29 Lucian Branescu lucian.brane...@gmail.com: On 29 September 2010 13:24, Gabriel Eirea gei...@gmail.com wrote: Hi Lucian: I've seen you are actively working on the Read activity. I am from ceibalJAM in Uruguay and we have a request for certain features and I would like to know your opinion about them. We may find a volunteer here to work on them, and maybe we can get some funding but it's still a remote possibility. The request comes from an editor that donated an ebook in pdf for Ceibal and finds it difficult to read in the current version of Read. Hi. I'm not a Read maintainer, I just lent a hand to fix Read temporarily. I'm one of the maintainers of Browse, so my priorities are there. I don't mean to discourage you from asking me things about Read and I still intend to help out with Read if I find the time, I just wanted you to know my position. You should also post this to the mailing list, others may have better ideas than me. You can just add the mailing list email to the CC when you reply. OK, thank you Lucian. The requested features are: - possibility to include a floating menu for navigation No other activity has done this before afaik and I'm not sure the Sugar UI guidelines. I also don't know how resource intensive this would be, but it may slow down scrolling. I believe keyboard shortcuts, the XO game buttons and locking the navigation toolbar are better solutions (the latter can already be done by clicking the navigation toolbar button). Apparently this is a pdf feature that has been used before by the editors of this book before. The idea is to have a button for the index, the main sections, etc. always visible on top or bottom. - possibility to call one pdf file from inside another You mean URLs to other PDFs? The way this might work would be to download the PDF from that URL to the Journal and offer the user the option to open it from the Journal (in Read). As of right now, the Read activity has no internet access and I don't know if it's a good idea to add this feature. Others may be able to say more on this This feature would be needed to speed up the loading of graphics-intensive books. I imagine there would be a bundle with several pdf files that would have links among them. I don't know how to make this compatible with the journal. - possibility to call a web page from inside the pdf This scenario has been discussed before, with no useful conclusion. The way security works in Sugar, activities are not allowed to open other activities. An exception could possibly made for the browser or the Sugar API could be extended so that activities declare what URIs they accept to open (e.g. http:, file:, apt: magnet:, etc.) Apparently this would be a very useful feature for learning ebooks, since they would like to have links to webpages with further information on certain topics. - add zoom by paragraph to improve legibility with small fonts Do you mean automatically zooming on a certain paragraph? I don't know if evince (the backend we use for displaying PDFs) is capable of this, I'd have to check. Yes, automatically zooming would mean for example using the navigation keys to select next/previous paragraph and showing the selected paragraph with a larger font. - possibility to have different page sizes inside a document Do you mean pages of different sizes? How would these sizes be determined? Do you mean zooming pages independantly? The page sizes would be defined at the time of creating the pdf. In this particular case they designed topics consisting of one illustration and a bunch of text, each topic uses one to two pages in the paper book, they would like to convert this so that every topic is one page in the ebook, of variable length so as to include the illustration and all the text with no blank space at the end. - adapt the xo buttons next to the screen to enable navigation using the floating menu Yes, it's possible and relatively easyto add both keyboard shortcuts and use the XO buttons for navigation, regardless of the existence of a floating menu. Thank you! Gabriel Do you think these features are possible using the current code base of Read? How much effort do you think it would take to implement them? Thank you, Gabriel ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] about reader
On 29 September 2010 14:08, Gabriel Eirea gei...@gmail.com wrote: Hi: I'm replying to the list for more feedback. Please see below. 2010/9/29 Lucian Branescu lucian.brane...@gmail.com: On 29 September 2010 13:24, Gabriel Eirea gei...@gmail.com wrote: Hi Lucian: I've seen you are actively working on the Read activity. I am from ceibalJAM in Uruguay and we have a request for certain features and I would like to know your opinion about them. We may find a volunteer here to work on them, and maybe we can get some funding but it's still a remote possibility. The request comes from an editor that donated an ebook in pdf for Ceibal and finds it difficult to read in the current version of Read. Hi. I'm not a Read maintainer, I just lent a hand to fix Read temporarily. I'm one of the maintainers of Browse, so my priorities are there. I don't mean to discourage you from asking me things about Read and I still intend to help out with Read if I find the time, I just wanted you to know my position. You should also post this to the mailing list, others may have better ideas than me. You can just add the mailing list email to the CC when you reply. OK, thank you Lucian. The requested features are: - possibility to include a floating menu for navigation No other activity has done this before afaik and I'm not sure the Sugar UI guidelines. I also don't know how resource intensive this would be, but it may slow down scrolling. I believe keyboard shortcuts, the XO game buttons and locking the navigation toolbar are better solutions (the latter can already be done by clicking the navigation toolbar button). Apparently this is a pdf feature that has been used before by the editors of this book before. The idea is to have a button for the index, the main sections, etc. always visible on top or bottom. As I said, right now you can click the button for the navigation toolbar and the toolbar will no longer hide when you move the pointer away. Is that acceptable? - possibility to call one pdf file from inside another You mean URLs to other PDFs? The way this might work would be to download the PDF from that URL to the Journal and offer the user the option to open it from the Journal (in Read). As of right now, the Read activity has no internet access and I don't know if it's a good idea to add this feature. Others may be able to say more on this This feature would be needed to speed up the loading of graphics-intensive books. I imagine there would be a bundle with several pdf files that would have links among them. I don't know how to make this compatible with the journal. I think would be better achieved with a single PDF or a single EPUB file. To open multiple PDFs anyway, Read might be able to open a .zip file and open PDFs/EPUBs from there, but again I'm not sure it's a good idea r.e. UI guidelines. - possibility to call a web page from inside the pdf This scenario has been discussed before, with no useful conclusion. The way security works in Sugar, activities are not allowed to open other activities. An exception could possibly made for the browser or the Sugar API could be extended so that activities declare what URIs they accept to open (e.g. http:, file:, apt: magnet:, etc.) Apparently this would be a very useful feature for learning ebooks, since they would like to have links to webpages with further information on certain topics. This feature needs more discussion - both UI design and implementation-wise. At the moment, users can copy links and paste them in Browse. - add zoom by paragraph to improve legibility with small fonts Do you mean automatically zooming on a certain paragraph? I don't know if evince (the backend we use for displaying PDFs) is capable of this, I'd have to check. Yes, automatically zooming would mean for example using the navigation keys to select next/previous paragraph and showing the selected paragraph with a larger font. I see. If evince has support for this, it won't be too hard to implement. If not, it might be quite hard. - possibility to have different page sizes inside a document Do you mean pages of different sizes? How would these sizes be determined? Do you mean zooming pages independantly? The page sizes would be defined at the time of creating the pdf. In this particular case they designed topics consisting of one illustration and a bunch of text, each topic uses one to two pages in the paper book, they would like to convert this so that every topic is one page in the ebook, of variable length so as to include the illustration and all the text with no blank space at the end. I believe this is between them and their PDF creation software. Afaik, PDFs with variable size pages should just work in Read. - adapt the xo buttons next to the screen to enable navigation using the floating menu Yes, it's possible and relatively easyto add both keyboard shortcuts and use the XO buttons for
Re: [Sugar-devel] 0.90 Exception: Activities list view and Journal view crashes in Arabic
On 09/24/2010 04:22 PM, Tomeu Vizoso wrote: On Fri, Sep 24, 2010 at 16:10, Simon Schampijersi...@schampijer.de wrote: On 09/24/2010 10:06 AM, Tomeu Vizoso wrote: On Wed, Sep 22, 2010 at 18:06, Simon Schampijersi...@schampijer.de wrote: Hi, I am asking for an exception for [1] 0.90. Originally discovered on 0.84 this is also present on 0.90. The patch [2] has been reviewed by Sascha and Tomeu already and it is low risk. Otherwise Arabic will be unusable as this effects the Journal and the Activities list view. I think there should be a big FIXME comment with a reference to a ticket in trac because it's a hack and because we really need to find an appropriate fix in the near future. Also, we don't have plurals in any other place? Regards, Tomeu http://bugs.sugarlabs.org/attachment/ticket/2354/0001-If-the-string-does-not-contain-a-conversion-specifie.patch The latest patch does add the comment. Sorry, I was referring to a ticket about correctly translating strings with plurals. If you want to use the same ticket, at least it should be clear that it is about a proper solution and not just about the crash. It also helps if it starts with FIXME. I will check if there are other plurals at other places - none I am aware of for now. I have only found the activity updater. Regards, Tomeu Ok, addressed the raised issues and committed. Thanks for taking the time, Simon ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Setup local network on the olpc with python
Maybe you could find some info here: - http://en.flossmanuals.net/ActivitiesGuideSugar/SugarCollaboration - http://wiki.laptop.org/go/Activity_sharing - http://wiki.sugarlabs.org/go/Development_Team/Almanac/Sugar.presence Regards, Daniel On Wed, Sep 29, 2010 at 7:37 AM, Tobi Neuner t...@greven-9er.de wrote: Hi guys, for my bachelor thesis i need to program a short demonstration for the game i worked out to show the main functionality. It's some kind of a multiplayer learning game with some rpg-ideas for motivation keeping. For the multiplayer approach i need so setup a local mesh network to send data from one XO to all other. The data, that is send, is always an integer or a string value. So what i read till now, the dbus tubes would fit perfectly for my approach. But at the moment i fail at this point. I don't understand how i have to implement it. So i'm on search for some good tutorial, some code snippets, where this is shown, or someone, who could explain it to me. Thanks very much for your help! grevenilvec ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel -- Ing. Daniel Castelo Plan Ceibal - Área Técnica Avda. Italia 6201 Montevideo - Uruguay. Tel.: 2 601 57 73 Interno 2228 E-mail : dcast...@plan.ceibal.edu.uy ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] wordgroupz ( A vocabulary building app) ported to sugar
On 26 Sep 2010, at 08:36, Ratnadeep Debnath wrote: Hi, Lexicology is the word that means studying words. It includes collecting words, classifying them, researching, learning how to spell it, etc. wordGroupz helps one do such things. I was thinking of activity names for wordGroupz and I came up with the following: 1) Learn Vocabulary 2) Learn words 3) Collect words ( but wordgroupz is more than collecting words) As the feedback was that the name wordGroupz was a misspelling and non-verb like, I guess Group Words could be an obvious choice to keep it close to the original version (I didn't realise this was a port of an existing GNOME application). However to be honest, I think the extra dependancies are the real issue just at the moment (I haven't seen it working yet). I guess specific distros could each individually package up and install the needed dependancies (though that is not very child friendly, at least a deployment could choose to include it). Unfortunately as it is, almost none of the existing Sugar users will be able to use this activity. I try to keep a fairly clean Sugar environment here for testing, and it fails right away with ImportError: No module named nltk.corpus I made it as far as yum installing 15Mb for python-nltk (which pulled in about 11 external dependancies), at which point the activity would run and show its UI, but was still non-functional. I looked through the error logs (attached below if you are curious) but didn't have time to try and go through the dependencies trying to find what was still missing. Using Sugar, I also needed to use curl from a terminal to download the .xo, as the server it's currently hosted on does not provide the correct mime type (Browse just displays the raw data so it's not easy to get it installed). And then to install I used sugar-install-bundle file.xo from the terminal The activity icon also shows up blank and un-clickable in the main Sugar UI with the only way to run it from the Sugar Home list view. Had a quick look and there are two issues here. 1). The activity.info names the icon as: icon = wordgroupz.svg ... it should be just: icon = wordgroupz The icon at this point will still be blank, but is at least clickable in the Sugar UI. 2) The actual wordgroupz.svg is an empty inkscape template that happens to have an absolute (and incorrect) link to an external png file in the place it was on your original build machine. The icon needs to be a svg vector image as it will be scaled and automatically coloured as needed for various parts of the Sugar UI: http://wiki.sugarlabs.org/go/Development_Team/Almanac/Making_Icons http://wiki.sugarlabs.org/go/Human_Interface_Guidelines/The_Sugar_Interface/Icons On a general note, rather than trying to make an .xo bundle out of all this (bundles should be self contained with all needed resources/dependancies inside), I think your best bet is to try and get it packaged somehow for distros, or perhaps speak with alsroot about his 0install work. Regards, --Gary Thanks, Regards, rtnpro On Thu, Sep 23, 2010 at 10:11 PM, Gary Martin garycmar...@googlemail.com wrote: Hi Sankarshan, On 23 Sep 2010, at 14:36, sankarshan wrote: On Wed, Sep 22, 2010 at 10:31 AM, Tim McNamara paperl...@timmcnamara.co.nz wrote: Well done on your release! My *personal* feeling is that you should change the name of the Activity. Ideally, all Sugar Activities should be verbs.[1] I know that many Activities haven't followed the HIG guidelines, but following them demonstrates a level of care. At the very least, I'm not happy with the trailing Z. I don't think encouraging misspelling is entirely suitable for an educational environment. Is there a way to request feedback on names that are along the lines mandated by the HIG ? Sure, if in doubt, post some names you'd consider here. FWIW, it can be tough finding a single verb that makes much sense (and can be quite a pain to change a name later on so is good to settle on a name early as possible). Regards, --Gary -- sankarshan mukhopadhyay http://sankarshan.randomink.org/blog ___ 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 mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Weekly test request reminders? (was Re: Priorities for testing)
Excerpts from Tim McNamara's message of Sun Sep 26 22:04:56 +0200 2010: Sorry about that Sascha. We meet every weekend (Friday evening in Europe, Friday afternoon USA) , but haven't received many direct requests in a while. Ah, good to know. If it would be worthwhile, I can send out reminders in the middle of the week asking for things that are worthwhile to be manually tested. Do people think that would be excessive? That would be nice. If you add a [Testing] tag to those mails we could set up a mailing list topic to allow people to opt-out (see the subscription options [1]). If mailman supports sorting a message into multiple topics, a [Reminder] topic might be useful as well. Sascha [1] http://lists.sugarlabs.org/options/sugar-devel -- 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
[Sugar-devel] Reflashing XO1.5 with newer OS
Hi, I reflashed my XO 1 today with the latest OS 852.img but on startup, it shows the Invalid System Date message with :( smiley. Even before the update, it used to show the message and the rest things are functioning fine. Invalid System Date OLPC C2, 256 MiB memory installed S/N CSN74901B4F How to rectfiy the problem? Regards Harpreet On Sat, Sep 25, 2010 at 2:39 PM, Andrea Mangiatordi andrea.mangiato...@gmail.com wrote: Il 25/09/10 09.51, Harpreet Sareen ha scritto: Hi Andrea, So finally I am finished with my tests and have resumed the work for the activity. Hi Harpreet, I am glad to know you are working on the activity :) Actually, I have two XO’s. One of them is refurbished XO 1.0 and the other is the newer XO 1.5. I need to reflash the new XO 1.5 with the new OS but have been facing some problem. I downloaded the latest OS206.zd from http://build.laptop.org/10.1.1/. I put up both the files in the top level of a USB stick. Although, the image was found by the laptop, I am getting this message on startup. Below is the description of the problem, if you could suggest something? I have no experience with the XO 1.5, but: as the error messages is related to block sizes, I would first check the integrity of the image (using md5sum). If you have already done it and you are still experiencing problems, I would try inserting the usb stick when the machine is off and then booting it while pressing the four game controller keys on the right of the screen all together. This worked and allowed to bypass some problems on the XO 1. The second XO will allow me to create a mesh network between the two XO’s. Nice. You can also use SOAS on the devices in order to get exactly the same environment. You don't actually need to use a mesh network: the XOs automatically talk to each other when they are connected to the same access point. This structure: XO -- AP -- XO is the same as XO -mesh- XO and requires less efforts, both from you and from the cpus. I was collecting some material (Common objects, Holiday, Class, Workplace etc.) yesterday for the activity’s interface and have been playing around with the XO's to get familiar with their functioning. In due course, the work would be concluded. Great. But let me know: have you contacted the uruguayan developers? I know they have a demo written in python. I know you prefer working with C#, but you should better ask them if there is something you can do to integrate their job, instead of replicating it. And, how's it going in Greece? I am going home today. Actually, I am writing this email from Athen's airport. The conference was not so good, the major advantage in coming here was the weight of the publications they produce. But I was assigned to a session where my work was totally unrelated to the other presented papers. I still enjoyed my stay in Corfu, which is a terrific place to go on holiday. Ciao! Andrea ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] wordgroupz ( A vocabulary building app) ported to sugar
On Wed, Sep 29, 2010 at 03:45:01PM +0100, Gary Martin wrote: On 26 Sep 2010, at 08:36, Ratnadeep Debnath wrote: Hi, Lexicology is the word that means studying words. It includes collecting words, classifying them, researching, learning how to spell it, etc. wordGroupz helps one do such things. On a general note, rather than trying to make an .xo bundle out of all this (bundles should be self contained with all needed resources/dependancies inside), I think your best bet is to try and get it packaged somehow for distros, or perhaps speak with alsroot about his 0install work. The idea I've came is that there are no silver bullets and issues like this can't be effectively and obviously solved within heterogeneous environments (like where sugar is using, e.g. several distros and several releases of the same distro) just by e.g. bundling all time. The way I'm implementing right now is supporting full life cycle of activities. So, it is not obvious and fast. But what I've already done(it will be ready to test at the end of this week) could be used in some way. It will looks like, you are add additional keys to your activity.info file including requires = nltk-python and using sweets push command, send it to bazaar.sl.o. If everything is ok, users can attach repositories (for at least for fedora and debian/ubuntu) from bazaar.sl.o and install your activity (and all deps) from native packages. -- Aleksey ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [RELEASE] sugar-toolkit-0.90.0
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-toolkit/sugar-toolkit-0.90.0.tar.bz2 == News == * Release 0.90.0 (Simon Schampijer) * Do not break if the string contains no conversion specifier #2354 (Simon Schampijer) * Commit from Sugar Labs: Translation System by user tomeu.: 40 of 40 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user mschlager.: 40 of 40 messages translated (0 fuzzy). (Pootle daemon) * Don't try to share the activity if we couldn't find a suitable connection #2217 (Tomeu Vizoso) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Bug No. #398
Hi, I have changed a few things in viewsource.py, and i am posting the diff file, the issue still remains the same although i have changed view type from gtksourceview2 to gtk.textview. --- git diff file. diff --git a/install/lib/python2.6/site-packages/jarabe/view/viewsource.py b/install/lib/python2.6/site-packages/jarabe/view/viewsource.py index 524db9e..24e361c 100644 --- a/install/lib/python2.6/site-packages/jarabe/view/viewsource.py +++ b/install/lib/python2.6/site-packages/jarabe/view/viewsource.py @@ -321,18 +321,18 @@ class Toolbar(gtk.Toolbar): search_item.show() search_entry.show() -_search_prev = ToolButton('go-previous-paired') -_search_prev.set_tooltip(_('Previous')) -#self._search_prev.connect('clicked', self._search_prev_cb) -self.insert(_search_prev, -1) -_search_prev.show() +self._search_prev = ToolButton('go-previous-paired') +self._search_prev.set_tooltip(_('Previous')) +self._search_prev.connect('clicked', self._search_prev_cb) +self.insert(self._search_prev, -1) +self._search_prev.show() -_search_next = ToolButton('go-next-paired') -_search_next.set_tooltip(_('Next')) -#self._search_next.connect('clicked', self._search_next_cb) -self.insert(_search_next, -1) -_search_next.show() -#self._update_search_buttons() +self._search_next = ToolButton('go-next-paired') +self._search_next.set_tooltip(_('Next')) +self._search_next.connect('clicked', self._search_next_cb) +self.insert(self._search_next, -1) +self._search_next.show() +self._update_search_buttons() stop = ToolButton(icon_name='dialog-cancel') @@ -343,10 +343,30 @@ class Toolbar(gtk.Toolbar): def _search_entry_activate_cb(self, entry): self.viewer.set_search_text(entry.props.text) +self._update_search_buttons() def _search_entry_changed_cb(self, entry): self.viewer.set_search_text(entry.props.text) - +self._update_search_buttons() + +def _search_prev_cb(self, button): +self.viewer.search_next('backward') +self._update_search_buttons() + +def _search_next_cb(self, button): +self.viewer.search_next('forward') +self._update_search_buttons() + +def _update_search_buttons(self,): +if len(self.viewer.search_text) == 0: +self._search_prev.props.sensitive = False +self._search_next.props.sensitive = False +else: +prev = self.viewer.get_next_result('backward') +next = self.viewer.get_next_result('forward') +self._search_prev.props.sensitive = prev != None +self._search_next.props.sensitive = next != None + def _add_separator(self, expand=False): separator = gtk.SeparatorToolItem() separator.props.draw = False @@ -452,22 +472,88 @@ class SourceDisplay(gtk.ScrolledWindow): self._buffer = gtksourceview2.Buffer() self._buffer.set_highlight_syntax(True) -self._source_view = gtksourceview2.View(self._buffer) -self._source_view.set_editable(False) -self._source_view.set_cursor_visible(True) -self._source_view.set_show_line_numbers(True) -self._source_view.set_show_right_margin(True) -self._source_view.set_right_margin_position(80) +self.search_text = ' ' + +#self._source_view = gtksourceview2.View(self._buffer) +#self._source_view.set_editable(False) +#self._source_view.set_cursor_visible(True) +#self._source_view.set_show_line_numbers(True) +#self._source_view.set_show_right_margin(True) +#self._source_view.set_right_margin_position(80) #self._source_view.set_highlight_current_line(True) #FIXME: Ugly color -self._source_view.modify_font(_SOURCE_FONT) -self.add(self._source_view) -self._source_view.show() +#self._source_view.modify_font(_SOURCE_FONT) + # self.add(self._source_view) + # self._source_view.show() + +self._textview = gtk.TextView(self._buffer) +self.add(self._textview) +self._tagtable = gtk.TextTagTable() +hilite_tag = gtk.TextTag('search-hilite') +hilite_tag.props.background = '#B0' +self._tagtable.add(hilite_tag) +select_tag = gtk.TextTag('search-select') +select_tag.props.background = '#B0B0FF' +self._tagtable.add(select_tag) + +scroll = gtk.ScrolledWindow() +scroll.set_policy(gtk.POLICY_AUTOMATIC, gtk.POLICY_AUTOMATIC) +scroll.add(self._textview) +self._textview.show() + self._file_path = None def set_search_text(self, text): self.search_text = text +buffer = self._textview.get_buffer() +start, end = buffer.get_bounds() + #
[Sugar-devel] [RELEASE] sugar-toolkit-0.90.1
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-base/sugar-base-0.90.1.tar.bz2 == News == * Print stack when encountering an exception during log formatting (Sascha Silbe) PS: this is the right version. As we did release 0.90 already due to an unforeseen event we needed to bump the version number for this release. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [RELEASE] sugar-base-0.90.1
Sorry the header should have been sugar-base of course. On 09/29/2010 05:53 PM, Simon Schampijer wrote: == Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-base/sugar-base-0.90.1.tar.bz2 == News == * Print stack when encountering an exception during log formatting (Sascha Silbe) PS: this is the right version. As we did release 0.90 already due to an unforeseen event we needed to bump the version number for this release. ___ 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] [RELEASE] sugar-datastore-0.90.0
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar-datastore/sugar-datastore-0.90.0.tar.bz2 == News == * Do not store symlinks #2362 (Aleksey Lim) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Initial F14 developers-only release for XO and XO-1.5
On 29 Sep 2010, at 09:32, Peter Robinson wrote: On Tue, Sep 28, 2010 at 3:37 PM, Simon Schampijer si...@schampijer.de wrote: Hi Gary, thanks a lot for your notes. I will comment on the things I have answers to. On 09/27/2010 05:38 PM, Gary C Martin wrote: On 24 Sep 2010, at 13:08, Simon Schampijer wrote: [...] Thanks for the image Simon, great to have something working on the XO-1 to test! Have been poking a stick at it yesterday and today – here's a quick brain dump (no tickets filed yet) just to get the ball rolling on this 0.89.6 Sugar based build: - First boot dcon speckled/corrupt video image initially, and then just before first boot name/colour chooser, did not happen on subsequent boots - XO boot animation ends with the XO character with one dot below it, think this is the wrong frame to end on – it should hold with the XO and full circle of dots - Non-Sugar style cursor for interacting with first boot name/colour chooser - Terminal-31 activity console and tabs text layout/redraw vte (?) issues - When activities launch on an XO-1, you see a brief flash of a non-Sugar themed window before going correctly fullscreen - Display brightness XO-1 keys have no effect - Journal toolbar empty space to left of new 'sort by' icon, would expect the search field to expand to take any available space - Tried sharing Chat-67 with neighbourhood and later stopping, it does not remove the Chat icon from neighbourhood view Seen that, too. Would be great if someone with an F14 non-XO build could check if that happens there as well. - Resuming/Joining a shared Chat always resumes as private mode Same here. Should be tested on vanilla F14. - Home fav view ring re-suffles its activity order after a reboot for no obvious pattern, but seems somewhat related to activities used - Experienced Sugar crashing and rebooting on several occasions just after switching between two activities, or just after trying to start one (sorry couldn't find any useful logs) - The 'My Settings' control panel still overflows module icons off the right edge, did the patches to fix this not land in mainline? No, I have seen no patch that has been proposed to master. - Missing gettext dependency for using ./setup build when developing/hacking activities ;) Has this been added back to the package yet as dependency? No, because everything I've seen in the discussion thread on it tells me that the script that builds the .xo packages should be building them so gettext isn't generally needed. 'The script' is part of Sugar (sugar-toolkit), sugar.activities.bundlebuilder so that folks (ideally learners) can hack on or create activities with working localisation hooks. Simon, should we add gettext to the various Platform_Components pages? I'm not sure if it was part of the Fedora distro way back and since removed, or something that OLPC had added as part of their distro builds. http://wiki.sugarlabs.org/go/0.88/Platform_Components Regards, --Gary There seemed that there was a few exceptions and one of them didn't have any translations. Peter ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [RELEASE] sugar-0.90.0
== Source == http://download.sugarlabs.org/sources/sucrose/glucose/sugar/sugar-0.90.0.tar.bz2 == News == * Release 0.90.0 (Simon Schampijer) * Cast the event coordinates to integers #2291 (Simon Schampijer) * Don't miss early nick updates from our contacts #2355 (Tomeu Vizoso) * Do not allow empty string activity_id #1814 (Aleksey Lim) ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [RELEASE] Chat-68
== Source == http://download.sugarlabs.org/sources/sucrose/fructose/Chat/Chat-68.tar.bz2 == News == * Update translations for de and ta ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Initial F14 developers-only release for XO and XO-1.5
On Wed, Sep 29, 2010 at 5:09 PM, Gary Martin garycmar...@googlemail.com wrote: On 29 Sep 2010, at 09:32, Peter Robinson wrote: On Tue, Sep 28, 2010 at 3:37 PM, Simon Schampijer si...@schampijer.de wrote: Hi Gary, thanks a lot for your notes. I will comment on the things I have answers to. On 09/27/2010 05:38 PM, Gary C Martin wrote: On 24 Sep 2010, at 13:08, Simon Schampijer wrote: [...] Thanks for the image Simon, great to have something working on the XO-1 to test! Have been poking a stick at it yesterday and today – here's a quick brain dump (no tickets filed yet) just to get the ball rolling on this 0.89.6 Sugar based build: - First boot dcon speckled/corrupt video image initially, and then just before first boot name/colour chooser, did not happen on subsequent boots - XO boot animation ends with the XO character with one dot below it, think this is the wrong frame to end on – it should hold with the XO and full circle of dots - Non-Sugar style cursor for interacting with first boot name/colour chooser - Terminal-31 activity console and tabs text layout/redraw vte (?) issues - When activities launch on an XO-1, you see a brief flash of a non-Sugar themed window before going correctly fullscreen - Display brightness XO-1 keys have no effect - Journal toolbar empty space to left of new 'sort by' icon, would expect the search field to expand to take any available space - Tried sharing Chat-67 with neighbourhood and later stopping, it does not remove the Chat icon from neighbourhood view Seen that, too. Would be great if someone with an F14 non-XO build could check if that happens there as well. - Resuming/Joining a shared Chat always resumes as private mode Same here. Should be tested on vanilla F14. - Home fav view ring re-suffles its activity order after a reboot for no obvious pattern, but seems somewhat related to activities used - Experienced Sugar crashing and rebooting on several occasions just after switching between two activities, or just after trying to start one (sorry couldn't find any useful logs) - The 'My Settings' control panel still overflows module icons off the right edge, did the patches to fix this not land in mainline? No, I have seen no patch that has been proposed to master. - Missing gettext dependency for using ./setup build when developing/hacking activities ;) Has this been added back to the package yet as dependency? No, because everything I've seen in the discussion thread on it tells me that the script that builds the .xo packages should be building them so gettext isn't generally needed. 'The script' is part of Sugar (sugar-toolkit), sugar.activities.bundlebuilder so that folks (ideally learners) can hack on or create activities with working localisation hooks. Simon, should we add gettext to the various Platform_Components pages? I'm not sure if it was part of the Fedora distro way back and since removed, or something that OLPC had added as part of their distro builds. Of course its part of Fedora. How do you think people build packages with translations? Peter ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [RELEASE] Browse-118
== Source == http://download.sugarlabs.org/sources/sucrose/fructose/Browse/Browse-118.tar.bz2 == News == Mostly just translations. * Release 118 (Lucian Branescu Mihaila) * Commit from Sugar Labs: Translation System by user mschlager.: 29 of 30 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user thangam.ar...@gmail.com.: 29 of 29 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user Myckel.: 30 of 30 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] Replacing Illegal character ':' in username (SL #2152)
Excerpts from Dipankar Patro's message of Wed Sep 29 19:32:22 +0200 2010: @@ -42,6 +43,7 @@ def set_nick(nick): if not nick: raise ValueError(_(You must enter a name.)) if not isinstance(nick, unicode): +nick = re.sub(r':', '_', nick) nick = unicode(nick, 'utf-8') client = gconf.client_get_default() client.set_string(/desktop/sugar/user/nick, nick) This would change the user-set (and user-visible) name. We should avoid to do that unless we have a very good reason. Instead it should be coped with at the lower-level place that breaks, i.e. in the code interacting with the school server. Not sure exactly which file that is, maybe someone else can give a better hint. 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
[Sugar-devel] exporting metadata from the journal
Is there a documented way (or a script) to process all available metadata from the Journal? I am looking for timestamps, type of data stored, collaborated with, etc. and not the actual content of the activity. cheers, Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor, Information Systems Director, Campus Business Solutions San Francisco State University http://verma.sfsu.edu/ http://opensource.sfsu.edu/ http://cbs.sfsu.edu/ http://is.sfsu.edu/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Weekly test request reminders? (was Re: Priorities for testing)
On Wed, 2010-09-29 at 14:30 +0200, Simon Schampijer wrote: that would be excellent indeed. We especially need help with 0.90 testing. What hardware and software setup are you using for testing? XOs? Soas? In Auckland we have quite a lot of XO-1s (mostly CL1 models) and a few XO-1.5s (mostly prototypes with the wireless powersaving hardware fault). We have virtualbox and regular laptop hardware, but I don't think we have anything on which wireless works with soas. We also have a schoolserver and good internet connectivity. Wellington has a similar number of XOs, but I'll let Tim describe their soas, virtualbox and other resources. See http://wiki.laptop.org/go/OLPC_New_Zealand Personally, I find XO, SoaS and VirtualBox images easiest to test, we download the night before and re-image our XOs or make new SoaS. For example there is a Sugar 0.90 release email on this list today and I have no idea what I'd do with the source. ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Weekly test request reminders? (was Re: Priorities for testing)
That would be nice. If you add a [Testing] tag to those mails we could set up a mailing list topic to allow people to opt-out (see the subscription options [1]). If mailman supports sorting a message into multiple topics, a [Reminder] topic might be useful as well. Sascha [1] http://lists.sugarlabs.org/options/sugar-devel We currently use the mailing list test...@lists.laptop.org Considering the huge number of lists that many of us follow I would like us to consider whether we need to use another list. There are 16 lists on lists.sugarlabs.org and over 100 lists on lists.laptop.org and many of us follow quite a few and the lines between olpc and Sugar are blurred because if you support one you are often found supporting the other. Could we use test...@lists.laptop.org or do we need to separate out Sugar testing for non XO hardware? Whatever is decided I will follow, just making sure we think it through. Thanks Tabitha ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Weekly test request reminders? (was Re: Priorities for testing)
On 30 September 2010 07:56, Tabitha Roder tabi...@tabitha.net.nz wrote: That would be nice. If you add a [Testing] tag to those mails we could set up a mailing list topic to allow people to opt-out (see the subscription options [1]). If mailman supports sorting a message into multiple topics, a [Reminder] topic might be useful as well. Sascha [1] http://lists.sugarlabs.org/options/sugar-devel We currently use the mailing list test...@lists.laptop.org Considering the huge number of lists that many of us follow I would like us to consider whether we need to use another list. There are 16 lists on lists.sugarlabs.org and over 100 lists on lists.laptop.org and many of us follow quite a few and the lines between olpc and Sugar are blurred because if you support one you are often found supporting the other. Could we use test...@lists.laptop.org or do we need to separate out Sugar testing for non XO hardware? Whatever is decided I will follow, just making sure we think it through. Thanks Tabitha Hi Tabitha, I think Sascha was just asking that we add [Testing] to messages to sugar-devel. This means that people can opt-out of those messages in the list's administration setting. Coordinating tests between OLPC Sugar Labs is an interesting one. It's something I've been working on for several months [1]. Perhaps there could be a BOF session with a few people in San Fran to work out the simplest way forward? Tim [1] http://people.sugarlabs.org/~tim/testing ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] exporting metadata from the journal
Excerpts from Sameer Verma's message of Wed Sep 29 20:39:05 +0200 2010: Is there a documented way (or a script) to process all available metadata from the Journal? I am looking for timestamps, type of data stored, collaborated with, etc. and not the actual content of the activity. Depends on your definition of documented way and process all available metadata. ;) sugar.datastore.datastore.find({}) will return DSObject instances for all entries in the data store (unless you have enough entries to hit the DBus timeout [1]). Full metadata is available as ds_object.metadata (or ds_object.metadata.get_dictionary() if the interface of DSMetadata isn't dict-like enough for your use). See the Backup [2] activity for how to access the data store directly via DBus and handling different versions (0.82 - 0.90). Sascha [1] https://bugs.sugarlabs.org/ticket/1936 [2] http://git.sugarlabs.org/projects/backup/repos/mainline/trees/master -- 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] wordgroupz ( A vocabulary building app) ported to sugar
On 30 September 2010 03:45, Gary Martin garycmar...@googlemail.com wrote: However to be honest, I think the extra dependancies are the real issue just at the moment (I haven't seen it working yet). I guess specific distros could each individually package up and install the needed dependancies (though that is not very child friendly, at least a deployment could choose to include it). Unfortunately as it is, almost none of the existing Sugar users will be able to use this activity. I try to keep a fairly clean Sugar environment here for testing, and it fails right away with ImportError: No module named nltk.corpus I made it as far as yum installing 15Mb for python-nltk (which pulled in about 11 external dependancies), at which point the activity would run and show its UI, but was still non-functional. I looked through the error logs (attached below if you are curious) but didn't have time to try and go through the dependencies trying to find what was still missing. NLTK depends on much more than the software. It also needs the corpus data to run effectively[1][,2]. From memory, that's generally several hundred megs. However wordGroupz may not require the whole stack. NLTK is a highly modular application/framework and could be spliced and packaged by the wordGroupz maintainers. I've done a fair bit of work with NLTK this year and am fairly active in that community, however I don't have time to look into the complexities of this right now. Tim [1] http://www.nltk.org/data [2] http://nltk.googlecode.com/svn/trunk/nltk_data/index.xml ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Weekly test request reminders? (was Re: Priorities for testing)
Coordinating tests between OLPC Sugar Labs is an interesting one. It's something I've been working on for several months [1]. Perhaps there could be a BOF session with a few people in San Fran to work out the simplest way forward? Tim Added testing to the wiki page for San Fran Summit topics. Thanks for the suggestion. Tabitha ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)
On 30 September 2010 06:32, Dipankar Patro dipan...@seeta.in wrote: Hi, With reference to bug : http://bugs.sugarlabs.org/ticket/2152 I am trying to replace the ':' character in the username with '_', while the user is entering the Username in About Me. The following has been done by me so far: - diff --git a/extensions/cpsection/aboutme/model.py b/extensions/cpsection/aboutme/model.py index 8500799..47e7158 100644 --- a/extensions/cpsection/aboutme/model.py +++ b/extensions/cpsection/aboutme/model.py @@ -17,6 +17,7 @@ from gettext import gettext as _ import gconf +import re _COLORS = {'red': {'dark':'#b20008', 'medium':'#e6000a', 'light':'#ffadce'}, 'orange': {'dark':'#9a5200', 'medium':'#c97e00', 'light':'#ffc169'}, @@ -42,6 +43,7 @@ def set_nick(nick): if not nick: raise ValueError(_(You must enter a name.)) if not isinstance(nick, unicode): +nick = re.sub(r':', '_', nick) nick = unicode(nick, 'utf-8') client = gconf.client_get_default() client.set_string(/desktop/sugar/user/nick, nick) I would use simple string operations rather than regular expressions. Also, take it out of the type checking block. Unicode expressions may still contain :. Looking at this, I would also change the first conditional to something that emulates a try/except block. if nick: nick = unicode(nick.replace(':', '_'), encoding='utf-8') client = gconf.client_get_default() client.set_string(/desktop/sugar/user/nick, nick) else: raise ValueError(_(You must enter a name.)) I see no added advantage in type testing for unicode. Unicode instances will incur no further penalty than what would have occurred anyway with type testing. Like Sascha, I don't know where to implement the name change. Tim ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Weekly test request reminders? (was Re: Priorities for testing)
Are there any plans to provide remote participation via Skype or similar to these talks? Contrary to popular opinion, not everyone who works for OLPC will be going to San Fransisco next month :) --- Samuel Greenfeld QA Engineer, OLPC Association On 9/29/2010 4:24 PM, Tabitha Roder wrote: Coordinating tests between OLPC Sugar Labs is an interesting one. It's something I've been working on for several months [1]. Perhaps there could be a BOF session with a few people in San Fran to work out the simplest way forward? Tim Added testing to the wiki page for San Fran Summit topics. Thanks for the suggestion. Tabitha ___ 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] Global Education Conference 15-19 November 2010
Hello Sugar lovers The 2010 Global Education Conference will be held November 15 - 19, 2010, online and free - I am wondering how much Sugar community support I could get if I proposed a Sugar session, It would mean that before the session attendees would need to download Sugar on a Stick, I think it would be good if we had community involved and able to help with running it in more than just English and helping people, anyone want to be involved? I am thinking of proposing an open discussion, where people who have tried downloading Sugar on a Stick and using it give us feedback on their experience and can ask questions of the Sugar community. If people are having installation problems we divert them to IRC channel (maybe #sugar-newbies) for instant support, and keep the elluminate session focused on education benefits, suggestions, etc. So far we have English and Hindi listed, thanks Manu for offering support for this session and bringing your experience with grade 6 and 7 in New Delhi Sugar on a Stick deployment. Thanks in advance. Kind regards Tabitha Roder eLearning specialist and olpc volunteer tabi...@tabitha.net.nz Cell +64 21 482229 http://tabitharoder.wordpress.com/ http://tabitharoder.blogspot.com/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [RELEASE] Write-71
== Source == http://download.sugarlabs.org/sources/sucrose/fructose/Write/Write-71.tar.bz2 == News == * Release 71 (Simon Schampijer) * Commit from Sugar Labs: Translation System by user mschlager.: 45 of 45 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user thangam.ar...@gmail.com.: 45 of 45 messages translated (0 fuzzy). (Pootle daemon) * Commit from Sugar Labs: Translation System by user Myckel.: 45 of 45 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] [Systems] updating pootle and creating branches
Sorry for the late response, I'm still working through a huge backlog of unread email. On 09/28/10 15:07, Chris Leonard wrote: I will continue to to the work I do as a Pootle admin (as time allows), but as we've discussed before, we need someone from the Systems group to handle back-end things like project versioning and git connections. For any need, just ask on syst...@lists.sugarlabs.org. Yesterday I also gave Tomeu root access. Ideally, we'd want to avoid overloading him with more responsibility, so consider it a temporary plug. In case you forgot, you also have a shell account on pootle with sudo privileges. I do what I can via the Pootle administrative interface, but that is limited to adding new language admins, new language set up, adding existing projects to new languages, and the like. Thanks, this is really appreciated. -- // 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] [Testing] Submitting test requests - some provisional instructions
I have created a page in the OLPC wiki for submitting test requests[1]. The reason I used wiki.laptop.org rather than wiki.sl.o was because that's where the NZ teams' presences are currently. A wiki page serves as a good place so that people don't need to sign into several services, etc. This process is subject to something else being adopted that works better for everyone. Please provide feedback on other suggestions.* If you would like something tested and reported on, please submit it to [1]. If you're short of time or whatever, feel free to send it to sugar-devel and I'll port the request over. I've created a small format for receiving test requests. Please include the following information: * Test description Either provide a test case and expected behaviour, a ticket (that includes replication instructions) that you think you've fixed, or just say [General]. * Required equipment Indicate whether Internet connectivity is required, SoaS, XO-1, XO-1.5, virtual machine image, etc. * Download location Where we get the file to test. Direct links are best. Tim * I have discounted a few others, such a Google Forms. I would like to stick to free software. [1] http://wiki.laptop.org/go/OLPC_New_Zealand/Test_Requests ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] Replacing Illegal character ':' in username (SL #2152)
On Wed, Sep 29, 2010 at 1:32 PM, Dipankar Patro dipan...@seeta.in wrote: With reference to bug : http://bugs.sugarlabs.org/ticket/2152 The diagnosis of the bug is incorrect. We never use the user-selected 'nickname' as a username in the XS. We do provide it as in the GECOS info, and there may be a bug in that. I strongly recommend that you focus on digging for more info on where the bug triggers - is the registration code on the sugar side building an invalid xmlrpm msg? - is the registration code on the XS side not escaping the nickname? - is the problem somewhere else? If the problem is in any of the 2 spots I mention, then the ':' character is the least of our worries ;-) 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 ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] exporting metadata from the journal
On Wed, Sep 29, 2010 at 12:51 PM, Sascha Silbe sascha-ml-reply-to-201...@silbe.org wrote: Excerpts from Sameer Verma's message of Wed Sep 29 20:39:05 +0200 2010: Is there a documented way (or a script) to process all available metadata from the Journal? I am looking for timestamps, type of data stored, collaborated with, etc. and not the actual content of the activity. Depends on your definition of documented way and process all available metadata. ;) sugar.datastore.datastore.find({}) will return DSObject instances for all entries in the data store (unless you have enough entries to hit the DBus timeout [1]). Full metadata is available as ds_object.metadata (or ds_object.metadata.get_dictionary() if the interface of DSMetadata isn't dict-like enough for your use). See the Backup [2] activity for how to access the data store directly via DBus and handling different versions (0.82 - 0.90). Sascha [1] https://bugs.sugarlabs.org/ticket/1936 [2] http://git.sugarlabs.org/projects/backup/repos/mainline/trees/master -- 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 Thanks, Sascha. I'll start looking into backup.py cheers, Sameer -- Dr. Sameer Verma, Ph.D. Associate Professor, Information Systems Director, Campus Business Solutions San Francisco State University http://verma.sfsu.edu/ http://opensource.sfsu.edu/ http://cbs.sfsu.edu/ http://is.sfsu.edu/ ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] wordgroupz ( A vocabulary building app) ported to sugar
Hi, On Thu, Sep 30, 2010 at 1:26 AM, Tim McNamara paperl...@timmcnamara.co.nz wrote: megs. However wordGroupz may not require the whole stack. NLTK is a highly modular application/framework and could be spliced and packaged by the wordGroupz maintainers. Thanks for the suggestion. I'll start working on this from today itself. Thanks, Regards, rtnpro ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel