Giter Site home page Giter Site logo

Comments (12)

sandrocsimas avatar sandrocsimas commented on September 22, 2024 1

@ivangabriele, I saw few people in Facebook with the same problem. The way to solve it is by removing the Electra directory content (except the wallet.dat) and letting the new wallet creating the content again.

from electra-desktop.

ivangabriele avatar ivangabriele commented on September 22, 2024 1

Yep so I confirm the issue is on Electra core side.

from electra-desktop.

ivangabriele avatar ivangabriele commented on September 22, 2024

@sandro-csimas It happens when you have the old QT wallet opened at the same time. Can you close all your wallets and try to relaunch only Electra Desktop ?

from electra-desktop.

sandrocsimas avatar sandrocsimas commented on September 22, 2024

@ivangabriele, Yes I closed the old QT wallet. Is there any application log to check?

from electra-desktop.

sandrocsimas avatar sandrocsimas commented on September 22, 2024

It seems the WalletDaemonState is different of STARTED...

  public get lockState(): WalletLockState {
    if (this.LOCK_STATE === undefined && this.DAEMON_STATE !== WalletDaemonState.STARTED) {
      throw new Error(`ElectraJs.Wallet: You need to #startDaemon in order to know the wallet #lockState.`)
    }
    return this.LOCK_STATE as WalletLockState
  }

from electra-desktop.

sandrocsimas avatar sandrocsimas commented on September 22, 2024

I executed the binary electra-desktop and this was the output:

(node:9767) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: Cannot read property 'autoUpdate' of undefined
(node:9767) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
The wallet daemon process exited with the code: 0.
Electra: Error initializing database environment /home/sandro/.Electra! To recover, BACKUP THAT DIRECTORY, then remove everything from it except for wallet.dat.
Electra server starting
The wallet daemon process closed with the code: 0.

Renaming the old "~/.Electra" directory it worked fine, but will create a new wallet.
This could be a bug? Incompatibility with the old wallet?

from electra-desktop.

bak5221 avatar bak5221 commented on September 22, 2024

I removed everthing besides wallet.dat. I still get the message.

from electra-desktop.

bak5221 avatar bak5221 commented on September 22, 2024

@sandrocsimas

my error is a little different

Uncaught Exception:
Error: ElectraJs.Wallet: You need to #startDaemon in order to know the wallet #lockState.
at WalletHard.get lockState [as lockState] (/Applications/Electra Desktop.app/Contents/Resources/app.asar/build/main.js:67565:19)
at EventEmitter.electron_1.ipcMain.on (/Applications/Electra Desktop.app/Contents/Resources/app.asar/build/main.js:83515:53)
at emitOne (events.js:115:13)
at EventEmitter.emit (events.js:210:7)
at WebContents. (/Applications/Electra Desktop.app/Contents/Resources/electron.asar/browser/api/web-contents.js:275:13)
at emitTwo (events.js:125:13)
at WebContents.emit (events.js:213:7)

from electra-desktop.

ivangabriele avatar ivangabriele commented on September 22, 2024

@sandrocsimas @bak5221

Now we need to establish a 100% reproducible case. On Linux, I think this is related to the manually built QT wallet which, depending on which code it was build from, is incompatible with the current Electra Desktop binary (because of the database version used). It that's really the case, it will be a "won't fix" but has to be reported on Electra.

Fyi, here are the Linux build instruction for the QT wallet (to try reproducing the case).

from electra-desktop.

sandrocsimas avatar sandrocsimas commented on September 22, 2024

@ivangabriele, I reproduced minutes ago with the latest QT wallet (manually built) and the latest Electra Desktop.

from electra-desktop.

bak5221 avatar bak5221 commented on September 22, 2024

im still get this message

from electra-desktop.

ivangabriele avatar ivangabriele commented on September 22, 2024

@bak5221 Please join the #user-support channel on our Discord. There is a workaround to fix that.

from electra-desktop.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.