Linear Collider Forum



Home » Software Tools » LCIO » LCWriter error when inputfile and outpufile only differ in "_" changed to "."
Re: LCWriter error when inputfile and outpufile only differ in "_" changed to "." [message #1732 is a reply to message #1731] Fri, 24 April 2009 03:00 Go to previous messageGo to previous message
samson
Messages: 13
Registered: March 2006
Location: DESY, Hamburg
Hi Ralf,
the problem you are describing is related to this bug
http://bugs.freehep.org/browse/LCIO-60 which I reported one year ago. (Actually it is the same bug). The reason for this bug is that in LCIO every (SIO-)data-stream needs an unique identifier (without '.' characters) which (in the current LCIO implementation) only is derived from the file-name. In your case these identifiers for both of your files are the same and SIO (the low level data format for slcio) complains about the "duplicate stream name".
As described in the bug report. The same problem occurs if you want to open two different LCIO streams from the same file. In this case the problem is not that ease to avoid.

Cheers, J.
 
Read Message
Read Message
Read Message
Read Message yes.gif
Previous Topic:Problem using files with Cluster and CalorimeterHit collections
Next Topic:schema evolution with LCGenericObject
Goto Forum:
  


Current Time: Fri Oct 19 17:47:11 Pacific Daylight Time 2018
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.1.
Copyright ©2001-2010 FUDforum Bulletin Board Software