Skip to content

Troubleshooting

Start with the smallest failing boundary: application readiness, project syntax, scene import, layout/rendering, encoding, or external AI.

  1. Wait for first-run asset preparation to finish.
  2. Restart the desktop application.
  3. Check whether security software quarantined the bundled sidecar.
  4. Confirm there is enough disk space for extracted assets.
  5. On Linux, verify the application can execute its bundled binary.

For an engine checkout:

Terminal window
echo '{"type":"request","id":"1","command":"ping","params":{}}' \
| python -m matemium.sidecar

Symptoms include failure during final video encoding or assembly.

On Ubuntu:

Terminal window
sudo apt update
sudo apt install ffmpeg
ffmpeg -version

Restart Matemium after installing a system dependency.

Matemium uses LaTeX for mathematical notation. Launch installers do not bundle a LaTeX distribution, so the host must provide TeX Live on Linux, MiKTeX on Windows, or MacTeX/BasicTeX on macOS.

Check:

  • The host LaTeX executable is installed and available to Matemium
  • The equation contains valid LaTeX
  • Required commands belong to an available package
  • The expected distribution is not shadowed by another stale installation

Reduce the problem to one equation before changing the entire scene.

Matemium requires project.json and scenes.py in the archive root or beneath one common wrapper folder. It rejects unsafe paths and archives with multiple conflicting project roots.

If the archive was created manually, compare it with an archive exported from the project library. Do not work around a path-safety rejection by extracting untrusted content into the Matemium workspace yourself.

Common causes:

  • Missing closing bracket or quote
  • Incorrect indentation
  • Importing a helper that does not exist
  • Renaming a scene without updating references
  • Using an API method from a different revision

From a source checkout:

Terminal window
python -m py_compile projects/my_project/scenes.py

Then render with preview quality to expose scene-import errors.

The engine validates registered visual data and timeline references before render. Common causes include:

  • A DataPath or series with fewer than two points
  • A non-finite coordinate
  • Duplicate series, marker, node, or edge IDs
  • A diagram edge that references a missing node
  • An unknown element::semantic-part target
  • A state property outside the allowlist
  • An unknown or malformed morph target
  • A TapeScroll target naming a tape that does not exist

Fix the project data or target ID. Do not disable strict validation to force a production render.

Try these in order:

  1. Shorten the text.
  2. Use add_body() for explanatory prose.
  3. Enable wrapping.
  4. Reduce the requested width.
  5. Add intentional margins.
  6. Reconsider the flex structure.

Do not immediately compensate with camera zoom.

Use isolate focus with a moderate requested zoom. The viewport-fit system should cap unsafe zoom, but an excessively wide base layout may still be unreadable.

Check the final output orientation independently.

Import media into the project rather than referencing a temporary path outside the workspace. Confirm the asset still appears in the media library and that the project source uses its stable project path.

Check:

  • A provider or local model is selected
  • Provider authentication is valid
  • The current roadmap phase permits the requested work
  • The project has no unresolved decision blocking the phase
  • The request is concrete enough to evaluate

Provider rate limits and billing errors must be resolved with the provider.

This is a visual-repair problem, not an engine-readiness problem.

Record:

  • Timestamp
  • Visible defect
  • Affected element
  • Expected invariant

Then make the smallest useful source change and render again.

Structural validation and a successful render do not establish visual or domain correctness. Inspect actual frames/video and review subject claims separately.

When reporting a problem, include:

  • Operating system and Matemium version
  • Whether you use the packaged desktop or a source checkout
  • Project and scene name
  • Exact error text
  • Minimal source needed to reproduce
  • Screenshot or short recording for visual defects

Open an issue in the Matemium repository.