Skip to content
This repository has been archived by the owner on Feb 16, 2020. It is now read-only.

datastore.js does a "throw err" and just says "Object" #160

Closed
nicocesar opened this issue Jan 15, 2014 · 2 comments
Closed

datastore.js does a "throw err" and just says "Object" #160

nicocesar opened this issue Jan 15, 2014 · 2 comments

Comments

@nicocesar
Copy link

from 4eeb9b0 on LocalDB

I cant start gekko how can I do a better debug?


2014-01-15 20:11:00 (INFO): I'm gonna make you rich, Bud Fox.

2014-01-15 20:11:00 (INFO): Setting up Gekko in realtime mode

2014-01-15 20:11:00 (INFO): Setting up:
2014-01-15 20:11:00 (INFO): Trading Advisor
2014-01-15 20:11:00 (INFO): Calculate trading advice
2014-01-15 20:11:00 (INFO): Using the trading method:EMA

2014-01-15 20:11:00 (INFO): Setting up:
2014-01-15 20:11:00 (INFO): IRC bot
2014-01-15 20:11:00 (INFO): IRC module lets you communicate with Gekko on IRC.

2014-01-15 20:11:00 (INFO): Setting up:
2014-01-15 20:11:00 (INFO): Mailer
2014-01-15 20:11:00 (INFO): Mail module lets sends you email yourself everytime Gekko has new advice
2014-01-15 20:11:00 (DEBUG): Setup email adviser.

2014-01-15 20:11:03 (INFO): Send advice via email.
2014-01-15 20:11:03 (INFO): Setting up:
2014-01-15 20:11:03 (INFO): Profit Simulator
2014-01-15 20:11:03 (INFO): Paper trader that logs fake profits.

2014-01-15 20:11:03 (INFO): Starting to watch the market: BTC-e BTC/USD
2014-01-15 20:11:03 (DEBUG): ~market start
2014-01-15 20:11:03 (DEBUG): checking history

/home/ncesar/gekko/node_modules/nedb/lib/datastore.js:60
if (err) { throw err; }
^

[object Object]

@askmike
Copy link
Owner

askmike commented Jan 15, 2014

It's the same as #153 which is caused by a corrupt database. This happens when you run two gekkos on the same market (with the same history path). The only solution for now is to the corrupt day.

I thought I fixed this though it appears I didn't, will take another look.

@askmike
Copy link
Owner

askmike commented Jun 6, 2016

fixed.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants