termcoin icon indicating copy to clipboard operation
termcoin copied to clipboard

Runs for awhile, then crashes with (Error: Not found)

Open runvnc opened this issue 8 years ago • 0 comments

Works great for awhile, then when I come back I see this error:

Error: Not found.
    at /home/runvnc/coinado/node_modules/termcoin/node_modules/coined/node_modules/tiny/lib/tiny.json.js:419:23
    at /home/runvnc/coinado/node_modules/termcoin/node_modules/coined/node_modules/tiny/lib/tiny.json.js:402:12
    at Object.wrapper [as oncomplete] (fs.js:459:17)

If I delete the db from ~/.termcoin, it stops giving that error. Otherwise pm2 just keeps trying to restart and it keeps giving that error.

So, I am loading termcoin as a module and running startServer. Is it possible I am doing something wrong, or is this a known error? I think this results from calling getBlock. But basically I call startServer and then use listReceivedBy and createAddress. I need a light wallet, and thought this was a good option since its Node. Not sure if there is a way to make this work, maybe I need to just call it as an external cli since that's what it is, or if there is a new issue from protocol changes, or if I should just wrap another external wallet.

Appreciate any comment you have, thanks.

runvnc avatar Oct 19 '15 05:10 runvnc