Re: [Quickfix-developers] QuickFIX Python binding and repeating groups
Brought to you by:
orenmnero
|
From: <or...@qu...> - 2006-08-11 17:43:03
|
> The quickfix44.py that is generated starts with a class NoHops which is > derived from fix.Group. This class is indented, presumably because > groups are usually a part of a containing Message (which does not seem > to be the case here). This is a syntax error in Python and for now I've > manually dedented that class definition to be able to import the file. > What would be the correct fix for this? This was apparently the repeating group from the header that didn't have a home. I've updated the generator so it is not placed in this file anymore. I have checked the fix into the svn repository. > I'm trying to create a MarketDataRequest message which contains > repeating groups. I've attempted to follow the repeating group example > in the documentation, but I get the following traceback: [snip] > I've tried looking around in the source code, but I can't find any > definition of intArray. Is this the correct way to set up a repeating > group? Where is intArray defined? This should be referencing IntArray instead of intArray. This fix has also been checked into svn. > I'm currently doing everything within the callbacks of a class derived > from fix.Application, and using the block method of SocketInitiator, but > when I've tried to use separate threads, I've gotten "Segmentation > Fault" both when using the start method or when trying to create the > threads myself using Python's threading module. What is the correct way > to do this? Can you provide more details? Are you segfaulting immediately? Does it happen over time? --oren |