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

Re: [HTCondor-users] htcondor v8.9.5 python question, Debian-install

It looks like something is wrong here. I can say that the latest packages don't work for me either. I'll created a ticket to track this issue:



On 2/7/20 11:02 AM, Shawn Kwang wrote:
I recently upgraded the Debian-package for htcondor to v8.9.5.
When I tried to interactively load the htcondor python module, and use
Colelctor(), I get an error, example:

$ python3
Python 3.5.3 (default, Sep 27 2018, 17:25:39)
[GCC 6.3.0 20170516] on linux
Type "help", "copyright", "credits" or "license" for more information.
import htcondor
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
AttributeError: module 'htcondor' has no attribute 'Collector'

When I run the same commands on a Centos 7 system, also v8.9.5, the
htcondor.Collector() call returns a python object as expected.

My question: What is the cause of this problem in htcondor v8.9.5 on
Debian? The above behavior does not occur in htcondor v8.9.4 (also Debian).

When I inspect the files inside the htcondor .deb file, I see that paths
apt installs the python htcondor bindings/class into (this is for python3)


I compared the Debian htcondor package between v8.9.4 and v8.9.5. In
v8.9.4 the files are installed in /usr/lib/python3/dist-packages/htcondor/.

While in v8.9.5, there is some content in
/usr/lib/python3/dist-packages/htcondor/, there is additional files
installed in /usr/lib/python3/dist-packages/usr/bin/htcondor/.

Please see the attached text file for a more detail file list from the
two .deb packages. Is the above path difference a clue (or a red-herring)?

Thank in advance.

Tim Theisen
Release Manager
HTCondor & Open Science Grid
Center for High Throughput Computing
Department of Computer Sciences
University of Wisconsin - Madison
4261 Computer Sciences and Statistics
1210 W Dayton St
Madison, WI 53706-1685
+1 608 265 5736