[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [HTCondor-users] (no subject)

That did not work...  Is there a way to have the classad verified for job submittal?  Is there a basic classad that I can use to submit a job?  Is it even possible to use a classad for job submission instead of condor submit files?

On Thu, Feb 13, 2014 at 4:12 PM, Brian Bockelman <bbockelm@xxxxxxxxxxx> wrote:
Hi Eric,

Unfortunately, "condor_submit file.classad -dump" does not produce a valid classad as far as the parser is concerned.  There's an extra newline character at the end :(

Try removing the blank line and see if it works.


On Feb 13, 2014, at 8:13 AM, Eric Wojtaszek <wojtase1@xxxxxxxxx> wrote:

This seems like a really simple problem.  For the life of me I can't get the classad.parse() function to work.  I am not confusing classad files with submit files.  I run the condor_submit file.classad -dump to get a classad file.  However when I call:

ad2=classad.parse(open("test_ad", "r"));

like the example says python throw an error...

SyntaxError: Unable to parse string into a ClassAd.

What am I missing?  This seems like it should work out of the box.
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at: