Csound Csound-dev Csound-tekno Search About

[Csnd] pyo assertion

Date2011-08-29 21:21
Fromzappfinger
Subject[Csnd] pyo assertion
I just discovered pyo. Looks very promising, combining Python with Csound.

When trying the vocoder example, I did get an assertion error:

pyo version 0.4.1 (uses single precision)
Assertion failed: (gc->gc.gc_refs != 0), function visit_decref, file
Modules/gcmodule.c, line 276.
/var/folders/wA/wAv6wGTZH9KFCuEMGKcZvk+++TI/Cleanup At
Startup/vocoder_main-336341157.658.py.command: line 3:  1991 Abort trap             
/usr/bin/env python
/Users/richard/Desktop/muziek/pyo/examples/vocoder_main.py
logout

any ideas?

Richard


--
View this message in context: http://csound.1045644.n5.nabble.com/pyo-assertion-tp4747622p4747622.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"

Date2011-08-29 22:24
FromOlivier Bélanger
SubjectRe: [Csnd] pyo assertion
Hi Richard,

Your question
would be more appropriate on the pyo-discuss list, I
redirect to the correct destination...

2011/8/29 zappfinger <zappfinger@gmail.com>
I just discovered pyo. Looks very promising, combining Python with Csound.

mmm... pyo doesn't combine Python and Csound (that's what Ounk did!), it's a pure Python module.
 

When trying the vocoder example, I did get an assertion error:

pyo version 0.4.1 (uses single precision)
Assertion failed: (gc->gc.gc_refs != 0), function visit_decref, file
Modules/gcmodule.c, line 276.
/var/folders/wA/wAv6wGTZH9KFCuEMGKcZvk+++TI/Cleanup At
Startup/vocoder_main-336341157.658.py.command: line 3:  1991 Abort trap
/usr/bin/env python
/Users/richard/Desktop/muziek/pyo/examples/vocoder_main.py
logout

any ideas?

I suspect you where not in the examples directory when you launch the script. It tries to import vocoder_lib.py, if you start Python in the same directory, it should run without problems.

How did you installed pyo?


Richard


--
View this message in context: http://csound.1045644.n5.nabble.com/pyo-assertion-tp4747622p4747622.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
           https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"



Date2011-08-30 07:56
Fromzappfinger
Subject[Csnd] Re: pyo assertion
Oh? I was under the impression it uses Csound for its objects...

I Installed it from the 0.4.1_OSX.dmg file.
I run it from within TextWrangler (most other samples run ok) and from the
terminal in the examples directory - same result.

I also get the assertion with the live_looper example:

richards-macbook-7:examples richard$ python vocoder_main.py
pyo version 0.4.1 (uses single precision)
Assertion failed: (gc->gc.gc_refs != 0), function visit_decref, file
Modules/gcmodule.c, line 276.
Abort trap
richards-macbook-7:examples richard$ python live_looper.py
pyo version 0.4.1 (uses single precision)
Assertion failed: (gc->gc.gc_refs != 0), function visit_decref, file
Modules/gcmodule.c, line 276.
Abort trap

Richard


--
View this message in context: http://csound.1045644.n5.nabble.com/pyo-assertion-tp4747622p4749067.html
Sent from the Csound - General mailing list archive at Nabble.com.


Send bugs reports to the Sourceforge bug tracker
            https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"