Bug #5683
closed
archiveDataturbineDataToMetacat.kar can fail with an IOException on win7 and XP
Added by Derik Barseghian over 12 years ago.
Updated about 12 years ago.
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)
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.
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.
I included jing's two changes into the branches at r30470 and r30432.
Original Bugzilla ID was 5683
Also available in: Atom
PDF