It's a known bug, with an unknown fix. It's on my to-do list, but I haven't
tracked it down yet.
I'll get to it as soon as I can, but it will probably be a few days or a week.
Sorry!
-alain
At 09:58 AM 4/10/2002 -0500, you wrote:
>When I call TruncateLog on my ClassAdCollection, it has the desired effect of
>condensing all the changes stored in the log file so that each ClassAd has
>only one entry. However, when InitializeFromLog is called the next time my
>program runs, it fails with this CondorErrMsg:
>
>FATAL ERROR: failed when recovering from log file
>/scratch.local/bethenco/v65/src/condor_cluster_tool/transactions.log;
>could not initialize from file
>/scratch.local/bethenco/v65/src/condor_cluster_tool/transactions.log
>
>When I do not use TruncateLog, InitializeFromLog works fine. I have noticed
>that TruncateLog adds a line like this one to the log file:
>
>[ Requirements = true; SubordinateViews = { }; PartitionExprs = { };
>NumMembers = 0; Rank = undefined; PartitionedViews = { }; ParentViewName
>= ""; ViewName = "root"; OpType = 10001 ]
>
>If manually remove this line, InitializeFromLog works again.
>
>Anyone know why this is happening?
>
>Thanks,
>John B
>Condor Classads Info:
>http://www.cs.wisc.edu/condor/classad/
|