-
Notifications
You must be signed in to change notification settings - Fork 5
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
babashka stash/get hangs #2
Comments
|
@judepayne thanks for reporting this. do you mind sharing how you've defined stash-get accepts a list of keys, and if i get that right seems to work for me. But if Does Could you also try the following in your repl:
|
@rorokimdim, thanks for coming back on this! Try this sequence to reproduce the error (function definitions are exactly as in your
I must have mistakenly assumed since your data structure is a tree and the arguments to this function are This should throw an error rather than hang. I found other examples of this hanging after raising this issue to you. Possibly the same issue- passing in unexpected arguments?? If you fix this, I'll certainly report any other issues back here. ps. I had some questions on how the overall cryptographic scheme works in stash. I'll ask them on another issue. thanks! |
Cool. I did see the issue when i tried exactly that. It appears to be related to how the error message is encoded by stash and how babashka-pod tries to decode it -- it expects I can't remember if the error handling ever worked in the babashka sample code. Or I tested in an ancient version for babashka pod. This should be easy to fix -- i'll try to put a fix when i get some time. I just need to change the format of ex-data i believe. The python version does not care about the format so it doesn't have the same problem. |
@judepayne do u mind trying out the latest version when you get a chance. thank you! |
Hi,
Thanks a lot! If I find any other issues, will be sure to report them |
awesome. i'll close this then |
Hi,
I'm using your babashka scripting examples. The stash-get function which in turn calls stash/get on the pod seems to hang indefinitely.
(with an empty stash)
I've tried (stash-get "facebook.com"), which also hangs.
thanks!
The text was updated successfully, but these errors were encountered: