E-PE0102 — Insufficient buffer capacity while encoding

Error Type

Protobuf Error

Phase

saving a model via protobuf (to_protobuf)

Python exception

jijmodeling.ProtobufError

Message

Internal error: failed to encode the protobuf message: {...}.

This is a bug in JijModeling - please report it to the developers in community Discord (https://discord.gg/Km5dKF9JjG) with the full error output.

The {...} part carries the underlying protobuf encoder error, typically about insufficient buffer capacity.

Cause

The low-level protobuf encoder failed to write the serialized model into its output buffer. This is extremely rare and effectively an internal error; JijModeling sizes the buffer itself, so normal use of the library should never hit it.

Fix

This is most likely a bug in JijModeling. Please report it at the JijModeling community on Discord with the full error output.