[kepler-dev] [Bug 5435] passing string into a parameter for headless execution doesn't work

bugzilla-daemon at ecoinformatics.org bugzilla-daemon at ecoinformatics.org
Thu Jun 30 16:36:47 PDT 2011


http://bugzilla.ecoinformatics.org/show_bug.cgi?id=5435

Daniel Crawl <crawl at sdsc.edu> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |crawl at sdsc.edu

--- Comment #1 from Daniel Crawl <crawl at sdsc.edu> 2011-06-30 16:36:47 PDT ---
This also happens when trying to run from Ptolemy:

# $PTII/bin/ptolemy -x "xxx" ptparamx.xml
Change failed: <property name="x" value="xxx"/>
ptolemy.kernel.util.IllegalActionException: Error evaluating expression: xxx
  in .paramx.x
Because:
The ID xxx is undefined.
-------------- and --------------
Error evaluating expression: x
  in .paramx.Constant.value
Because:
Error evaluating expression: xxx
  in .paramx.x
Because:
The ID xxx is undefined.

Looks like the value is not treated as a string, but the name of another
parameter. I could not figure out how to escape it. 

I'm attaching ptparamx.xml, which works in Ptolemy.

-- 
Configure bugmail: http://bugzilla.ecoinformatics.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the Kepler-dev mailing list