Troubleshooting
Start with the smallest failing boundary: application readiness, project syntax, scene import, layout/rendering, encoding, or external AI.
The engine is not connected
Section titled “The engine is not connected”- Wait for first-run asset preparation to finish.
- Restart the desktop application.
- Check whether security software quarantined the bundled sidecar.
- Confirm there is enough disk space for extracted assets.
- On Linux, verify the application can execute its bundled binary.
For an engine checkout:
echo '{"type":"request","id":"1","command":"ping","params":{}}' \ | python -m matemium.sidecarFFmpeg is missing
Section titled “FFmpeg is missing”Symptoms include failure during final video encoding or assembly.
On Ubuntu:
sudo apt updatesudo apt install ffmpegffmpeg -versionRestart Matemium after installing a system dependency.
LaTeX fails
Section titled “LaTeX fails”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.
A project archive will not import
Section titled “A project archive will not import”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.
Python syntax or import error
Section titled “Python syntax or import error”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:
python -m py_compile projects/my_project/scenes.pyThen render with preview quality to expose scene-import errors.
The project check reports a DSL error
Section titled “The project check reports a DSL error”The engine validates registered visual data and timeline references before render. Common causes include:
- A
DataPathor 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-parttarget - A state property outside the allowlist
- An unknown or malformed morph target
- A
TapeScrolltarget naming a tape that does not exist
Fix the project data or target ID. Do not disable strict validation to force a production render.
Text clips or overlaps
Section titled “Text clips or overlaps”Try these in order:
- Shorten the text.
- Use
add_body()for explanatory prose. - Enable wrapping.
- Reduce the requested width.
- Add intentional margins.
- Reconsider the flex structure.
Do not immediately compensate with camera zoom.
Camera focus crops the target
Section titled “Camera focus crops the target”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.
A media file disappears
Section titled “A media file disappears”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.
The agent cannot edit or continue
Section titled “The agent cannot edit or continue”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.
A render succeeds but is wrong
Section titled “A render succeeds but is wrong”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.
Ask for help
Section titled “Ask for help”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.
