[Gelöst][ValueError] Unterminated string starting at: line 1 column 2 (char 1)
Verfasst: 18 Okt 2018, 15:53
Hallo,
ich habe das Problem das wenn ich "Opsi Config Editor" start der mir mit folgender Fehlermeldung kommt.
Nach ein wenig Recherche bin ich auf den befehl "opsi-setup --cleanup-backend" gestosen, der wirft mir folgenden raus:
Letzte Grüne Zeile:
Wenn ich im "OPSI Config Editor" / "Server-Konfiguration" Reload klicke kommt die selbe Fehlermeldung wie oben, und die liste bleibt leer. Es werden auch keine Rechner angezeigt.
Hat jemand eine Idee woran das liegen kann?
MFG Alexander
ich habe das Problem das wenn ich "Opsi Config Editor" start der mir mit folgender Fehlermeldung kommt.
Code: Alles auswählen
Okt 18 15:53:28.341 2018 -- Opsi service error: [ValueError] Unterminated string starting at: line 1 column 2 (char 1)
Okt 18 15:53:28.341 2018 -- JSONReMapper: Exception on reproducing null, java.lang.NullPointerException
Letzte Grüne Zeile:
Code: Alles auswählen
[5] [Oct 18 16:42:58] Cleaning up config states (CleanupBackend.py|220)
Code: Alles auswählen
[2] [Oct 18 15:42:39] Traceback: (Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/bin/opsi-setup", line 1242, in <module>
main()
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/bin/opsi-setup", line 1220, in main
cleanupBackend()
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/dist-packages/OPSI/Util/Task/CleanupBackend.py", line 221, in cleanupBackend
cleanUpConfigStates(backend)
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/dist-packages/OPSI/Util/Task/CleanupBackend.py", line 421, in cleanUpConfigStates
for configState in backend.configState_getObjects():
(Logger.py|798)
[2] [Oct 18 15:42:39] File "<string>", line 1, in configState_getObjects
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/Backend.py", line 522, in _executeMethod
return meth(**kwargs)
(Logger.py|798)
[2] [Oct 18 15:42:39] File "<string>", line 1, in configState_getObjects
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/Backend.py", line 522, in _executeMethod
return meth(**kwargs)
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/Backend.py", line 2477, in configState_getObjects
for config in self._backend.config_getObjects(id=filter.get('configId')):
(Logger.py|798)
[2] [Oct 18 15:42:39] File "<string>", line 1, in config_getObjects
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/BackendManager.py", line 437, in _dispatchMethod
res = meth(**kwargs)
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/File.py", line 1295, in config_getObjects
return self._read('Config', attributes, **filter)
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/dist-packages/OPSI/Backend/File.py", line 834, in _read
value = fromJson(value)
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/dist-packages/OPSI/Util/__init__.py", line 179, in fromJson
obj = json.loads(obj)
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/json/__init__.py", line 339, in loads
return _default_decoder.decode(s)
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/json/decoder.py", line 364, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
(Logger.py|798)
[2] [Oct 18 15:42:39] File "/usr/lib/python2.7/json/decoder.py", line 380, in raw_decode
obj, end = self.scan_once(s, idx)
(Logger.py|798)
[2] [Oct 18 15:42:39] ==>>> Unterminated string starting at: line 1 column 2 (char 1) (opsi-setup|1246)
ERROR: Unterminated string starting at: line 1 column 2 (char 1)
Hat jemand eine Idee woran das liegen kann?
MFG Alexander