Re: Record activity performance
On 24 December 2010 10:36, Sridhar Dhanapalan wrote: > On 23 December 2010 17:10, James Cameron wrote: >> On Thu, Dec 23, 2010 at 04:53:26PM +1100, Sridhar Dhanapalan wrote: >>> Firstly, I tried Record after having used the XO with various >>> activities (Musicpainter, Image Thumbnail, etc.) and closed them >>> (leaving nothing else running). Recording in Low for 2 min appeared to >>> work, but playback gave no sound, and it paused after about 10 >>> seconds. >> >> That's interesting. I've not heard about that. What version of those >> activities? Where do you get Musicpainter from? I can't see it at >> activities.sugarlabs.org. Nor can I see anything called Thumbnail. >> >> If these activities change the mixer controls at all then this may lead >> to the "no sound" symptom you describe. > > Musicpainter and Image Thumbnail are new activities created by us, > which we haven't yet fully released (I haven't submitted them to ASLO > yet). I'm now suspecting that the Musicpainter is the culprit, so > that's our problem to investigate. > > The project pages for those activities are: > https://dev.laptop.org.au/projects/musicpainter > https://dev.laptop.org.au/projects/image-thumbnail I've seen this happen with no other activities having been run, so it's not related to Musicpainter or Image Thumbnail. I tried with on an XO with 10.1.2: 1. boot the XO 2. load Record 3. record some video 4. play back the video I expected the video to be played back with full audio and video. What I saw is playback for a few seconds, then it halts. I'm having trouble reproducing. It seems to happen only on odd occasions. I'll keep investigating. Sridhar ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: os-builder: define a variable for the config dir?
On Thu, Jan 6, 2011 at 5:21 PM, Daniel Drake wrote: > It was a semi-conscious decision to have interpolation available, and > its something I've used on a couple of deployments. You also found a use > for it, so I think it should stay. Pushed your patch with some > documentation added, thanks. Ok. Cool. There is a gotcha however -- currently the "image_name=os%d" line confuses the parser, so it's left alone. The ConfigParser interpolator has undefined/unclear semantics according to its documentation. SafeConfigParser, which claims to be sane, barfs at our image_name. Maybe we can convert the image_name line to play ball with SafeConfigParser? m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: os-builder: define a variable for the config dir?
On Thu, 2011-01-06 at 11:47 -0500, Martin Langhoff wrote: > Turns out ConfigParser handles this just fine -- and it was already > trying to interpolate anything with a % in there. We can just drive it > -- sample patch attached. > > If we don't want any interpolation (it was a surprise to me that > ConfigParser interpolates by default) -- we may need to get() the raw > values instead. It was a semi-conscious decision to have interpolation available, and its something I've used on a couple of deployments. You also found a use for it, so I think it should stay. Pushed your patch with some documentation added, thanks. Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: os-builder: does not bailout on custom script failure?
On Thu, 2011-01-06 at 09:49 -0500, Martin Langhoff wrote: > I'm debugging a script used with olpc-os-builder's custom_module > script, and funny enough, the build continues even if the script bails > out with obvious stuff (like shell syntax errors). Pretty sure this is fixed in F14 I recommend applying this patch wherever you do OS builds: http://www.redhat.com/archives/fedora-livecd-list/2009-December/msg00024.html As for the skipping of files, I'd rather make _run_part() more intelligent and just run recognised extensions, ignoring others (with a warning). Daniel ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: os-builder: define a variable for the config dir?
On Thu, Jan 6, 2011 at 10:33 AM, Martin Langhoff wrote: > there is one aspect of OOB that makes configs rather awkward -- there > is no way (that I can see) to define a "config dir" variable and refer > to it in the .ini file itself, and from modules and scripts. Turns out ConfigParser handles this just fine -- and it was already trying to interpolate anything with a % in there. We can just drive it -- sample patch attached. SafeConfigParser, OTOH, is stricter and chokes up on some of our values that contain %d . If we don't want any interpolation (it was a surprise to me that ConfigParser interpolates by default) -- we may need to get() the raw values instead. 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 0001-Define-oob_config_dir-env-var-and-interpolation.patch Description: Binary data ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Server-devel] One server NIC - using Sugar on Linux, not OLPCs
Thanks, Sridhar, I will look into that. Rob --- On Tue, 1/4/11, Sridhar Dhanapalan wrote: From: Sridhar Dhanapalan Subject: Re: [Server-devel] One server NIC - using Sugar on Linux, not OLPCs To: r...@echlin.ca Cc: server-de...@lists.laptop.org Received: Tuesday, January 4, 2011, 5:40 PM On 1 January 2011 08:44, Rob Echlin wrote: > > Hi, > I have installed XS Server on the only machine I have available for testing > it at home - an IBM laptop A21M. We have been developing a variant of the XS for single NIC scenarios: https://dev.laptop.org.au/projects/xs-au/wiki It is being used widely across Australia. It's much easier to implement than a normal XS. I recommend that you give it a go. Cheers, Sridhar Sridhar Dhanapalan Technical Manager One Laptop per Child Australia M: +61 425 239 701 E: srid...@laptop.org.au A: G.P.O. Box 731 Sydney, NSW 2001 W: www.laptop.org.au ___ Server-devel mailing list server-de...@lists.laptop.org http://lists.laptop.org/listinfo/server-devel
os-builder: define a variable for the config dir?
Daniel, there is one aspect of OOB that makes configs rather awkward -- there is no way (that I can see) to define a "config dir" variable and refer to it in the .ini file itself, and from modules and scripts. So whenever we refer to external files, we have to use the full path, and that's not portable. For example, I have a custom_script that applies a patch, I have to say [custom_scripts] custom_script_1=/home/martin/foo/bar/baz/script.sh and then in the script itself, patch -d $INSTALL_ROOT/etc/doom.conf < /home/martin/foo/bar/baz/fixup-leibniz.patch I would prefer to have a config_dir that for example resolves to dirname of the oob ini file [custom_scripts] custom_script_1=%config_dir/script.sh and then patch -d $INSTALL_ROOT/etc/doom.conf < $config_dir/fixup-leibniz.patch then we can keep the ini and whatever supporting files together, easy to move to another machine, manage with git, etc. thoughts? m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: os-builder: does not bailout on custom script failure?
On Thu, Jan 6, 2011 at 9:49 AM, Martin Langhoff wrote: > I'm debugging a script used with olpc-os-builder's custom_module Two small improvements to OOB that should make life a bit easier -- 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 0001-custom_scripts-check-that-scripts-are-executable-ea.patch Description: Binary data 0002-osbuilder-skip-obvious-tmp-and-backup-files.patch Description: Binary data ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
os-builder: does not bailout on custom script failure?
I'm debugging a script used with olpc-os-builder's custom_module script, and funny enough, the build continues even if the script bails out with obvious stuff (like shell syntax errors). Looking at build/intermediates/build.ks, it does say --erroronfail, and set -e. My script does say set -e as well. Running this script outside of ks, I get exit 1 and exit 2 on the same errors that continue under the oob process. If the script is not executable, oob also skips it; again the build.ks file seems to say that it will bail out but it doesn't. cheers, m -- martin.langh...@gmail.com mar...@laptop.org -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Re: [Sugar-devel] Wikipedia bundle in other languages
Hi Sameer, Sameer Verma writes: > I'd like to bundle the Hindi version of Wikipedia into an offline > activity. > http://hi.wikipedia.org/wiki/%E0%A4%AE%E0%A5%81%E0%A4%96%E0%A4%AA%E0%A5%83%E0%A4%B7%E0%A5%8D%E0%A4%A0 > Do we have a set process/scripts to do so? I'm working with the developer of Kiwix¹ to help have such a process. It's still work in progress, but I hope we'll be able to release code soon. Stay tuned. ¹ http://www.kiwix.org/index.php/Main_Page -- Bastien ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel
Problems compiling bluetooth module
Trying to build modules from the respective OLPC-kernel SRPMs I find that if you build the whole kernel and then just copy the module over and insmod during init works [1], but if you build only the module quite often does not.(???) [1] http://www.olpcnews.com/forum/index.php?topic=4623 ___ Devel mailing list Devel@lists.laptop.org http://lists.laptop.org/listinfo/devel