[Python-modules-team] Bug#780264: python-pywbem: The package is incompatible to python-m2crypto (0.21.1-3)
Stephan Wienczny
debian at wienczny.de
Wed Mar 11 11:12:16 UTC 2015
Package: python-pywbem
Version: 0.8.0~dev650-1
Severity: important
Tags: upstream
Dear Maintainer,
I'm trying to use a nagios script called check_esxi_hardware.py which uses python-pywbem.
When trying to run the script against our server an exception is thrown:
python2 /usr/local/lib/nagios/plugins/check_esxi_hardware.py -H ... -U ... -P ...
Traceback (most recent call last):
File "/usr/local/lib/nagios/plugins/check_esxi_hardware.py", line 619, in <module>
instance_list = wbemclient.EnumerateInstances(classe)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_operations.py", line 427, in EnumerateInstances
**params)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_operations.py", line 183, in imethodcall
no_verification = self.no_verification)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_http.py", line 281, in wbem_request
h.endheaders()
File "/usr/lib/python2.7/httplib.py", line 997, in endheaders
self._send_output(message_body)
File "/usr/lib/python2.7/httplib.py", line 850, in _send_output
self.send(msg)
File "/usr/lib/python2.7/dist-packages/pywbem/cim_http.py", line 119, in send
self.connect()
File "/usr/lib/python2.7/dist-packages/pywbem/cim_http.py", line 171, in connect
except ( Err.SSLError, SSL.SSLError, SSL.SSLTimeoutError
AttributeError: 'module' object has no attribute 'SSLTimeoutError'
'module' here refers to m2crypto. IMHO this look like an incompatiblity between the versions of
python-m2crypto and python-pywbem.
-- System Information:
Debian Release: 8.0
APT prefers testing-updates
APT policy: (500, 'testing-updates'), (500, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 3.16.0-4-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages python-pywbem depends on:
ii python 2.7.8-4
ii python-epydoc 3.0.1+dfsg-5
ii python-m2crypto 0.21.1-3
ii python-twisted-core 14.0.2-3
ii python-twisted-web 14.0.2-3
python-pywbem recommends no packages.
python-pywbem suggests no packages.
-- no debconf information
More information about the Python-modules-team
mailing list