Opened 20 years ago
Closed 20 years ago
#841 closed defect (fixed)
psLibInit produces errors parsing time configuration file
| Reported by: | Paul Price | Owned by: | jhoblitt |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | types | Version: | unspecified |
| Severity: | normal | Keywords: | |
| Cc: |
Description
#include <stdio.h>
#include <pslib.h>
int main(int argc, char *argv[])
{
psTraceSetLevel(".", 10);
psLibInit("/home/mithrandir/price/local/i686-pc-linux-gnu/etc/pslib/pslib.config");
psLibFinalize();
return 0;
}
Produces:
price@mithrandir:/home/mithrandir/price/temp/bug>./config
Creating 10-element hash table
parseMetadataItem (psMetadataConfig.c:1019) : Failed to parse the value '0, 0,
0, 0' of metadata item @psLib.time.tables.index, type S32, on line 9.
parseMetadataItem (psMetadataConfig.c:1019) : Failed to parse the value
'0.0569, 0.0555, -0.0200, 0.0513, 0.1483' of metadata item
@psLib.time.predict.xp, type F64, on line 23.
parseMetadataItem (psMetadataConfig.c:1019) : Failed to parse the value
'0.3498, -0.0176, -0.0498, 0.1483, -0.0513' of metadata item
@psLib.time.predict.yp, type F64, on line 24.
parseMetadataItem (psMetadataConfig.c:1019) : Failed to parse the value
'-0.4944, -0.00023, 53262.0' of metadata item @psLib.time.predict.dut, type F64,
on line 26.
parseMetadataItem (psMetadataConfig.c:1019) : Failed to parse the value
'-16616.99 2004191742.88 -427219.05 -198620.54 -46.05 5.98' of metadata item
@psLib.eoc.precession.poly.x, type F64, on line 38.
parseMetadataItem (psMetadataConfig.c:1019) : Failed to parse the value
'-6950.78 -25381.99 -22407250.99 1842.28 1113.06 0.99' of metadata item
@psLib.eoc.precession.poly.y, type F64, on line 39.
parseMetadataItem (psMetadataConfig.c:1019) : Failed to parse the value '94.0
3808.35 -119.94 -72574.09 27.70 15.61' of metadata item
@psLib.eoc.precession.poly.s, type F64, on line 40.
psLibInit (psConfigure.c:100) : Failed to initialize psTime.

The problem with with the mdc parser's vector support being broken. This has
already been fixed.