[Swift-devel] [Bug 181] New: Poor error message for sites.xml syntax error

bugzilla-daemon at mcs.anl.gov bugzilla-daemon at mcs.anl.gov
Fri Mar 6 18:34:07 CST 2009


http://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=181

           Summary: Poor error message for sites.xml syntax error
           Product: Swift
           Version: unspecified
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: minor
          Priority: P4
         Component: SwiftScript language
        AssignedTo: benc at hawaga.org.uk
        ReportedBy: wilde at mcs.anl.gov


A missing / on a /> closing bracket on the <execution> tag below yields a
cryptic (and duplicated) error message:

<config>
<pool handle="teraport" >
  <profile namespace="globus" key="queue">fast</profile>
  <profile namespace="globus" key="maxwalltime">05:00:00</profile>
  <execution provider="pbs" url="none" >
  <gridftp  url="local://localhost" />
  <workdirectory>/home/wilde/swiftwork</workdirectory>
</pool>
</config>

Gives:

Execution failed:
        Could not load file teraport.xml:
com.thoughtworks.xstream.converters.ConversionException:  : end tag name
</pool> must match start tag name <execution> from line 5 (position: TEXT seen
...</workdirectory>\n</pool>... @8:8)  :  : end tag name </pool> must match
start tag name <execution> from line 5 (position: TEXT seen
...</workdirectory>\n</pool>... @8:8)


-- 
Configure bugmail: http://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You reported the bug, or are watching the reporter.



More information about the Swift-devel mailing list