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

'FloatingPointType' object has no attribute 'print_building' #3

Open
andre91998 opened this issue Sep 27, 2022 · 0 comments
Open

'FloatingPointType' object has no attribute 'print_building' #3

andre91998 opened this issue Sep 27, 2022 · 0 comments

Comments

@andre91998
Copy link

andre91998 commented Sep 27, 2022

When running aprotoc.py to generate my header file, I get the following error:

Traceback (most recent call last):
File "aprotoc.py", line 953, in declarations[declaration].print_code(declarations)
File "aprotoc.py", line 682, in print_code field.get_type().print_building(field.get_name(True), declarations)
AttributeError: 'FloatingPointType' object has no attribute 'print_building'

In my .proto file I have a message with float fields such as:

message msg {
float a = 12;
float b = 13;
float c = 14;
float d = 15;
}

Is this not supported by the aprotoc.py script?

P.S. I have successfully generated a header file with this script for a .proto file which does not contain floats

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant