Csound Csound-dev Csound-tekno Search About

amRe: [Cs-dev] Sugar on a Stick - and OLPCsound/Csound

Date2009-07-21 03:03
From"Art Hunkins"
SubjectamRe: [Cs-dev] Sugar on a Stick - and OLPCsound/Csound
Hello, Peter et al. -

Your latest Csound5.10 patch finally made it out to updates-testing today, 
and I was able to install it on SoaS (Sugar 84) and test it out.

Unfortunately it aborts with much the same (if not exactly) as before. 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 

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 42, in 


import csndsugui

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


import csnd

File "/usr/lib/python2.6/site-packages/csnd.py", line 7, in 

import _csnd

ImportError: /usr/lib/libcsnd.so.5.1: undefined symbol: csoundGetInputBuffer



Observations: /usr/lib/ contains libcsound.so.5.1 and 5.2, but only 
libcsnd.so.5.1. (I've no idea if this is significant or not.) I note that 
Sugar 82 - designed for 5.08 - (at least on my OLPC) contains none of these 
files.

TamTamMini plays fine on both 82 and 84; of course it only plays samples.

TamTamSynthLab seems to work fine with 82 (no errors), but not in 84 - where 
the log shows a multitude of .so files incompatible with Csound5.10 (stated 
as 2.0 and 1.6??). And, following that, an even larger list of illegal 
opcodes and errors.

If I were to guess something, it would be this: is perhaps libcsnd.so.5.2 
required for Csound5.10?

Needless to say, I'd sure like this to work. Thanks, as always, for any and 
all insights.

Art Hunkins

----- Original Message ----- 
From: "Peter Robinson" 
To: "Art Hunkins" 
Cc: ; 
Sent: Thursday, July 16, 2009 7:43 AM
Subject: Re: [Sugar-devel] [Cs-dev] Sugar on a Stick - and OLPCsound/Csound


> Hi All,
>
> I've tested and applied the patch to F11 and pushed it out as a
> updates-testing. Please test.
> https://admin.fedoraproject.org/updates/csound-5.10.1-9.fc11
>
> Or if your too impatient to wait for the updates-testing push you can
> grab the rpms from koji directly
> http://koji.fedoraproject.org/koji/buildinfo?buildID=114648
>
> Peter
>
> On Mon, Jul 13, 2009 at 4:03 PM, Art Hunkins wrote:
>> Aleksey,
>>
>> Thanks for undertaking this task.
>>
>> Please let me know when the revised build of Csound5.10 is available for
>> update on SoaS. I'm eager to be assured that it solves the compatibility
>> issue with python 2.6.
>>
>> Art Hunkins
>>
>> ----- Original Message -----
>> From: "Aleksey Lim" 
>> To: "Art Hunkins" 
>> Cc: "Michael Gogins" ;
>> 
>> Sent: Monday, July 13, 2009 12:02 AM
>> Subject: Re: [Sugar-devel] [Cs-dev] Sugar on a Stick - and 
>> OLPCsound/Csound
>>
>>
>>> On Sun, Jul 12, 2009 at 03:19:31PM -0400, Art Hunkins wrote:
>>>> Mike Gogins, a Csound developer, has taken care of the Scons issue with
>>>> Csound5.10, as discussed below.
>>>>
>>>> I'd be overjoyed if one of you Sugar developers could take it from 
>>>> there
>>>> so
>>>> that we can have SoaS with a Csound that works with python2.6.
>>>
>>> I can build rpm for soas env. but I'm waiting for fixing my problems 
>>> with
>>> ISP
>>> so, I can't do it in nearest few days.
>>>
>>> Just an option, using Mandriva of Suse ;)
>>>
>>> --
>>> Aleksey
>>
>> _______________________________________________
>> 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

Date2009-07-21 09:06
FromTomeu Vizoso
SubjectRe: amRe: [Cs-dev] Sugar on a Stick - and OLPCsound/Csound
On Tue, Jul 21, 2009 at 04:03, Art Hunkins wrote:
> Hello, Peter et al. -
>
> Your latest Csound5.10 patch finally made it out to updates-testing today,
> and I was able to install it on SoaS (Sugar 84) and test it out.
>
> Unfortunately it aborts with much the same (if not exactly) as before. 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 
>
> 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 42, in
> 
>
> import csndsugui
>
> File "/home/liveuser/Activities/OurMusic.activity/csndsugui.py", line 36, in
> 
>
> import csnd
>
> File "/usr/lib/python2.6/site-packages/csnd.py", line 7, in 
>
> import _csnd
>
> ImportError: /usr/lib/libcsnd.so.5.1: undefined symbol: csoundGetInputBuffer
>
>
>
> Observations: /usr/lib/ contains libcsound.so.5.1 and 5.2, but only
> libcsnd.so.5.1. (I've no idea if this is significant or not.) I note that
> Sugar 82 - designed for 5.08 - (at least on my OLPC) contains none of these
> files.
>
> TamTamMini plays fine on both 82 and 84; of course it only plays samples.
>
> TamTamSynthLab seems to work fine with 82 (no errors), but not in 84 - where
> the log shows a multitude of .so files incompatible with Csound5.10 (stated
> as 2.0 and 1.6??). And, following that, an even larger list of illegal
> opcodes and errors.
>
> If I were to guess something, it would be this: is perhaps libcsnd.so.5.2
> required for Csound5.10?

That sounds like a good idea to me.

Regards,

Tomeu

> Needless to say, I'd sure like this to work. Thanks, as always, for any and
> all insights.
>
> Art Hunkins
>
> ----- Original Message -----
> From: "Peter Robinson" 
> To: "Art Hunkins" 
> Cc: ; 
> Sent: Thursday, July 16, 2009 7:43 AM
> Subject: Re: [Sugar-devel] [Cs-dev] Sugar on a Stick - and OLPCsound/Csound
>
>
>> Hi All,
>>
>> I've tested and applied the patch to F11 and pushed it out as a
>> updates-testing. Please test.
>> https://admin.fedoraproject.org/updates/csound-5.10.1-9.fc11
>>
>> Or if your too impatient to wait for the updates-testing push you can
>> grab the rpms from koji directly
>> http://koji.fedoraproject.org/koji/buildinfo?buildID=114648
>>
>> Peter
>>
>> On Mon, Jul 13, 2009 at 4:03 PM, Art Hunkins wrote:
>>> Aleksey,
>>>
>>> Thanks for undertaking this task.
>>>
>>> Please let me know when the revised build of Csound5.10 is available for
>>> update on SoaS. I'm eager to be assured that it solves the compatibility
>>> issue with python 2.6.
>>>
>>> Art Hunkins
>>>
>>> ----- Original Message -----
>>> From: "Aleksey Lim" 
>>> To: "Art Hunkins" 
>>> Cc: "Michael Gogins" ;
>>> 
>>> Sent: Monday, July 13, 2009 12:02 AM
>>> Subject: Re: [Sugar-devel] [Cs-dev] Sugar on a Stick - and
>>> OLPCsound/Csound
>>>
>>>
>>>> On Sun, Jul 12, 2009 at 03:19:31PM -0400, Art Hunkins wrote:
>>>>> Mike Gogins, a Csound developer, has taken care of the Scons issue with
>>>>> Csound5.10, as discussed below.
>>>>>
>>>>> I'd be overjoyed if one of you Sugar developers could take it from
>>>>> there
>>>>> so
>>>>> that we can have SoaS with a Csound that works with python2.6.
>>>>
>>>> I can build rpm for soas env. but I'm waiting for fixing my problems
>>>> with
>>>> ISP
>>>> so, I can't do it in nearest few days.
>>>>
>>>> Just an option, using Mandriva of Suse ;)
>>>>
>>>> --
>>>> Aleksey
>>>
>>> _______________________________________________
>>> 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

Date2009-07-21 09:23
FromPeter Robinson
SubjectRe: amRe: [Cs-dev] Sugar on a Stick - and OLPCsound/Csound
>> Hello, Peter et al. -
>>
>> Your latest Csound5.10 patch finally made it out to updates-testing today,
>> and I was able to install it on SoaS (Sugar 84) and test it out.
>>
>> Unfortunately it aborts with much the same (if not exactly) as before. 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 
>>
>> 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 42, in
>> 
>>
>> import csndsugui
>>
>> File "/home/liveuser/Activities/OurMusic.activity/csndsugui.py", line 36, in
>> 
>>
>> import csnd
>>
>> File "/usr/lib/python2.6/site-packages/csnd.py", line 7, in 
>>
>> import _csnd
>>
>> ImportError: /usr/lib/libcsnd.so.5.1: undefined symbol: csoundGetInputBuffer
>>
>>
>>
>> Observations: /usr/lib/ contains libcsound.so.5.1 and 5.2, but only
>> libcsnd.so.5.1. (I've no idea if this is significant or not.) I note that
>> Sugar 82 - designed for 5.08 - (at least on my OLPC) contains none of these
>> files.
>>
>> TamTamMini plays fine on both 82 and 84; of course it only plays samples.
>>
>> TamTamSynthLab seems to work fine with 82 (no errors), but not in 84 - where
>> the log shows a multitude of .so files incompatible with Csound5.10 (stated
>> as 2.0 and 1.6??). And, following that, an even larger list of illegal
>> opcodes and errors.
>>
>> If I were to guess something, it would be this: is perhaps libcsnd.so.5.2
>> required for Csound5.10?
>
> That sounds like a good idea to me.

That's what's compiled out of the csound 5.10.1 pacakge. Its not
something you can accidentally pick the wrong one because the Fedora
build system build everything in a fresh chroot env.

I wonder if the issue isn't due to a API change in the newer release?