Grace: "Error: run-safety: unbound variable"

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

Grace: "Error: run-safety: unbound variable"

by Bill Sack-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i built cm and Grace today using the current svn trunk version and the current sndlib.

config and compile goes well, but on starting grace i see "Error: run-safety: unbound variable" in the console, and then "Error: definstrument: unbound variable" when i try to load a clm instrument.

so it looks like something important hasn't gotten loaded ... i've tried this a few times and grepped around but can't figure out what i did wrong. it seems like the rest of cm and grace is working as it should, though i haven't tested it all thoroughly.

this is on planetccrma/Fedora 8 and cm svn:1770

thanks,
bill



_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Re: Grace: "Error: run-safety: unbound variable"

by Bill Schottstaedt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

run-safety was removed awhile ago -- where is it still in use?
definstrument is in sndlib-ws.scm or ws.scm.

_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Re: Grace: "Error: run-safety: unbound variable"

by Heinrich Taube :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

i think what is going on is that I built cm  against an earlier  
version of sndlib where the function was defined.
this is the version of sndlib I built against (visible in the Grace  
console):

S7 Scheme 1.31 (7-Sep-09) (c) 2009 William Schottstaedt

so if run-safety was removed since that time the souces wont work. I  
will be doing some work on grace this weekend, and there is a bug fix  
i need to check in for starting linux audio.

im not sure about the definstrument, that worries me!   clm is working  
great in the current Grace. ill try to sort this out in the next few  
days.


_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Re: Grace: "Error: run-safety: unbound variable"

by Bill Sack-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message




On Fri, Nov 6, 2009 at 7:49 AM, Heinrich Taube <taube@...> wrote:
i think what is going on is that I built cm  against an earlier version of sndlib where the function was defined.
this is the version of sndlib I built against (visible in the Grace console):

the sndlib i have now is S7 Scheme 1.36 (3-Nov-09) 
 

im not sure about the definstrument, that worries me!   clm is working great in the current Grace. ill try to sort this out in the next few days.

i was thinking that sndlib-ws.scm (which contains definstrument) isn't getting completely loaded because of the error? i tried commenting out the line that refers to 'run-safety' and even recompiled grace but still get the error.


_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist

Re: Grace: "Error: run-safety: unbound variable"

by Heinrich Taube :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

ok ive checked in a new bug fix release of cm (rev 1775)  and bumped  
the version to 3.3.1

1 updated to use the latest sndlib tarball: S7 Scheme 1.37 (7-Nov-09)  
(c) 2009 William Schottstaedt
    you must install this sndlib or later!
2 added missing function load-sal-file so sal's load command now works  
for .sal files as well as .scm files
3 sal iteration now looks for duplicated variables in clause  
definitions and signals an error if it finds one
4 fixed window selection keyboard shortcuts (COMMAND-1 etc) so it wont  
crash the app if the window no longer exists
5 fixed linux bug that insisted on stereo input devices and timed out  
if you didnt have input devices

if a few people would build and test ill make a binary release in a  
day or two

would anyone mind if i removed support for Chicken Scheme?

_______________________________________________
Cmdist mailing list
Cmdist@...
http://ccrma-mail.stanford.edu/mailman/listinfo/cmdist