<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=iso-8859-1" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18783">
<STYLE></STYLE>
</HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT size=2 face=Arial>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.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>As a matter of fact, python2.5 seems about a third
the size of 2.6. Is all this correct?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Art Hunkins</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=abhunkin@uncg.edu href="mailto:abhunkin@uncg.edu">Art Hunkins</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=pbrobinson@gmail.com
href="mailto:pbrobinson@gmail.com">pbrobinson@gmail.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Friday, July 03, 2009 6:13 PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Fw: [Cs-dev] Sugar on a Stick -
and OLPCsound</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2 face=Arial>Hello, Peter,</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Do you know what may be happening here? (Please
see error log below.)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>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.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Thanks for any insights.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Art Hunkins</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV style="FONT: 10pt arial">----- Original Message -----
<DIV style="BACKGROUND: #e4e4e4; font-color: black"><B>From:</B> <A
title=abhunkin@uncg.edu href="mailto:abhunkin@uncg.edu">Art Hunkins</A> </DIV>
<DIV><B>To:</B> <A title=csound-devel@lists.sourceforge.net
href="mailto:csound-devel@lists.sourceforge.net">Developer discussions</A>
</DIV>
<DIV><B>Cc:</B> <A title=csound@lists.bath.ac.uk
href="mailto:csound@lists.bath.ac.uk">csound@lists.bath.ac.uk</A> </DIV>
<DIV><B>Sent:</B> Friday, July 03, 2009 5:36 PM</DIV>
<DIV><B>Subject:</B> Re: [Cs-dev] Sugar on a Stick - and OLPCsound</DIV></DIV>
<DIV><BR></DIV>
<DIV><FONT size=2 face=Arial>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.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT size=2 face=Arial>In our last episode, we noted that Csound5.08 was
(apparently?) incompatible with python2.6. At least this seemed a plausible
explanation</FONT> <FONT size=2 face=Arial>from the error log we
saw.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>So, now Csound5.10 is available on Fedora(11) for
download to SoaS.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>First, I try update csound; "can't find any
csound".</FONT></DIV>
<DIV><FONT size=2 face=Arial>Second, install csound; it tries, but then says,
"can't because it interferes with olpcsound" (OK, different
name!)</FONT></DIV>
<DIV><FONT size=2 face=Arial>Third, erase olpcsound; good</FONT></DIV>
<DIV><FONT size=2 face=Arial>Fourth, install csound; good</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Then I run my Activity; it now crashes with the
similar, but not exact, error log below.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>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.</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>The log: (any new ideas please?)</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><SPAN lang=EN>
<P>/usr/lib/python2.6/site-packages/sugar/util.py:25: DeprecationWarning: the
sha module is deprecated; use the hashlib module instead</P>
<P>import sha</P>
<P>Traceback (most recent call last):</P>
<P>File "/usr/bin/sugar-activity", line 21, in <module></P>
<P>main.main()</P>
<P>File "/usr/lib/python2.6/site-packages/sugar/activity/main.py", line 105,
in main</P>
<P>module = __import__(module_name) </P>
<P>File "/home/liveuser/Activities/OurMusic.activity/ourmusic.py", line 41, in
<module></P>
<P>import csndsugui</P>
<P>File "/home/liveuser/Activities/OurMusic.activity/csndsugui.py", line 36,
in <module></P>
<P>import csnd</P>
<P>ImportError: No module named csnd</P>
<P> </P>
<P><FONT size=2 face=Arial>Art Hunkins</FONT></P></SPAN></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=Victor.Lazzarini@nuim.ie
href="mailto:Victor.Lazzarini@nuim.ie">victor</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=abhunkin@uncg.edu
href="mailto:abhunkin@uncg.edu">Art Hunkins</A> ; <A
title=csound-devel@lists.sourceforge.net
href="mailto:csound-devel@lists.sourceforge.net">Developer discussions</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Wednesday, July 01, 2009 1:36
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cs-dev] Sugar on a Stick
- and OLPCsound</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2 face=Arial>Because the 5.10 rpm has a python2.6
dependency. But that might</FONT></DIV>
<DIV><FONT size=2 face=Arial>be the case for 5.08 too (I am not
sure).</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=abhunkin@uncg.edu href="mailto:abhunkin@uncg.edu">Art Hunkins</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=csound-devel@lists.sourceforge.net
href="mailto:csound-devel@lists.sourceforge.net">Developer discussions</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Tuesday, June 30, 2009 2:22
AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cs-dev] Sugar on a
Stick - and OLPCsound</DIV>
<DIV><BR></DIV>
<DIV><FONT size=2 face=Arial>I just noticed that the current OLPC build
includes Python 2.5, whereas SoaS includes Python 2.6</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>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?</FONT></DIV>
<DIV><FONT size=2 face=Arial></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Art Hunkins</FONT></DIV>
<BLOCKQUOTE
style="BORDER-LEFT: #000000 2px solid; PADDING-LEFT: 5px; PADDING-RIGHT: 0px; MARGIN-LEFT: 5px; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="FONT: 10pt arial; BACKGROUND: #e4e4e4; font-color: black"><B>From:</B>
<A title=Victor.Lazzarini@nuim.ie
href="mailto:Victor.Lazzarini@nuim.ie">Victor.Lazzarini@nuim.ie</A>
</DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A
title=csound-devel@lists.sourceforge.net
href="mailto:csound-devel@lists.sourceforge.net">Developer
discussions</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Monday, June 29, 2009 5:38
PM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: [Cs-dev] Sugar on a
Stick - and OLPCsound</DIV>
<DIV><BR></DIV>The message is strange, but it does not say there is a
Python<BR>version mismatch. However, having said that, the
5.08.91<BR>rpm was built with 2.5 (unless what you have there is
another<BR>build that somehow uses 2.6). <BR><BR>What the message says
is that the library module Python<BR>tried to load does not have one of
the API functions. The<BR>reason for this I don't
know.<BR><BR>Victor<BR><BR>----- Original Message -----<BR>From: Art
Hunkins <abhunkin@uncg.edu><BR>Date: Monday, June 29, 2009 10:19
pm<BR>Subject: Re: [Cs-dev] Sugar on a Stick - and OLPCsound<BR>To:
csound-devel@lists.sourceforge.net<BR><BR>> Victor, Brian and Mike G.
-<BR>> <BR>> I'd like to ask again regarding this SoaS log, and
what it <BR>> suggests about <BR>> the crash of my OurMusic
activity.<BR>> <BR>> The version of Csound is 5.08.91, libsndfile
is 1.0.17. And as <BR>> you can see <BR>> Python 2.6 and
libcsnd.so.5.1 are referenced in the log.<BR>> <BR>> Is the
difficulty incompatible versions of Python and/or <BR>>
libsndfile/libcsnd.so.5.1?<BR>> <BR>> A member of the sugar-devel
list suggested that the problem <BR>> might well be <BR>> solved
with Csound5.10 (Fedora 11) which will be available <BR>> through yum
<BR>> update later this week. (It's apparently ready to go.) What do
<BR>> you imagine?<BR>> <BR>> The log:<BR>> <BR>>
/usr/lib/python2.6/site-packages/sugar/util.py:25: <BR>>
DeprecationWarning: the <BR>> sha module is deprecated; use the
hashlib module instead<BR>> <BR>> import sha<BR>> <BR>>
Traceback (most recent call last):<BR>> <BR>> File
"/usr/bin/sugar-activity", line 21, in <module><BR>> <BR>>
main.main()<BR>> <BR>> File
"/usr/lib/python2.6/site-packages/sugar/activity/main.py", <BR>> line
105, in <BR>> main<BR>> <BR>> module =
__import__(module_name)<BR>> <BR>> File
"/home/liveuser/Activities/OurMusic.activity/ourmusic.py", <BR>> line
41, in <BR>> <module><BR>> <BR>> import csndsugui<BR>>
<BR>> File
"/home/liveuser/Activities/OurMusic.activity/csndsugui.py", <BR>>
line 36, in <BR>> <module><BR>> <BR>> import csnd<BR>>
<BR>> File "/usr/lib/python2.6/site-packages/csnd.py", line 7, in
<BR>> <module><BR>> import _csnd<BR>> <BR>>
ImportError: /usr/lib/libcsnd.so.5.1: undefined symbol: <BR>>
csoundGetInputBuffer<BR>> <BR>> <BR>> Thanks -<BR>> <BR>>
Art Hunkins<BR>> <BR>> <BR>>
-----------------------------------------------------------------<BR>>
-------------<BR>>
_______________________________________________<BR>> Csound-devel
mailing list<BR>> Csound-devel@lists.sourceforge.net<BR>>
https://lists.sourceforge.net/lists/listinfo/csound-devel<BR><BR>Dr
Victor Lazzarini, Senior Lecturer, Dept. of Music,<BR>National
University of Ireland, Maynooth<BR>
<P>
<HR>
<P></P>------------------------------------------------------------------------------<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Csound-devel
mailing
list<BR>Csound-devel@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/csound-devel<BR></BLOCKQUOTE>
<P>
<HR>
<P></P>------------------------------------------------------------------------------<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Csound-devel
mailing
list<BR>Csound-devel@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/csound-devel<BR></BLOCKQUOTE>
<P>
<HR>
<P></P>------------------------------------------------------------------------------<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Csound-devel
mailing
list<BR>Csound-devel@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/csound-devel<BR></BLOCKQUOTE>
<P>
<HR>
<P></P>------------------------------------------------------------------------------<BR>
<P>
<HR>
<P></P>_______________________________________________<BR>Csound-devel mailing
list<BR>Csound-devel@lists.sourceforge.net<BR>https://lists.sourceforge.net/lists/listinfo/csound-devel<BR></BLOCKQUOTE></BODY></HTML>