Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal dataset pages failing to load after running batch_client.create_and_wait_for_completion #114

Open
andy-esch opened this issue May 9, 2019 · 0 comments

Comments

@andy-esch
Copy link
Contributor

I'm using batch_client.create_and_wait_for_completion through a new cartoframes method (CartoContext.execute in master).

Sometimes after running this method my datasets pages (so I can't view the data, run sql, etc.) or map pages do not load in my carto account. For example, I'm not able to access Builder to edit a map, I just get a timeout / ERR_EMPTY_RESPONSE. My dashboard seems unaffected.

Screen Shot 2019-05-09 at 11 16 10 AM

The pages won't load for an hour or two, even if I cancel the batch sql api job behind the method call. The public version of the pages (if they exist) load normally, but the internal dataset pages (when I'm logged in) do not load like in the screenshot above.

Steps to Reproduce

  1. Install carto python sdk from master branch: $ pip install git+https://github.com/cartodb/carto-python.git
  2. Create an auth client, a batch sql client, and then run a query:
from carto.sql import BatchSQLClient
bsc = BatchSQLClient(cc.auth_client)
bsc.create_and_wait_for_completion(f"SELECT CDB_CartoDBFyTable('eschbacher', 'tablename')")
  1. Try to load a dataset page in user account (even if it's not involved in query applied above). I've had mixed success in this triggering the problem described above.

cc @alrocar

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant