[Swift-devel] Re: [Bug 183] Print better error message when app executable is not found

Jonathan Monette jonmon at utexas.edu
Wed Jun 15 12:04:28 CDT 2011


In ~jonmon/test there is a script that reproduces this error I believe.  The executable it is trying to use is in ~jonmon.  The tc.data file points to ~jonmon/Library/hello.sh  You should be able to run the script there in the directory.  If not you can copy the files to yours and try it.

On Jun 15, 2011, at 12:01 PM, Sarah Kenny wrote:

> yeah, if you're able to reproduce david that might be helpful. i get the same behavior with the stable release and trunk. i also get the correct error if i simply don't have execute permission on the executable. 
> 
> On Wed, Jun 15, 2011 at 9:37 AM, David Kelly <davidkelly999 at gmail.com> wrote:
> Sarah,
> 
> I saw this error when I copied configuration files from one machine to another. The application I was trying to run was in my home directory, but I was logged in under a username so the path did not exist. The error message I got was too vague to understand why my script failed - it was just something like "Job failed with an exit code of 254". It didn't say which job, or what that meant. I thought it was something related to the scheduler I was trying to use. I have only tested this with 0.92.1. I did not try it on trunk, so maybe this has already been fixed. I will try it again today to see if I can reproduce it.
> 
> David
> 
> 
> 
> On Wed, Jun 15, 2011 at 1:05 AM, Sarah Kenny <skenny at uchicago.edu> wrote:
> hey david, i've been trying to replicate this bug, but when i deliberately point to an executable that doesn't exist i get what seems to be an appropriate error:
> 
> The executable /bin/echoo does not exist
> 
> i got this on a couple of sites...can you give a little more info on what was happening with your workflow? could be i'm misunderstanding the bug. 
> 
> ~sk 
> 
> On Fri, Jun 10, 2011 at 9:31 PM, <bugzilla-daemon at mcs.anl.gov> wrote:
> https://bugzilla.mcs.anl.gov/swift/show_bug.cgi?id=183
> 
> 
> David Kelly <davidkelly999 at gmail.com> changed:
> 
>           What    |Removed                     |Added
> ----------------------------------------------------------------------------
>                 CC|                            |davidkelly999 at gmail.com
>          Component|SwiftScript language        |error messages
>         AssignedTo|benc at hawaga.org.uk          |skenny at uchicago.edu
> 
> 
> 
> 
> --- Comment #1 from David Kelly <davidkelly999 at gmail.com>  2011-06-10 23:32:22 ---
> This one gets my vote.. I just wasted a bunch of time trying to figure out what
> this error meant and why I was getting it.
> 
> --
> Configure bugmail: https://bugzilla.mcs.anl.gov/swift/userprefs.cgi?tab=email
> ------- You are receiving this mail because: -------
> You are the assignee for the bug.
> 
> 
> 
> _______________________________________________
> Swift-devel mailing list
> Swift-devel at ci.uchicago.edu
> http://mail.ci.uchicago.edu/mailman/listinfo/swift-devel

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.mcs.anl.gov/pipermail/swift-devel/attachments/20110615/f066fe88/attachment.html>


More information about the Swift-devel mailing list