added slack messaging functionality to historical data import
module was not labelled as tradingcore, and signalapp.py had exception when pickling data in turn crashing watchdogbot.py script
, line 415, in _handle_read self._on_data_available(data) File "/usr/local/lib/python3.5/dist-packages/pika/connection.py", line 1347, in _on_data_available self._process_frame(frame_value) File "/usr/local/lib/python3.5/dist-packages/pika/connection.py", line 1427, in _process_frame self._deliver_frame_to_channel(frame_value) File "/usr/local/lib/python3.5/dist-packages/pika/connection.py", line 1028, in _deliver_frame_to_channel return self._channels[value.channel_number]._handle_content_frame(value) File "/usr/local/lib/python3.5/dist-packages/pika/channel.py", line 896, in _handle_content_frame self._on_deliver(*response) File "/usr/local/lib/python3.5/dist-packages/pika/channel.py", line 983, in _on_deliver header_frame.properties, body) File "/var/data/tmqrengine/tradingcore/signalapp.py", line 427, in on_message raise exc File "/var/data/tmqrengine/tradingcore/signalapp.py", line 414, in on_message data_object = MsgBase(pickle.loads(body)) ImportError: No module named 'message_control'
fix to avoid this error was to change module name to tradingcore containing messages.py and signalapplpy
@alexveden is going to add exception checks to prevent system failure in the future
added slack messaging functionality to historical data import module was not labelled as tradingcore, and signalapp.py had exception when pickling data in turn crashing watchdogbot.py script
, line 415, in _handle_read self._on_data_available(data) File "/usr/local/lib/python3.5/dist-packages/pika/connection.py", line 1347, in _on_data_available self._process_frame(frame_value) File "/usr/local/lib/python3.5/dist-packages/pika/connection.py", line 1427, in _process_frame self._deliver_frame_to_channel(frame_value) File "/usr/local/lib/python3.5/dist-packages/pika/connection.py", line 1028, in _deliver_frame_to_channel return self._channels[value.channel_number]._handle_content_frame(value) File "/usr/local/lib/python3.5/dist-packages/pika/channel.py", line 896, in _handle_content_frame self._on_deliver(*response) File "/usr/local/lib/python3.5/dist-packages/pika/channel.py", line 983, in _on_deliver header_frame.properties, body) File "/var/data/tmqrengine/tradingcore/signalapp.py", line 427, in on_message raise exc File "/var/data/tmqrengine/tradingcore/signalapp.py", line 414, in on_message data_object = MsgBase(pickle.loads(body)) ImportError: No module named 'message_control'
fix to avoid this error was to change module name to tradingcore containing messages.py and signalapplpy
@alexveden is going to add exception checks to prevent system failure in the future