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

Re: [HTCondor-users] Migrating to htcondor2 -> pypi LTS supported version?



I continued testing with the latest 24.11.2 version on pypi and I'm finding
what seem to be bugs when using itemdata.

You're correct; this is a bug, most likely introduced when we added support for the TABLE keyword. We've found the problem have a fix, which should go in by the end of the week. The underlying problem goes back to 24.0.x, but was masked there by other problems in the Python bindings. The fix will solve your problem in the 25.0.x and 25.y releases. HTCONDOR-3272 is the ticket for tracking that more specifically.

To work around the problem -- and this is probably why our regression tests didn't find it -- you can reorder your assignments to the dictionary so that the value with spaces in it appears last:

    ad['MY.MyJobName'] = classad.quote(name)
    ad['Rank'] = '8'
    ad['Arguments'] = '1 2 3'

-- ToddM