S Page | 4 Jul 05:14

issues showing Activities for OLPC 8.2.x from a.sl.o.

I want a long-lived URL that will list activities on
activities.sugarlabs.org that work on XO-1's running release 8.2.x,
and I'm confused on several points.

* Should I filter by "Refine Results > Compatible with > 0.82" , or by
choosing Advanced search > Platform: OLPC Software Release 8.2.0
(Build 767), or both?

* Refining results to 0.82 or choosing Sugar version 0.82 reduces the
results returned from 157 to 138, but choosing Platform: OLPC Software
Release 8.2.0 (Build 767) does nothing.  That doesn't make any sense,
implicitly OLPC 8.2.0 *is* Sugar version 0.82 (or, technically,
0.82.1).

* I'm pretty sure the filtering on version is broken.  Etoys, Read,
and Terminal seem to offer the same download regardless of version,
but I believe they have different versions for 8.2.x and later
Sucrose.
Filtering for 0.82 only seems to exclude experimental downloads like
APRS, Bundle, Frotz, etc.

* In Advanced search > Platform, there's no choice for the latest OLPC
version, OLPC 8.2.1 (Build 802). Maybe the Platform option should be
OLPC Software Release 8.2.x , and leave out "Build 767" ?

* In the Advanced search dialog, having "Sugar Platform version" and
"Platform" is confusing.  I think leave "Platform" out of "Sugar
version".

* The feedback in search results if you use Advanced is poor.  It
(Continue reading)

[server-devel] Setting up the XS

Hi,

So as per Martin's suggestion. I'm making this mail.

I don't have a spare system at my disposal right now,
so I am running XS under a VM.
But I can't figure out how to access the moodle server
outside the VM. (virtual Box)
Other than that moodle is set up.

Thanks,

Vamsi

_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Jim Simmons | 4 Jul 02:23

Get Internet Archive Books Activity source code

Version 2 of Get Internet Archive Books was released this morning.  I
like this one a lot better than my first effort; it should be good
enough to use, not just criticize.  I have put the source code tar.bz
on shell.sugarlabs.org in /upload/honey/GetIABooks, for anyone wanting
to package it up for distributions.

Thanks,

James Simmons
Jim Simmons | 4 Jul 02:14

Re: Gitorious problems

Bastien,

For what it's worth, here is my config file for read etexts:

[core]
        repositoryformatversion = 0
        filemode = true
        bare = false
        logallrefupdates = true
[remote "origin"]
        url = gitorious <at> git.sugarlabs.org:readetexts/mainline.git
        fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
        remote = origin
        merge = refs/heads/master

Hope this helps.

James Simmons

> Date: Fri, 03 Jul 2009 17:58:50 +0200
> From: Bastien <bastienguerry <at> googlemail.com>
> Subject: Re: [Sugar-devel] How to create a project on SugarLabs
>        gitorious?
> To: Luke Faraone <luke <at> faraone.cc>
> Cc: sugar-devel <at> lists.sugarlabs.org
> Message-ID: <8763e992rp.fsf <at> bzg.ath.cx>
> Content-Type: text/plain; charset=us-ascii
>
> Luke Faraone <luke <at> faraone.cc> writes:
>
>> On Thu, Jul 2, 2009 at 06:13, Bastien <bastienguerry <at> googlemail.com> wrote:
>>
>>     Bastien <bzg <at> laptop.org> writes:
>>
>>     >> See this wiki page: http://wiki.sugarlabs.org/go/Activity_Team/Git_FAQ
>>     >
>>     > That's it, thanks.
>>
>>     I have uploaded my id_dsa.pub key on my account.
>>
>> Please try again with RSA, use of DSA is discouraged.
>
> Thanks.
>
> I had both DSA and RSA keys on gitorious.  I deleted the DSA key.
> I still get this annoying error:
>
> ,----
> | Access denied or bad repository path
> | fatal: The remote end hung up unexpectedly
> `----
>
> My email on .gitconfig and gitorious are the same.  I have this error
> from several IP addresses, so I guess I'm not blacklisted.
>
> Here is my ~/Activities/Helpfr.activity/.git/config file:
>
> ,----
> | [core]
> |       repositoryformatversion = 0
> |       filemode = true
> |       bare = false
> |       logallrefupdates = true
> | [remote "origin"]
> |       url = gitorious <at> git.sugarlabs.org:helpfr/mainline.git
> |       fetch = +refs/heads/*:refs/remotes/origin/*
> | [push]
> |       default = matching
> `----
>
> Any other idea?
>
> --
>  Bastien
Art Hunkins | 4 Jul 01:53
Favicon

Re: [Cs-dev] Sugar on a Stick - and OLPCsound

I've just noted that the /usr/lib/python2.6/site-packages folder does not include csnd.py. That folder also contains many fewer files that the corresponding one in python2.5.
 
As a matter of fact, python2.5 seems about a third the size of 2.6. Is all this correct?
 
Art Hunkins
----- Original Message -----
Sent: Friday, July 03, 2009 6:13 PM
Subject: Fw: [Cs-dev] Sugar on a Stick - and OLPCsound

Hello, Peter,
 
Do you know what may be happening here? (Please see error log below.)
 
I've no idea why the module referenced (csd.py) is not found. Please also compare the log at the very bottom of this mail; this latter log was generated when running Csound*5.08*, also with python2.6.
 
Thanks for any insights.
 
Art Hunkins
 
----- Original Message -----
Sent: Friday, July 03, 2009 5:36 PM
Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound

Here's the *next* chapter in the saga. Please note that this is not the *Windows* installation saga; it's the *Linux/Sugar* installation saga.
 
In our last episode, we noted that Csound5.08 was (apparently?) incompatible with python2.6. At least this seemed a plausible explanation from the error log we saw.
 
So, now Csound5.10 is available on Fedora(11) for download to SoaS.
 
First, I try update csound; "can't find any csound".
Second, install csound; it tries, but then says, "can't because it interferes with olpcsound" (OK, different name!)
Third, erase olpcsound; good
Fourth, install csound; good
 
Then I run my Activity; it now crashes with the similar, but not exact, error log below.
 
I thought perhaps I'd better start from scratch and did (reformat USB drive, etc). Thought probably the new SoaS iso incorporated Csound5.10. But no, I needed to essentially repeat the above steps, and ended with the same crash.
 
The log: (any new ideas please?)
 

/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the sha module is deprecated; use the hashlib module instead

import sha

Traceback (most recent call last):

File "/usr/bin/sugar-activity", line 21, in <module>

main.main()

File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 105, in main

module = __import__(module_name)

File "/home/liveuser/Activities/OurMusic.activity/ourmusic.py", line 41, in <module>

import csndsugui

File "/home/liveuser/Activities/OurMusic.activity/csndsugui.py", line 36, in <module>

import csnd

ImportError: No module named csnd

 

Art Hunkins

----- Original Message -----
From: victor
Sent: Wednesday, July 01, 2009 1:36 PM
Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound

Because the 5.10 rpm has a python2.6 dependency. But that might
be the case for 5.08 too (I am not sure).
----- Original Message -----
Sent: Tuesday, June 30, 2009 2:22 AM
Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound

I just noticed that the current OLPC build includes Python 2.5, whereas SoaS includes Python 2.6
 
Csound 5.08.91 is currently in both. Wouldn't this explain why 5.08.91 doesn't work on SoaS? And why 5.10 should?
 
Art Hunkins
----- Original Message -----
Sent: Monday, June 29, 2009 5:38 PM
Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound

The message is strange, but it does not say there is a Python
version mismatch. However, having said that, the 5.08.91
rpm was built with 2.5 (unless what you have there is another
build that somehow uses 2.6).

What the message says is that the library module Python
tried to load does not have one of the API functions. The
reason for this I don't know.

Victor

----- Original Message -----
From: Art Hunkins <abhunkin <at> uncg.edu>
Date: Monday, June 29, 2009 10:19 pm
Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound
To: csound-devel <at> lists.sourceforge.net

> Victor, Brian and Mike G. -
>
> I'd like to ask again regarding this SoaS log, and what it
> suggests about
> the crash of my OurMusic activity.
>
> The version of Csound is 5.08.91, libsndfile is 1.0.17. And as
> you can see
> Python 2.6 and libcsnd.so.5.1 are referenced in the log.
>
> Is the difficulty incompatible versions of Python and/or
> libsndfile/libcsnd.so.5.1?
>
> A member of the sugar-devel list suggested that the problem
> might well be
> solved with Csound5.10 (Fedora 11) which will be available
> through yum
> update later this week. (It's apparently ready to go.) What do
> you imagine?
>
> The log:
>
> /usr/lib/python2.6/site-packages/sugar/util.py:25:
> DeprecationWarning: the
> sha module is deprecated; use the hashlib module instead
>
> import sha
>
> Traceback (most recent call last):
>
> File "/usr/bin/sugar-activity", line 21, in <module>
>
> main.main()
>
> File "/usr/lib/python2.6/site-packages/sugar/activity/main.py",
> line 105, in
> main
>
> module = __import__(module_name)
>
> File "/home/liveuser/Activities/OurMusic.activity/ourmusic.py",
> line 41, in
> <module>
>
> import csndsugui
>
> File "/home/liveuser/Activities/OurMusic.activity/csndsugui.py",
> line 36, in
> <module>
>
> import csnd
>
> File "/usr/lib/python2.6/site-packages/csnd.py", line 7, in
> <module>
> import _csnd
>
> ImportError: /usr/lib/libcsnd.so.5.1: undefined symbol:
> csoundGetInputBuffer
>
>
> Thanks -
>
> Art Hunkins
>
>
> -----------------------------------------------------------------
> -------------
> _______________________________________________
> Csound-devel mailing list
> Csound-devel <at> lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/csound-devel

Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,
National University of Ireland, Maynooth

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel

------------------------------------------------------------------------------

_______________________________________________
Csound-devel mailing list
Csound-devel <at> lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/csound-devel
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Sameer Verma | 3 Jul 19:16

soas strawberry sha1sum?

I'm getting 41b08c93a65cc1e38286b9f8980f51528a36761d is this correct?
I tried a usb stick, but keep getting bad or damaged partition at boot
time.

sameer
--

-- 
Dr. Sameer Verma, Ph.D.
Associate Professor of Information Systems
San Francisco State University
San Francisco CA 94132 USA
http://verma.sfsu.edu/
http://opensource.sfsu.edu/
Martin Langhoff | 3 Jul 18:12
Gravatar

poor man's mmap "sliding window" on Python 2.5.x

Still working on reading and validating Canonical JSON files that are
larger than available memory.

Along the way, found that Python 2.5.x doesn't support an offset to
mmap(), which at first blush makes re-mapping with a sliding window
problematic. Well, almost. If you mmap.close(), re-create the mmap and
start reading at an offset (m[myoffset]), python knows how to DTRT.

So every N number of reads (random or linear), close and re-mmap the
fh. If the reads are short, the memory used by N reads will be roughly

   N * mmap.PAGESIZE

Where pagesize is usually, 4KB. So re-mapping every 4MB for example
keeps the whole process under 6MB while working through a file that is
183MB.

On the XO-1, it's the difference of "churning through it" and slowing
the whole OS to a crawl, and then inching towards a big OOM zap.

cheers,

martin
--

-- 
 martin.langhoff <at> gmail.com
 martin <at> 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
Favicon

[RELEASE] Get Internet Archive Books-2

Url:
http://activities.sugarlabs.org/addon/4194

Release notes:
This version fixes several bugs that were in version 1, allows downloading three different ebook formats
(Color PDF, B/W PDF, and Deja Vu) instead of just Deja Vu, adds a progress bar to show how the downloading of
books is progressing, and allows entries in the search results table to wrap to more than one line if they
have long titles or lists of authors or both.  This Activity has a new icon, and works better on the XO screen
than version 1 did.

Reviewer comments:
This request has been approved.

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

Gecko for Win32, pyjamas-desktop, python-hulahop

folks, hi, just wanted to mention a couple of things that i found.

1) you'll be pleased to know that i managed to hack pyjamas-desktop
into submission to use python-hulahop, at europython over the last
couple of days.  i managed to get window event listeners going,
element listeners _and_ XMLHTTPRequest async callbacks - all
python-based.  none of which would be possible without
hulahop.WebView.  so - thank you.

2) i found a page yesterday of a GSoc 2009 student who was proposing
to port hulahop to webkit.  i put on the "talk" page that of course
because pywebkitgtk now has python bindings to the DOM that most of
the work is now done and so his task will be made much easier.  that's
if GSoc 2009 is still going.  or if his proposal was accepted.
anyway, just mentioning it.

3) the next step is of course to have python-hulahop running on win32,
alongside python-xpcom, yippee, won't that be fun.  so, looking around
for xulrunner for win32, i find that the olpc page says "Install
Gecko: TODO" haaaaa :)  so anyway i found this:
http://www.novell.com/coolsolutions/feature/14918.html which may
contain the stuff that's needed. i.e. GRE (gecko runtime environment).
 i mean, after all, firefox compiles for win32 duh so it should be
perfectly possible to get XUL and python-xpcom, right? hmmmm :)

l.
Bill Kerr | 3 Jul 12:22

netbook as terminology

On Thu, Jul 2, 2009 at 1:51 AM, Walter Bender <walter.bender <at> gmail.com> wrote:
7. I'll be giving a keynote at GUADEC
[http://www.grancanariadesktopsummit.org/]; my plan is to both
introduce Sugar to the broader desktop community (with the goal of
recruiting more contributors), to sing the praises of the desktop—the
cloud is not the solution to all problem—but also .articulate the need
for more simplicity along the entire spectrum from developers to end
users

at least three interesting points there from walter
  1. sing the praises of the desktop
  2. the cloud is not the solution to all problem
  3. the need for more simplicity along the entire spectrum from developers to end users
I'd love to hear an expansion of these positions

Also noticed recently that NN reacted against the "netbook" terminology: http://billkerr2.blogspot.com/2009/07/xo-is-not-netbook.html
Negroponte: "Kids in Ethiopia don't have the internet in a nearby cloud ..."

And just noticed that the sugar labs home page describes the xo as a netbook: http://www.sugarlabs.org/

--
Bill Kerr
http://billkerr2.blogspot.com/
_______________________________________________
Sugar-devel mailing list
Sugar-devel <at> lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel
Bryan Berry | 3 Jul 07:11
Favicon

updated karma documentation

subzero,

i have update the karma docs pls take a look when u get a chance
http://wiki.sugarlabs.org/go/Karma

--

-- 
Bryan W. Berry
Technology Director
OLE Nepal, http://www.olenepal.org

Gmane