Gunthy

GUNBOT: The automatic profit generator => Technical Support & Development => Topic started by: rune4000 on October 17, 2019, 04:34:12 PM

Title: Cannot read property "0" of undefined error
Post by: rune4000 on October 17, 2019, 04:34:12 PM
Hi there,

Anybody that can help me out with this error?

(Code 14904)Requesting data...please wait...

(Code 14911)Requesting data...please wait...
TypeError: Cannot read property '0' of undefined
    at module.exports.Strategy.process.Promise.try.Promise.memory.exchanges.(anonymous function).returnOrderBook (C:\snapshot\gblackv12\gain.js:0:0)
    at module.exports.Market.returnOrderBook.Promise.checkSecurity.then.that.exchangeController.fetchOrderBook.then.data (C:\snapshot\gblackv12\ctx-wrapper.js:0:0)
    at tryCatcher (C:\snapshot\gblackv12\node_modules\bluebird\js\release\util.js:16:23)
    at Promise.module.exports.Promise._settlePromiseFromHandler (C:\snapshot\gblackv12\node_modules\bluebird\js\release\promise.js:512:31)
    at Promise.module.exports.Promise._settlePromise (C:\snapshot\gblackv12\node_modules\bluebird\js\release\promise.js:569:18)
    at Promise.module.exports.Promise._settlePromise0 (C:\snapshot\gblackv12\node_modules\bluebird\js\release\promise.js:614:10)
    at Promise.module.exports.Promise._settlePromises (C:\snapshot\gblackv12\node_modules\bluebird\js\release\promise.js:694:18)
    at _drainQueueStep (C:\snapshot\gblackv12\node_modules\bluebird\js\release\async.js:138:12)
    at _drainQueue (C:\snapshot\gblackv12\node_modules\bluebird\js\release\async.js:131:9)
    at Async._drainQueues (C:\snapshot\gblackv12\node_modules\bluebird\js\release\async.js:147:5)
    at Immediate.__dirname.Async.drainQueues [as _onImmediate] (C:\snapshot\gblackv12\node_modules\bluebird\js\release\async.js:17:14)
    at runCallback (timers.js:800:20)
    at tryOnImmediate (timers.js:762:5)
    at processImmediate [as _immediateCallback] (timers.js:733:5)
Title: Re: Cannot read property "0" of undefined error
Post by: rune4000 on October 17, 2019, 08:57:39 PM
I made a clean installation of V14 and restarted, and it did the trick.
Title: Re: Cannot read property "0" of undefined error
Post by: Aitor on October 18, 2019, 02:52:21 AM
Glad to hear the problem is fixed now  ;)