Linux Canary server - console logs to fix

sikret

Member
Joined
Dec 15, 2012
Messages
40
Reaction score
5
Hello,

I have problem with that:

Code:
[libprotobuf ERROR /root/vcpkg/buildtrees/protobuf/src/v3.19.4-3d4c96d55c.clean/src/google/protobuf/wire_format_lite.cc:581] String field 'Canary.protobuf.appearances.Appearance.description' contains invalid UTF-8 data when parsing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.
[libprotobuf ERROR /root/vcpkg/buildtrees/protobuf/src/v3.19.4-3d4c96d55c.clean/src/google/protobuf/wire_format_lite.cc:581] String field 'Canary.protobuf.appearances.Appearance.description' contains invalid UTF-8 data when parsing a protocol buffer. Use the 'bytes' type if you intend to send raw bytes.

I use the latest repositories. On windows works without that, console clean but on linux that informations appear.

Anyone know how to solve it?

Thanks
 
OP
OP
sikret

sikret

Member
Joined
Dec 15, 2012
Messages
40
Reaction score
5
Okay, thank You very much.
Post automatically merged:

Solved.

If someone need handle it this is solution:


In file src/protobuf/appearances.proto

we need change

Code:
optional string name = 4;
optional string description = 5;

to

Code:
optional bytes name = 4;
optional bytes description = 5;


string > bytes

Now we need recompile our sources and finally we can start server without that issue.
 
Last edited:

guispiller

New Member
Joined
Nov 29, 2021
Messages
4
Reaction score
2
GitHub
guispiller

Similar threads

Top