| Do you have write access to those files/directories?
On Mon, Mar 9, 2009 at 12:18, Art Hunkins wrote:
> Victor,
>
> Today I tried (on OLPC) to run your two Activities, Waves and synth - from
> their respective directories within csndsugui. I ran both with -d and -v
> flags.
>
> Among the myriad of messages output, two in each run may have some
> significance, and be related to why I'm getting no joy. (Both activities run
> for about two seconds and come back to the command line "normally".)
>
> The messages:
> /home/olpc/Activities/csndsugui/Waves.activity/csndsugui.pyc has bad mtime
> and several lines later
> can't create /home/olpc/Activities/csndsugui/Waves.activity/csndsugui.pyc
>
> (Of course, synth.activity substitutes synth.) BTW, both .pyc's are (or have
> been) created (obviously compiled code with sporadic portions of what looks
> like csndsugui.py scattered throughout).
>
> The installed Python version is 2.5.1.
>
> Any ideas?
>
> Art Hunkins
>
> ----- Original Message ----- From: "victor"
> To:
> Sent: Thursday, March 05, 2009 6:42 PM
> Subject: [Csnd] Re: Re: Re: Python script to embed csd's for OLPC
>
>
>> This is basically explained in:
>>
>> http://wiki.laptop.org/go/Activity_tutorial
>>
>> it's a bundle (a directory with all the required files). Your CSD and
>> python script go there. You will need to include csndsugui.py in the
>> bundle.
>> Look at the examples in
>>
>> http://git.sugarlabs.org/projects/csndsugui
>>
>> (you can get them using git clone...)
>>
>> Victor
>>
>> ----- Original Message ----- From: "Art Hunkins"
>> To:
>> Sent: Thursday, March 05, 2009 10:28 PM
>> Subject: [Csnd] Re: Re: Python script to embed csd's for OLPC
>>
>>
>>> Victor,
>>>
>>> Where does a Python script have to be located and run from to be able to
>>> find csndsugui? It is installed normally on my OLPC, and a script run from a
>>> thumb drive cannot find it.
>>>
>>> Art Hunkins
>>>
>>> ----- Original Message ----- From: "victor"
>>> To:
>>> Sent: Thursday, March 05, 2009 4:23 PM
>>> Subject: [Csnd] Re: Python script to embed csd's for OLPC
>>>
>>>
>>>> See:
>>>>
>>>> http://wiki.laptop.org/go/Csndsugui
>>>>
>>>> Victor
>>>> ----- Original Message ----- From: "Art Hunkins"
>>>> To:
>>>> Sent: Thursday, March 05, 2009 9:12 PM
>>>> Subject: [Csnd] Python script to embed csd's for OLPC
>>>>
>>>>
>>>>> Since Python opcodes are absent from OLPCsound, I'd like to try
>>>>> embedding csd's in a Python script. My thought is to have an opening Python
>>>>> "initialization dialog" allowing the performer to set initialization values
>>>>> (accessed via chnget), then embark on real-time performance. No
>>>>> performance-time interaction. The run concludes as usual with Ctrl-C.
>>>>>
>>>>> Can someone point me to a Csound .py script that does just this? (I'm
>>>>> thinking that such a dialog could well substitute for a "setup GUI", and
>>>>> would not require other software, such as the csndsugui activity, to be
>>>>> downloaded.)
>>>>>
>>>>> Art Hunkins
>>>>>
>>>>>
>>>>> Send bugs reports to this list.
>>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body
>>>>> "unsubscribe csound"
>>>>
>>>>
>>>>
>>>> Send bugs reports to this list.
>>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>>> csound"
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>>> csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
>> csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe
> csound"
>
--
Felipe Sateler
|