After enable plugin mydashboard - python script crashes (JSON)
chammachamma opened this issue · 1 comments
Hi!
After I enable mydashboard one of my python scripts stops working. with the following message:
Traceback (most recent call last):
File "open_tickets.py", line 133, in
manager.call()
File "open_tickets.py", line 123, in call
self.executar()
File "open_tickets.py", line 97, in executar
if int(arquivo['id'].split('_')[0]) > 44733 and self.verificar_se_o_ticket_pode_ser_criado(arquivo['caminho']) == 0:
File "open_tickets.py", line 69, in verificar_se_o_ticket_pode_ser_criado
content = json.loads(response.content)
File "/usr/lib64/python2.7/json/init.py", line 338, in loads
return _default_decoder.decode(s)
File "/usr/lib64/python2.7/json/decoder.py", line 366, in decode
obj, end = self.raw_decode(s, idx=_w(s, 0).end())
File "/usr/lib64/python2.7/json/decoder.py", line 384, in raw_decode
raise ValueError("No JSON object could be decoded")
ValueError: No JSON object could be decoded
If I disable the plugin, it starts to work again.
- The version of the plugin. (Version 1.7.4)
- The version of your GLPI. ( Version 9.4.4
Best Regards,
Marcos