| superuser has all permissions, user has limited permissions - for
copying, installing, running things.
Regards,
Mike
On Fri, Mar 6, 2009 at 2:32 PM, Art Hunkins wrote:
> Brian (and Victor),
>
> Placing csndsugui.py in the folder with your application creates a two
> second pause and a return to the bash prompt - nothing else, except that a
> csndsugui.pyc is created.
>
> Just to see whether Python was actually running, I placed HelloWorld.py in
> the same directory. It ran correctly (python HelloWorld.py).
>
> I have noticed that the entire csndsugui downloaded activity bundle is *not*
> in the path, and I was wondering if this might be the trouble (perhaps *all*
> the trouble I've been experiencing). I know nothing of the difference
> between user and superuser, and it's possible I'm working at cross purposes
> with my two "identities".?
>
> It is true that I haven't gotten any of Victor's play activities to run or
> to even show up on my activity list. Of course, they download/install
> different from the common OLPC Activities, so I don't know what to expect or
> how to do anything with them.
>
> Still quite confused, yet grateful to you both for your help -
>
> Art Hunkins
>
> ----- Original Message -----
> From: Brian Redfern
> To: csound@lists.bath.ac.uk
> Sent: Thursday, March 05, 2009 9:51 PM
> Subject: [Csnd] Re: Re: Re: Re: Re: Re: Python script to embed csd's for
> OLPC
> I place the csndsugui.py file in the same folder as my application.
>
> On Thu, Mar 5, 2009 at 6:20 PM, Art Hunkins wrote:
>>
>> Brian and Victor,
>>
>> I did manage to copy OLPCDemo.py and olpcdemo.csd to the csndsugui
>> directory. I can't seem to do the right thing to get OLPCDemo.py to run
>> (though OLPCDemo.pyc seems to have been created in the same directory.
>>
>> When I command: python OLPCDemo.py, there is a two second hesitation, then
>> a return to bash prompt. Running OLPCDemo.py from within python gives me an
>> error saying "OLPCDemo is not defined".
>>
>> Art Hunkins
>>
>> ----- Original Message -----
>> From: Art Hunkins
>> To: csound@lists.bath.ac.uk
>> Sent: Thursday, March 05, 2009 8:17 PM
>> Subject: Re: [Csnd] Re: Re: Re: Re: Python script to embed csd's for OLPC
>> Hi, Brian and Victor,
>>
>> Thanks both for the info; and Brian, I'm looking forward to that article.
>> Eventually, I'd like to try some full-blown Applications.
>>
>> Meanwhile, I'm just trying to get Brian's demo application to run on my
>> OLPC. Right now, his .py and .csd files are on my thumb drive plugged into
>> the OLPC. There, they can't find csndsugui.
>>
>> Can you please tell me where I need to copy them, and the appropriate
>> command line to do so? (The directory structure of the OLPC is still quite a
>> mystery to me. I presume the files may need to be copied to the csndsugui
>> directory and run from there?)
>>
>> Thanks much -
>>
>> Art Hunkins
>>
>> ----- Original Message -----
>> From: Brian Redfern
>> To: csound@lists.bath.ac.uk
>> Sent: Thursday, March 05, 2009 5:28 PM
>> Subject: [Csnd] Re: Re: Re: Re: Python script to embed csd's for OLPC
>> Yeah I need to do a part II to my OLPC article to talk about how to
>> install applications. My demo application from part 1 runs from the command
>> line, but I need to write a part 2 where I explain how to turn it into a
>> full blown sugar application.
>>
>> On Thu, Mar 5, 2009 at 2:15 PM, victor wrote:
>>>
>>> Tkinter is not on OLPC. You'll need PyGTK, but
>>> best to follow the activities framework (ie. sugar) as
>>> explained in the link.
>>> ----- Original Message ----- From: "Michael Gogins"
>>>
>>> To:
>>> Sent: Thursday, March 05, 2009 9:31 PM
>>> Subject: [Csnd] Re: Re: Python script to embed csd's for OLPC
>>>
>>>
>>>> Look in the csound/examples directory. Most of the .py files there
>>>> embed .csd's. Some use GUIs, some do not. Some of the ones that use
>>>> GUIs use the Tk GUI toolkit that comes with Python - see drone.py,
>>>> which I think does most of what you are looking for.
>>>>
>>>> Hope this helps,
>>>> Mike
>>>>
>>>> On Thu, Mar 5, 2009 at 4:23 PM, victor wrote:
>>>>>
>>>>> 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"
>>>>>
>>>>
>>>>
>>>>
>>>> --
>>>> Michael Gogins
>>>> Irreducible Productions
>>>> Michael dot Gogins at gmail dot com
>>>>
>>>>
>>>> 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"
>>
>
>
--
Michael Gogins
Irreducible Productions
Michael dot Gogins at gmail dot com
|