Topic on Extension talk:Semantic Image Annotator

RogerA1 (talkcontribs)

Hi,

I have just updated to 1.31 and cannot get this extension to operate correctly. Old annotations are not available and if I try to annotate a new image the image goes dark and the annotation is not added.

If I can help in debugging let me know.

Regards

Roger A

RogerA1 (talkcontribs)

Hi,

I reapplied headers and this has fixed it and it now works as it should. I am not sure what the best way to recover from this was as I could have tried deleting the form template association first but I did not test this.

I will test a little more carefully if this happens again,

Regards

Roger A

24pm (talkcontribs)

What do you meat by "reapplied headers"?

I have encountered the same problem on MW 1.31: when I push "Save" in pop-up annotation window a small empty windows appears, which is expected to be a form, but there is nothing in it. The only thing you can do is just push the X and close the windows. So annotation disappears and nothing creates nor changes.

RogerA1 (talkcontribs)

On the special page Sematic Image Annotator below the area were you add the form tehre is a button called sta-reinstall-headers. I pressed that and it fixd the problem and I can use the annotator. I believe this did remove previous annotation so make sure you have a backup before testing.

Regards

RogerA1

24pm (talkcontribs)

Reinstall-headers did not help in my case. Page Special:SemanticImageAnnotator is not updating in such a case. It shows the message "Loading..." and nothing happens. Browser console throws the error:

"Uncaught TypeError: Cannot read property 'results' of undefined"

and then after a while:

"Failed to load resource: the server responded with a status of 403 (Forbidden)"

from freegeoip.net with link on message about updating API endpoint:

http://freegeoip.net/shutdown

The thing is in SSL as I suppose. The site I'm trying to run SemanticImageAnnotator is running via HTTP not HTTPS.

Why do we need freegeoip.net in this extension anyway? Is it possible to switch it off?

I test this on my playground site, where the error could be reproduced:

http://playground.sysadminwiki.ru/o/Special:SemanticImageAnnotator

Reply to "Mediwiki 1.31"