error exporting etc >1 run with same name but different wf
If you export or open more than one run where the workflow names are the same but the workflows are different, you get an error:
ptolemy.kernel.util.IllegalActionException: Error building the KAR file: duplicate entry: 00-StatisticalSummary.xml
#1 Updated by Derik Barseghian over 10 years ago
I fixed the workflow duplicate entry error in r21693, but you can still get a ROML duplicate entry error:
Failed to create kar file: Error building the KAR file: duplicate entry: 00-StatisticalSummary_ROML.xml
ptolemy.kernel.util.IllegalActionException: Error building the KAR file: duplicate entry: 00-StatisticalSummary_ROML.xml
1) run a workflow
2) modify workflow, run again
3) using WRM export the two runs to a kar
4) export the two runs again to a different kar
If you unzip the first kar you'll see it doesn't contain a 00-StatisticalSummary_ROML.xml.
#2 Updated by ben leinfelder over 10 years ago
put a change in yesterday that will prevent a "blank" ROML from being serialized. But I can definitey imagine a case where this happens when exporting multiple runs.
We really don't want the 00-Statistical_summary_ROML.xml entry at all when we export runs - it is not tied to any particular run. I'm not sure how we can omit that, however, since the KAREntryHandlers have no knowledge of each other or under what context they are being invoked.
Should the KAR builder continue on even when the dupe error is encountered?