Project

General

Profile

Actions

Bug #5683

closed

archiveDataturbineDataToMetacat.kar can fail with an IOException on win7 and XP

Added by Derik Barseghian over 12 years ago. Updated over 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
sensor-view
Target version:
Start date:
08/17/2012
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
5683

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)

Actions #1

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.

Actions #2

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.

Actions #3

Updated by Derik Barseghian over 12 years ago

Moving to 1.x.y target.

Actions #4

Updated by Derik Barseghian over 12 years ago

I included jing's two changes into the branches at r30470 and r30432.

Actions #5

Updated by Redmine Admin over 11 years ago

Original Bugzilla ID was 5683

Actions

Also available in: Atom PDF