Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

messages_pb2.py #1987

Closed
BEHNAMKK1 opened this issue Dec 7, 2021 · 2 comments
Closed

messages_pb2.py #1987

BEHNAMKK1 opened this issue Dec 7, 2021 · 2 comments
Labels
bug Something isn't working as expected

Comments

@BEHNAMKK1
Copy link

hi
when i build.docker.sh and then run poetry run ./script/cibuild
i have this error
CC ../layout.small.o
CC ../memory.small.o
CC ../oled.small.o
CC ../random_delays.small.o
CC ../rng.small.o
CC ../setup.small.o
CC ../supervise.small.o
CC ../timer.small.o
CC ../usb21_standard.small.o
CC ../usb_standard.small.o
CC ../util.small.o
CC ../webusb.small.o
CC ../winusb.small.o
CC ../vendor/trezor-crypto/bignum.small.o
CC ../vendor/trezor-crypto/ecdsa.small.o
CC ../vendor/trezor-crypto/hmac_drbg.small.o
CC ../vendor/trezor-crypto/memzero.small.o
CC ../vendor/trezor-crypto/secp256k1.small.o
CC ../vendor/trezor-crypto/sha2.small.o
LD bootloader.elf
OBJCOPY bootloader.bin
./firmware_align.py bootloader.bin
make: Leaving directory '/media/behnam/01D7EB443F8C6CF0/ubuntu/aaa_2/trezor-firmware/legacy/bootloader'
make: Entering directory '/media/behnam/01D7EB443F8C6CF0/ubuntu/aaa_2/trezor-firmware/legacy/firmware/protob'
PROTOC messages_pb2.py
messages.proto:215:14: Missing numeric value for enum constant.
Makefile:40: recipe for target 'messages_pb2.py' failed
make: *** [messages_pb2.py] Error 1
make: Leaving directory '/media/behnam/01D7EB443F8C6CF0/ubuntu/aaa_2/trezor-firmware/legacy/firmware/protob'

@BEHNAMKK1 BEHNAMKK1 added the bug Something isn't working as expected label Dec 7, 2021
@matejcik
Copy link
Contributor

matejcik commented Dec 7, 2021

your protoc version is too old. (see e.g. wechaty/grpc#116)

@matejcik matejcik closed this as completed Dec 7, 2021
@taherfattahi
Copy link

Install protobuf-compiler on your OS:
sudo apt-get remove protobuf-compiler

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working as expected
Projects
None yet
Development

No branches or pull requests

3 participants