Hei, my scripts are using the filecatalogue to search for the latest version of gtr files - it works very well for those gtr files with production version 1, but for those of production version 2, I got the following message, and followed by a "core dumped", i.e. --------------------------------- $ bratmain TofTimeOffset_cal.C -P 2 -r 8390 -e 100 --mrs (just for testing, the script is configured with option "-P 1" without any problem) .... connected. adding a file: /brahms/data21//data/run03/dau/200/r8390/gtr/gtr008390seq000v0p2.root adding a file: /brahms/data21//data/run03/dau/200/r8390/gtr/gtr008390seq001v0p2.root adding a file: /brahms/data21//data/run03/dau/200/r8390/gtr/gtr008390seq002v0p2.root adding a file: /brahms/data21//data/run03/dau/200/r8390/gtr/gtr008390seq003v0p2.root adding a file: /brahms/data21//data/run03/dau/200/r8390/gtr/gtr008390seq004v0p2.root adding a file: /brahms/data21//data/run03/dau/200/r8390/gtr/gtr008390seq005v0p2.root adding a file: /brahms/data21//data/run03/dau/200/r8390/gtr/gtr008390seq006v0p2.root adding a file: /brahms/data21//data/run03/dau/200/r8390/gtr/gtr008390seq007v0p2.root adding a file: /brahms/data21//data/run03/dau/200/r8390/gtr/gtr008390seq008v0p2.root Warning in <BrRdbmDb::GetSingle>: Too many or too few matches on query SELECT * FROM ProductionVersion WHERE DataTypeId = 2 and ProductionVerNo = 2 and RunPeriod = 3: 2 *** Break *** segmentation violation Generating stack trace... /usr/bin/addr2line: bratmain: No such file or directory /usr/bin/addr2line: bratmain: No such file or directory 0x0645a98b in BrRdbmFileCatalogsDb::GetProductionVersion(char const*) at /brahms/u/hongyan/work/brat/db/filecatalog/BrRdbmFileCatalogsDb.cxx:352 from /brahms/u/hongyan/usr/lib/libBratDb.so.2 0x0645c114 in BrFileCatalogInfo::Update(int, char const*, int, int) at /opt/brahms/pro/include/root/TString.h:239 from /brahms/u/hongyan/usr/lib/libBratDb.so.2 0x0645b757 in BrFileCatalogManager::Update(int, char const*, int, int) at /brahms/u/hongyan/work/brat/db/filecatalog/BrFileCatalogManager.cxx:163 from /brahms/u/hongyan/usr/lib/libBratDb.so.2 .... Abort (core dumped) ------------------------------------ Have anyone got this problem before? I assume it's the problem with the filecatalogue, or the database for gtr files with new production version are not ready for the filecatalogue yet. If you have a clue about it, please let me know. Thanks a lot for your help in advance, Hongyan P.S. The location for the script which caused the above break is at ~hongyan/brahms_ana/ana/app/calib/tof/timeoffset/TofTimeOffset_cal.C _______________________________________________ Brahms-dev-l mailing list Brahms-dev-l@lists.bnl.gov http://lists.bnl.gov/mailman/listinfo/brahms-dev-lReceived on Wed Nov 30 04:48:18 2005
This archive was generated by hypermail 2.1.8 : Wed Nov 30 2005 - 04:48:31 EST