Open rekkisomo opened 7 years ago
No one any Idea?
Im getting the same error
Error: This socket has been ended by the other party
at Socket.writeAfterFIN [as write] (net.js:294:12)
at PythonShell.send (/Users/jd/PycharmProjects/gekko/node_modules/python-shell/index.js:205:16)
at Base.strategy.update (/Users/jd/PycharmProjects/gekko/strategies/custom.js:72:11)
at Base.bound [as update] (/Users/jd/PycharmProjects/gekko/node_modules/lodash/dist/lodash.js:729:21)
at Base.propogateTick (/Users/jd/PycharmProjects/gekko/plugins/tradingAdvisor/baseTradingMethod.js:262:8)
at Base.bound [as propogateTick] (/Users/jd/PycharmProjects/gekko/node_modules/lodash/dist/lodash.js:729:21)
at _.after (/Users/jd/PycharmProjects/gekko/plugins/tradingAdvisor/baseTradingMethod.js:218:18)
at /Users/jd/PycharmProjects/gekko/node_modules/lodash/dist/lodash.js:5144:23
at Object.talibResultHander (/Users/jd/PycharmProjects/gekko/plugins/tradingAdvisor/baseTradingMethod.js:230:7)
at talibCallback (/Users/jannisderiz/PycharmProjects/gekko/core/talib.js:13:9)
the error only occurs tho when I make the shell instance in another method then the actual data sending
I'm running into an issue when running a Python Script.
I have a script which asks for user input, then returns a string in console. But when sending a message, it gives this stacktrace:
Here is my code