Ha! That's it. Sorry for the spam. /Pelle On Aug 22, 2012, at 1:16 PM, Sho Uemura wrote: > You forgot the -x in front of the steering file, so TestRunEvioToLcio is > trying to parse the .lcsim file as an EVIO file, and boom. > > On Wed, 22 Aug 2012, McCormick, Jeremy I. wrote: > >> Perhaps related to new EVIO snapshot which had a one line fix. Sho patched it. Not sure why it would do this though. >> >> On Aug 22, 2012, at 12:09 PM, "Hansson Adrian, Per Ola" <[log in to unmask]> wrote: >> >>> Oh, I forgot to say it crashes for data too. >>> >>> It's weird, but this worked yesterday and I don't know what changed. It's also weird that it says it's opening the steering file again at the bottom or is that some delayed exception handling issue? >>> >>> Could it be that there is some forbidden characters in my steering file? I tried a different one and still the same thing and also one without any drivers so it looks like a problem reading the evio but I don't thing the TestRunEvioToLcio class changed? >>> >>> /Pelle >>> >>> On Aug 22, 2012, at 11:50 AM, Hansson Adrian, Per Ola wrote: >>> >>>> Hey, >>>> >>>> I see a new feature now where it crashes after running through all MC events in a evio file. It happens for an old evio and new evio (as of yesterday). >>>> >>>> After starting "normally" it ends with: >>>> >>>>>> Event 2146 >>>> No trigger bank found >>>>>> Event 2147 >>>> Last physics event time: 0 - Wed Dec 31 16:00:00 PST 1969 >>>> Opening file /Users/phansson/work/HPS/software/reco/hps-java/src/main/resources/org/lcsim/hps/steering/MultScatAna.lcsim >>>> ERROR reread magic # (1865298807) & still not right >>>> Exception in thread "main" java.lang.RuntimeException: java.io.IOException: Failed reading first event >>>> at org.lcsim.hps.evio.TestRunEvioToLcio.main(TestRunEvioToLcio.java:183) >>>> Caused by: java.io.IOException: Failed reading first event >>>> at org.jlab.coda.jevio.EvioReader.<init>(EvioReader.java:187) >>>> at org.lcsim.hps.evio.TestRunEvioToLcio.main(TestRunEvioToLcio.java:181) >>>> Caused by: org.jlab.coda.jevio.EvioException: Failed reading block header in nextEvent. >>>> at org.jlab.coda.jevio.EvioReader.nextEvent(EvioReader.java:540) >>>> at org.jlab.coda.jevio.EvioReader.<init>(EvioReader.java:184) >>>> ... 1 more >>>> >>>> >>>> Not sure what this means. It looks like it's failing on reading next header but should it given that it's the last event? Also there is reference to a "magic #"?. >>>> >>>> >>>> You can try it by (updating to cvs head) and running : >>>> >>>> java -cp ../hps-java/target/hps-java-1.2-SNAPSHOT-bin.jar org.lcsim.hps.evio.TestRunEvioToLcio ../data/mc/egs_5.5gev_0.016x0_500mb_90na_HPS-TestRun-v2/egs_5.5gev_0.016x0_500mb_90na_02_HPS-TestRun-v2_filtered250.evio /Users/phansson/work/HPS/software/reco/hps-java/src/main/resources/org/lcsim/hps/steering/MultScatAna.lcsim >>>> >>>> where the mc file can be found at: >>>> /nfs/slac/g/hps/hps_data/evio/testrun/simulation/egs_5.5gev_0.016x0_500mb_90na_HPS-TestRun-v2 >>>> >>>> Any ideas on what changed? >>>> >>>> /Pelle >>> >> >> ######################################################################## >> Use REPLY-ALL to reply to list >> >> To unsubscribe from the HPS-SOFTWARE list, click the following link: >> https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1 >> ######################################################################## Use REPLY-ALL to reply to list To unsubscribe from the HPS-SOFTWARE list, click the following link: https://listserv.slac.stanford.edu/cgi-bin/wa?SUBED1=HPS-SOFTWARE&A=1