Seite 1 von 1

Missing Python ASN.1 Library

Verfasst: 22 Apr 2014, 21:45
von lloydsystems
Hi,

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
but this should obviously be a required package by some opsi component.

Stephen

Re: Missing Python ASN.1 Library

Verfasst: 24 Apr 2014, 23:18
von SisterOfMercy
Hi,

This was mentioned in the release notes:
viewtopic.php?p=25945#p25945