question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Fails to start on fedora 33 (installed through experimental rpm installer)

See original GitHub issue

I am trying to run gui installed that was installed using fedora installer chia-blockchain-1.0.1-1.x86_64.rpm and get the following error:

ImportError: /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chiavdf.cpython-38-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned
  • fedora version: 33
  • uname -a result: Linux fedora 5.11.8-200.fc33.x86_64 #1 SMP Mon Mar 22 01:35:01 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

Is there anything i can try to fix this? I am not really proficient at bug reporting in foss projects, please tell me if you need any other info.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
Chewbakka-Wakkacommented, Mar 29, 2021

I have the same issue with Fedora Rawhide. To add additional details:

Thought to test the CentOS RPM from the release OOTB. I see these various errors and I have no “chia” command. I only have chia-blockchain and see no other CLI tools. The issue is the GUI launches, and loops on “connecting to wallet”

These issues may appear to stem within chiavdf?

Also fyi - “electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information”

Steps: $ sudo rpm -ivh chia-blockchain-1.0.1-1.x86_64.rpm

$ chia-blockchain /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon true Traceback (most recent call last): File “src/cmds/chia.py”, line 8, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/cmds/farm.py”, line 11, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/rpc/full_node_rpc_client.py”, line 7, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/types/full_block.py”, line 11, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/types/blockchain_format/reward_chain_block.py”, line 8, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/types/blockchain_format/vdf.py”, line 7, in ImportError: /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chiavdf.cpython-38-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned [11180] Failed to execute script chia Error loading config - using defaults /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon true /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon true Running python executable: child process success (node:11155) electron: The default of contextIsolation is deprecated and will be changing from false to true in a future release of Electron. See electron/electron#23506 for more information No cert Have cert stderr: Traceback (most recent call last): File “src/server/start_full_node.py”, line 8, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/full_node/full_node.py”, line 14, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/consensus/block_creation.py”, line 11, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/consensus/blockchain_interface.py”, line 6, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/types/blockchain_format/vdf.py”, line 7, in ImportError: /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chiavdf.cpython-38-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned [11321] Failed to execute script start_full_node stderr: Traceback (most recent call last): File “src/server/start_wallet.py”, line 7, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/rpc/wallet_rpc_api.py”, line 22, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/wallet/cc_wallet/cc_wallet.py”, line 13, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/protocols/wallet_protocol.py”, line 7, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/types/header_block.py”, line 5, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/types/blockchain_format/reward_chain_block.py”, line 8, in File “PyInstaller/loader/pyimod03_importers.py”, line 531, in exec_module File “src/types/blockchain_format/vdf.py”, line 7, in ImportError: /usr/lib/chia-blockchain/resources/app.asar.unpacked/daemon/chiavdf.cpython-38-x86_64-linux-gnu.so: ELF load command address/offset not properly aligned [11319] Failed to execute script start_wallet stderr: Traceback (most recent call last): File “src/server/start_farmer.py”, line 68, in File “src/server/start_farmer.py”, line 63, in main File “src/server/start_farmer.py”, line 38, in service_kwargs_for_farmer File “src/farmer/farmer.py”, line 73, in init RuntimeError: No keys exist. Please run ‘chia keys generate’ or open the UI. [11323] Failed to execute script start_farmer

$ chia keys generate bash: chia: command not found…

0reactions
github-actions[bot]commented, Jul 17, 2021

This issue was automatically closed because it has been flagged as stale and subsequently passed 7 days with no further activity.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Troubleshooting :: Fedora Docs
When you ask for help troubleshooting problems related to the installation, you may be asked to provide log files generated by the installer....
Read more >
How to rebase to Fedora 33 on Silverblue
Click on the Install button. This step will take only a few moments and then you will be prompted to restart your computer....
Read more >
Fedora 33 RPM package provides its own libraries won't ...
It runs just fine with everything installed in /opt/diamond. The problem here is the auto-magic Requires logic of RPM. – user3450148. Dec 1, ......
Read more >
Install Docker Engine on Fedora
To get started with Docker Engine on Fedora, make sure you meet the prerequisites ... Some users download the RPM package and install...
Read more >
Howto/NVIDIA - RPM Fusion
This howto will help you install the correct NVIDIA driver on Fedora for your graphics card as well as troubleshoot common driver problems....
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found