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

Chris Samuel csamuel at vpac.org
Wed Dec 2 15:46:30 MST 2009


I've just entered this bug into bugzilla here:

 http://www.clusterresources.com/bugzilla/show_bug.cgi?id=38

Be really nice if we could get Torque to handle
legal email addresses correctly.. :-(

cheers,
Chris

----- Forwarded Message -----
From: "Chris Samuel" <csamuel at vpac.org>
To: "torqueusers" <torqueusers at supercluster.org>
Cc: "torquedev" <torquedev at supercluster.org>
Sent: Thursday, 11 December, 2008 5:24:23 PM GMT +10:00 Canberra / Melbourne / Sydney
Subject: [torquedev] Bug: Torque can't handle email addresses with apostrophes in

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
_______________________________________________
torquedev mailing list
torquedev at supercluster.org
http://www.supercluster.org/mailman/listinfo/torquedev

-- 
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