docker-cartodb icon indicating copy to clipboard operation
docker-cartodb copied to clipboard

Time bar on animation doesn't work

Open royti opened this issue 7 years ago • 6 comments

Hi, When trying to use a dataset with a timestamp field, and using the "animated" function (under "aggregation", inside "style"), the animation works, however the time-bar on the bottom of the screen shows blanc. you can see in the attached screen the bottom bar. Any idea why it doesn't render? screen shot 2017-04-30 at 18 17 29

royti avatar Apr 30 '17 15:04 royti

Not sure, but I think there are special API routes necessary for those "builder" charts and widgets to work. Do you see any errors in the JS console?

chriswhong avatar Sep 05 '17 03:09 chriswhong

Widgets doesn't work for me either, in the js console the only error I see is when opening the map I built:

GET https://mycartodb.com/user/josue/api/v2/sql?q=select%20*%20from%20cdb_dataservices_client.cdb_service_quota_info()%3B&api_key=4cc2d105838f9f071fd058bf5baa1dee1c6db12e 400 (Bad Request)

analyses-quota-info.js:29

j05u3 avatar Oct 29 '17 00:10 j05u3

Found the solution at https://github.com/claes08/docker-cartodb, he installs dataservices-api as required.

j05u3 avatar Oct 29 '17 18:10 j05u3

Has anyone actually got a fully working solution for the builder widgets? I have tried so many different configurations and setups and still can't get it working.

I fixed the "cdb_dataservices_client.cdb_service_quota_info()" error by installing the dataservices-api module but I am getting a "SyntaxError: Failed to execute 'open' on 'XMLHttpRequest': Invalid URL" in the widget HTML. No errors in the browser console, my nginx log shows all requests returning 200 and 201 and all requests in the /cartodb/production.log file show "Completed 200 OK" for all requests.

Not sure where else I can debug this problem?

cartoerrorhttp

alexwcc avatar Feb 26 '18 18:02 alexwcc

You may need to make the following changes in the WS-config file:

  //  https: 'https://localhost.lan:user/{{=it.user}}/api/v1/map'
   https: 'https://<Your domain name>/user/{{=it.user}}/api/v1/map'

vineethvijaysv avatar Mar 23 '18 15:03 vineethvijaysv

Thank you vineethvijaysv, that fixed the problem.

alexwcc avatar Apr 24 '18 19:04 alexwcc