madMAx43v3r / chia-gigahorse

221 stars 32 forks source link

ValueError: wallet: already running #85

Open fantasyfanwuren opened 1 year ago

fantasyfanwuren commented 1 year ago

fanwuren@fanwuren-desktop:~/桌面/chia-gigahorse-farmer$ ./chia.bin stop all -d chia_harvester: Stopped chia_farmer: Stopped chia_full_node: Stopped chia_wallet: Stopped Daemon stopped fanwuren@fanwuren-desktop:~/桌面/chia-gigahorse-farmer$ ./chia.bin start farmer Daemon not started yet Starting daemon (Unlock Keyring) Passphrase: Unlocking daemon keyring chia_harvester: started chia_farmer: started chia_full_node: started chia_wallet: started fanwuren@fanwuren-desktop:~/桌面/chia-gigahorse-farmer$ Traceback (most recent call last): File "/home/fanwuren/桌面/chia-gigahorse-farmer/chia/util/lock.py", line 42, in acquire File "/home/fanwuren/桌面/chia-gigahorse-farmer/filelock/_api.py", line 183, in acquire filelock._error.Timeout: The file lock '/home/fanwuren/.chia/mainnet/run/wallet.lock' could not be acquired.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/home/fanwuren/桌面/chia-gigahorse-farmer/chia/server/start_service.py", line 184, in run File "/home/fanwuren/桌面/chia-gigahorse-farmer/chia/util/lock.py", line 29, in enter File "/home/fanwuren/桌面/chia-gigahorse-farmer/chia/util/lock.py", line 44, in acquire chia.util.lock.LockfileError: The file lock '/home/fanwuren/.chia/mainnet/run/wallet.lock' could not be acquired.

The above exception was the direct cause of the following exception:

Traceback (most recent call last): File "/home/fanwuren/桌面/chia-gigahorse-farmer/chia", line 16, in File "", line 991, in _find_and_load File "", line 975, in _find_and_load_unlocked File "", line 671, in _load_unlocked File "/home/fanwuren/桌面/chia-gigahorse-farmer/chia_wallet", line 8, in File "/home/fanwuren/桌面/chia-gigahorse-farmer/chia/server/start_wallet.py", line 116, in main File "/home/fanwuren/桌面/chia-gigahorse-farmer/chia/server/start_service.py", line 286, in async_run File "/home/fanwuren/桌面/chia-gigahorse-farmer/asyncio/runners.py", line 44, in run File "/home/fanwuren/桌面/chia-gigahorse-farmer/asyncio/base_events.py", line 616, in run_until_complete File "/home/fanwuren/桌面/chia-gigahorse-farmer/chia/server/start_wallet.py", line 107, in async_main File "/home/fanwuren/桌面/chia-gigahorse-farmer/chia/server/start_service.py", line 189, in run ValueError: wallet: already running

madMAx43v3r commented 1 year ago

Can you try rebooting the machine?

madMAx43v3r commented 1 year ago

And then delete /home/fanwuren/.chia/mainnet/run/wallet.lock