IIRC, the htcondor internals don't distinguish between errors and no matching jobs.
What happens if you do condor_qedit manually?
Sent from my iPhone
On Aug 15, 2013, at 2:07 PM, Andrew Melo <andrew.m.melo@xxxxxxxxxxxxxx> wrote:
> I'm attempting to use the python bindings, and I'm hitting a bit of a flaw. If I do something like this:
> schedd.edit(rootConst, "HoldReason", "\"%s\"" % self.JOB_RESTART_HOLD_REASON)
> but, the constraint doesn't match any jobs, the _expression_ throws:
> RuntimeError: Unable to edit jobs matching constraint
> I can run condor_q -constraint manually on the command line, and running the same line with a slightly different constraint (which matches jobs) works. Am I right to assume that condor is complaining because I told it to edit a null list of jobs? If so, is there a way to change that behavior?
> Andrew Melo
> 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:
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
You can also unsubscribe by visiting
The archives can be found at: