Re: [Sugar-devel] [DESIGN] Messages notification
On Sat, Nov 6, 2010 at 1:44 AM, Martin Dengler mar...@martindengler.comwrote: On Fri, Nov 05, 2010 at 06:02:28PM -0300, Martin Abente wrote: Hello amigos, Recently I encountered many situations where a system-wide notification-messages system is required as a basis for many bug fixes or enhancements. [...] Currently, Sugar does not have a mechanism to communicate to users different kind of information about sugar itself. What about the notification system? The Log activity? The Journal Full warning? The Frame? There are a lot of communication mechanisms, but they dn't seem to do what you wnat: * The notification system only shows an icon floating, and if you want to show a message you have to implement a palette manually, not so DRY considering all the use cases. * Why the user should start an activity to know what is happening? Even if they do, do you think all that pile of text is really helpful? (for a developer, sure.. for a 7 years kid probably not, and if you want him to understand you would have to translate the log messages anyway). * The journal full warning is actually a problem to be solved, #630. * What about the frame?, currently it does nothing about this issue. (except for the floating pulsing icon) 1. Simple text messages display. Where do you think this would best be shown? Text is limited in the UI to avoid literacy and translation burdens. 2. Messages manager, this would help the user to see what messages have been delivered in the current session, so they could react to those events (for example, reporting bugs). Peraps Log could be changed to show this? Or the Frame (doesn't it already show the last few notifications?)? Again, why should we force users to start an activity to know what is happening. We need sugar to tell the users what is happening otherwise they will never guess it, that is exactly problem in the first place. I can't imagine a kid having to check the log activity every 10 minutes to see if the automatic backup has started recently. Anyway, if someone does not like the messages and wants just wants to read the log every N minutes they could be disable it :):):) Saludos Martin (tch) Abente Martin ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] olpc-os-builder build error
Hi All Can anybody tell me how to fix this error == Executing code generated by kspost:x11/kspost.99.gconf-normalize.inc... e2fsck 1.41.4 (27-Jan-2009) Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information os132: 35241/131072 files (1.0% non-contiguous), 230941/524288 blocks e2fsck 1.41.4 (27-Jan-2009) Backing up journal inode block information. Pass 1: Checking inodes, blocks, and sizes Pass 2: Checking directory structure Pass 3: Checking directory connectivity Pass 4: Checking reference counts Pass 5: Checking group summary information os132: * FILE SYSTEM WAS MODIFIED * os132: 35241/57344 files (1.0% non-contiguous), 226057/226057 blocks /usr/lib/python2.6/site-packages/imgcreate/errors.py:40: DeprecationWarning: BaseException.message has been deprecated as of Python 2.6 return str(self.message) ERROR:root:Error creating Live CD : fsck returned an error! * Caught error, cleanup and then bail out. * Running part cleanup base cleanup.50.cleanup.sh... * Running part cleanup buildnr_from_file cleanup.50.write_buildnr.sh... ERROR: Failure in BuildStage: module base, part build.40.imagecreate.py, error code 1 === i don't know what is causing it, it was working fine before Regards -- Javid Alam Software Developer and Technical support Officer OLPC Ministry of Education Kabul Afghanistan contact: +93(0)798123451 alternative email: javid.a...@moe.gov.af ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [ASLO] Release Spirolaterals-11
Activity Homepage: http://activities.sugarlabs.org/addon/4331 Sugar Platform: 0.82 - 0.90 Download Now: http://activities.sugarlabs.org/downloads/file/27098/spirolaterals-11.xo Release notes: * The activity now uses a library of 124 patterns to avoid repeats. * It remembers which pattern was reached last time. * This version has the sugar cursor. * The right mouse button may be used to decrease the numbers. * The triumphant smiley no longer covers the pattern. * The sound effects have been removed. * The turtle speed can be changed. * Clicking on the Player window gives a fullscreen picture. * Clicking the Magician gives help one step at a time but reduces the possible score for this pattern. * Yes - the activity now includes scoring. Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [Dextrose] Report on Sl# 2080 , Pulsing icon delayed by 5 seconds or so.
I again tried the patch on my XO-1.5 build-0.88.1 but with no improvement. I made and saved the changed as written in your patch in the pulsingicon.py file and restarted the sugar session to let the changes take place but it didnt offer any changes for the good. I hope we can test your patch on more XO devices to verify if its a device specific problem. On Fri, Nov 5, 2010 at 11:42 PM, Martin Dengler mar...@martindengler.com wrote: On Fri, Nov 05, 2010 at 10:59:05PM +0530, Anurag Chowdhury wrote: Then I may have misinterpreted Gary's comment.I apologize in that case. But when I tested Martin's patch on my XO-1.5 , 0.88.1 build , upon starting an activity the pulsing icon animation was replaced by a static grayscale svg icon of the activity ,whose screenshots I have placed at http://wiki.sugarlabs.org/go/Pulsing_icon_delayed_by_5_seconds. To reach to the above results I applied the changes suggested at http://www.martindengler.com/tmp/sl.o-2080/pulsingicon.py-set-new-colors-in-one-go-to-avoid-multiple-calls-to-SVG-rendering.patch Please let me know if I needed to add any more changes to get the patch working because the sole application of this patch doesn't produce the said changes at my end. I just tried it on 0.88-1 in the emulator and it worked fine. At least one other person tried it on HEAD (as I did before) and it worked fine. Can you try it again please, or let me know how you're applying the patch? Martin ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [ASLO] Release GeoJAM-1
Activity Homepage: http://activities.sugarlabs.org/addon/4356 Sugar Platform: 0.82 - 0.90 Download Now: http://activities.sugarlabs.org/downloads/file/27095/geojam-1.xo Release notes: Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [ASLO] Release JAMedia-3
Activity Homepage: http://activities.sugarlabs.org/addon/4355 Sugar Platform: 0.82 - 0.90 Download Now: http://activities.sugarlabs.org/downloads/file/27094/jamedia-3.xo Release notes: Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
[Sugar-devel] [ASLO] Release TetrisMat-1
Activity Homepage: http://activities.sugarlabs.org/addon/4292 Sugar Platform: 0.82 - 0.88 Download Now: http://activities.sugarlabs.org/downloads/file/26847/tetris_mat-1.xo Release notes: Initial version Some troubles with background music quality. Spanish Only Sugar Labs Activities http://activities.sugarlabs.org ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] [DESIGN] Messages notification
On Sat, Nov 06, 2010 at 03:07:29AM -0300, Martin Abente wrote: On Sat, Nov 6, 2010 at 1:44 AM, Martin Dengler mar...@martindengler.comwrote: On Fri, Nov 05, 2010 at 06:02:28PM -0300, Martin Abente wrote: Hello amigos, Recently I encountered many situations where a system-wide notification-messages system is required as a basis for many bug fixes or enhancements. [...] Currently, Sugar does not have a mechanism to communicate to users different kind of information about sugar itself. What about the notification system? The Log activity? The Journal Full warning? The Frame? There are a lot of communication mechanisms, but they dn't seem to do what you wnat: * The notification system only shows an icon floating, and if you want to show a message you have to implement a palette manually, not so DRY considering all the use cases. I'm not sure what you mean by DRY. The reason - I guess - for only the icon is because text requires translation and literacy (a point you make later). I prefer text (obviously, since we developers work with text as much as possible) but this requires a change to the HIG. We should think hard about why, and justify it. * Why the user should start an activity to know what is happening? I know, this is odd for developers/computer people. I personally don't like it (I really liked the quake terminal[1] approach), or having four activities to read e-books. But a) it's what the HIG[2] says, for some good reasons (it's not better to have text flashing by all the time -- have you seen how many exceptions are in shell.log!?); and b) it's not a new approach: OSX has the Console log viewer, Windows has the Event Viewer. Even if they do, do you think all that pile of text is really helpful? (for a developer, sure.. for a 7 years kid probably not, and if you want him to understand you would have to translate the log messages anyway). Wait, that's my argument you just stole :). If you're saying the error messages should be better, I don't think anyone would disagree. * The journal full warning is actually a problem to be solved, #630. Wow, I can't believe it's taken 20 months to fix it. I guess it's not that critical :(. * What about the frame?, currently it does nothing about this issue. (except for the floating pulsing icon) That's exactly what you wanted, but with icons instead of text: a list of the messages from Sugar, without starting an activity. Again, why should we force users to start an activity to know what is happening. To summarise: 1) Because the HIG tells us to, and nobody's proposing changing the HIG 2) Because Sugar UI should strive for simplicity, not tons of alerts that only a developer would understand 3) Because it's not clear what advantage over the existing notifications + Log activity you think will exist. I invite everyone to share their ideas on how this feature could work and look. Well, those were my ideas. When you have something more I'm sure we could have a more constructive discussion. We need sugar to tell the users what is happening otherwise they will never guess it, that is exactly problem in the first place. I can't imagine a kid having to check the log activity every 10 minutes to see if the automatic backup has started recently. I can't imagine any more than a few kids at each deployment (so, that's say 100 of 1.5 million laptops) ever wanting to see if the automatic backup has started recently. Anyway, if someone does not like the messages and wants just wants to read the log every N minutes they could be disable it :):):) In my experience, every time you show some information to the user that isn't actionable, they hate it. Saludos Martin (tch) Abente Martin Martin 1. http://wiki.laptop.org/go/Quake_Terminal 2. http://wiki.sugarlabs.org/go/Human_Interface_Guidelines#Simplicity pgp5bs0E8D0vR.pgp Description: PGP signature ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel
Re: [Sugar-devel] More new and revised chapters of Make Your Own Sugar Activities! ready for review, feedback
On Wed, Feb 03, 2010 at 10:35:06AM -0600, Jim Simmons wrote: In this latest draft I have added a not quite complete chapter on Making Shared Activities. The part that is missing is on using DBus Tubes to remotely call methods, and it's missing because I've never done it. I do plan to learn how to do this, come up with a decent example program (something fancier than Hello Mesh), and write it up in the book, but it will take awhile. The new draft is at: http://objavi.flossmanuals.net/books/ActivitiesGuideSugar-en-2010.02.03-18.11.39.pdf I found out yesterday that copying code from PDF's, either the OBJAVI! version here or the one the Floss Manuals website produces, does NOT work. In one case you get garbage and in the second you get code with no indents. I have set up a Git repository for the sample code in the book and I will change all the references to copying and pasting code to Open file name in the Git project you downloaded. I actually had to learn things about Activity Sharing to write the new chapter, so I am VERY concerned that what I think I learned is correct. I don't want to lead anyone astray! I have reached the point in the book where the stuff I already know is pretty much done. From now on I'll be learning as I go. If you've been giving this project the benefit of the doubt now is a good time to stop doing that. Thanks, James Simmons I've found minor issue on http://en.flossmanuals.net/ActivitiesGuideSugar/SugarDebugging You can also set the logging level outside your program code using an environment variable. For instance, in Sugar .82 and lower you can start sugar-emulator like this: SUGAR_LOGGER_LEVEL=debug sugar-emulator The way you accomplish the same thing in Sugar .84 and greater is to edit the file ~/.sugar/debug and uncomment the line that sets the SUGAR_LOGGER_LEVEL. SUGAR_LOGGER_LEVEL=debug sugar-emulator will will work in 0.84+ as well if ~/.sugar/debug doesn't reset SUGAR_LOGGER_LEVEL, i.e., ~/.sugar/debug just overrides current values right before launching sugar. -- Aleksey ___ Sugar-devel mailing list Sugar-devel@lists.sugarlabs.org http://lists.sugarlabs.org/listinfo/sugar-devel