Login Page - Create Account

Support Board


Date/Time: Sun, 05 May 2024 22:50:33 +0000



Post From: DTC Decode error on one message only using same decode function. Google protocol buffers.

[2018-04-25 03:29:10]
enemyspy - Posts: 304
I used the v3 library which installs by default using pip install for python 3.5 on linux ubuntu, and using the v2 .proto as you suggested. It does not make sense to me either. I don't want you take a bunch of time trying to sort this out when it is mostly likely going to turn out to be on my side. I will triple check to make sure that both the compiler and library are both version 3.

Sending the unsolicited security defs directly after the logon response and indicating that the security defs are not supported in the login response seems to be a suitable work around. However it would be a nice feature if Update Global Symbol Settings button in sierra chart global symbol settings could optionally call the DTC SERVICE instead of Sierra Chart servers. This make it so that a batch sercurity def update can be sent only when it is specifically requested, instead of everytime the client connects. That is not a huge deal though.

If I find any fixes I will post them here, in case someone in the future runs into this with python.
Date Time Of Last Edit: 2018-04-25 03:50:14