siemanko / pyo

Automatically exported from code.google.com/p/pyo
0 stars 0 forks source link

FFT example files fail #21

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
Hello,

I am keen to try out the new FFT capabilities but all FFT-based example files 
fail to open with this error:

Failed to open the file.
Traceback (most recent call last):
  File "fft_cross.py", line 12, in <module>
    snd1 = SfPlayer(SNDS_PATH+"/baseballmajeur_m.aif", loop=True).mix(2)
  File "/Library/Python/2.5/site-packages/pyolib/players.py", line 113, in __init__
    _snd_size, _dur, _snd_sr, _snd_chnls, _format, _type  = sndinfo(path[0])
TypeError: 'NoneType' object is not iterable
rokni-Dimension-2400:examples peimankh$ python fft_delay.py
pyo version 0.5.0 (uses single precision)
PortMidi warning: No midi device found!
Portmidi closed
fCoreAudioDriverUID de_IMM_driver_USBAudioEngine:160f6a9
Assertion failed: (gc->gc.gc_refs != 0), function visit_decref, file 
Modules/gcmodule.c, line 276.
Abort trap

Other modules are working however.

Thanks

Peiman  

Original issue reported on code.google.com by peimankh...@gmail.com on 4 Sep 2011 at 12:50

GoogleCodeExporter commented 9 years ago
You are using the builtin python, which is 2.5.1. With python 2.5.4 (latest 
binary installer for Mac), some bug about garbage collector were fixed that 
make pyo running with python 2.5. You should install python from python.org 
(and wxpython). If you compiled pyo, you'll have to recompile it. If you 
installed it with the installer, it is already at the right place.

BTW, 0.5.0 is probably the latest build supporting python 2.5!

Original comment by belan...@gmail.com on 7 Sep 2011 at 9:18

GoogleCodeExporter commented 9 years ago

Original comment by belan...@gmail.com on 21 Oct 2011 at 12:39