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

Error in execCallbacks(timeoutSecs, all, loop$id) : Evaluation error: unused argument (0) #125

Closed
dselivanov opened this issue May 11, 2020 · 2 comments

Comments

@dselivanov
Copy link

Any hints what can cause this? The callback I pass to later actually called and then I such traceback:

Error in execCallbacks(timeoutSecs, all, loop$id) :
Evaluation error: unused argument (0).
4.
stop(structure(list(message = "Evaluation error: unused argument (0).",
call = execCallbacks(timeoutSecs, all, loop$id), cppstack = structure(list(
file = "", line = -1L, stack = c("1 later.so 0x000000010dbcd1df _ZN4Rcpp9exceptionC2EPKcb + 207",
"2 later.so 0x000000010dbd0e3e _ZNK8Callback14invoke_wrappedEv + 590", ...
3.
execCallbacks(timeoutSecs, all, loop$id)
2.
later::run_now(timeoutSecs = 0.1, all = FALSE, loop = loop) at NsqConsumer.R#85
1.
consumer$start(10)

@dselivanov
Copy link
Author

Ah, sorry that was a bug in my code. But error from later made me struggle to understand what happened.

@wch
Copy link
Member

wch commented May 11, 2020

Hopefully after #108 is addressed, it'll be easier to debug issues like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants