|
View:
New views
9 Messages
—
Rating Filter:
Alert me
|
|
|
OSX, csound.compile()I'm testing Csound/Python on a Mac, using:
OSX 10.5
MacPython2.4.4 Csound5.08 OSX binary installer wxPython 2.8 unicode for Python2.4 When running PartikkelExplorer.py (from the terminal), I get
$
csound loaded
Fatal Python error: PyThreadState_Get: no current thread
Csound tidy up: Abort trap
Abort trap
$
by inserting a print statements before and after the
self.csound.compile()
statement in cs/csModule.py
I can verify that the crash is related to that statement (csound.compile())
What could I do to try to make it work ?
I've tested the wxController.py example, and that works
(I rewrote the
from wxPython.wx import *
to
import wx
and changed subsequent references accordingly
to make wxController.py work)
best
Oeyvind
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: OSX, csound.compile()It's to do with some wrapping code I introduced.
It'll
need to be fixed.
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: OSX, csound.compile()In fact, this might already be fixed in the CVS
sources, as
I can't find a call to PyThreadState_Get anywhere (I changed
the GIL functions earlier on in the year).
Regards
Victor
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: OSX, csound.compile()But then I can't find a call to it in the older
code as well. What is
csound.compile(), is that your code? As far as I
can remember
the Csound class has a Compile() method, not
compile().
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
Re: OSX, csound.compile()Thanks for the info.
No, csound.compile() is not my code,
but I use it in all my Python apps,
it is also used in the wxController.py example (checked the version installed with the windows 5.08 installer).
I tried replacing csoundcompile() with csound.Compile() in the wxController.py example,
and got this error:
Exception in thread Thread-1: What should I use as the argument to csound.Compile() ? Oeyvind
2008/6/26, victor <Victor.Lazzarini@...>:
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
|
|
|
Re: OSX, csound.compile()The situation seems very strange, and it is hard to debug, as it works differently on different platforms (windows/OSX). Moreover, I only temporary had access to the OSX machine, so I'm working in the dark when trying to solve this from windows.
Could someone (preferably more than one) please try to run this application:
There might be issues related to my Python code, or the problems might stem from the Csound API. As far as I can see I do use the CsoundAPI correctly, and the code runs fine on windows. However, there are several ways to set up the separate Csound thread in Python, so some subtle differences might lead to this problem when trying to run the same code on OSX.
best
Oeyvind
2008/6/26, victor <Victor.Lazzarini@...>:
------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
|
|
|
|
|
Re: OSX, csound.compile()Yes it's ok, Victor.
It would of great help if someone else could try to run it on their OSX system sometime before that,
as this might give me some clues to work on in the meantime.
best
Oeyvind
2008/6/27, Victor Lazzarini <Victor.Lazzarini@...>:
Well, I can say is that I will have a look. However, I'm off on ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ Csound-devel mailing list Csound-devel@... https://lists.sourceforge.net/lists/listinfo/csound-devel |
| Free Forum Powered by Nabble | Forum Help |