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

[HTCondor-users] Python query: boost error



Hi,

 

I’m seeing a boost error when trying to run a query:

 

import classad

import htcondor

coll = htcondor.Collector()

coll.query(htcondor.AdTypes.Schedd, 'true', ['Name'])

 

----> 1 coll.query(htcondor.AdTypes.Schedd, 'true', ['Name'])

/usr/lib64/python3.6/site-packages/htcondor/_lock.py in wrapper(*args, **kwargs)

     67             acquired = LOCK.acquire()

     68

---> 69             rv = func(*args, **kwargs)

     70

     71             # if the function returned a context manager,

 

TypeError: No to_python (by-value) converter found for C++ type: boost::shared_ptr<ClassAdWrapper>

 

 

Apparently this was introduced by a breaking change in boost v1.60, but I’ve tried installing various versions of boost, older and newer than this and are getting the same issue.  Classad is v0.4.1 and htcondor is v9.3.0.  I installed using pip install htcondor

 

Any ideas?  Many thanks,

Brendan