The scite error puzzles me, but I have no way of testing this as I don't use scite. Maybe scite works in a somewhat similar manner to IDLE, in that it is not reccommended to run python files containing wx widgets from it, because IDLE in one way or another (don't remember the details) is build with wx and we get different instances of ws "inside each other" so to speak, this might be unstable. The commandline exit error I think is related to your: self.GetParent().Destroy() I don't know if this is really necessary, as I think the window should be destroyed when you close it. Of course one bad thing about my fix is that I had to resort to the old ksmps loop instead of using the performanceThread, but afaik this is the only way to allow pycalls. Oeyvind 2008/5/6, Tim Mortimer : > > Oeyvind you are a true champion. > > I was combing over your "bare bones" app this afternoon looking for more > clues - this is definately a slow but important step forward. > > Your code runs from my command line on windows, but exits with some error > messages. > > The code doesn't run when i launch it from within scite. There are some > apparently related error messages spat out there too, but a different > overall "failure" scenario > > i have attached (via nabble link) a printout of the errors. > > http://www.nabble.com/file/p17078738/simplecalledit%2Berrors.zip > simplecalledit+errors.zip > > My wx is still pretty iffy. maybe that is the source of the error (Michael's > wx example employs some slightly different syntactic conventions to that > offered in the book). > > In essence, i am presently looking to just open a blank wx window > (obviously), so i know the wx thread is accessible when i finally get around > to wanting it. > > The MIDI access to the python elements is the main aspect i'm trying to get > rolling. this is 99% of the way there (the other 1% is me trying to see if i > can get my latency down a bit... time to read that bit of the manual again > (& Jonathan Murphys tutorial spiel about -b & -B - where is Jonathan these > days anyway?)) > > & seeing if i/ we can't eliminate the exit crash - there is no rush here - > Im working next 2 days & I'm out tomorrow night.... > > No max, no pd.... just straight up python & csound API for MIDI & AUDIO - > how sweet is that! > > I'll prod & poke this for a little while longer this evening & see if i get > any joy. > > ----- > ******************* > www.phasetransitions.net > hermetic music * python * csound * possibly mindless ranting > various werk in perpetual delusions of progress.... > > -- > View this message in context: http://www.nabble.com/try-again-tp17044773p17078738.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" >