Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

proxyspace assignment triggers empty error #69

Open
htor opened this issue Nov 24, 2019 · 0 comments
Open

proxyspace assignment triggers empty error #69

htor opened this issue Nov 24, 2019 · 0 comments
Assignees
Labels

Comments

@htor
Copy link

htor commented Nov 24, 2019

if you evaluate this code with sclang.interpret() i (correctly) get an error:

(
ProxySpace.push(s);
~a = "b";
)

but the error does not contain anything useful:

SCLangError { data: {}, type: 'Error', error: {} }

i would expect the error field to contain info about the actual error (taken from sc-ide):

ERROR: 'prepareForProxySynthDef' should have been implemented by Char.
RECEIVER:
   Character 98 'b'
...

debug output from sclang when i turn debug: true on:

debug   SuperColliderJS.interpret("ck3dd1svv0000y6rvgr6hlj48","(__NL__ProxySpace.push(s);__NL__~a = \"b\";__NL__)",nil,true,false,false);
logger.js:114 debug   
SUPERCOLLIDERJS:ck3dd1svv0000y6rvgr6hlj48:CAPTURE:START


SUPERCOLLIDERJS:ck3dd1svv0000y6rvgr6hlj48:CAPTURE:END

SUPERCOLLIDERJS:ck3dd1svv0000y6rvgr6hlj48:START:Error
SUPERCOLLIDERJS:ck3dd1svv0000y6rvgr6hlj48:CHUNK:{}
SUPERCOLLIDERJS:ck3dd1svv0000y6rvgr6hlj48:END:Error
SUPERCOLLIDERJS.interpreted
-> 

@crucialfelix crucialfelix self-assigned this Nov 25, 2019
@htor htor changed the title proxspace assignment triggers empty error proxyspace assignment triggers empty error Mar 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants