ericferon / glpi-archimap

GLPI plugin for drawing architecture maps (based on draw.io)
GNU General Public License v2.0
19 stars 10 forks source link

drawio won't open #37

Closed jpdenss closed 3 years ago

jpdenss commented 3 years ago

Hello, great job. I am trying to use this plugin. In stable version 2.2.1, I fall into problem #34 already solved. When upgrading to the newer version 3.0.2, I can add a new diagram, but when I click on the drawing panel, it presents a screen that does nothing next. GLPI version 9.5.5 PHP: 7.4.9 MariaDB: 10.5.4 There are no errors in the log files

image

ericferon commented 3 years ago

Hi, It's difficult to identify the problem with this information. Which browser (with version) do you use ? If you open the browser's console (F12), do you see error messages ? In which log file(s) have you looked for PHP errors ? K.r,

jpdenss commented 3 years ago

When I read your answer, I tried to use it again to answer your questions, but the behavior changed. Now I can open the interface, but it looks weird and in the PHP log it has the error attached, whenever I close the application. I use Chrome 88.01 x64. In F12, they accuse 3 errors, attached. But, in spite of everything, it is working, with a strange appearance, but I can draw.

Errors with F12 image

Strange appearance image

PHP log when saving and exiting image

ericferon commented 3 years ago

Thank you for the information. Concerning the first error (F12), this is caused by the fact that your language is Portuguese and the corresponding translation file does not exist (if you copy the /plugins/archimap/drawio-integration/resources/archi.txt to archi_pt.txt, translate the text to the right of the equal sign and send it to me, I will add the translation to a future version :-) Concerning the "strange appearance", what do you mean ? Is it the line crossing the menus and the text "[object Object]" that's bothering you ? In that case, I found a solution for the crossing line, but not (yet) for the text. This solution will be implemented in a next version. Concerning the PHP errors, I haven't the same behaviour in my environment. This is clearly linked to your objects on the diagram (a computer and a location). I would need the information (print screen) of the "Properties" tab, in the "Format" window, related to these objects. K.r,