Hello Brain:
I was able to move forward but was stuck again with the following
>>> coll = htcondor.Collector("cycleserver.nbvfx.com")
>>> results = coll.query(htcondor.AdTypes.Startd, "true", ["Name"])
>>> len(results)
14
>>> scheddAd = coll.locate(htcondor.DaemonTypes.Schedd, "cycleserver.nbvfx.com")
>>> scheddAd["ScheddIpAddr"]
'<10.10.10.61:42375>'
>>> schedd = htcondor.Schedd(scheddAd)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
Boost.Python.ArgumentError: Python argument types in
Schedd.__init__(Schedd, ClassAd)
did not match C++ signature:
__init__(_object*, ClassAdWrapper)
__init__(_object*)
Thanks
/Biju
From: "Brian Bockelman" <bbockelm@xxxxxxxxxxx>
To: "HTCondor-Users Mail List" <htcondor-users@xxxxxxxxxxx>
Sent: Monday, July 29, 2013 1:21:25 PM
Subject: Re: [HTCondor-users] python condor integration
Hi Biju,
Back from vacation.
I wasn't able to get a fix committed before 8.0.1, but the workaround is simple. Instead of:
import htcondor
try:
import classad
import htcondor
Thanks,
Brian
_______________________________________________
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/