Csound Csound-dev Csound-tekno Search About

[Csnd] Python Error and csound.perform()

Date2009-06-21 20:43
FromJacob Joaquin
Subject[Csnd] Python Error and csound.perform()
I'm having issues running python scripts from the CVS at sourceforge.  For
example, when I run TrappedCsd.py, I get the following message:

OK
Fatal Python error: PyThreadState_Get: no current thread
Csound tidy up: Abort trap

If I comment out the last line of TrappedCsd.py, csound.perform(), the
script doesn't report the Python error.  How do I get Python and the Csound
API working?

Best,
Jake
-- 
View this message in context: http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138057.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-06-21 20:47
FromJacob Joaquin
Subject[Csnd] Re: Python Error and csound.perform()
I should have probably mentioned I'm running 5.10 (float samples) on OS X.



Jacob Joaquin wrote:
> 
> I'm having issues running python scripts from the CVS at sourceforge.  For
> example, when I run TrappedCsd.py, I get the following message:
> 
> OK
> Fatal Python error: PyThreadState_Get: no current thread
> Csound tidy up: Abort trap
> 
> If I comment out the last line of TrappedCsd.py, csound.perform(), the
> script doesn't report the Python error.  How do I get Python and the
> Csound API working?
> 
> Best,
> Jake
> 

-- 
View this message in context: http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138084.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-06-21 22:04
Fromvictor
Subject[Csnd] Re: Re: Python Error and csound.perform()
Using Python2.3 or 2.5?
----- Original Message ----- 
From: "Jacob Joaquin" 
To: 
Sent: Sunday, June 21, 2009 8:47 PM
Subject: [Csnd] Re: Python Error and csound.perform()


>
> I should have probably mentioned I'm running 5.10 (float samples) on OS X.
>
>
>
> Jacob Joaquin wrote:
>>
>> I'm having issues running python scripts from the CVS at sourceforge. 
>> For
>> example, when I run TrappedCsd.py, I get the following message:
>>
>> OK
>> Fatal Python error: PyThreadState_Get: no current thread
>> Csound tidy up: Abort trap
>>
>> If I comment out the last line of TrappedCsd.py, csound.perform(), the
>> script doesn't report the Python error.  How do I get Python and the
>> Csound API working?
>>
>> Best,
>> Jake
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138084.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2009-06-21 22:05
Fromvictor
Subject[Csnd] Re: Python Error and csound.perform()
Is this your build or CVS build?
----- Original Message ----- 
From: "Jacob Joaquin" 
To: 
Sent: Sunday, June 21, 2009 8:43 PM
Subject: [Csnd] Python Error and csound.perform()


>
> I'm having issues running python scripts from the CVS at sourceforge.  For
> example, when I run TrappedCsd.py, I get the following message:
>
> OK
> Fatal Python error: PyThreadState_Get: no current thread
> Csound tidy up: Abort trap
>
> If I comment out the last line of TrappedCsd.py, csound.perform(), the
> script doesn't report the Python error.  How do I get Python and the 
> Csound
> API working?
>
> Best,
> Jake
> -- 
> View this message in context: 
> http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138057.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2009-06-21 22:09
FromJacob Joaquin
Subject[Csnd] Re: Python Error and csound.perform()
I'm using the binary package Csound5.10-float-Intel-OSX10.4.tar.gz at
sourceforge.




Victor.Lazzarini wrote:
> 
> Is this your build or CVS build?
> ----- Original Message ----- 
> From: "Jacob Joaquin" 
> To: 
> Sent: Sunday, June 21, 2009 8:43 PM
> Subject: [Csnd] Python Error and csound.perform()
> 
> 
>>
>> I'm having issues running python scripts from the CVS at sourceforge. 
>> For
>> example, when I run TrappedCsd.py, I get the following message:
>>
>> OK
>> Fatal Python error: PyThreadState_Get: no current thread
>> Csound tidy up: Abort trap
>>
>> If I comment out the last line of TrappedCsd.py, csound.perform(), the
>> script doesn't report the Python error.  How do I get Python and the 
>> Csound
>> API working?
>>
>> Best,
>> Jake
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138057.html
>> Sent from the Csound - General mailing list archive at Nabble.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"
> 
> 

-- 
View this message in context: http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138845.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-06-21 22:26
Fromvictor
Subject[Csnd] Re: Re: Python Error and csound.perform()
It should work; I'm sure it works in my computers, but I
can't test it right now.

----- Original Message ----- 
From: "Jacob Joaquin" 
To: 
Sent: Sunday, June 21, 2009 10:09 PM
Subject: [Csnd] Re: Python Error and csound.perform()


>
> I'm using the binary package Csound5.10-float-Intel-OSX10.4.tar.gz at
> sourceforge.
>
>
>
>
> Victor.Lazzarini wrote:
>>
>> Is this your build or CVS build?
>> ----- Original Message ----- 
>> From: "Jacob Joaquin" 
>> To: 
>> Sent: Sunday, June 21, 2009 8:43 PM
>> Subject: [Csnd] Python Error and csound.perform()
>>
>>
>>>
>>> I'm having issues running python scripts from the CVS at sourceforge.
>>> For
>>> example, when I run TrappedCsd.py, I get the following message:
>>>
>>> OK
>>> Fatal Python error: PyThreadState_Get: no current thread
>>> Csound tidy up: Abort trap
>>>
>>> If I comment out the last line of TrappedCsd.py, csound.perform(), the
>>> script doesn't report the Python error.  How do I get Python and the
>>> Csound
>>> API working?
>>>
>>> Best,
>>> Jake
>>> -- 
>>> View this message in context:
>>> http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138057.html
>>> Sent from the Csound - General mailing list archive at Nabble.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"
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138845.html
> Sent from the Csound - General mailing list archive at Nabble.com.
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe 
> csound" 


Date2009-06-22 17:48
FromJacob Joaquin
Subject[Csnd] Re: Re: Python Error and csound.perform()
Here's some more info. I'm running OS X 10.5.7 with Python 2.5.1.  I'm also
not in a big hurry with this, as I'm only now taking my first few baby steps
with Python. The plan is to eventually phase out Perl in favor of Python for
most of my Csound work.

Thanks,
Jake



Victor.Lazzarini wrote:
> 
> It should work; I'm sure it works in my computers, but I
> can't test it right now.
> 
> ----- Original Message ----- 
> From: "Jacob Joaquin" 
> To: 
> Sent: Sunday, June 21, 2009 10:09 PM
> Subject: [Csnd] Re: Python Error and csound.perform()
> 
> 
>>
>> I'm using the binary package Csound5.10-float-Intel-OSX10.4.tar.gz at
>> sourceforge.
>>
>>
>>
>>
>> Victor.Lazzarini wrote:
>>>
>>> Is this your build or CVS build?
>>> ----- Original Message ----- 
>>> From: "Jacob Joaquin" 
>>> To: 
>>> Sent: Sunday, June 21, 2009 8:43 PM
>>> Subject: [Csnd] Python Error and csound.perform()
>>>
>>>
>>>>
>>>> I'm having issues running python scripts from the CVS at sourceforge.
>>>> For
>>>> example, when I run TrappedCsd.py, I get the following message:
>>>>
>>>> OK
>>>> Fatal Python error: PyThreadState_Get: no current thread
>>>> Csound tidy up: Abort trap
>>>>
>>>> If I comment out the last line of TrappedCsd.py, csound.perform(), the
>>>> script doesn't report the Python error.  How do I get Python and the
>>>> Csound
>>>> API working?
>>>>
>>>> Best,
>>>> Jake
>>>> -- 
>>>> View this message in context:
>>>> http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138057.html
>>>> Sent from the Csound - General mailing list archive at Nabble.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"
>>>
>>>
>>
>> -- 
>> View this message in context: 
>> http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138845.html
>> Sent from the Csound - General mailing list archive at Nabble.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"
> 
> 

-- 
View this message in context: http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24151145.html
Sent from the Csound - General mailing list archive at Nabble.com.


Date2009-06-24 10:42
FromChuckk Hubbard
Subject[Csnd] Re: Re: Re: Python Error and csound.perform()
I'm sure I won't be able to help, but I'm just curious, PowerPC or Intel?

-Chuckk

On Mon, Jun 22, 2009 at 7:48 PM, Jacob Joaquin <jacobjoaquin@gmail.com> wrote:

Here's some more info. I'm running OS X 10.5.7 with Python 2.5.1.  I'm also
not in a big hurry with this, as I'm only now taking my first few baby steps
with Python. The plan is to eventually phase out Perl in favor of Python for
most of my Csound work.

Thanks,
Jake



Victor.Lazzarini wrote:
>
> It should work; I'm sure it works in my computers, but I
> can't test it right now.
>
> ----- Original Message -----
> From: "Jacob Joaquin" <jacobjoaquin@gmail.com>
> To: <csound@lists.bath.ac.uk>
> Sent: Sunday, June 21, 2009 10:09 PM
> Subject: [Csnd] Re: Python Error and csound.perform()
>
>
>>
>> I'm using the binary package Csound5.10-float-Intel-OSX10.4.tar.gz at
>> sourceforge.
>>
>>
>>
>>
>> Victor.Lazzarini wrote:
>>>
>>> Is this your build or CVS build?
>>> ----- Original Message -----
>>> From: "Jacob Joaquin" <jacobjoaquin@gmail.com>
>>> To: <csound@lists.bath.ac.uk>
>>> Sent: Sunday, June 21, 2009 8:43 PM
>>> Subject: [Csnd] Python Error and csound.perform()
>>>
>>>
>>>>
>>>> I'm having issues running python scripts from the CVS at sourceforge.
>>>> For
>>>> example, when I run TrappedCsd.py, I get the following message:
>>>>
>>>> OK
>>>> Fatal Python error: PyThreadState_Get: no current thread
>>>> Csound tidy up: Abort trap
>>>>
>>>> If I comment out the last line of TrappedCsd.py, csound.perform(), the
>>>> script doesn't report the Python error.  How do I get Python and the
>>>> Csound
>>>> API working?
>>>>
>>>> Best,
>>>> Jake
>>>> --
>>>> View this message in context:
>>>> http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138057.html
>>>> Sent from the Csound - General mailing list archive at Nabble.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"
>>>
>>>
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24138845.html
>> Sent from the Csound - General mailing list archive at Nabble.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"
>
>

--
View this message in context: http://www.nabble.com/Python-Error-and-csound.perform%28%29-tp24138057p24151145.html
Sent from the Csound - General mailing list archive at Nabble.com.



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



--
http://www.badmuthahubbard.com

Date2009-06-24 11:14
FromVictor.Lazzarini@nuim.ie
Subject[Csnd] Re: Re: Re: Re: Python Error and csound.perform()
AttachmentsNone  None