Chia-Network / chia-blockchain

Chia blockchain python implementation (full node, farmer, harvester, timelord, and wallet)
Apache License 2.0
10.82k stars 2.03k forks source link

loading keyring status on macOS 10.14 #14907

Closed hajes closed 1 year ago

hajes commented 1 year ago

What happened?

Updated to latest 1.7.1 GUI macOS

"loading key ring status"

Removed all for clean setup...loading config. Installed back 1.7.0 that worked just 10 minutes ago. Result is same.

Version

1.7.1

What platform are you using?

macOS

What ui mode are you using?

GUI

Relevant log output

Nothing in log despite "DEBUG" set.
hajes commented 1 year ago

downgraded to 1.6.2 1.7.0, 1.7.1 doesn't work on macOS either installed via brew install chia or dmg from chia.net

MumfMeisterT commented 1 year ago

I would backup your .chia folder somewhere else and then delete it entirely. Restarting Chia will regenerate the folder. -- If it then works, you can try moving your full node db back in first (.chia/mainnet/db) to see if that is the corrupted db, if so you will need to resync. (you can download from our latest checkpoint here: https://www.chia.net/downloads/#database-checkpoint)

hajes commented 1 year ago

That was the first troubleshoot I did...erase everything, clean install. I use light wallet connected to local/remote node. There is no full blockchain.

Anything above 1.6.x version gets stuck either:

loading keyring loading configuration

I see a new .chia/mainnet/gui/ folder with content inside...that's all. It is stuck at loading config. No errors, no nothing. No idea how to debug.

It may be Python issue, no idea. I am using the last 1.6.x version, that works.

MumfMeisterT commented 1 year ago

You could try from the command line chia keys show` to see if it will load the keyring.

hajes commented 1 year ago

How do I use CLI in macOS and LightWallet mode?

MumfMeisterT commented 1 year ago

You can open a shell and: cd /Applications/Chia.app/Contents/Resources/app.asar.unpacked/daemon and then run ./chia keys show

github-actions[bot] commented 1 year ago

This issue has not been updated in 14 days and is now flagged as stale. If this issue is still affecting you and in need of further review, please comment on it with an update to keep it from auto closing in 7 days.

omzig10 commented 1 year ago

Same issue...Windows, v1.7.1 "Loading Keyring Status" forever.

Rolling back to 1.6.2 allowed me to load the keyring and sync without issue.

hajes commented 1 year ago

You can open a shell and: cd /Applications/Chia.app/Contents/Resources/app.asar.unpacked/daemon and then run ./chia keys show

latest version 1.8.0 - as suggested.

/Applications/Chia.app/Contents/Resources/app.asar.unpacked/daemon/chia keys show Traceback (most recent call last): File "chia/cmds/chia.py", line 9, in File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module File "chia/cmds/beta.py", line 10, in File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module File "chia/cmds/beta_funcs.py", line 9, in File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module File "chia/util/chia_logging.py", line 11, in File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module File "chia/cmds/init_funcs.py", line 13, in File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module File "chia/consensus/coinbase.py", line 8, in File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module File "chia/wallet/puzzles/p2_delegated_puzzle_or_hidden_puzzle.py", line 70, in File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module File "chia/wallet/puzzles/load_clvm.py", line 12, in File "PyInstaller/loader/pyimod02_importers.py", line 352, in exec_module File "clvm_tools_rs/init.py", line 1, in ImportError: dlopen(/Applications/Chia.app/Contents/Resources/app.asar.unpacked/daemon/clvm_tools_rs/clvm_tools_rs.abi3.so, 2): no suitable image found. Did find: /Applications/Chia.app/Contents/Resources/app.asar.unpacked/daemon/clvm_tools_rs/clvm_tools_rs.abi3.so: cannot load 'clvm_tools_rs.abi3.so' (load command 0x80000034 is unknown) /Applications/Chia.app/Contents/Resources/app.asar.unpacked/daemon/clvm_tools_rs/clvm_tools_rs.abi3.so: cannot load 'clvm_tools_rs.abi3.so' (load command 0x80000034 is unknown) [26726] Failed to execute script 'chia' due to unhandled exception!

emlowe commented 1 year ago

What version of macOS are you running and on which CPU (Intel or Apple Silicon).

I can reproduce this error on macOS 10.14 , but not on anything newer.

hajes commented 1 year ago

Still old school, and the most stable macOS 10.14 ;-)

MumfMeisterT commented 1 year ago

We need to build the chia clvm_tools_rs wheel on MacOS 10.14

hajes commented 1 year ago

It would be great if you can keep backward compatibility if possible. Lots of programs lately force pointlessly to new versions of OS.

emlowe commented 1 year ago

It is possible to manually install chia CLI on macOS 10.14

Assuming you have a working homebrew installed.

emlowe commented 1 year ago

Closing issue - per company discussions macOS 10.14 was planned to be deprecated soon and we unfortunately did that somewhat sooner than expected. However, given company resources at this time we don't plan on going back and fixing it.

You can run from source and build as mentioned above