-
-
Notifications
You must be signed in to change notification settings - Fork 24
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
sam.nim(199, 10) n.mapper.tokens[n.pos].kind == JSMN_OBJECT
assertionDefect
#67
Comments
Can you print |
Hi!
Will do tomorrow afternoon, am about to head to bed :)
I'll show the output of that and then I'll try to get you a minimal
reproduction of the issue too. I made this issue in a bit of a rush,
sorry.
Thank you for your work on this library!!
…----------------------------------------
*From: *Huy Doan ***@***.***>
*To: *ba0f3/telebot.nim ***@***.***>
*CC: *Retrodynen ***@***.***>; Author ***@***.***>
*Date: *3 Dec 2021 00:33:40
*Subject: *Re: [ba0f3/telebot.nim] sam.nim(199, 10)
`n.mapper.tokens[n.pos].kind == JSMN_OBJECT` assertionDefect (Issue #67)
Can you print *r.body* before this line to see what server gives?
https://github.com/ba0f3/telebot.nim/blob/master/src/telebot/private/utils.nim#L199
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on
GitHub[#67 (comment)],
or
unsubscribe[https://github.com/notifications/unsubscribe-auth/AQ2C6QABQ7LO7XXSHIUD2IDUPAF6BANCNFSM5JIBOBSQ].
[data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADsAAAA7CAYAAADFJfKzAAAAAXNSR0IArs4c6QAAAARzQklUCAgICHwIZIgAAAAkSURBVGiB7cExAQAAAMKg9U9tBn+gAAAAAAAAAAAAAAAAAOA2Np8AAXMIPwYAAAAASUVORK5CYII=###24x24:true###][Tracking
image][https://github.com/notifications/beacon/AQ2C6QAPZY5LK37ACXDHSSDUPAF6BA5CNFSM5JIBOBS2YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOHK32HTI.gif]
|
Thank you! |
|
Weird, it seems it's spanning multiple lines?
|
looks weird, Is there newline in chat title? |
There isn't |
the json you give me is invalid |
is this an issue with telegram's servers then or? |
I dont think it came from telegram server. maybe you was behind a proxy or somthing? |
I'm not behind any proxy at all
Can I give you a file of the raw response from getUpdates via Telegram?
…-------- Original Message --------
Subject: Re: [ba0f3/telebot.nim] sam.nim(199, 10)
`n.mapper.tokens[n.pos].kind == JSMN_OBJECT` assertionDefect (Issue #67)
From: Huy Doan ***@***.***>
To: ba0f3/telebot.nim ***@***.***>
Cc: Retrodynen ***@***.***>, Author ***@***.***>
Date: Tue Dec 07 2021 17:16:31 GMT+0000 (GMT)
I dont think it came from telegram server. maybe you was behind a proxy
or somthing?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#67 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AQ2C6QFXFE3G2O63TLPAED3UPY6O7ANCNFSM5JIBOBSQ>.
|
yes sure, reach me at @quhng on telegram |
I think the result was too large, its a Try to reduce number of updates per request by set |
I did |
@Retrodynen please check it again |
Will do! |
|
Ok I moved to 2022.01.02 and get:
|
Hi, it seems commit |
…elebotInternalUse` instead of `type` dirty hack. BREAKING CHANGE! ref #67
Close this issue cuz |
Bot randomly starts to crash - change in bot API?
I'm forced to rerun the bot with clean=true to get rid of the message queue, it then works for several more days until the same thing happens.
The text was updated successfully, but these errors were encountered: