Python Error and csound.perform()

View: New views
9 Messages — Rating Filter:   Alert me  

Python Error and csound.perform()

by Jacob Joaquin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Python Error and csound.perform()

by Jacob Joaquin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Re: Python Error and csound.perform()

by Victor Lazzarini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Using Python2.3 or 2.5?
----- Original Message -----
From: "Jacob Joaquin" <jacobjoaquin@...>
To: <csound@...>
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@... with body "unsubscribe
> csound"



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

Re: Python Error and csound.perform()

by Victor Lazzarini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Is this your build or CVS build?
----- Original Message -----
From: "Jacob Joaquin" <jacobjoaquin@...>
To: <csound@...>
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@... with body "unsubscribe
> csound"



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

Re: Python Error and csound.perform()

by Jacob Joaquin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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"

Re: Re: Python Error and csound.perform()

by Victor Lazzarini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...>
To: <csound@...>
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@...>
>> To: <csound@...>
>> 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@... with body "unsubscribe
>>> csound"
>>
>>
>>
>> Send bugs reports to this list.
>> To unsubscribe, send email sympa@... 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@... with body "unsubscribe
> csound"



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

Re: Re: Python Error and csound.perform()

by Jacob Joaquin :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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"

Re: Re: Re: Python Error and csound.perform()

by Chuckk Hubbard :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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@...>
> To: <csound@...>
> 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@...>
>>> To: <csound@...>
>>> 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@... with body
>>>> "unsubscribe
>>>> csound"
>>>
>>>
>>>
>>> Send bugs reports to this list.
>>> To unsubscribe, send email sympa@... 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@... with body "unsubscribe
>> csound"
>
>
>
> Send bugs reports to this list.
> To unsubscribe, send email sympa@... 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@... with body "unsubscribe csound"



--
http://www.badmuthahubbard.com

Re: Re: Re: Re: Python Error and csound.perform()

by Victor Lazzarini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It works perfectly here, on OSX 10.4 (Intel). Maybe this
is a 10.5 problem? (I  can only build 10.4 binaries at the moment,
but I have requested a new computer, if I am lucky, I'll be
able to produce 10.5 binaries for the next release)

Victor
----- Original Message -----
From: Chuckk Hubbard <badmuthahubbard@...>
Date: Wednesday, June 24, 2009 10:43 am
Subject: [Csnd] Re: Re: Re: Python Error and csound.perform()
To: csound@...

> 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@...> 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@...>
>
> > To: <csound@...>
>
> > 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@...>
>
> >>> To: <csound@...>
>
> >>> 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@... with body
>
> >>>> "unsubscribe
>
> >>>> csound"
>
> >>>
>
> >>>
>
> >>>
>
> >>> Send bugs reports to this list.
>
> >>> To unsubscribe, send email sympa@... 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@... with body "unsubscribe
>
> >> csound"
>
> >
>
> >
>
> >
>
> > Send bugs reports to this list.
>
> > To unsubscribe, send email sympa@... 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@... with body "unsubscribe csound"
>
>

>

> --
> http://www.badmuthahubbard.com

Dr Victor Lazzarini, Senior Lecturer, Dept. of Music,National University of Ireland, Maynooth