Skip to content
This repository has been archived by the owner on Dec 31, 2022. It is now read-only.

Unhandled exception: #202

Open
JaroslavHorky opened this issue Aug 11, 2022 · 3 comments
Open

Unhandled exception: #202

JaroslavHorky opened this issue Aug 11, 2022 · 3 comments

Comments

@JaroslavHorky
Copy link

Hello, I'm trying to run farmr. I have the installation on an Ubuntu server. After running I get this error. I have no idea what to do next.

Unhandled exception: LateInitializationError: Local 'db' has already been initialized. #0 LateError._throwLocalAlreadyInitialized (dart:_internal-patch/internal_patch.dart:204) #1 openSQLiteDB (package:farmr_client/utils/sqlite.dart:16) #2 Cache._createTables (package:farmr_client/cache/cacheIO.dart:40) #3 new Cache (package:farmr_client/cache/cacheIO.dart:34) #4 Blockchain.init (package:farmr_client/blockchain.dart:237) #5 main (file:///home/runner/work/farmr/farmr/farmr.dart:180) <asynchronous suspension>

Thanks for help

@OutsmartinTech
Copy link

OutsmartinTech commented Aug 14, 2022

I'm getting the exact same error. I upgraded from v1.7 and got this error. I then tried uninstalling v1.8, removing the .farmr folder and then reinstalling v1.8. I still get the error. I'm using Ubuntu server as well (v20.04.4 LTS).

Starting farmr for chia in Farmer mode...
Unhandled exception:
LateInitializationError: Local 'db' has already been initialized.
#0      LateError._throwLocalAlreadyInitialized (dart:_internal-patch/internal_patch.dart:204)
#1      openSQLiteDB (package:farmr_client/utils/sqlite.dart:16)
#2      Cache._createTables (package:farmr_client/cache/cacheIO.dart:40)
#3      new Cache (package:farmr_client/cache/cacheIO.dart:34)
#4      Blockchain.init (package:farmr_client/blockchain.dart:237)
#5      main (file:///home/runner/work/farmr/farmr/farmr.dart:180)
<asynchronous suspension>

@OutsmartinTech
Copy link

Duplicate of #198

@maxcom99
Copy link

maxcom99 commented Sep 8, 2022

Same issue. going to 1.8.3 worked ... nearly a month without a resolution...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants