Hi,
Like I said earlier I have setup the LanguageTool server here :

http://tools.wmflabs.org/languageproofing/

I have been trying to query it from VisualEditor unsuccessfully so far.

The error that I get is :

XMLHttpRequest cannot load http://tools.wmflabs.org/languageproofing/. No
'Access-Control-Allow-Origin' header is present on the requested resource.
Origin 'http://127.0.0.1' is therefore not allowed access. The response had
HTTP status code 500.

I set the Access-Control-Allow-Origin header (
https://github.com/languagetool-org/languagetool/blob/6ad2ac03f6b14271e2e3e56546da24f745aecde7/languagetool-server/src/main/java/org/languagetool/server/Server.java#L122
)

Here is the error log from within tools-labs :
https://gist.github.com/ankita-kumari/d89ab1d47a72b2762090

Here is the access log for the same :
https://gist.github.com/ankita-kumari/608f2fe0e05dd75dd59b

Here is the action I have defined :
https://github.com/ankita-kumari/VisualEditor-LanguageTool/blob/master/modules/ext.LanguageToolAction.js#L117

Please let me know if there is something that I am doing wrong. Let me know
if there is some other information I can provide.

Eagerly awaiting your response. :)

Thank you

-- 

Ankita Kumari
International Institute of Information Technology
Hyderabad


“Tis' better to live your own life imperfectly than to imitate someone
else's perfectly.”
------------------------------------------------------------------------------
_______________________________________________
Languagetool-devel mailing list
Languagetool-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/languagetool-devel

Reply via email to