Print

Print


Luca,

I think you are referencing an old calibration driver from before the code
reorganization. My steering file uses
"org.hps.conditions.deprecated.CalibrationDriver" instead. Maybe switching
it to this would help?

Also, I think that the "-r" command is used to refer to a steering file
that is stored internally in the jar (r stands for resource, I think).

- Kyle


On Thu, Apr 17, 2014 at 11:09 AM, Luca Colaneri <[log in to unmask]
> wrote:

> Thanks Sho.
> Now it gives another error, see attachment.
>
> Anyway, just to be clear, when should I use the -r flag?
>
> L.
>
>
> Il 17/04/2014 16:47, Sho Uemura ha scritto:
>
>  Looks like you are actually doing "-r /home/Luca/path/to/steering/file"
>> which will not work. Don't use "-r" if you're using a file path to the
>> steering file.
>>
>> In more detail:
>> "-r /org/hps/steering/readout/HPS2014ReadoutToLcio.lcsim" works because
>> that's a resource path - it specifies a file that's compiled into the .jar.
>>
>> "/home/Luca/.../org/hps/steering/readout/HPS2014ReadoutToLcio.lcsim"
>> works because that's a file path.
>>
>> On Thu, 17 Apr 2014, Luca Colaneri wrote:
>>
>>  Hello,
>>>
>>> after last crashed I reinstalled from scratch , the build was ok. To
>>> test I tried
>>>
>>> java -jar hps-distribution.jar -r /org/hps/steering/readout/HPS2014ReadoutToLcio.lcsim
>>> -i in.slcio -DoutputFile=readout
>>>
>>> (I've used the right pat to the right files, of course) using a file
>>> downloaded here (http://www.slac.stanford.edu/
>>> ~meeg/hps2/hps_data/lcio/prop-v3/e2.2gev/beam/)
>>>
>>> and i got the error you can see in the attached screenshot.
>>>
>>> Don't know what to do....Any suggestion?
>>>
>>> Many thanks
>>>
>>> L.
>>>
>>>
>>> ########################################################################
>>> 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
>

########################################################################
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