Mailing List Archives
Authenticated access
|
|
|
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [HTCondor-users] Error on expressions that don't match
- Date: Thu, 15 Aug 2013 17:24:28 -0500
- From: Brian Bockelman <bbockelm@xxxxxxxxxxx>
- Subject: Re: [HTCondor-users] Error on expressions that don't match
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/