E-PE0007 — Invalid protobuf message

Error Type

Protobuf Error

Phase

loading a model via protobuf (from_protobuf)

Python exception

jijmodeling.ProtobufError

Message

Invalid protobuf message; the bytes are corrupted or were not produced by JijModeling

Cause

The input does not encode a valid JijModeling model. The bytes may be unreadable (corrupted, truncated, or from a different serialization format), or the decoded model may contain an invalid function argument pattern.

Fix

Verify the byte source: make sure you are loading the exact output of JijModeling’s to_protobuf, transferred and stored without modification (binary mode, no text re-encoding). Re-export the model from the source if needed.