[ts-gen] Re: The Shim as a data recorder?
R P Herrold
herrold at owlriver.com
Mon Oct 30 22:44:18 EST 2006
On Mon, 30 Oct 2006, an anonymous inquirant wrote:
> Was able to get it to compile correctly by editting the makefile to use
> gcc-3.4 (instead of the default 4.0.x), but ./shim --tick (and --exec) both
> result in"
>
> terminate called after throwing an instance of
> 'TradingShimDaemon1_0::TradingException::stale_server_version'
> Aborted
>
> I'm not entirely sure what "stale server version" means. The TWS I'm
> running is the latest, and mysql --version returns:
The message comes from: src/init.c and relates to some start
up handshaking between the TWs and the shim, as to downstream
shim and upstream TWS server versions used. IB makes some
changes from time to time, amending these versions to permit
them to add functions, and yet not break earlier third-party
code releases, to some extent.
As I recall, we were working on this version checking (which
is part of the initialization handshake) code rather intensely
last week. It is looking at the TWS version in this case. I
assume you are using something in the 862.X series, and we
expressly moved to support the latest TWS in our efforts last
week.
We have an unannounced version up which is almost certainly
later than what you were testing with, and which should
address 'stale version' messages at
ftp://ftp.trading-shim.org/pub/local/trading-shim/
Relevant NEWS ( http://www.trading-shim.org/capitals/?NEWS )
is:
date: Thu Oct 26 2006
* Port shim to tws 862.9, breaking, for now, backward compatability
with the previous development platform, 855.5
* Fix intermittent but fatal handshake problem; please
consider upgrade
We anticipate formally announcing a slightly later pushed
version, with some extensions on the order management function
rolled in tomorrow.
> mysql Ver 14.12 Distrib 5.0.22, for pc-linux-gnu (i486) using readline 5.1
>
> This is the latest offered by Ubuntu and should be sufficient.
inded it should work fine.
> The non-real options (--unit, --dump, etc.) all appear to work without
> error. The mysql client and server are running on the same machine, if that
> makes any difference.
Thanks for the comment. As I say, the version shim-061026.tgz
has the fix you should need to permit running with the latest
TWS.
-- Russ Herrold
More information about the ts-general
mailing list