termite-visualizations
termite-visualizations copied to clipboard
Problems connecting termite-visualization with termite-data-server
Hello Jason
I posted originally in the gensim-googlegroup (which was not the right place as Radim correctly mentioned): https://groups.google.com/forum/#!topic/gensim/uyhVIdz9_tU
here again the problem:
I was able to run the demo with different settings (thanks to the tip from suvir). I also started the termite-data-server (on 8075) which works fine but I was not able to connect the termite-visualization to it. Chromes Console gave me:
XMLHttpRequest cannot load http://127.0.0.1:8075/?format=json. No 'Access-Control-Allow-Origin' header is present on the requested resource. Origin 'http://127.0.0.1:8080' is therefore not allowed access. (index):1 [ERROR] Cannot connect to data server: http://127.0.0.1:8075?format=json DataManager.js:79
As far as I understood from the code of core.py the header should be set in this line:
self.response.headers['Access-Control-Allow-Origin'] = self.GetAllowedOrigin()
but this doesn't seem to work...
any advice? thanks greets micams
I am also encountering the same issue. Is there a work-around? The entire package is useless until this is resolved.