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

Type macrostrat.map_scale does not exist #94

Closed
davenquinn opened this issue Sep 12, 2024 · 0 comments
Closed

Type macrostrat.map_scale does not exist #94

davenquinn opened this issue Sep 12, 2024 · 0 comments

Comments

@davenquinn
Copy link
Member

davenquinn commented Sep 12, 2024

After finishing #60 and merging the new version of the macrostrat schema, we are encountering tileserver errors with the non-existence of a special type macrostrat.map_scale.

  File "asyncpg/protocol/protocol.pyx", line 207, in bind_execute
asyncpg.exceptions.UndefinedObjectError: type "macrostrat.map_scale" does not exist

This is preventing the paleogeography system from working.

It appears that this type was not included in porting the Macrostrat system over from MariaDB, or noticed as an omission. This makes sense as the map_scale is really a better fit to be included in the maps system.

On closer inspection, it seems that types for other layers have been changed to macrostrat_backup.map_scale. This layer will obviously be removed at some point in the future.

The solution is likely to create a migration that ties the map_scale enum more specifically to the maps system.

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