Hi Bernhard, using Firebug to place a breakpoint just before "return window.JSON.parse(data)" I could see that "data" had this text as its content:
"<br /> <b>Fatal error</b>: Call to a member function getValue() on a non-object in <b>/home/kdz/standards/extensions/SemanticMediaWiki/includes/query/SMW_QueryProcessor.php</b> on line <b>125</b><br /> " This is not JSON so JSON.parse shows that error you are seeing. The Javascript-code at this place (wherever it originates) is not optimal. IMO it should catch that error. But that's a different story... Greetings Hermann On 06/09/2015 11:56 AM, Krabina Bernhard wrote: > Dear all, > > I try to use Semantic Image Annotator [1] for the first time. You can > see here [2] what happens: I have the "start annotating" button, but > when I click it I cannot add any annotation. I have a form and > template in place, but the problem seems to before the form call, > because the annotation mode does not work. I can increase and decrase > the picture size, but other than that, nothing happens. > > Firebug shows an syntax error: SyntaxError: JSON.parse: unexpected > character at line 1 column 1 of the JSON data > ..(window.JSON&&window.JSON.parse){return > window.JSON.parse(data);}if(rvalidchars.... > [...] ------------------------------------------------------------------------------ _______________________________________________ Semediawiki-devel mailing list Semediawiki-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/semediawiki-devel