Drakkar-Software / OctoBot

Open source crypto trading bot
https://www.octobot.cloud
GNU General Public License v3.0
3.24k stars 751 forks source link

Errors in TentacleLoader #1909

Open jsidera opened 2 years ago

jsidera commented 2 years ago

Environment

Description of the problem After a clean install of the bot, a number of errors are being shown in the "Event logs":

2022-01-04 10:14:37 | ERROR | TentacleLoader | Error when loading statistics_analysis: AttributeError (type object 'tulipy.lib._Indicator' has no attribute '__reduce_cython__'). If this error persists, try reinstalling your tentacles via "python start.py tentacles --install --all".
-- | -- | -- | --
2022-01-04 10:14:36 | ERROR | TentacleLoader | Error when loading momentum_evaluator: AttributeError (type object 'tulipy.lib._Indicator' has no attribute '__reduce_cython__'). If this error persists, try reinstalling your tentacles via "python start.py tentacles --install --all".
2022-01-04 10:14:36 | ERROR | TentacleLoader | Error when loading trend_evaluator: AttributeError (type object 'tulipy.lib._Indicator' has no attribute '__reduce_cython__'). If this error persists, try reinstalling your tentacles via "python start.py tentacles --install --all".
2022-01-04 10:14:36 | ERROR | TentacleLoader | Error when loading volatility_evaluator: AttributeError (type object 'tulipy.lib._Indicator' has no attribute '__reduce_cython__'). If this error persists, try reinstalling your tentacles via "python start.py tentacles --install --all".
2022-01-04 10:14:36 | ERROR | TentacleLoader | Error when loading dip_analyser_strategy_evaluator: AttributeError (module 'tentacles.Evaluator.TA' has no attribute 'KlingerOscillatorReversalConfirmationMomentumEvaluator'). If this error persists, try reinstalling your tentacles via "python start.py tentacles --install --all".
2022-01-04 10:14:36 | ERROR | TentacleLoader | Error when loading move_signals_strategy_evaluator: AttributeError (module 'tentacles.Evaluator.TA' has no attribute 'KlingerOscillatorMomentumEvaluator'). If this error persists, try reinstalling your tentacles via "python start.py tentacles --install --all".
2022-01-04 10:14:31 | ERROR | TentacleLoader | Error when loading instant_fluctuations_evaluator: ValueError (numpy.ndarray size changed, may indicate binary incompatibility. Expected 96 from C header, got 88 from PyObject). If this error persists, try reinstalling your tentacles via "python start.py tentacles --install --all".

Then, when I go to any of the evaluators, I am getting the following error message on the screen:

We are sorry, but an unexpected error occurred.
Error: 'NoneType' object has no attribute 'get_user_commands' (AttributeError). More details in logs.

In the logs, the new error message appears:

ERROR | WebInterfaceErrorHandler | Error when displaying page: 'NoneType' object has no attribute 'get_user_commands' (AttributeError)
r0n1nc0d3 commented 2 years ago

Same here, on DO too! And I cannot find start.py anywhere , BTW.

jsidera commented 2 years ago

I just found a workaround to this problem. Using the other host Okteto instead of DO it works perfectly. In case you could consider a change. With a github account it's 5 minutes to sign in and deploy and you are ready to go. Cheers

Herklos commented 2 years ago

Thanks for reporting @jsidera, we will see how to fix DO installation.

XxTopKillerzZ commented 2 years ago

I installed directly with Python and I'm having the same problem