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

Error when trying to open Pernambuco in the list of States #8

Open
esloch opened this issue Nov 25, 2022 · 0 comments
Open

Error when trying to open Pernambuco in the list of States #8

esloch opened this issue Nov 25, 2022 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@esloch
Copy link
Collaborator

esloch commented Nov 25, 2022

Traceback (most recent call last):
  File "/home/esloch/mambaforge/envs/episcanner/lib/python3.11/site-packages/h2o_wave/server.py", line 341, in _process
    await self._handle(q)
  File "/work-lab/repos/infodengue/epi-scanner/epi_scanner/app.py", line 120, in serve
    await on_update_UF(q)
  File "/work-lab/repos/infodengue/epi-scanner/epi_scanner/app.py", line 194, in on_update_UF
    await load_table(q)
  File "/work-lab/repos/infodengue/epi-scanner/epi_scanner/app.py", line 336, in load_table
    q.client.cities[int(gc)] = q.client.brmap[
                               ^^^^^^^^^^^^^^^
IndexError: index 0 is out of bounds for axis 0 with size 0
2022/11/25 15:15:16 * /anon {"d":[{},{"k":"__unhandled_error__","d":{"view":"markdown","box":"1 1 12 10","title":"Error","content":"```\nTraceback (most recent call last):\n  File \"/home/esloch/mambaforge/envs/episcanner/lib/python3.11/site-packages/h2o_wave/server.py\", line 341, in _process\n    await self._handle(q)\n  File \"/work-lab/repos/infodengue/epi-scanner/epi_scanner/app.py\", line 120, in serve\n    await on_update_UF(q)\n  File \"/work-lab/repos/infodengue/epi-scanner/epi_scanner/app.py\", line 194, in on_update_UF\n    await load_table(q)\n  File \"/work-lab/repos/infodengue/epi-scanner/epi_scanner/app.py\", line 336, in load_table\n    q.client.cities[int(gc)] = q.client.brmap[\n                               ^^^^^^^^^^^^^^^\nIndexError: index 0 is out of bounds for axis 0 with size 0\n\n```"}}]}
@fccoelho fccoelho added the bug Something isn't working label Jun 20, 2023
@fccoelho fccoelho self-assigned this Jun 20, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants