Hi Melo,
IIRC, the htcondor internals don't distinguish between errors and no matching jobs.
What happens if you do condor_qedit manually?
Brian
Sent from my iPhone
> _______________________________________________
On Aug 15, 2013, at 2:07 PM, Andrew Melo <andrew.m.melo@xxxxxxxxxxxxxx> wrote:
> Hello,
>
> 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?
>
> Thanks,
> Andrew
>
> --
> --
> 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
> https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
>
> The archives can be found at:
> https://lists.cs.wisc.edu/archive/htcondor-users/
_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting
https://lists.cs.wisc.edu/mailman/listinfo/htcondor-users
The archives can be found at:
https://lists.cs.wisc.edu/archive/htcondor-users/