|
View:
New views
19 Messages
—
Rating Filter:
Alert me
|
|
|
|
|
|
|
|
|
Re: Sugar on a Stick - and OLPCsound/CsoundHey that's pretty interesting - and basic!
I wonder if the python += operator is causing other SCons issues. Perhaps we should try replacing all +='s ans see what other problems get cleared up. D. On 07/07/2009, at 10:45 AM, Art Hunkins wrote: > Victor and Mike G. (especially) - > > You're familiar with my problems getting Csound5.10 working on SoaS. > > Aleksey, one of the Sugar developers, sent me the "solution" (below) > to this > problem (a Scons issue apparently). > > I don't know what to do with it, and look to you for either > implementation > or explanation. > > I'm really interested to get 5.10 working with Sugar. > > Art Hunkins > > ----- Original Message ----- > From: "Aleksey Lim" <alsroot@...> > To: "Art Hunkins" <abhunkin@...> > Cc: <pbrobinson@...>; <csound@...>; > <sugar-devel@...> > Sent: Monday, July 06, 2009 3:37 AM > Subject: Re: [Sugar-devel] Sugar on a Stick - and OLPCsound/Csound > > >> looks like its a SConstruct issue >> https://sourceforge.net/tracker/index.php?func=detail&aid=2817271&group_id=81968&atid=564599 >> >> this patch fixed "import csnd" in my case >> http://git.sugarlabs.org/projects/jhconvert/repos/mainline/blobs/master/patches/csound-2817271-soname.patch >> >> On Sun, Jul 05, 2009 at 05:49:23PM -0400, Art Hunkins wrote: >>> As mentioned by a member of the sugar-devel list, it seems that a >>> csound >>> (5.10) install (yum install csound), does not install several >>> crucial >>> site-specific and library packages (csnd, _csnd, libcsnd and perhaps >>> libcsound). >>> >>> Having to erase olpcsound before installing csound deletes these >>> files >>> and they don't get restored/reinstalled. >>> >>> So, to the procedures described below, before erasing olpcsound, I >>> saved >>> the above-listed files (there were 5 or 6), and once csound was >>> installed, added them back where they came from. >>> >>> This crude procedure didn't work, and the following error log is >>> quite >>> like the one I started with: >>> >>> >>> /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 >>> >>> >>> I'd appreciate any suggestions as to how to get this all working. >>> Thanks. >>> >>> Art Hunkins >>> ----- Original Message ----- >>> From: Art Hunkins >>> To: pbrobinson@... >>> Cc: csound@... ; sugar-devel@... >>> Sent: Friday, July 03, 2009 7:57 PM >>> Subject: 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 ----- >>> From: Art Hunkins >>> To: pbrobinson@... >>> 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 ----- >>> From: Art Hunkins >>> To: Developer discussions >>> Cc: csound@... >>> 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 >>> To: Art Hunkins ; Developer discussions >>> 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 ----- >>> From: Art Hunkins >>> To: Developer discussions >>> 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 ----- >>> From: Victor.Lazzarini@... >>> To: Developer discussions >>> 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@...> >>> Date: Monday, June 29, 2009 10:19 pm >>> Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound >>> To: csound-devel@... >>> >>>> 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@... >>>> 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@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>> >>> >>> -------------------------------------------------------------------------- >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> >>> -------------------------------------------------------------------------- >>> >>> >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>> >>> >>> ---------------------------------------------------------------------------- >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> >>> ---------------------------------------------------------------------------- >>> >>> >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >>> _______________________________________________ >>> Sugar-devel mailing list >>> Sugar-devel@... >>> http://lists.sugarlabs.org/listinfo/sugar-devel >> >> >> -- >> Aleksey > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited > time, > vendors submitting new applications to BlackBerry App World(TM) will > have > the opportunity to enter the BlackBerry Developer Challenge. See > full prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel ________________________________________________ David Worrall. - Experimental Polymedia: www.avatar.com.au - Education for Financial Independence: www.mindthemarkets.com.au Australian research affiliations: - Capital Markets Cooperative Research Centre: www.cmcrc.com - Sonic Communications Research Group: creative.canberra.edu.au/scrg - MARCS Auditory Laboratories: marcs.uws.edu.au ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: Sugar on a Stick - and OLPCsound/CsoundHe says SConstruct has a bug, which he has patched. I think he's
probably right, and I will patch SConstruct accordingly. The bug makes the installation not know the right name (soname) for the csnd extension module shared library. Regards, Mike On 7/6/09, Art Hunkins <abhunkin@...> wrote: > Victor and Mike G. (especially) - > > You're familiar with my problems getting Csound5.10 working on SoaS. > > Aleksey, one of the Sugar developers, sent me the "solution" (below) to this > problem (a Scons issue apparently). > > I don't know what to do with it, and look to you for either implementation > or explanation. > > I'm really interested to get 5.10 working with Sugar. > > Art Hunkins > > ----- Original Message ----- > From: "Aleksey Lim" <alsroot@...> > To: "Art Hunkins" <abhunkin@...> > Cc: <pbrobinson@...>; <csound@...>; > <sugar-devel@...> > Sent: Monday, July 06, 2009 3:37 AM > Subject: Re: [Sugar-devel] Sugar on a Stick - and OLPCsound/Csound > > >> looks like its a SConstruct issue >> https://sourceforge.net/tracker/index.php?func=detail&aid=2817271&group_id=81968&atid=564599 >> >> this patch fixed "import csnd" in my case >> http://git.sugarlabs.org/projects/jhconvert/repos/mainline/blobs/master/patches/csound-2817271-soname.patch >> >> On Sun, Jul 05, 2009 at 05:49:23PM -0400, Art Hunkins wrote: >>> As mentioned by a member of the sugar-devel list, it seems that a csound >>> (5.10) install (yum install csound), does not install several crucial >>> site-specific and library packages (csnd, _csnd, libcsnd and perhaps >>> libcsound). >>> >>> Having to erase olpcsound before installing csound deletes these files >>> and they don't get restored/reinstalled. >>> >>> So, to the procedures described below, before erasing olpcsound, I saved >>> the above-listed files (there were 5 or 6), and once csound was >>> installed, added them back where they came from. >>> >>> This crude procedure didn't work, and the following error log is quite >>> like the one I started with: >>> >>> >>> /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 >>> >>> >>> I'd appreciate any suggestions as to how to get this all working. Thanks. >>> >>> Art Hunkins >>> ----- Original Message ----- >>> From: Art Hunkins >>> To: pbrobinson@... >>> Cc: csound@... ; sugar-devel@... >>> Sent: Friday, July 03, 2009 7:57 PM >>> Subject: 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 ----- >>> From: Art Hunkins >>> To: pbrobinson@... >>> 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 ----- >>> From: Art Hunkins >>> To: Developer discussions >>> Cc: csound@... >>> 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 >>> To: Art Hunkins ; Developer discussions >>> 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 ----- >>> From: Art Hunkins >>> To: Developer discussions >>> 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 ----- >>> From: Victor.Lazzarini@... >>> To: Developer discussions >>> 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@...> >>> Date: Monday, June 29, 2009 10:19 pm >>> Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound >>> To: csound-devel@... >>> >>> > 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@... >>> > 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@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> >>> ------------------------------------------------------------------------ >>> >>> >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>> >>> >>> -------------------------------------------------------------------------- >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> >>> -------------------------------------------------------------------------- >>> >>> >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>> >>> >>> ---------------------------------------------------------------------------- >>> >>> >>> >>> ------------------------------------------------------------------------------ >>> >>> >>> >>> ---------------------------------------------------------------------------- >>> >>> >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >> >>> _______________________________________________ >>> Sugar-devel mailing list >>> Sugar-devel@... >>> http://lists.sugarlabs.org/listinfo/sugar-devel >> >> >> -- >> Aleksey > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > -- Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: Sugar on a Stick - and OLPCsound/CsoundThanks, Mike.
Please let me know how this develops. I'm really eager to get 5.10 working on SoaS. As it is, I gather, Csound is not available for use on SoaS, and only still works on the OLPC because they are at 5.08. I'm so much wanting 5.10 because it's the one that permits multiple MIDI controllers, and I've got to offer my Sugar activity either with *or* without this multiple. I'm betwixt and between currently, but since SoaS has already committed to 5.10 making Csound not work at all, I guess I'll just keep my patient hat on for a while. OTOH, do keep me appraised. I have joined the Sugar development list, and can perhaps help move things along on that side. Art Hunkins ----- Original Message ----- From: "Michael Gogins" <michael.gogins@...> To: "Art Hunkins" <abhunkin@...>; "Developer discussions" <csound-devel@...> Sent: Tuesday, July 07, 2009 3:13 PM Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound/Csound > He says SConstruct has a bug, which he has patched. I think he's > probably right, and I will patch SConstruct accordingly. > > The bug makes the installation not know the right name (soname) for > the csnd extension module shared library. > > Regards, > Mike > > On 7/6/09, Art Hunkins <abhunkin@...> wrote: >> Victor and Mike G. (especially) - >> >> You're familiar with my problems getting Csound5.10 working on SoaS. >> >> Aleksey, one of the Sugar developers, sent me the "solution" (below) to >> this >> problem (a Scons issue apparently). >> >> I don't know what to do with it, and look to you for either >> implementation >> or explanation. >> >> I'm really interested to get 5.10 working with Sugar. >> >> Art Hunkins >> >> ----- Original Message ----- >> From: "Aleksey Lim" <alsroot@...> >> To: "Art Hunkins" <abhunkin@...> >> Cc: <pbrobinson@...>; <csound@...>; >> <sugar-devel@...> >> Sent: Monday, July 06, 2009 3:37 AM >> Subject: Re: [Sugar-devel] Sugar on a Stick - and OLPCsound/Csound >> >> >>> looks like its a SConstruct issue >>> https://sourceforge.net/tracker/index.php?func=detail&aid=2817271&group_id=81968&atid=564599 >>> >>> this patch fixed "import csnd" in my case >>> http://git.sugarlabs.org/projects/jhconvert/repos/mainline/blobs/master/patches/csound-2817271-soname.patch >>> >>> On Sun, Jul 05, 2009 at 05:49:23PM -0400, Art Hunkins wrote: >>>> As mentioned by a member of the sugar-devel list, it seems that a >>>> csound >>>> (5.10) install (yum install csound), does not install several crucial >>>> site-specific and library packages (csnd, _csnd, libcsnd and perhaps >>>> libcsound). >>>> >>>> Having to erase olpcsound before installing csound deletes these files >>>> and they don't get restored/reinstalled. >>>> >>>> So, to the procedures described below, before erasing olpcsound, I >>>> saved >>>> the above-listed files (there were 5 or 6), and once csound was >>>> installed, added them back where they came from. >>>> >>>> This crude procedure didn't work, and the following error log is quite >>>> like the one I started with: >>>> >>>> >>>> /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 >>>> >>>> >>>> I'd appreciate any suggestions as to how to get this all working. >>>> Thanks. >>>> >>>> Art Hunkins >>>> ----- Original Message ----- >>>> From: Art Hunkins >>>> To: pbrobinson@... >>>> Cc: csound@... ; sugar-devel@... >>>> Sent: Friday, July 03, 2009 7:57 PM >>>> Subject: 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 ----- >>>> From: Art Hunkins >>>> To: pbrobinson@... >>>> 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 ----- >>>> From: Art Hunkins >>>> To: Developer discussions >>>> Cc: csound@... >>>> 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 >>>> To: Art Hunkins ; Developer discussions >>>> 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 ----- >>>> From: Art Hunkins >>>> To: Developer discussions >>>> 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 ----- >>>> From: Victor.Lazzarini@... >>>> To: Developer discussions >>>> 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@...> >>>> Date: Monday, June 29, 2009 10:19 pm >>>> Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound >>>> To: csound-devel@... >>>> >>>> > 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@... >>>> > 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@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> >>>> -------------------------------------------------------------------------- >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> -------------------------------------------------------------------------- >>>> >>>> >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> >>>> ---------------------------------------------------------------------------- >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> ---------------------------------------------------------------------------- >>>> >>>> >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>>> _______________________________________________ >>>> Sugar-devel mailing list >>>> Sugar-devel@... >>>> http://lists.sugarlabs.org/listinfo/sugar-devel >>> >>> >>> -- >>> Aleksey >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full >> prize >> details at: http://p.sf.net/sfu/blackberry >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@... >> https://lists.sourceforge.net/lists/listinfo/csound-devel >> > > > -- > Michael Gogins > Irreducible Productions > http://www.michael-gogins.com > Michael dot Gogins at gmail dot com > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full > prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/blackberry _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: Sugar on a Stick - and OLPCsound/CsoundI'm sorry for not looking into this, but I'm away from home and
connect only on cibercafes... so my involvement is limited to answering e-mails for now... Anyways, this looks like a problem we had in debian, which we patched but I never committed the patch here because it seemed so hackish. As usual, when things are done hackishly they are never properly fixed, and the patch still lies there. You may want to see the patch at http://patch-tracking.debian.net/patch/series/view/csound/1:5.10.1~dfsg1-3/2003-fix-_csnd.diff For anyone interested, the complete list of patches we apply is available here http://patch-tracking.debian.net/package/csound/1:5.10.1~dfsg1-3 Saludos, Felipe Sateler On Wed, Jul 8, 2009 at 02:13, Michael Gogins<michael.gogins@...> wrote: > He says SConstruct has a bug, which he has patched. I think he's > probably right, and I will patch SConstruct accordingly. > > The bug makes the installation not know the right name (soname) for > the csnd extension module shared library. > > Regards, > Mike > > On 7/6/09, Art Hunkins <abhunkin@...> wrote: >> Victor and Mike G. (especially) - >> >> You're familiar with my problems getting Csound5.10 working on SoaS. >> >> Aleksey, one of the Sugar developers, sent me the "solution" (below) to this >> problem (a Scons issue apparently). >> >> I don't know what to do with it, and look to you for either implementation >> or explanation. >> >> I'm really interested to get 5.10 working with Sugar. >> >> Art Hunkins >> >> ----- Original Message ----- >> From: "Aleksey Lim" <alsroot@...> >> To: "Art Hunkins" <abhunkin@...> >> Cc: <pbrobinson@...>; <csound@...>; >> <sugar-devel@...> >> Sent: Monday, July 06, 2009 3:37 AM >> Subject: Re: [Sugar-devel] Sugar on a Stick - and OLPCsound/Csound >> >> >>> looks like its a SConstruct issue >>> https://sourceforge.net/tracker/index.php?func=detail&aid=2817271&group_id=81968&atid=564599 >>> >>> this patch fixed "import csnd" in my case >>> http://git.sugarlabs.org/projects/jhconvert/repos/mainline/blobs/master/patches/csound-2817271-soname.patch >>> >>> On Sun, Jul 05, 2009 at 05:49:23PM -0400, Art Hunkins wrote: >>>> As mentioned by a member of the sugar-devel list, it seems that a csound >>>> (5.10) install (yum install csound), does not install several crucial >>>> site-specific and library packages (csnd, _csnd, libcsnd and perhaps >>>> libcsound). >>>> >>>> Having to erase olpcsound before installing csound deletes these files >>>> and they don't get restored/reinstalled. >>>> >>>> So, to the procedures described below, before erasing olpcsound, I saved >>>> the above-listed files (there were 5 or 6), and once csound was >>>> installed, added them back where they came from. >>>> >>>> This crude procedure didn't work, and the following error log is quite >>>> like the one I started with: >>>> >>>> >>>> /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 >>>> >>>> >>>> I'd appreciate any suggestions as to how to get this all working. Thanks. >>>> >>>> Art Hunkins >>>> Â ----- Original Message ----- >>>> Â From: Art Hunkins >>>> Â To: pbrobinson@... >>>> Â Cc: csound@... ; sugar-devel@... >>>> Â Sent: Friday, July 03, 2009 7:57 PM >>>> Â Subject: 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 ----- >>>> Â Â From: Art Hunkins >>>> Â Â To: pbrobinson@... >>>> Â Â 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 ----- >>>> Â Â From: Art Hunkins >>>> Â Â To: Developer discussions >>>> Â Â Cc: csound@... >>>> Â Â 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 >>>> Â Â Â To: Art Hunkins ; Developer discussions >>>> Â Â Â 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 ----- >>>> Â Â Â Â From: Art Hunkins >>>> Â Â Â Â To: Developer discussions >>>> Â Â Â Â 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 ----- >>>> Â Â Â Â Â From: Victor.Lazzarini@... >>>> Â Â Â Â Â To: Developer discussions >>>> Â Â Â Â Â 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@...> >>>> Â Â Â Â Â Date: Monday, June 29, 2009 10:19 pm >>>> Â Â Â Â Â Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound >>>> Â Â Â Â Â To: csound-devel@... >>>> >>>> Â Â Â Â Â > 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@... >>>> Â Â Â Â Â > 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@... >>>> Â Â Â Â Â https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> Â Â Â Â _______________________________________________ >>>> Â Â Â Â Csound-devel mailing list >>>> Â Â Â Â Csound-devel@... >>>> Â Â Â Â https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> >>>> -------------------------------------------------------------------------- >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> -------------------------------------------------------------------------- >>>> >>>> >>>> Â Â Â _______________________________________________ >>>> Â Â Â Csound-devel mailing list >>>> Â Â Â Csound-devel@... >>>> Â Â Â https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> >>>> ---------------------------------------------------------------------------- >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> ---------------------------------------------------------------------------- >>>> >>>> >>>> Â Â _______________________________________________ >>>> Â Â Csound-devel mailing list >>>> Â Â Csound-devel@... >>>> Â Â https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>>> _______________________________________________ >>>> Sugar-devel mailing list >>>> Sugar-devel@... >>>> http://lists.sugarlabs.org/listinfo/sugar-devel >>> >>> >>> -- >>> Aleksey >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full prize >> details at: http://p.sf.net/sfu/blackberry >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@... >> https://lists.sourceforge.net/lists/listinfo/csound-devel >> > > > -- > Michael Gogins > Irreducible Productions > http://www.michael-gogins.com > Michael dot Gogins at gmail dot com > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: Sugar on a Stick - and OLPCsound/CsoundMike,
Sorry, I'm technically way over my head here. I'm referring to the thread below. Sugar on a Stick includes Csound5.10 and Python2.6. The incompatibilities, apparently relating to Scons, are cited below. I'm not building anything; I just need the SoaS download or update to handle my Python script with Csound5.10 correctly. 5.10 doesn't work with a Python2.6 script currently. (I need 5.10 to be able to use multiple MIDI controllers.) I don't know how to explain any better, and also don't know where (else) to turn. Should I be looking elsewhere? (I feel really stuck currently.) Art Hunkins Mike G. wrote: Art - the Python version is controllable in Sconstruct. It works with 2.3, 2.4, 2.5, and 2.6 at present. Which version of Python do you need Csound to work with, and how do you obtain or build Csound? ----- Original Message ----- From: "Michael Gogins" <michael.gogins@...> To: "Art Hunkins" <abhunkin@...>; "Developer discussions" <csound-devel@...> Sent: Tuesday, July 07, 2009 3:13 PM Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound/Csound > He says SConstruct has a bug, which he has patched. I think he's > probably right, and I will patch SConstruct accordingly. > > The bug makes the installation not know the right name (soname) for > the csnd extension module shared library. > > Regards, > Mike > > On 7/6/09, Art Hunkins <abhunkin@...> wrote: >> Victor and Mike G. (especially) - >> >> You're familiar with my problems getting Csound5.10 working on SoaS. >> >> Aleksey, one of the Sugar developers, sent me the "solution" (below) to >> this >> problem (a Scons issue apparently). >> >> I don't know what to do with it, and look to you for either >> implementation >> or explanation. >> >> I'm really interested to get 5.10 working with Sugar. >> >> Art Hunkins >> >> ----- Original Message ----- >> From: "Aleksey Lim" <alsroot@...> >> To: "Art Hunkins" <abhunkin@...> >> Cc: <pbrobinson@...>; <csound@...>; >> <sugar-devel@...> >> Sent: Monday, July 06, 2009 3:37 AM >> Subject: Re: [Sugar-devel] Sugar on a Stick - and OLPCsound/Csound >> >> >>> looks like its a SConstruct issue >>> https://sourceforge.net/tracker/index.php?func=detail&aid=2817271&group_id=81968&atid=564599 >>> >>> this patch fixed "import csnd" in my case >>> http://git.sugarlabs.org/projects/jhconvert/repos/mainline/blobs/master/patches/csound-2817271-soname.patch >>> >>> On Sun, Jul 05, 2009 at 05:49:23PM -0400, Art Hunkins wrote: >>>> As mentioned by a member of the sugar-devel list, it seems that a >>>> csound >>>> (5.10) install (yum install csound), does not install several crucial >>>> site-specific and library packages (csnd, _csnd, libcsnd and perhaps >>>> libcsound). >>>> >>>> Having to erase olpcsound before installing csound deletes these files >>>> and they don't get restored/reinstalled. >>>> >>>> So, to the procedures described below, before erasing olpcsound, I >>>> saved >>>> the above-listed files (there were 5 or 6), and once csound was >>>> installed, added them back where they came from. >>>> >>>> This crude procedure didn't work, and the following error log is quite >>>> like the one I started with: >>>> >>>> >>>> /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 >>>> >>>> >>>> I'd appreciate any suggestions as to how to get this all working. >>>> Thanks. >>>> >>>> Art Hunkins >>>> ----- Original Message ----- >>>> From: Art Hunkins >>>> To: pbrobinson@... >>>> Cc: csound@... ; sugar-devel@... >>>> Sent: Friday, July 03, 2009 7:57 PM >>>> Subject: 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 ----- >>>> From: Art Hunkins >>>> To: pbrobinson@... >>>> 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 ----- >>>> From: Art Hunkins >>>> To: Developer discussions >>>> Cc: csound@... >>>> 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 >>>> To: Art Hunkins ; Developer discussions >>>> 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 ----- >>>> From: Art Hunkins >>>> To: Developer discussions >>>> 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 ----- >>>> From: Victor.Lazzarini@... >>>> To: Developer discussions >>>> 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@...> >>>> Date: Monday, June 29, 2009 10:19 pm >>>> Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound >>>> To: csound-devel@... >>>> >>>> > 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@... >>>> > 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@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> ------------------------------------------------------------------------ >>>> >>>> >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> >>>> -------------------------------------------------------------------------- >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> -------------------------------------------------------------------------- >>>> >>>> >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>> >>>> >>>> ---------------------------------------------------------------------------- >>>> >>>> >>>> >>>> ------------------------------------------------------------------------------ >>>> >>>> >>>> >>>> ---------------------------------------------------------------------------- >>>> >>>> >>>> _______________________________________________ >>>> Csound-devel mailing list >>>> Csound-devel@... >>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >>>> _______________________________________________ >>>> Sugar-devel mailing list >>>> Sugar-devel@... >>>> http://lists.sugarlabs.org/listinfo/sugar-devel >>> >>> >>> -- >>> Aleksey >> >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full >> prize >> details at: http://p.sf.net/sfu/blackberry >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@... >> https://lists.sourceforge.net/lists/listinfo/csound-devel >> > > > -- > Michael Gogins > Irreducible Productions > http://www.michael-gogins.com > Michael dot Gogins at gmail dot com > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full > prize > details at: http://p.sf.net/sfu/blackberry > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: Sugar on a Stick - and OLPCsound/CsoundI patched SConstruct as suggested in the thread below. Somebody needs
to update SConstruct from Csound CVS, rebuild Csound 5.10 using this patched SConstruct for Python 2.6, and then you need to install this new build. Hope this helps, Mike 1/09, Art Hunkins <abhunkin@...> wrote: > Mike, > > Sorry, I'm technically way over my head here. I'm referring to the thread > below. > > Sugar on a Stick includes Csound5.10 and Python2.6. The incompatibilities, > apparently relating to Scons, are cited below. I'm not building anything; I > just need the SoaS download or update to handle my Python script with > Csound5.10 correctly. > > 5.10 doesn't work with a Python2.6 script currently. (I need 5.10 to be able > to use multiple MIDI controllers.) > > I don't know how to explain any better, and also don't know where (else) to > turn. Should I be looking elsewhere? (I feel really stuck currently.) > > Art Hunkins > > Mike G. wrote: > Art - the Python version is controllable in Sconstruct. It works with > 2.3, 2.4, 2.5, and 2.6 at present. Which version of Python do you need > Csound to work with, and how do you obtain or build Csound? > > ----- Original Message ----- > From: "Michael Gogins" <michael.gogins@...> > To: "Art Hunkins" <abhunkin@...>; "Developer discussions" > <csound-devel@...> > Sent: Tuesday, July 07, 2009 3:13 PM > Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound/Csound > > >> He says SConstruct has a bug, which he has patched. I think he's >> probably right, and I will patch SConstruct accordingly. >> >> The bug makes the installation not know the right name (soname) for >> the csnd extension module shared library. >> >> Regards, >> Mike >> >> On 7/6/09, Art Hunkins <abhunkin@...> wrote: >>> Victor and Mike G. (especially) - >>> >>> You're familiar with my problems getting Csound5.10 working on SoaS. >>> >>> Aleksey, one of the Sugar developers, sent me the "solution" (below) to >>> this >>> problem (a Scons issue apparently). >>> >>> I don't know what to do with it, and look to you for either >>> implementation >>> or explanation. >>> >>> I'm really interested to get 5.10 working with Sugar. >>> >>> Art Hunkins >>> >>> ----- Original Message ----- >>> From: "Aleksey Lim" <alsroot@...> >>> To: "Art Hunkins" <abhunkin@...> >>> Cc: <pbrobinson@...>; <csound@...>; >>> <sugar-devel@...> >>> Sent: Monday, July 06, 2009 3:37 AM >>> Subject: Re: [Sugar-devel] Sugar on a Stick - and OLPCsound/Csound >>> >>> >>>> looks like its a SConstruct issue >>>> https://sourceforge.net/tracker/index.php?func=detail&aid=2817271&group_id=81968&atid=564599 >>>> >>>> this patch fixed "import csnd" in my case >>>> http://git.sugarlabs.org/projects/jhconvert/repos/mainline/blobs/master/patches/csound-2817271-soname.patch >>>> >>>> On Sun, Jul 05, 2009 at 05:49:23PM -0400, Art Hunkins wrote: >>>>> As mentioned by a member of the sugar-devel list, it seems that a >>>>> csound >>>>> (5.10) install (yum install csound), does not install several crucial >>>>> site-specific and library packages (csnd, _csnd, libcsnd and perhaps >>>>> libcsound). >>>>> >>>>> Having to erase olpcsound before installing csound deletes these files >>>>> and they don't get restored/reinstalled. >>>>> >>>>> So, to the procedures described below, before erasing olpcsound, I >>>>> saved >>>>> the above-listed files (there were 5 or 6), and once csound was >>>>> installed, added them back where they came from. >>>>> >>>>> This crude procedure didn't work, and the following error log is quite >>>>> like the one I started with: >>>>> >>>>> >>>>> /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 >>>>> >>>>> >>>>> I'd appreciate any suggestions as to how to get this all working. >>>>> Thanks. >>>>> >>>>> Art Hunkins >>>>> ----- Original Message ----- >>>>> From: Art Hunkins >>>>> To: pbrobinson@... >>>>> Cc: csound@... ; sugar-devel@... >>>>> Sent: Friday, July 03, 2009 7:57 PM >>>>> Subject: 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 ----- >>>>> From: Art Hunkins >>>>> To: pbrobinson@... >>>>> 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 ----- >>>>> From: Art Hunkins >>>>> To: Developer discussions >>>>> Cc: csound@... >>>>> 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 >>>>> To: Art Hunkins ; Developer discussions >>>>> 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 ----- >>>>> From: Art Hunkins >>>>> To: Developer discussions >>>>> 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 ----- >>>>> From: Victor.Lazzarini@... >>>>> To: Developer discussions >>>>> 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@...> >>>>> Date: Monday, June 29, 2009 10:19 pm >>>>> Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound >>>>> To: csound-devel@... >>>>> >>>>> > 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@... >>>>> > 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@... >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------ >>>>> >>>>> >>>>> _______________________________________________ >>>>> Csound-devel mailing list >>>>> Csound-devel@... >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>>> >>>>> >>>>> >>>>> -------------------------------------------------------------------------- >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> >>>>> >>>>> -------------------------------------------------------------------------- >>>>> >>>>> >>>>> _______________________________________________ >>>>> Csound-devel mailing list >>>>> Csound-devel@... >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>>> >>>>> >>>>> >>>>> ---------------------------------------------------------------------------- >>>>> >>>>> >>>>> >>>>> ------------------------------------------------------------------------------ >>>>> >>>>> >>>>> >>>>> ---------------------------------------------------------------------------- >>>>> >>>>> >>>>> _______________________________________________ >>>>> Csound-devel mailing list >>>>> Csound-devel@... >>>>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>>> >>>>> _______________________________________________ >>>>> Sugar-devel mailing list >>>>> Sugar-devel@... >>>>> http://lists.sugarlabs.org/listinfo/sugar-devel >>>> >>>> >>>> -- >>>> Aleksey >>> >>> >>> ------------------------------------------------------------------------------ >>> Enter the BlackBerry Developer Challenge >>> This is your chance to win up to $100,000 in prizes! For a limited time, >>> vendors submitting new applications to BlackBerry App World(TM) will have >>> the opportunity to enter the BlackBerry Developer Challenge. See full >>> prize >>> details at: http://p.sf.net/sfu/blackberry >>> _______________________________________________ >>> Csound-devel mailing list >>> Csound-devel@... >>> https://lists.sourceforge.net/lists/listinfo/csound-devel >>> >> >> >> -- >> Michael Gogins >> Irreducible Productions >> http://www.michael-gogins.com >> Michael dot Gogins at gmail dot com >> >> ------------------------------------------------------------------------------ >> Enter the BlackBerry Developer Challenge >> This is your chance to win up to $100,000 in prizes! For a limited time, >> vendors submitting new applications to BlackBerry App World(TM) will have >> the opportunity to enter the BlackBerry Developer Challenge. See full >> prize >> details at: http://p.sf.net/sfu/blackberry >> _______________________________________________ >> Csound-devel mailing list >> Csound-devel@... >> https://lists.sourceforge.net/lists/listinfo/csound-devel > > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Csound-devel mailing list > Csound-devel@... > https://lists.sourceforge.net/lists/listinfo/csound-devel > -- Michael Gogins Irreducible Productions http://www.michael-gogins.com Michael dot Gogins at gmail dot com ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
|
|
|
Re: [Sugar-devel] Sugar on a Stick - and OLPCsound/CsoundHi 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<abhunkin@...> 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" <alsroot@...> > To: "Art Hunkins" <abhunkin@...> > Cc: "Michael Gogins" <michael.gogins@...>; > <sugar-devel@...> > 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@... > http://lists.sugarlabs.org/listinfo/sugar-devel > ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: [Sugar-devel] Sugar on a Stick - and OLPCsound/CsoundPeter,
Thanks for this. Can you, or anyone, point me to specific instructions as to how to download and install either of these options? I've tried the "obvious" methods, such as: yum updates-testing csound and yum update csound but have hit a blank wall. I've never tried anything in testing mode before. Art Hunkins ----- Original Message ----- From: "Peter Robinson" <pbrobinson@...> To: "Art Hunkins" <abhunkin@...> Cc: <sugar-devel@...>; <csound-devel@...> 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<abhunkin@...> 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" <alsroot@...> >> To: "Art Hunkins" <abhunkin@...> >> Cc: "Michael Gogins" <michael.gogins@...>; >> <sugar-devel@...> >> 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@... >> http://lists.sugarlabs.org/listinfo/sugar-devel >> > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@... > http://lists.sugarlabs.org/listinfo/sugar-devel ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: [Sugar-devel] Sugar on a Stick - and OLPCsound/CsoundOn Fri, Jul 17, 2009 at 09:49:33PM -0400, Art Hunkins wrote:
> Peter, > > Thanks for this. > > Can you, or anyone, point me to specific instructions as to how to download > and install either of these options? > > I've tried the "obvious" methods, such as: > yum updates-testing csound > and yum update csound > but have hit a blank wall. not sure(I'm not a fedora user) but I guess you can just download all *.i586.rpm(if you are using i586) from http://koji.fedoraproject.org/koji/buildinfo?buildID=114648 that you have in your system("rpm -qa | grep csound") and install them by "rpm -i <rpm>" command. -- Aleksey ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
|
|
|
amRe: [Sugar-devel] Sugar on a Stick - and OLPCsound/CsoundHello, 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 <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 42, 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 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" <pbrobinson@...> To: "Art Hunkins" <abhunkin@...> Cc: <sugar-devel@...>; <csound-devel@...> 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<abhunkin@...> 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" <alsroot@...> >> To: "Art Hunkins" <abhunkin@...> >> Cc: "Michael Gogins" <michael.gogins@...>; >> <sugar-devel@...> >> 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@... >> http://lists.sugarlabs.org/listinfo/sugar-devel >> > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@... > http://lists.sugarlabs.org/listinfo/sugar-devel ------------------------------------------------------------------------------ Enter the BlackBerry Developer Challenge This is your chance to win up to $100,000 in prizes! For a limited time, vendors submitting new applications to BlackBerry App World(TM) will have the opportunity to enter the BlackBerry Developer Challenge. See full prize details at: http://p.sf.net/sfu/Challenge _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: [Sugar-devel] amRe: Sugar on a Stick - and OLPCsound/CsoundOn Tue, Jul 21, 2009 at 04:03, Art Hunkins<abhunkin@...> 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 <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 42, 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 > > > > 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" <pbrobinson@...> > To: "Art Hunkins" <abhunkin@...> > Cc: <sugar-devel@...>; <csound-devel@...> > 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<abhunkin@...> 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" <alsroot@...> >>> To: "Art Hunkins" <abhunkin@...> >>> Cc: "Michael Gogins" <michael.gogins@...>; >>> <sugar-devel@...> >>> 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@... >>> http://lists.sugarlabs.org/listinfo/sugar-devel >>> >> _______________________________________________ >> Sugar-devel mailing list >> Sugar-devel@... >> http://lists.sugarlabs.org/listinfo/sugar-devel > > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@... > http://lists.sugarlabs.org/listinfo/sugar-devel > ------------------------------------------------------------------------------ _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: [Sugar-devel] amRe: 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 <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 42, 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 >> >> >> >> 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? Peter ------------------------------------------------------------------------------ _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
|
|
|
Re: [Sugar-devel] amRe: Sugar on a Stick-andOLPCsound/CsoundHi Art,
> At last the new csound-python became available and I installed it. > > There is still an issue. The current log consists of: > /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 42, 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 25, in <module> > > _csnd = swig_import_helper() > > File "/usr/lib/python2.6/site-packages/csnd.py", line 17, in > swig_import_helper > > import _csnd > > ImportError: No module named _csnd > > > > You will get the same error if you run cb.py from python. > > I think I see some of the cause. My /usr/lib/python2.6/site-packages/ now > includes: csnd.py, csnd.pyo, csnd.pyc, and _csnd.so - but _csnd.so is listed > in red with a black background. It is indeed an empty file, unlike the > others. (Other .so files in the same directory display content.) > > (FWIW, when I try to install csound-python again, the response is that it is > already installed - so I'm not absolutely sure the download was good. It > seemed completely normal, however.) > > Sorry to have to report this; I was so hopeful. No problem, it gets us further down the line. Can you try the following: "mv /usr/lib/csound/plugins/libcsnd.so /usr/lib" And let me know how you go. Peter ------------------------------------------------------------------------------ _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: [Sugar-devel] amRe: Sugar on aStick-andOLPCsound/CsoundHello, Peter,
It gets us this far: /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 42, 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 25, in <module> _csnd = swig_import_helper() File "/usr/lib/python2.6/site-packages/csnd.py", line 24, in swig_import_helper return _mod UnboundLocalError: local variable '_mod' referenced before assignment Art Hunkins ----- Original Message ----- From: "Peter Robinson" <pbrobinson@...> To: "Art Hunkins" <abhunkin@...> Cc: "Sugar devel" <sugar-devel@...>; <csound-devel@...> Sent: Thursday, July 23, 2009 3:41 PM Subject: Re: [Sugar-devel] amRe: [Cs-dev] Sugar on aStick-andOLPCsound/Csound > Hi Art, > >> At last the new csound-python became available and I installed it. >> >> There is still an issue. The current log consists of: >> /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 42, >> 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 25, in <module> >> >> _csnd = swig_import_helper() >> >> File "/usr/lib/python2.6/site-packages/csnd.py", line 17, in >> swig_import_helper >> >> import _csnd >> >> ImportError: No module named _csnd >> >> >> >> You will get the same error if you run cb.py from python. >> >> I think I see some of the cause. My /usr/lib/python2.6/site-packages/ now >> includes: csnd.py, csnd.pyo, csnd.pyc, and _csnd.so - but _csnd.so is >> listed >> in red with a black background. It is indeed an empty file, unlike the >> others. (Other .so files in the same directory display content.) >> >> (FWIW, when I try to install csound-python again, the response is that it >> is >> already installed - so I'm not absolutely sure the download was good. It >> seemed completely normal, however.) >> >> Sorry to have to report this; I was so hopeful. > > No problem, it gets us further down the line. > > Can you try the following: > "mv /usr/lib/csound/plugins/libcsnd.so /usr/lib" > > And let me know how you go. > > Peter > _______________________________________________ > Sugar-devel mailing list > Sugar-devel@... > http://lists.sugarlabs.org/listinfo/sugar-devel ------------------------------------------------------------------------------ _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
| Free embeddable forum powered by Nabble | Forum Help |