[torquedev] Bug: Torque can't handle email addresses with apostrophes in

Chris Samuel csamuel at vpac.org
Wed Dec 10 23:24:23 MST 2008


Hi all,

Just come across an "interesting" bug in Torque.

A user who has an email address with an apostrophe (')
in it was trying to submit jobs and getting the following
rather cryptic error:

$ qsub test.sh
qsub: unmatched

This is because Torque constructs a fake command line
from all the #PBS lines in your script.  It then parses
the list to check you don't have any unmatched quotes
in it and throws that error..

Problem is that ' is perfectly legal in an email address.

I've tried escaping the ' as \' and jobs get submitted,
but then the emails to the user that they've requested
never get sent or received.
-- 
Christopher Samuel - (03) 9925 4751 - Systems Manager
 The Victorian Partnership for Advanced Computing
 P.O. Box 201, Carlton South, VIC 3053, Australia
VPAC is a not-for-profit Registered Research Agency


More information about the torquedev mailing list