starting with pyeca : exception error

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

starting with pyeca : exception error

by Alexandre Korber :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

I made some tests to work with ecasound, it work perfectly well with jack.
I need to make a script in python to automate the reading of multiple audio files.

So i try at first in the python interactive mode : seems to work when i call pyeca :

>>> import pyeca
>>> e = pyeca.ECA_CONTROL_INTERFACE()
********************************************************************************
*        ecasound v2.4.6.1 (C) 1997-2007 Kai Vehmanen and others    
********************************************************************************

Native python ECI (ecasound control interface) implementation

   Can be used to replace the C implementation 'pyecasound.so'.

by Kai Vehmanen, Eric S. Tiedemann and Janne Halttunen.

(to get rid of this message, pass zero to instance init)




But when i make my first script like that :

#!/usr/bin/env python
import pyeca
e = pyeca.ECA_CONTROL_INTERFACE()

and run it, it put this message :

laptop@alex:~/Bureau$ python testPyeca.py
********************************************************************************
*        ecasound v2.4.6.1 (C) 1997-2007 Kai Vehmanen and others    
********************************************************************************

Native python ECI (ecasound control interface) implementation

   Can be used to replace the C implementation 'pyecasound.so'.

by Kai Vehmanen, Eric S. Tiedemann and Janne Halttunen.

(to get rid of this message, pass zero to instance init)
Exception exceptions.AttributeError: "'NoneType' object has no attribute 'maxint'" in <bound method Popen3.__del__ of <popen2.Popen3 instance at 0x7fc729530dd0>> ignored




So, i wandering if it is a python or pyeca error.

Thanks in advance !
 




-------------------------------------------------------------------------
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
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list

Re: starting with pyeca : exception error

by Kai Vehmanen :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

On Sat, 7 Jun 2008, Alexandre Korber wrote:

>>>> import pyeca
>>>> e = pyeca.ECA_CONTROL_INTERFACE()
[...]
> (to get rid of this message, pass zero to instance init)
> Exception exceptions.AttributeError: "'NoneType' object has no attribute 'maxint'" in <bound method Popen3.__del__ of <popen2.Popen3 instance at 0x7fc729530dd0>> ignored

this sounds a lot like a problem with pyeca and your version/installation
of python. Which version of python are you using?

--


-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Ecasound-list mailing list
Ecasound-list@...
https://lists.sourceforge.net/lists/listinfo/ecasound-list
LightInTheBox - Buy quality products at wholesale price