facedancer-serial: ValueError and IndexError #18
Labels
needs validation
described problem or solution requires further validation
technical support
request for technical support
Hi!
I'm using the Facedancer21 from int3.cc and I'm trying to run facedancer-serial.py, but it only starts working after 10 or 11 failed attempts every time I plug the board in.
The first few commands (not sure if they even are commands) I'm getting don't seem to follow the structure in
readcmd()
, solen(data) != n
is always true and raises aValueError
.The last command just before it works is identical with the one when it works, but in the first case the next command I'm reading is empty and I'm getting an
Index Error
.Could this be an issue with the board itself?
The only information I could find about this was someone having the same problem but with a completely different script (nccgroup/umap#11), but that didn't help much either.
Here are the errors I'm getting when it doesn't work:
(including what was read in
read(self, n)
)The last time it doesn't work I get this error:
The number of expected bytes changes for each time I run the script:
The text was updated successfully, but these errors were encountered: