Closed amadare42 closed 2 years ago
@amadare42 thanks for reporting. I'll work on this tomorrow.
I hoped https://github.com/ayrat555/frankenstein/commit/abab2128a4296a0aeec13f6820f1283a317a8c91 fixed the problem.
but probably we need to resolve https://github.com/ayrat555/frankenstein/issues/63
btw are you sure you're using the latest version of the library?
@ayrat555 sorry, I somehow forgot to mention version of library itself.
I was using version 0.15.0. Does 0.15.1 have fix for this issue?
no, unfortunately, it doesn't
can you please also share the method and params that you used so I can try reproducing it
Here is branch with application where this issue reproducible: https://github.com/amadare42/rust-hltb-bot/tree/so-issue Steps are simple:
@amadare42 I was able to reproduce the issue.
I created a pr which fixes the problem
can you please confirm that it works for you?
@ayrat555 yep, that fixed it - issue isn't reproducible for me anymore. Thanks!
Great. Let's wait for @EdJoPaTo's review and then I'll merge it
@ayrat555 update: I managed to get SO on get_updates
. :)
I guess, adding serde-stacker there as well would be good idea as well. I updated my so-issue branch - steps are the same.
I implemented another fix.
can you please try it?
@ayrat555 yep, now it is working. Thank you again! :)
released in 0.16.0
Hey. I saw other stack-overflow issue, but it was related to different part of the code. I still have this issue reproducible on windows with Visual Studio toolchain (2022 Preview, rust version 1.61.0, Windows 10 21H2). API response serialization fails after sending message.
This is happening at
telegram_api_impl.rs:51
:Here is (slightly modified) message that was causing this. It isn't even that large.
It looks like that json size may become pretty large if you have a lot of links, I would assume that relaying on having enough stack-size isn't ideal.
When running under my Debian WSL it is working fine, but I presume that larger messages may fail there as well.