Hi,
Just installed the plugin and set it up with Azure. It seems to work well on the batch editor, however when I try to generate tags on a single photo, nothing happens. Unless I have already generated tags for the photo through the batch manager.
It stops here:
Here is the error from the console:
Uncaught SyntaxError: Unexpected token '<', "
"... is not valid JSON
at JSON.parse ()
at m.parseJSON (jquery.min.js?v15.5.0:5:15998)
at Object.success (1xxfdrv.js:36:302)
at j (jquery.min.js?v15.5.0:2:27309)
at Object.fireWith [as resolveWith] (jquery.min.js?v15.5.0:2:28122)
at x (jquery.min.js?v15.5.0:5:22111)
at XMLHttpRequest.b (jquery.min.js?v15.5.0:5:26030)
and from the VM:
Fatal error: Uncaught Exception: Api Error in /home/---/----/plugins/tag_recognition/api_classes/Azure.php:63
Stack trace:
#0 /home/---/plugins/tag_recognition/include/ws_functions.php(28): Azure->generateTags(Array, Array)
#1 /home/---/include/ws_core.inc.php(600): ws_tagRecognition_getTags(Array, Object(PwgServer))
#2 /home/---/include/ws_protocols/rest_handler.php(41): PwgServer->invoke('pwg.tagRecognit...', Array)
#3 /home/---/include/ws_core.inc.php(281): PwgRestRequestHandler->handleRequest(Object(PwgServer))
#4 /home/---/ws.php(22): PwgServer->run()
#5 {main}
thrown in /home/---/plugins/tag_recognition/api_classes/Azure.php on line 63
I guess this plugin will be less relevant with the new AI plugin, but thought I'd report it anyways.
Hi,
Just installed the plugin and set it up with Azure. It seems to work well on the batch editor, however when I try to generate tags on a single photo, nothing happens. Unless I have already generated tags for the photo through the batch manager.
It stops here:
Here is the error from the console:
and from the VM:
I guess this plugin will be less relevant with the new AI plugin, but thought I'd report it anyways.