[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Problem with /accepts
From: |
Thomas Morley |
Subject: |
Re: Problem with /accepts |
Date: |
Tue, 18 Apr 2017 18:39:37 +0200 |
2017-04-18 15:45 GMT+02:00 David Kastrup <address@hidden>:
> Thomas Morley <address@hidden> writes:
>> Out of curiosity, could you point me to where the current error is triggered?
>
> My guess is lily/context.cc:
>
> void
> Context::create_context_from_event (SCM sev)
> {
> Stream_event *ev = unsmob<Stream_event> (sev);
>
> string id = ly_scm2string (ev->get_property ("id"));
> SCM ops = ev->get_property ("ops");
> SCM type_scm = ev->get_property ("type");
> string type = ly_symbol2string (type_scm);
>
> It's probably the last line quoted that gives this error. The "accepts"
> stuff is likely a red herring: if a context is not acceptable, it won't
> get created in the first place and thus not trigger the error.
>
> --
> David Kastrup
Thanks for the info,
Harm