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

Re: [HTCondor-users] HTCondor ClassAd attributes list in python bindings

Ok, i was using condor version 8.2.3 on an OpenSuse 13 platform

I was doing something like:
ad['Environment'] = '"LESSCLOSE=lessclose.sh' '%s' '%s LESS_ADVANCED_PREPROCESSOR=no MAIL=/var/mail/cnr JAVA_ROOT=/usr/lib64/jvm/jre CONDOR_CONFIG=/opt/condor/etc/condor_config FOAM_JOB_DIR=/opt/jobControl CGAL_ARCH_PATH=/opt/ThirdParty-2.3.0/platforms/linux64Gcc/CGAL-4.3 FOAM_APPBIN=/opt/OpenFOAM-2.3.0/platforms/linux64GccDPOpt/bin XNLSPATH=/usr/share/X11/nls NNTPSERVER=news LESSOPEN=lessopen.sh' '%s WM_PROJECT_VERSION=2.3.0 WM_ARCH_OPTION=64"'

2015-03-16 21:06 GMT+01:00 Brian Bockelman <bbockelm@xxxxxxxxxxx>:

On Mar 13, 2015, at 8:04 PM, Alessandro <a.sabellico@xxxxxxxxx> wrote:

I realized that by running command "condor_submit -dump" with a submit file where I set getenv to true. Inside the dump i didn't find any variable "GetEnv", but only the Environment variable set with my env.

So I tried in the python code to set ad['Environment'] = <key>="<value" ... getting the error:

terminate called after throwing an instance of 'boost::python::error_already_set'

Now I tried again setting ad['Env'] as you suggested, but the same error happen! What am i doing wrong?

Hm - that is definitely not supposed to happen! If the python bindings crash, then itâs definitely a bug.

Do you have a simple way to replicate this that you could share? What version of HTCondor?

Thanks in advance,


HTCondor-users mailing list
To unsubscribe, send a message to htcondor-users-request@xxxxxxxxxxx with a
subject: Unsubscribe
You can also unsubscribe by visiting

The archives can be found at:


"I Re, i Signori, i ricchi si sono divisi fra loro la terra inventando due tremende parole, il mio e il tuo, siepe di ferro tra te e i tuoi bisogni. Nessuno ha diritto al superfluo fino a che vi sarà un sol uomo che manchi del necessario"