-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] Install Issue: Failed to run Script (mojo format) #3090
Labels
Comments
Please include the following information:
|
On Jun 20, 2024, at 5:08 PM, ematejska ***@***.***> wrote:
Please include the following information:
What OS did you do install Mojo on ?
MacOS Sonoma 14.5
Provide version information for Mojo by pasting the output of mojo -v
mojo 24.4.0 (59977802)
Provide Modular CLI version by pasting the output of modular -v
modular 0.8.0 (39a426b5)
… —
Reply to this email directly, view it on GitHub <#3090 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BGCPZ2T6NTVER6SIFDBZOD3ZINOGPAVCNFSM6AAAAABJUQUH32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDCOBRGY4DQOJWGM>.
You are receiving this because you authored the thread.
|
Thanks for reporting this. I'm so sorry but it's a bit hard to debug this, because the error could be in |
if i do
]

I don’t see any “format” command in the modular.com_max/bin directory…
(Ignore the doubled instance of this in PATH, i did “exec zsh” at some point which caused this.)
where would the formatter be and what would be its name?
… On Jul 5, 2024, at 5:39 PM, Walter Erquinigo ***@***.***> wrote:
Thanks for reporting this. I'm so sorry but it's a bit hard to debug this, because the error could be in mojo format or in the self-test tool, but let's give it a try.
Have you tried using mojo format directly on a mojo file? Depending on the answer we'll see how to process.
—
Reply to this email directly, view it on GitHub <#3090 (comment)>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/BGCPZ2XYWUWDULKITO27HM3ZK243XAVCNFSM6AAAAABJUQUH32VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMJRGA4DINZXHA>.
You are receiving this because you authored the thread.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When installing Max or Mojo I get an error transcript below.
Please note there was an error about an infected file mblack (submitted separately) which I asked Intego to repair.
(max) bill@Bills-23-Black-16 ___ % modular install max
Found release for https://packages.modular.com/max @ 24.4.0
Downloading archive: packages/24.4.0/max-arm64-apple-darwin22.6.0-24.4.0-6-0.tar.zst
Downloaded [ ████████████████████████████████████████████████████ ] 100% 327MiB/327MiB
Extracting downloaded archives.
Extracted [ ████████████████████████████████████████████████████ ] 100% 327MiB/327MiB
Running post-install scripts...
Mojo Tools [ ██████████████████████████░░░░░░░░ ] 50% [mojo][error] Mojo SDK post-install test "
mojo format
" failed:SubprocessError: Command '/Users/bill/.modular/pkg/packages.modular.com_max/bin/mojo format /tmp/tmpfngmap38/test_format.mojo' returned non-zero exit status 254.
File "/Users/bill/.modular/pkg/packages.modular.com_max/scripts/checks/self-test-tools.py", line 235, in test_mojo_format
self.run_mojo("format", unformatted_path)
File "/Users/bill/.modular/pkg/packages.modular.com_max/scripts/checks/self-test-tools.py", line 184, in run_mojo
return self.run(self.mojo, subcommand, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/bill/.modular/pkg/packages.modular.com_max/scripts/checks/self-test-tools.py", line 172, in run
raise SubprocessError(
[mojo][error] Some components of the Mojo SDK may have been installed successfully, but others may not work as expected.
[mojo][error] Please submit an issue to https://github.com/modularml/mojo and include the full output of the command you just ran.
Mojo Tools [ ██████████████████████████░░░░░░░░ ] 50%
modular: error: failed to run script
Failure Information:
- Script:
PATH=/opt/homebrew/opt/python@3.11/libexec/bin:.:/opt/homebrew/bin:/opt/homebrew/sbin:/Users/bill/.modular/pkg/packages.modular.com_max/bin:/Users/bill/mambaforge/envs/max/bin:/Users/bill/mambaforge/condabin:/opt/homebrew/bin:/opt/homebrew/sbin:/usr/local/bin:/System/Cryptexes/App/usr/bin:/usr/bin:/bin:/usr/sbin:/sbin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/local/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/bin:/var/run/com.apple.security.cryptexd/codex.system/bootstrap/usr/appleinternal/bin:/Library/Apple/usr/bin HOME=/Users/bill MODULAR_HOME=/Users/bill/.modular PYTHONPATH=/Users/bill/.modular/pkg/packages.modular.com_max/venv/lib/Users/bill/.modular/pkg/packages.modular.com_max/venv/bin/python /Users/bill/.modular/pkg/packages.modular.com_max/scripts/checks/self-test-tools.py --modular-home /Users/bill/.modular --modular-data /Users/bill/.modular --modular-config /Users/bill/.modular --package-path /Users/bill/.modular/pkg/packages.modular.com_max --mojo-config-section mojo-max --tests package,debug,format
- Result: 1
- Stderr:
[mojo][error] Mojo SDK post-install test "
mojo format
" failed:SubprocessError: Command '/Users/bill/.modular/pkg/packages.modular.com_max/bin/mojo format /tmp/tmpfngmap38/test_format.mojo' returned non-zero exit status 254.
File "/Users/bill/.modular/pkg/packages.modular.com_max/scripts/checks/self-test-tools.py", line 235, in test_mojo_format
self.run_mojo("format", unformatted_path)
File "/Users/bill/.modular/pkg/packages.modular.com_max/scripts/checks/self-test-tools.py", line 184, in run_mojo
return self.run(self.mojo, subcommand, *args)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "/Users/bill/.modular/pkg/packages.modular.com_max/scripts/checks/self-test-tools.py", line 172, in run
raise SubprocessError(
[mojo][error] Some components of the Mojo SDK may have been installed successfully, but others may not work as expected.
[mojo][error] Please submit an issue to https://github.com/modularml/mojo and include the full output of the command you just ran.
==========================
The text was updated successfully, but these errors were encountered: