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. Packaged releases prefer the TinyTeX asset prepared by the application.
Check:
- First-run assets completed
- The equation contains valid LaTeX
- Required commands belong to an available package
- A system LaTeX installation is not unexpectedly shadowing TinyTeX
Reduce the problem to one equation before changing the entire scene.
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.
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.
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.
