-
Notifications
You must be signed in to change notification settings - Fork 253
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
Trouble with teloxide after upgrading to 0.14.0 from 0.12.0 #140
Comments
I think I'm experiencing the same problem with Compiler error
|
I think this bug emerged from #100 |
Hello there, To be honest I'm not sure whats going on, it might help to put full code on GitHub and share link, and get more eyes to debug. |
I think I have had the same problem. This fix #157 is working well for me. |
@katya4oyu I just tried the fix out and it seems to work for me as well! |
Thank you for the fix, its released in v0.17.1 |
@katya4oyu @64bit thank you for your help and for the new release! |
I recently tried to upgrade my application to the latest version in order to make use of some of the new stuff announced at dev day. I have a telegram bot that uses teloxide, with a use of the image and transcription endpoints. However, I was running into this error with compiling:
Instead of trying to upgrade directly to the latest version from 0.12, I tried upgrading incrementally until discovering that the issue appeared with the upgrade to 0.14. It looks like it might be related to the changes around retrying for rate limiting, but I'm at a bit of a loss with how to fix it.
My implementation is pretty simple in terms of how I'm calling the library itself:
but I was able to determine that it was occurring due to the
let response = client.audio().transcribe(request).await?;
line.After trying a lot of debugging to even get the error message to change, I added this basic test
and finally got a more readable error that disappears in 0.13 and reappears around 0.14.
Unfortunately, now I'm a bit stuck. I'm pretty new to Rust, so debugging can still be a bit difficult. Do you have any suggestions or ideas for what I might be able to try?
The text was updated successfully, but these errors were encountered: