I upgraded my system from 4.0.3 to 4.0.4 and in doing so, among other issues, received this error:
1 Traceback (most recent call last):
2 File "/usr/bin/opsi-admin", line 45, in <module>
3 from OPSI.Backend.BackendManager import *
4 File "/usr/lib/python2.6/site-packages/OPSI/Backend/BackendManager.py", line 55, in <module>
5 from OPSI.Backend.Backend import *
6 File "/usr/lib/python2.6/site-packages/OPSI/Backend/Backend.py", line 46, in <module>
7 from twisted.conch.ssh import keys
8 File "/usr/lib64/python2.6/site-packages/twisted/conch/ssh/keys.py", line 20, in <module>
9 from pyasn1.type import univ
10 ImportError: No module named pyasn1.type
The server is running CentOS 6. I corrected the problem by installing the python-pyasn1 package
Code: Alles auswählen
yum install python-pyasn1
Stephen