farmr icon indicating copy to clipboard operation
farmr copied to clipboard

Unhandled exception:

Open JaroslavHorky opened this issue 1 year ago • 3 comments

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

JaroslavHorky avatar Aug 11 '22 21:08 JaroslavHorky

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 avatar Aug 14 '22 19:08 OutsmartinTech

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

maxcom99 avatar Sep 08 '22 06:09 maxcom99