[Sugar-devel] amRe: [Cs-dev] Sugar on a Stick -andOLPCsound/Csound

Art Hunkins abhunkin at uncg.edu
Tue Jul 21 17:25:49 EDT 2009


Interesting result - no doubt suggestive (from terminal output):

[liveuser at localhost /]$ su

[root at localhost /]# yum install -y csound-python

Loaded plugins: refresh-packagekit

fedora/metalink | 16 kB 00:00

fedora Text clipping | 3.8 kB 00:00

fedora/primary_db | 8.4 MB 00:15

sugar | 1.2 kB 00:00

sugar/primary | 7.1 kB 00:00

sugar 18/18

updates/metalink | 9.4 kB 00:00

updates | 4.4 kB 00:00

updates/primary_db | 2.3 MB 00:03

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package csound-python.i586 0:5.10.1-7.fc11 set to be updated

--> Processing Dependency: csound = 5.10.1-7.fc11 for package: 
csound-python-5.10.1-7.fc11.i586

--> Finished Dependency Resolution

csound-python-5.10.1-7.fc11.i586 from updates has depsolving problems

--> Missing Dependency: csound = 5.10.1-7.fc11 is needed by package 
csound-python-5.10.1-7.fc11.i586 (updates)

Error: Missing Dependency: csound = 5.10.1-7.fc11 is needed by package 
csound-python-5.10.1-7.fc11.i586 (updates)

You could try using --skip-broken to work around the problem

You could try running: package-cleanup --problems

package-cleanup --dupes

rpm -Va --nofiles --nodigest

[root at localhost /]# cd /usr/[liveuser at localhost /]$ su

[root at localhost /]# yum install -y csound-python

Loaded plugins: refresh-packagekit

fedora/metalink | 16 kB 00:00

fedora | 3.8 kB 00:00

fedora/primary_db | 8.4 MB 00:15

sugar | 1.2 kB 00:00

sugar/primary | 7.1 kB 00:00

sugar 18/18

updates/metalink | 9.4 kB 00:00

updates | 4.4 kB 00:00

updates/primary_db | 2.3 MB 00:03

Setting up Install Process

Resolving Dependencies

--> Running transaction check

---> Package csound-python.i586 0:5.10.1-7.fc11 set to be updated

--> Processing Dependency: csound = 5.10.1-7.fc11 for package: 
csound-python-5.10.1-7.fc11.i586

--> Finished Dependency Resolution

csound-python-5.10.1-7.fc11.i586 from updates has depsolving problems

--> Missing Dependency: csound = 5.10.1-7.fc11 is needed by package 
csound-python-5.10.1-7.fc11.i586 (updates)

Error: Missing Dependency: csound = 5.10.1-7.fc11 is needed by package 
csound-python-5.10.1-7.fc11.i586 (updates)

You could try using --skip-broken to work around the problem

You could try running: package-cleanup --problems

package-cleanup --dupes

rpm -Va --nofiles --nodigest

[root at localhost /]# cd /usr/



Another observation (that I meant to mention before): I have no /usr/lib64 - 
just a /usr/lib. As you may know, there are two versions of Csound, a floats 
and a doubles. The doubles version is identified generally with the "64" 
suffix. I wonder if these two versions have gotten mixed up in distribution 
somehow? To my knowledge, only the float (32bit) version is part of 
OLPCsound (and SoaS).

Finally, I have none of the 4 files you list in my python2.6/site-packages 
folder (maybe because of the failed csound-python install?).

Art Hunkins

----- Original Message ----- 
From: "Peter Robinson" <pbrobinson at gmail.com>
To: "Art Hunkins" <abhunkin at uncg.edu>
Cc: "Sugar devel" <sugar-devel at lists.sugarlabs.org>
Sent: Tuesday, July 21, 2009 4:01 PM
Subject: Re: [Sugar-devel] amRe: [Cs-dev] Sugar on a 
Stick -andOLPCsound/Csound


Can you do a "yum install -y csound-python" and see how you get on from 
there.

csound-python contains the following files (which might be useful :-) )

# rpm -ql csound-python
/usr/lib64/python2.6/site-packages/_csnd.so
/usr/lib64/python2.6/site-packages/csnd.py
/usr/lib64/python2.6/site-packages/csnd.pyc
/usr/lib64/python2.6/site-packages/csnd.pyo

Peter

On Tue, Jul 21, 2009 at 8:14 PM, Art Hunkins<abhunkin at uncg.edu> wrote:
> As likely expected, the output to your first command is:
> csound-5.10.1-9.f11.i586
> and to the second, nothing.
>
> Art Hunkins
>
> ----- Original Message ----- From: "Peter Robinson" <pbrobinson at gmail.com>
> To: "Art Hunkins" <abhunkin at uncg.edu>
> Cc: "Sugar devel" <sugar-devel at lists.sugarlabs.org>
> Sent: Tuesday, July 21, 2009 2:19 PM
> Subject: Re: [Sugar-devel] amRe: [Cs-dev] Sugar on a Stick -
> andOLPCsound/Csound
>
>
>> Art,
>>
>>> I reconstituted my USB drive as indicated in my mail of a few hours ago.
>>>
>>> Same behavior as before, but the execution stops at "import csnd" this
>>> time
>>> (a step earlier). 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/Waves.activity/waves.py", line 1, in
>>> <module>
>>>
>>> import csndsugui
>>>
>>> File "/home/liveuser/Activities/Waves.activity/csndsugui.py", line 36, 
>>> in
>>> <module>
>>>
>>> import csnd
>>>
>>> ImportError: No module named csnd
>>>
>>>
>>> Doesn't this indicate I had a spurious csnd lying around (the wrong 
>>> one),
>>> and that now it is missing?
>>>
>>> I did observe that when doing the update-testing csound, that olpcsound
>>> (5.08) was listed as deleted.
>>>
>>> Hope this represents a clue.
>>
>> Not sure about a clue, it represents movement.... not necessarily in
>> the right direction :-)
>>
>> Can you run a "rpm -qa | grep csound" and "rpm -qa | grep olpcsound"
>> for me and post the output.
>>
>> Peter
>> _______________________________________________
>> Sugar-devel mailing list
>> Sugar-devel at lists.sugarlabs.org
>> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
_______________________________________________
Sugar-devel mailing list
Sugar-devel at lists.sugarlabs.org
http://lists.sugarlabs.org/listinfo/sugar-devel 



More information about the Sugar-devel mailing list