Bug 6172 - Bad error message for "file not found"
: Bad error message for "file not found"
Status: RESOLVED FIXED
: GRAM
wsrf gram clients
: 4.2.0
: Macintosh All
: P3 normal
: 4.2.1
Assigned To:
:
:
:
:
  Show dependency treegraph
 
Reported: 2008-06-19 15:27 by
Modified: 2008-07-16 09:28 (History)


Attachments


Note

You need to log in before you can comment on or make changes to this bug.


Description From 2008-06-19 15:27:54
elephant % globusrun-ws -submit -S -f a.rsl
globusrun-ws: Error loading rsl
globus_soap_message_module: Failed to initialize soap message handle: Failed 
to open XIO handle


I'd expect something like "a.rsl: no such file" or "file not found" or
something.
------- Comment #1 From 2008-07-16 09:28:35 -------
Committed changes to globus_c_ws_messaging to add xio error as a causal error,
and to globus_globusrun_ws to use the system errno-related string from the xio
error to form the error message. For example, the new message for file not
found is

globusrun-ws: Error opening job description file a.rsl: No such file or
directory

This is a 4.2.0 only fix. 4.0.x returned the XIO error directly instead of a
globus_c_ws_messaging-related error object  so that the error message contained
the info (though not as concisely):
globusrun-ws: Error loading rsl
globus_xio: Unable to open file a.rsl
globus_xio: System error in open: No such file or directory
globus_xio: A system call failed: No such file or directory