You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "D:\Newfolder\PROJECT\spotify_web_api\test.py", line 20, in
l, r = blackboxprotobuf.protobuf_to_json(data)
File "C:\Python39\lib\site-packages\blackboxprotobuf\lib\interface.py", line 75, in protobuf_to_json
value, message_type = decode_message(buf, message_type)
File "C:\Python39\lib\site-packages\blackboxprotobuf\lib\interface.py", line 62, in decode_message
value, typedef, _ = blackboxprotobuf.lib.types.length_delim.decode_message(buf, message_type)
File "C:\Python39\lib\site-packages\blackboxprotobuf\lib\types\length_delim.py", line 232, in decode_message
max(map(int, field_tyepdef['alt_typedefs'].keys()))
NameError: name 'field_tyepdef' is not defined
The text was updated successfully, but these errors were encountered:
Hi! Sorry for the late response, I think my github notifications weren't working for a bit, but should be fixed now. I'm glad you were able to find a solution.
It looks like you're using the blackboxprotobuf pypi package, which is an older fork of this project. The bbpb package is the official package based on this repo. I've rewritten a bunch of the message parsing logic and added better testing since this, so hopefully you should encounter less bugs. Let me know if you run into the same bug with that version.
Traceback (most recent call last):
File "D:\Newfolder\PROJECT\spotify_web_api\test.py", line 20, in
l, r = blackboxprotobuf.protobuf_to_json(data)
File "C:\Python39\lib\site-packages\blackboxprotobuf\lib\interface.py", line 75, in protobuf_to_json
value, message_type = decode_message(buf, message_type)
File "C:\Python39\lib\site-packages\blackboxprotobuf\lib\interface.py", line 62, in decode_message
value, typedef, _ = blackboxprotobuf.lib.types.length_delim.decode_message(buf, message_type)
File "C:\Python39\lib\site-packages\blackboxprotobuf\lib\types\length_delim.py", line 232, in decode_message
max(map(int, field_tyepdef['alt_typedefs'].keys()))
NameError: name 'field_tyepdef' is not defined
The text was updated successfully, but these errors were encountered: