Skip to content
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

FIX: Error while running ignite scafflod in MacOS M3 Sequioa #4375

Open
Srutip04 opened this issue Sep 24, 2024 · 7 comments
Open

FIX: Error while running ignite scafflod in MacOS M3 Sequioa #4375

Srutip04 opened this issue Sep 24, 2024 · 7 comments
Labels
type:bug Something isn't working

Comments

@Srutip04
Copy link

Context: Plugin Compatibility Issue on ARM64 Architecture (cli-plugin-network v0.2.2)

Describe the Bug:

I encountered an issue while trying to use the cli-plugin-network plugin (v0.2.2) with the Ignite CLI on an ARM64 system (Apple M1/M2). The plugin fails to load with an error related to architecture compatibility, and the system logs indicate issues with the handshake process between Ignite and the plugin.
image

Steps to Reproduce:

1.Use a machine with an ARM64 architecture (Apple M1/M2).
2.Install Ignite CLI.
3.ignite scaffold chain hello

Expected Behavior:

The plugin should work correctly on ARM64 architecture without errors.

Actual Behavior:

The plugin fails to load, and the following error is logged:
Failed to read any lines from plugin's stdout. This usually means the plugin was not compiled for this architecture...

Environment Details:

  • OS: macOS (ARM64 - Apple M3)
  • Ignite Version: v28.5.3-dev
  • Go Version: go1.23.1
image
@Srutip04 Srutip04 added the type:bug Something isn't working label Sep 24, 2024
@faddat
Copy link
Contributor

faddat commented Oct 1, 2024

I wish to 100% confirm this bug.

It is present with both an invocation of

go install ./...

and

make install

 ignite
2024-10-01T12:42:18.180+0800 [ERROR] app github.com/ignite/apps/wasm: plugin process exited: plugin=/Users/faddat/.ignite/apps/github.com/ignite/apps/wasm/wasm.ign id=18360 error="signal: abort trap"
Path 				Config 	Status 	
github.com/ignite/apps/wasm 	global 	✘ Error: connecting: Unrecognized remote plugin message:
Failed to read any lines from plugin's stdout
This usually means
  the plugin was not compiled for this architecture,
  the plugin is missing dynamic-link libraries necessary to run,
  the plugin is not executable by this process due to file permissions, or
  the plugin failed to negotiate the initial go-plugin protocol handshake
Additional notes about plugin:
  Path: /Users/faddat/.ignite/apps/github.com/ignite/apps/wasm/wasm.ign
  Mode: -rwxr-xr-x
  Owner: 501 [faddat] (current: 501 [faddat])
  Group: 20 [staff] (current: 20 [staff])
  MachO architecture: CpuArm64 (current architecture: arm64) 	

error while loading apps: fail to link: github.com/ignite/apps/wasm: connecting: Unrecognized remote plugin message:
Failed to read any lines from plugin's stdout
This usually means
  the plugin was not compiled for this architecture,
  the plugin is missing dynamic-link libraries necessary to run,
  the plugin is not executable by this process due to file permissions, or
  the plugin failed to negotiate the initial go-plugin protocol handshake
Additional notes about plugin:
  Path: /Users/faddat/.ignite/apps/github.com/ignite/apps/wasm/wasm.ign
  Mode: -rwxr-xr-x
  Owner: 501 [faddat] (current: 501 [faddat])
  Group: 20 [staff] (current: 20 [staff])
  MachO architecture: CpuArm64 (current architecture: arm64)

I'm going to go ahead and spend a few minutes trying to resolve it, but unfortunately don't have too much time right now

@faddat
Copy link
Contributor

faddat commented Oct 1, 2024

The issue is also present in the latests released binaries.

When I download them, it explodes.

@faddat
Copy link
Contributor

faddat commented Oct 1, 2024

Need to delete your

~/.ignite

folder

then it will work. Maybe you were using v0.29

@Srutip04
Copy link
Author

Srutip04 commented Oct 1, 2024

Need to delete your

~/.ignite

folder

then it will work. Maybe you were using v0.29

Yes i had to downgrade the version to v0.27 ....it is working now but still Relayer issue im facing

@julienrbrt
Copy link
Member

Someone with a M3 here? cc @Pantani @toschdev @salmad3

@faddat
Copy link
Contributor

faddat commented Oct 19, 2024

rm -rf ~/.ignite

worked :)

@julienrbrt
Copy link
Member

rm -rf ~/.ignite

worked :)

Great to hear, but that's a pretty dangerous command if you have a keyring there.

Unfortunately I still haven't been able to reproduce

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type:bug Something isn't working
Projects
Status: To Discuss
Development

No branches or pull requests

3 participants