-
Notifications
You must be signed in to change notification settings - Fork 218
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
Struct cannot be serialized anymore #599
Comments
Getting an issue with Struct Serialization as well, but from another place (seems like the Rust codec is the cause):
|
The issue @leonardgerardatomicmachinescom described is shown when Rust codec isn't installed. |
@zacharya19 what does one need to install? |
Assuming you got to the exception I got, you need to install |
I am getting the original error annd am on 2.0.7b |
Summary
Struct().from_dict({'a':'a'}).SerializeToString()
raisesTypeError: string argument without an encoding
Reproduction Steps
Expected Results
no exception raised and proper serialization bytes returned.
Actual Results
raises
TypeError: string argument without an encoding
with traceback:System Information
Checklist
pip install -U --pre betterproto
, if possible.The text was updated successfully, but these errors were encountered: