Hardware-Informationen unvollständig

Antworten
vitality
Beiträge: 14
Registriert: 03 Jul 2008, 07:49

Hardware-Informationen unvollständig

Beitrag von vitality »

Hallo zusammen,

ich habe das Problem das beim Ausführen von hwaudit nicht alle Hardware-Daten zum MySQL-Backend übertragen werden können. Teilweise wird nur die Audiokarte und teilweise nur Audiokarte, Floppylaufwerk, Speicher-Modul, Tastatur übertragen.

Im Instlog stehen jedoch alle Informationen drin:

Code: Alles auswählen

...
"USB_DEVICE" : 
                            [ 
                                      { 
                                      "status" : "OK",
                                      "vendorId" : "",
                                      "interfaceSubClass" : "",
                                      "vendor" : "(Standard-USB-Hostcontroller)",
                                      "name" : "USB-Root-Hub",
                                      "serialNumber" : "",
                                      "deviceId" : "",
                                      "interfaceClass" : "usbhub",
                                      "model" : "USB-Root-Hub",
                                      "usbRelease" : "",
                                      "interfaceProtocol" : "",
                                      "maxPower" : "",
                                      "description" : "USB-Root-Hub"
                                      }
                            ],
"BASE_BOARD" : 
                            [ 
                                      { 
                                      "product" : "440BX Desktop Reference Platform",
                                      "vendor" : "Intel Corporation",
                                      "name" : "440BX Desktop Reference Platform",
                                      "serialNumber" : "None",
                                      "model" : null,
                                      "description" : "Hauptplatine"
                                      }
                            ],
...
Der Traceback am Ende sieht wie folgt aus:

Code: Alles auswählen

Traceback (most recent call last):
                    File "c:\tmp\_winstbat_.bat", line 751, in <module>
                      main(sys.argv[1:])
                    File "c:\tmp\_winstbat_.bat", line 745, in main
                      backend.setHardwareInformation(USERNAME, values)
                    File "<string>", line 1, in setHardwareInformation
                    File "P:\install\hwaudit\OPSI\Backend\JSONRPC.py", line 220, in _jsonRPC
                      raise Exception( json.read(response).get('error') )
                  Exception: 'ascii' codec can't decode byte 0xc3 in position 7: ordinal not in range(128)
Vielen Dank schonmal für eure Hilfe.
vitality
vitality
Beiträge: 14
Registriert: 03 Jul 2008, 07:49

Re: Hardware-Informationen unvollständig

Beitrag von vitality »

Update:

Habe das Problem eingrenzen können. Es tritt seit dem Update auf Ubuntu 10.04 auf, wahrscheinlich hat sich etwas an der Python Version geändert.

Das Problem liegt wie an "Prozessor-zu-PCI-Br++cke" zu sehen an der Zeichenkodierung. Wenn man aus der Datei /etc/opsi/hwaudit/opsihwaudit.conf die problematischen Hardware entfernt, funktioniert es.

Code: Alles auswählen

"PCI_DEVICE" : 
                            [ 
                                      { 
                                      "vendorId" : "8086",
                                      "vendor" : "Intel",
                                      "name" : "Intel 82443BX Pentium(R) II Prozessor-zu-PCI-Br++cke",
                                      "serialNumber" : "",
                                      "subsystemDeviceId" : "0000",
                                      "subsystemVendorId" : "0000",
                                      "deviceType" : "PCI",
                                      "deviceId" : "7190",
                                      "busId" : "",
                                      "model" : "",
                                      "revision" : "01",
                                      "description" : "Intel 82443BX Pentium(R) II Prozessor-zu-PCI-Br++cke"
                                      },
COMaction
Beiträge: 130
Registriert: 10 Aug 2009, 19:33

Re: Hardware-Informationen unvollständig

Beitrag von COMaction »

Morgen,

Laut Installationshandbuch 13.1.3.1 wird Ubuntu Jaunty nicht unterstützt. Da das die Vorgängerversion von Ubuntu 10 .04 ist, kann ich mir nicht vorstellen, dass OPSI die neuste Ubuntu Version unterstützt.

Gruß
Michael
Antworten