Comments (12)
@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.
Yep so I confirm the issue is on Electra core side.
from electra-desktop.
@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.
@ivangabriele, Yes I closed the old QT wallet. Is there any application log to check?
from electra-desktop.
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.
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.
I removed everthing besides wallet.dat. I still get the message.
from electra-desktop.
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.
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.
@ivangabriele, I reproduced minutes ago with the latest QT wallet (manually built) and the latest Electra Desktop.
from electra-desktop.
im still get this message
from electra-desktop.
@bak5221 Please join the #user-support
channel on our Discord. There is a workaround to fix that.
from electra-desktop.
Related Issues (20)
- Add "all" button in payments HOT 3
- Tiny Bug HOT 2
- legacy account, display error when empty HOT 9
- Never had wallet.dat or peers.dat in folder (macbook) HOT 4
- Desktop Wallet Syncing issues HOT 4
- Older MacOS -- El Capitan HOT 3
- Blank (white) wallet on Ubuntu 18.04 HOT 4
- Receiving A Stake Causes Wallet To Look Like Coins Are Missing HOT 2
- Sending Amounts From Legacy to New Wallet Addresses Causes A Failed To Send HOT 3
- Fix react-router HOT 1
- Electra Wallet fails to start daemon after install v1.0.8 window 8.1 HOT 1
- Add Change Passphrase to Electra Desktop Wallet
- Does not support 32 bit HOT 3
- Estimated Cummulated Amount HOT 3
- stuck on closing daemon and 3 remaining processes after that HOT 3
- Recovering Mnemonic (and possibly Generating Mnemonic) Hangs HOT 5
- Cannot replace wallet.dat file from Qt to new Electra Desktop HOT 2
- would love to bring the -data-dir feature back from the old Qt app into 1.1.2
- Remove the Auto-transfer when moving funds from Legacy account
- recovering mnemonic did not work on fixed v1.1.0
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from electra-desktop.