protobuf or python-protobuf broken

Problems with packages? Post here, using [tags] of the package name.

protobuf or python-protobuf broken

Postby Oznerol256 » Wed Jan 05, 2022 10:46 pm

python-protobuf 3.19.1 (or the dependency protobuf) on armv7h (32bit raspberry pi) seems to be broken in quite an evil way:

It interprets unsigned ints as signed, and then complains if you try to send the value again.
I stumbled over this bug with home-assistant and aioesphomeapi. They have a certain (random?) key that is specified as the unsigned type fixed32.

arch linux arm's python-protobuf 3.19.1 shows it like this:

$this->bbcode_second_pass_code('', 'LightInfo(object_id='stern_rechts', key=-1359460587,')

a simple pip install protobuf==3.19.1 --force-reinstall later it is correctly shown like this:

$this->bbcode_second_pass_code('', 'LightInfo(object_id='stern_rechts', key=2935506709, ')
Oznerol256
 
Posts: 3
Joined: Wed Jan 05, 2022 10:40 pm

Return to Packages

Who is online

Users browsing this forum: No registered users and 9 guests