Listening to the pageCreate event

I updated to the latest :v2 Docker image yesterday, which then broke my workflow: I am listening to the editor:pageCreating event and reacting to it. Newly™, this event listener fails, as another listener for this event is defined in Library/Std/Task.md. Silverbullet cannot work with two events and raises an error (“Multiple responses for editor:pageCreating event, this is not supported”).

My old image where everything worked fine was pulled on 2025-07-31; but I couldn’t point my finger on what in the meantime introduced this change. My space-lua code was not changed in this time.

How should I react to it? Unless building the image myself (which I did not yet have the motivation to do), how can I fix this problem?
Also, this event is listed as an official event, so I assume that I should be able to listen to it. Now if I understood correctly, adding a listener in the standard library effectively disables my ability for that, right?

This is a bug I introduced, whoops. Made a PR for it yesterday, should be fixed when zef merges it

Merged it.

Hi,

I am running the latest container image (sha256:da6935f47b0e8c97de111e7630e368729ded2eebc5c807c4641afa225913964d, 2.0.0-pre4-44-g6530a9a0 ) and am still getting this error (“Multiple responses for editor:pageCreating event, this is not supported“). What am I missing?

Thanks

It’s pretty much what the error message says. If two listeners return for the same event, it won’t know what to choose and throw that error. “return” in that case means returning something that’s not nil.