*Gelöst*OPSI-PKG

Antworten
Jan Fr.
Beiträge: 1
Registriert: 30 Okt 2013, 10:46

*Gelöst*OPSI-PKG

Beitrag von Jan Fr. »

Moin!

ich habe folgendes Problem mit den shell-script "opsi-pkg".
Wenn ich eine Abfrage starte wie zum Beispiel:

opsi-pkg -l -h
opsi-pkg -l -hg
opsi-pkg -l -h --ping

Bekomme ich immer wieder die selbe Fehlermeldung.

Traceback (most recent call last):
File "/usr/local/bin/opsi-pkg", line 1207, in <module>
printHosts()
File "/usr/local/bin/opsi-pkg", line 266, in printHosts
printHostRow(k)
File "/usr/local/bin/opsi-pkg", line 258, in printHostRow
print ''.ljust(pad) + hostStr + ip.ljust(15) + upStr + lastSeenStr + str(mac)
AttributeError: 'NoneType' object has no attribute 'ljust'

Dazu ist noch zu sagen bevor die Fehlermeldung kommt zeigt er mir 10 Clients an.

Ich kann mir daraus keinen Reim machen, es wäre schön, wenn jemand hier im Forum eine Lösung für mein Problem hätte.

Grüße

Jan Fr.
Antworten