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

[HTCondor-users] Submitting a job through Python fails with the error "terminate called after throwing an instance of 'boost::python::error_already_set'"

Good evening all,


I have this odd issue with the Python client for HTCondor. Here is what I am doing:

  1. Creating a custom Docker image from the condor-mini one
    (I need to make some tests running Condor jobs in Docker containers, and this looks like the easiest way to do it)
    Here is the Dockerfile:
    FROM htcondor/mini:9.7-el7
MAINTAINER "gage" gage@xxxxxxxxx
ENV container docker
RUN yum -y update; yum clean all
RUN yum -y install systemd; yum clean all; \
(cd /lib/systemd/system/sysinit.target.wants/; for i in *; do [ $i == systemd-tmpfiles-setup.service ] || rm -f $i; done); \
rm -f /lib/systemd/system/multi-user.target.wants/*;\
rm -f /etc/systemd/system/*.wants/*;\
rm -f /lib/systemd/system/local-fs.target.wants/*; \
rm -f /lib/systemd/system/sockets.target.wants/*udev*; \
rm -f /lib/systemd/system/sockets.target.wants/*initctl*; \
rm -f /lib/systemd/system/basic.target.wants/*;\
rm -f /lib/systemd/system/anaconda.target.wants/*;
VOLUME [ "/sys/fs/cgroup" ]
CMD ["/usr/sbin/init"]
  2. From there I can start my container, install Python 3.8 (minimum requirement for the project I am working on) and Docker
  3. I try to submit a simple job through Python:


As you can see, I get an error "terminate called after throwing an instance of 'boost::python::error_already_set'".

I tried the same code on a local test cluster, and the error does not appear.

Does anyone have an idea of what might be causing it ?




Gaetan Geffroy
Junior Software Engineer, Space

Terma GmbH
Europaarkaden II, Bratustraße 7, 64293 Darmstadt, Germany
T +49 6151 86005 43 (direct)  •  T +49 6151 86005-0
Terma GmbH - Sitz Darmstadt  •  Handelsregister Nr.: HRB 7411, Darmstadt
Geschäftsführer: Poul Vigh / Steen Vejby Sørensen
www.terma.com • 

This e-mail (and attachment(s), if any) - intended for the addressee(s) only - may contain confidential, copyright, or legally privileged information or material, and no one else is authorized to read, print, store, copy, forward, or otherwise use or disclose any part of its contents or attachment(s) in any form. If you have received this e-mail in error, please notify me by telephone or return e-mail, and delete this e-mail and attachment(s). Thank you.