dbrgn / iboardbot-web

Unofficial cloudless iBoardBot client written in Rust.
Apache License 2.0
7 stars 4 forks source link

Warning: Got ack for non-current block (2 != 4) #6

Closed dbrgn closed 5 years ago

dbrgn commented 7 years ago

Apparently the bot can get stuck with the message above.

dbrgn commented 6 years ago

This is the second print job in a row:

< CD Polling serial...
< CL STATUS=ACK&NUM=3
< CD Bytes read: 0
< !ERROR: M Timeout
< 
< CD Polling serial...
< CL STATUS=ACK&NUM=3
Starting scheduled print
< CD Bytes read: 0
< !ERROR: M Timeout
< 
< CD Polling serial...
< CL STATUS=ACK&NUM=3
> Print a block
< CD Bytes read: 768
< CD Processing packet... Lines: 256
< CD MORE BLOCKS!
< CD Start block: 1
< !START DRAW
< SE
< !FINISH! time:129449
< 
< CD Polling serial...
< CL STATUS=ACK&NUM=1
> Print a block
< CD Bytes read: 768
< CD Processing packet... Lines: 256
< CD MORE BLOCKS!
< CD Start block: 2
< !FINISH! time:37055
< 
< CD Polling serial...
< CL STATUS=ACK&NUM=2
Warning: Got ack for non-current block (2 != 5)
< CD Bytes read: 0
< !ERROR: M Timeout
< 
< CD Polling serial...
< CL STATUS=ACK&NUM=2
Warning: Got ack for non-current block (2 != 5)
< CD Bytes read: 0
< !ERROR: M Timeout
< 
< CD Polling serial...
< CL STATUS=ACK&NUM=2
Warning: Got ack for non-current block (2 != 5)
< CD Bytes read: 0
< !ERROR: M Timeout
< 
dbrgn commented 5 years ago

Should be fixed in 5a7e442.