Bug #5683
closedarchiveDataturbineDataToMetacat.kar can fail with an IOException on win7 and XP
0%
Description
When trying to run the archival workflow on win7, I got this error. Jing got it today in XP.
ptolemy.kernel.util.IllegalActionException: Error: java.io.IOException: The filename, directory name, or volume label syntax is incorrect
in .archiveDataturbineDataToMetacat.GenerateEMLAndDataFile.CreateDataSets
at org.kepler.actors.CreateDataSets.createFile(CreateDataSets.java:325)
at org.kepler.actors.CreateDataSets.fire(CreateDataSets.java:234)
at ptolemy.actor.process.ProcessThread.run(ProcessThread.java:229)
Updated by Jing Tao over 12 years ago
The temporary file name contains ":". So windows doesn't like it. I substituted ":" by"_". I tested on both mac and windows. They worked. I will leave Derik to test it again. If it worked for him. We can close the bug.
Updated by Derik Barseghian over 12 years ago
Ok, I was able to run the workflow in win7 with this change, and datasets were archived.
I did see a complaint from the DT actor which makes me uneasy though:
[run] ERROR (org.kepler.data.datasource.dataturbine.DataTurbine:outputNils:1503) DataTurbine actor: exception trying to sendout port 0ptolemy.kernel.util.IllegalActionException: Conversion is no
t supported from ptolemy.data.RecordToken '{data = {nil}, timestamps = {nil}}' to the type string.
[run] EcogridUtils: The time to create instance is =========== 0
[run] AuthenticationServiceClient.login_action - return string: 75D9E273AF5C1ADAE0AE4896FC1B26B5
This change needs to be merged into the branch before closing bug.
Updated by Derik Barseghian about 12 years ago
I included jing's two changes into the branches at r30470 and r30432.