zhaopuming / quickfast

Automatically exported from code.google.com/p/quickfast
Other
1 stars 0 forks source link

error of "[ERR D9] Unknown template ID:4294967295" #89

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
hello,

I download the latest version of QuickFast,compile it correctly,use 
TutorialApplication to decode source data.
i decode some source data file correctly.
But when decoding one of the source data file,i get a error of"[ERR D9] Unknown 
template ID:4294967295".Then i debug it,find that the beginning byte of this 
message is "00",when the decoder detect a message beginning with "00",it can't 
get a correct template Id and send a error of "[ERR D9] Unknown template 
ID:4294967295", exit.

would anybody please tell me why it happens and what i can do?Are there 
something wrong with the source data?

Thanks a lot!

David

Original issue reported on code.google.com by lzpxjt...@gmail.com on 5 Jul 2011 at 1:17

GoogleCodeExporter commented 9 years ago
Daved,

Please try this with InterpretApplication.

If the first byte of the message (the first byte of the presence map) is '00' 
then it is quite likely that it has not correctly identified the start of the 
message.  This could happen if, for example, there is a non FAST header on the 
message.

Please try this with InterpretApplication rather than Tutorial Application.

Dale

Original comment by dale.wil...@gmail.com on 19 Jul 2011 at 2:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Hello!

I have the same error. 
I get a FAST-message in following format: first 4 bytes is number of message, 
then N bytes of PMAP and last N bytes is a message.
I put template and result files in an attachment.

Thanks a lot!

Evgeny

P.S. Sorry for my bad english.

Original comment by eea...@yandex.ru on 22 Aug 2011 at 3:02

Attachments:

GoogleCodeExporter commented 9 years ago
Hello!

I found a bug in my program. If I discard the first four bytes (unencoded 
message number), then program is working correctly.

Thank you for QuickFAST!

Evgeny

Original comment by eea...@yandex.ru on 23 Aug 2011 at 7:45

GoogleCodeExporter commented 9 years ago
So the lesson learned for QuickFAST users is: If you get an unknown template ID 
error message, check to see if there is a packet or message header that should 
be ignored.

Original comment by dale.wil...@gmail.com on 23 Aug 2011 at 2:05

GoogleCodeExporter commented 9 years ago
I am sorry, but even with comments I cannot find a solution to the problem at 
hand. This is my output:

Record #1  Type: versioninformation  versNo[]=75631360 srcId[]=1 seqNum[]=154878

Record #2 

Record #3  Type: singlelegreferencemessage  timestamp[]=0 srcId[]=55 
seqNum[]=85716 actionType[]=1 cntrId[]=64553175 prodId[]=NDA cntrType[]=OP 
cntrExpMthYr[]=201106 cntrExpDate[]=20110617 cntrExerPrc[]=34 
cntrOrigExerPrc[]=34 cntrVersNo[]=0 cntrGenNo[]=1 cntrSize[]=100 mktDpth[]=3

Decoding error: [ERR D9] Unknown template ID:4294967295

Original comment by tnemar...@gmail.com on 12 Dec 2011 at 9:57

GoogleCodeExporter commented 9 years ago
Run InterpretFast with -? to read about the -h* -p* and -e* options.

Read the documentation from the source of the FAST data to see if there is a 
non-FAST header (sometimes called a preamble) on messages or packets.  If so 
use the -h* or -p* options to describe the input.

If that doesn't help, try using the -e* options to display the data as it is 
being decoded and compare that data to the templates.  

If you still can't find the problem, open a new issue (this issue is closed) 
and include the templates and the output you get when you use the echo options. 
 You can also try asking on the quickfast users mailing list to see if someone 
is processing data from the same source as you are.

Original comment by dale.wil...@gmail.com on 12 Dec 2011 at 10:29