python attributeError 'SSLTimeoutError' after upgrade
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pywbem (Ubuntu) |
In Progress
|
Medium
|
Unassigned | ||
Trusty |
Confirmed
|
Medium
|
Unassigned | ||
Utopic |
Won't Fix
|
Medium
|
Unassigned | ||
Vivid |
In Progress
|
Medium
|
Unassigned |
Bug Description
Description: Ubuntu 14.04.2 LTS
I use use a nagios script called check_esxi_
After last uBuntu upgrade it stopped working giving the following error:
##########
Traceback (most recent call last):
File "/usr/lib/
instance_list = wbemclient.
File "/usr/lib/
**params)
File "/usr/lib/
no_verification = self.no_
File "/usr/lib/
h.endheaders()
File "/usr/lib/
self.
File "/usr/lib/
self.send(msg)
File "/usr/lib/
self.connect()
File "/usr/lib/
except ( Err.SSLError, SSL.SSLError, SSL.SSLTimeoutError
AttributeError: 'module' object has no attribute 'SSLTimeoutError'
############
- 'module' here refers to m2crypto. This look like an incompatibility between
the versions of python-m2crypto and python-pywbem.
- python-m2crypto did not exist before the upgrade
Here is the comparison of installed python packages, before and after the upgrade, and
$ diff python-
2d1
< ii libfile-
8d6
< rc libpython3.
19a18
> ii python-m2crypto 0.21.1-3ubuntu5 amd64 a crypto and SSL toolkit for Python
21d19
< ii python-newt 0.52.15-2ubuntu5 amd64 NEWT module for Python
27,28c25,26
< ii python-pywbem 0.7.0-4 all Python WBEM Client and Provider Interface
< ii python-requests 2.2.1-1ubuntu0.1 all elegant and simple HTTP library for Python, built for human beings
---
> ii python-pywbem 0.7.0-4ubuntu1~
> ii python-requests 2.2.1-1ubuntu0.2 all elegant and simple HTTP library for Python, built for human beings
51a50
> ii python3-newt 0.52.15-2ubuntu5 amd64 NEWT module for Python3
56,57d54
< rc python3.3 3.3.2-7ubuntu3.1 amd64 Interactive high-level object-oriented language (version 3.3)
< rc python3.3-minimal 3.3.2-7ubuntu3.1 amd64 Minimal subset of the Python language (version 3.3)
affects: | python-defaults (Ubuntu) → pywbem (Ubuntu) |
Changed in pywbem (Ubuntu): | |
status: | Confirmed → In Progress |
Changed in pywbem (Ubuntu): | |
assignee: | Louis Bouchard (louis) → nobody |
Changed in pywbem (Ubuntu Trusty): | |
assignee: | Louis Bouchard (louis) → nobody |
Changed in pywbem (Ubuntu Utopic): | |
assignee: | Louis Bouchard (louis) → nobody |
Changed in pywbem (Ubuntu Vivid): | |
assignee: | Louis Bouchard (louis) → nobody |
Status changed to 'Confirmed' because the bug affects multiple users.