Open marek22k opened 1 year ago
Are you on master or tag 0.4.0?
The JSON-RPC error: "Blockchain is not synced"
is because wallet needs to be synced with current blockchain state, via subscribe or ./drk scan
.
I use the 0.4.0 tag as in the instructions. I think the blockchain is not synced
is caused by the crash of subscribe
.
Use the master tag, we are fixing findings and will tag a new version once everything is stable. Let us know if issues persist.
in v4.0.1
I can still see these errors, although it hasn't crashed (yet)
=======================================
Deserialized successfully. Scanning block...
[Money] Iterating over 1 transactions
Found Money::TransferV1 in call 0
Successfully decrypted a Money Note
Witnessing coin in Merkle tree
Found 1 OwnCoin(s) in transaction
OwnCoin: Coin(0x3c0d02e8297b2a031f10cce40d638d93c65100725a063f7b3c7cf9eb671f8c43)
[src/libout123/module.c:185] error: Failure getting module directory! (Perhaps set MPG123_MODDIR?)
[src/libout123/module.c:185] error: Failure getting module directory! (Perhaps set MPG123_MODDIR?)
[src/libout123/module.c:185] error: Failure getting module directory! (Perhaps set MPG123_MODDIR?)
[src/libout123/module.c:185] error: Failure getting module directory! (Perhaps set MPG123_MODDIR?)
[src/libout123/module.c:185] error: Failure getting module directory! (Perhaps set MPG123_MODDIR?)
[src/libout123/module.c:185] error: Failure getting module directory! (Perhaps set MPG123_MODDIR?)
[src/libout123/module.c:185] error: Failure getting module directory! (Perhaps set MPG123_MODDIR?)
[src/libout123/libout123.c:454] error: Found no driver out of [alsa,oss,jack,portaudio,pulse,nas,openal] working with device <default>.
[DAO] Iterating over 1 transactions
Got Block notification from darkfid subscription
=======================================
Block header:
Header {
version: 1,
previous: Hash(
"4769a9cd7a45981dcc01791d8c982b000dbaa746ed33fefc83335c774ff9181a",
),
epoch: 6240,
slot: 62405,
timestamp: Timestamp(
1683148055,
),
root: MerkleNode(
0x2fd8e51a03d9bbe2dd809831b1497aeb68a6e37ddf707ced4aa2d8dff13529ae,
),
}
@a-moreira:
Do you have libmpg123-dev
installed?
These errors do not affect rest functionality.
@aggstam I do have it installed.
$ apt install libmpg123-dev
Reading package lists... Done
Building dependency tree
Reading state information... Done
libmpg123-dev is already the newest version (1.25.13-1).
I also have libout123
installed (found a reference to this lib while searching for the error).
You are right that it doesn't seem to impair functionality. Also the error seems to appear randomly.
@a-moreira Its not as random as you might think :) TLDR: terminal is not able to get sound driver lock to play a sound, as its locked by some other app.
I have tried the commands from https://darkrenaissance.github.io/darkfi/testnet/payment.html. I don't know exactly what happened, all of a sudden the message
JSON-RPC error: "Blockchain is not synced"
appeared and then I saw that the other process crashed.