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

Re: [HTCondor-users] htcondor2 Submit.itemdata error?



Hello David,

The htcondor2 Python bindings in 24.x and 25.0 are supposed to be identical (but they diverged a little). They'll be back in sync with the next release. We have already fixed the defect the you just reported. Take a look at our work-in-progress documentation: https://htcondor.readthedocs.io/en/main/version-history/feature-versions-24-x.html#version-24-12-14

If it would be helpful for you, I can put a beta version of either 24.12.14 or 25.0.3 in PyPI for you give it a try. The general release is currently scheduled for November 13 (provided the testing goes well).

...Tim

On 10/24/25 15:24, David Schultz wrote:
Hi All,

In switching pybindingsÂfrom htcondor to htcondor2, I noticed a weird issue with Submit.itemdata().

With a basic python file like:

import htcondor2 as htcondor
s = htcondor.Submit("""
executable = /usr/bin/sleep
arguments = $(b)
+extra_arg = $(a)
queue a,b from (
 "test",123
)
""")
print(list(s.itemdata()))

Using the old htcondor pybinding fromÂ24.12.13 it prints
[{'a': '"test"', 'b': '123'}]

But with htcondor2 from 25.2.1, it instead prints
[{'a': '"', 'b': 't'}]

Somehow, Submit.itemdata() is now iterating by character instead of by classad item.

Anyone have any ideas?

Best,
David


_______________________________________________
HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe

The archives can be found at: https://www-auth.cs.wisc.edu/lists/htcondor-users/

--
Tim Theisen (he, him, his)
Release Manager
Center for High Throughput Computing
University of Wisconsin - Madison
3695 Morgridge Hall
1205 University Ave
Madison, WI 53706