You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The document doesn't call out the following dependencies, nor does the Magic installation script add them:
tzdata
build-essential
libedit2
zlib1g-dev
libtinfo-dev
It also doesn't set LLVM_SYMBOLIZER_PATH so the stack traces are not working fully.
Lastly, when running mojo test, all API doc tests result in the elf_dynamic_array_reader.h:64] tag not found error that shows up in many issues here (full stack trace in minimal repro repo linked in repro steps). I am guessing this is another missing dependency.
Run curl -ssL https://magic.modular.com/deb10c87-7449-475a-a82c-91b48d458b77 | bash
Run magic init . --format mojoproject
Add a function with an API documentation test
Run magic shell
Run mojo test
Version Info
- Provide magic CLI version by pasting the output of `magic --version`
magic 0.6.2 - (based on pixi 0.40.0)
- What OS did you install the magic CLI on?
Linux
- If you're on Linux include the flavor and version e.g. Ubuntu 22.04.Ubuntu 24.04.1 LTS- Include your CPU architecture e.g. x86-64 or arm64.arm64- If related to unresolvable dependencies, include the contents of your`magic.lock` file.
The text was updated successfully, but these errors were encountered:
Issue description
The document doesn't call out the following dependencies, nor does the Magic installation script add them:
It also doesn't set
LLVM_SYMBOLIZER_PATH
so the stack traces are not working fully.Lastly, when running
mojo test
, all API doc tests result in theelf_dynamic_array_reader.h:64] tag not found
error that shows up in many issues here (full stack trace in minimal repro repo linked in repro steps). I am guessing this is another missing dependency.Steps to reproduce
I have a repo with a devcontainer setup that reproduces this: https://github.com/jake-danton/mojo_test/tree/main that also includes notes on the issues.
But to do so manually, start with a clean Ubuntu.
Then you have to get the following dependencies or various things break:
Run
curl -ssL https://magic.modular.com/deb10c87-7449-475a-a82c-91b48d458b77 | bash
Run
magic init . --format mojoproject
Add a function with an API documentation test
Run
magic shell
Run
mojo test
Version Info
The text was updated successfully, but these errors were encountered: