Open JoechiaoPshan opened 1 year ago
Hi and sorry for the delay! I just want to confirm if you still see this issue?
Hi, thanks for the reply. I just tested on 0.14.5
and the issue was still the same.
Would you be comfortable with modifying the source a bit? I would like to see the encoded TLV value around here:
Adding something like this would be fine:
print(write_tlv(tlv))
b"\x01$38b263fb-03a9-4e9b-8e95-9007172ef363\x03 d\xc1\xcca\xb0S;\xf2\xef\xbb\xcd\xfd\x8d\xf7\xe8\xf1\x8fI1\xf5\x04w\xccg\x9f\xa7\x90\x92\xfc\xebG\xa8\n@z\xcb\xc3H:f\x0e\xbd\xc9\xc9p*\x0f\xd9\x02\x8e\x12\x07}\xa6A~\x0b\xce\x04=I\xc6\x0f\xf3\xee1\xb7g\x14\xfd\x81\xa3\xcan*\xfe/#\x8a\x82Z\xe5(W<J\x12'\x04\xcd\xb5O\xc6u\xbbW\x8e\x06\x11\x0c\xe1DnameEpyatv"
Here's the output value.
This doesn't make sense to me, that shouldn't be a problem. Can't you also add this:
print("length:", len(data))
here:
Do you see any absurdly large lengths?
length: 152
It wasn't too large I suppose?
Nah, limit is 4GB (2^32). Suspecting either issues with encryption library or bug in python. Would it be possible for you to try with another/newer python version?
I'll try with other python version and report the result here later, thanks for the help!
Thanks for your quick help, let's hope we get good closure on this!
What do you need help with?
pyatv version :
0.14.2
Error Logs
I also tried
atvremote wizard
, the error logs are similar to above. MaybeOverflowError: Data too long. Max 2**32 bytes
is the problem? Please help on this. Thanks a lot.