KomodoPlatform / BarterDEX

DEPRECATED/OUTDATED!!! Do not use!
https://komodoplatform.com
MIT License
189 stars 115 forks source link

Windows 10: cant importprivkey.KMD {"error":"couldnt import"}, abort session #94

Closed ahgafdf closed 6 years ago

ahgafdf commented 6 years ago

I am an experienced coin user (linux), testing Windows 10 now. I have a passphrase and coins on different currencies on it. i can perfectly use it in electrum mode, exchange e.g. KMD and DASH. but it does not work in native mode. here is the problem:

When i start BarterDEX, i can type in my passphrase and click "Log in". But then i only see the grey screen saying "Starting BarterDEX. Please wait...", forever. This is only the case when KMD is running - otherwise i can get into the dashboard and start electrum mode. So here is the console output (i shortened private keys)

...
CEAL, cant open.(D:\Coins\Roaming\Komodo\CEAL\CEAL.conf)
MESH, cant open.(D:\Coins\Roaming\Komodo\MESH\MESH.conf)
STAK, cant open.(D:\Coins\Roaming\Straks\Straks.conf)
"CRC", "ZOI", "PIZZA", "BEER", "GRS", "VOT", "XMCC", "ABY", "BTCH", "ETOMIC", "AXO", "INN", "MOON", "CRW", "EFL", "GBX", "BCO", "XZC", "BTG", "BLK", "BCH", "QTUM", "PURA", "DSR", "MNZ", "BTCZ", "MAGA", "BSD", "IOP", "BLOCK", "CHIPS", "888", "ARG", "GLT", "ZER", "HODLC", "UIS", "CRW", "HUC", "BDL", "ARC", "ZCL", "VIA", "ERC", "FAIR", "FLO", "SXC", "CREA", "TRC", "BTA", "SMC", "NMC", "NAV", "MOON", "EMC2", "SYS", "I0C", "DASH", "STRAT", "MUE", "MONA", "XMY", "MAC", "BTX", "XRE", "LBC", "SIB", "VTC", "REVS", "JUMBLR", "DOGE", "HUSH", "ZEC", "DGB", "ZET", "GAME", "LTC", "SUPERNET", "WLC", "PANGEA", "DEX", "BET", "CRYPTO", "HODL", "MSHARK", "BOTS", "MGW", "COQUI", "KV", "CEAL", "MESH", "STAK", privkey updates
RPCport.7783 remoteport.7782, nanoports 7793 7803 7813
default seed nodes for netid.0
connected to push.(tcp://5.9.253.195:7793) pushsock.0 valid.1  | connected to sub.(tcp://5.9.253.195:7803) subsock.1 valid.1 numactive.0
connected to push.(tcp://173.212.225.176:7793) pushsock.2 valid.1  | connected to sub.(tcp://173.212.225.176:7803) subsock.3 valid.1 numactive.0
connected to push.(tcp://136.243.45.140:7793) pushsock.4 valid.1  | connected to sub.(tcp://136.243.45.140:7803) subsock.5 valid.1 numactive.0
connected to push.(tcp://23.254.202.142:7793) pushsock.6 valid.1  | connected to sub.(tcp://23.254.202.142:7803) subsock.7 valid.1 numactive.0
connected to push.(tcp://45.32.19.196:7793) pushsock.8 valid.1  | connected to sub.(tcp://45.32.19.196:7803) subsock.9 valid.1 numactive.0
got 127.0.0.1, initpeers. LP_mypubsock.-1 pullsock.-1 RPC_port.7783 mypullport.7793 mypubport.7803 pushaddr.´┐¢
userpass.(1d8....c6f8cd81f)
Start stats_rpcloop.7783
>>>>>>>>>> DEX stats 127.0.0.1:7783 bind sock.1468 DEX stats API enabled at unixtime.1517615150 <<<<<<<<<
unexpected.0 tradestatus aliceid.14738278218396925952 requestid.2243294678 quoteid.3153425791
unexpected.1 tradestatus aliceid.14640991375129706497 requestid.1062482564 quoteid.441005032
unexpected.2 tradestatus aliceid.4801969722723663873 requestid.1362214882 quoteid.663890330
max rpc threads spawned and alive 0 <- 1
got.() 0 remains.1573375 of total.0
got.() 0 remains.1573375 of total.0
t0 estimated rate.(BTC) (0.00165152) -> 0.00000242 0.00000000
connected to push.(tcp://94.130.108.82:7793) pushsock.10 valid.1  | connected to sub.(tcp://94.130.108.82:7803) subsock.11 valid.1 numactive.1
2765 (2523113573 1536839879)     reserved id.2548777508409507841    KMD/REVS    1.00213532 ->   0.28466126 ( 0.28405471) | RT.0 0 n0
start remote port
Start stats_rpcloop.7782
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
>>>>>>>>>> DEX stats 127.0.0.1:7782 bind sock.1588 DEX stats API enabled at unixtime.1517615165 <<<<<<<<<
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
ERROR.({"method":"enable","coin":""})
2766 (245799174  3210110553)      request id.16128253018001506305   KMD/SUPERNET  14.95464252 ->   0.41000999 ( 0.02741690) | RT.0 0 n0
2767 (2042661357 2749995021)     reserved id.11363962026593812481 PIZZA/BEER  1387.78968752 ->   0.13884280 ( 0.00010005) | RT.0 0 n0
2787 (2523113573 1536839879)      connect id.2548777508409507841    KMD/REVS    1.00213532 ->   0.28466126 ( 0.28405471) | RT.0 0 n0
2794 (395188783  3976805082)      connect id.5914837145683558400  CHIPS/KMD    39.20622149 ->   2.50156648 ( 0.06380534) | RT.0 0 n0
connected to push.(tcp://24.54.206.138:7793) pushsock.12 valid.1  | connected to sub.(tcp://24.54.206.138:7803) subsock.13 valid.1 numactive.3
2813 (2886989793 1961359579)     reserved id.9993247826092425222  PIZZA/BEER  1259.14818956 ->   0.12597903 ( 0.00010005) | RT.0 0 n0
2816 (3073830545   72005663)     reserved id.5914837145683558400  CHIPS/KMD    39.20228893 ->   2.50156648 ( 0.06381175) | RT.0 0 n0
2835 tradestatus | aliceid.10578871933071982593 RT.0 0
passhash 75ab65b78df65c92ce038....973ec21221cf27499d6f903 != G 37a8eec1ce19687d132fe290....a141d5f4133a33f0688f
userpass.(c6fa3182b336c8371c5f9....93d465ece15b548a003774f)
KMD importaddress  from UsnZMDNbwe9....Ca4tFAn9gR5ZJyeP failed, isvalid.-1
cant importprivkey.KMD RN8w....KCbnQt5gESg1 -> ({"error":"couldnt import"}), abort session

stderr:
exec error: Error: Command failed: "C:\Users\Coins\Downloads\BarterDEX-win64-x64-0.8.8-rc\BarterDEX-win64-x64\resources\app\assets\bin\win64\marketmaker.exe" "{\"gui\":\"simplegui\",\"client\":1,\"profitmargin\":0.01,\"userhome\":\"D:\\Coins\\Roaming\",\"passphrase\":\"default\"}"

Komodo seems to be fine..

PS C:\Users\Coins\Downloads\kmd_win_bins> .\komodo-cli.exe getinfo
{
  "version": 1000850,
  "protocolversion": 170002,
  "KMDversion": "0.1.1",
  "notarized": 693120,
  "notarizedhash": "0863d82bc99b885a52caeb3facd1ea0f1e2a5b0f021db37738a03db31505090e",
  "notarizedtxid": "7c2b6e759349e2e21d12598f56d83f1b8d9042a4051b33530ec6c82278abe93f",
  "notarizedtxid_height": "mempool",
  "notarized_confirms": 0,
  "walletversion": 60000,
  "balance": 1.72621981,
  "interest": 0.00000000,
  "blocks": 693150,
  "longestchain": 693150,
  "timeoffset": 0,
  "tiptime": 1517616536,
  "connections": 8,
  "proxy": "",
  "difficulty": 30732502.00799247,
  "testnet": false,
  "keypoololdest": 1517295865,
  "keypoolsize": 101,
  "paytxfee": 0.00000000,
  "relayfee": 0.00000100,
  "errors": ""
}

and also marketmaker exe is somehow working..

PS C:\Users\Coins\Downloads\BarterDEX-win64-x64-0.8.8-rc\BarterDEX-win64-x64\resources\app\assets\bin\win64> .\marketmak
er.exe
WSAStartup called
null return from NXT api call

Total redeemed.0

>>>>>>>>>> already processed:

>>>>>>>>>> already processed:
ahgafdf commented 6 years ago

So the reason might be i created the seed on linux? I can create a new seed, and use it on windows in native mode without problems..

Nagaws commented 6 years ago

@ahgafdf it seems last line you observe its referring d drive for coins file d:\coins\Roaming

it should be relavent to c drive, where all barterdex userdata info all stored

location: %appdata%\BarterDEX