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

Continuing seeding fails with geopackages #387

Open
jsvrcek opened this issue Nov 7, 2018 · 0 comments
Open

Continuing seeding fails with geopackages #387

jsvrcek opened this issue Nov 7, 2018 · 0 comments

Comments

@jsvrcek
Copy link
Contributor

jsvrcek commented Nov 7, 2018

There is a bug when trying to reseed geopackage caches using a progress file.

When trying to reseed using the progress file, the seeder will try to get the tile timestamp from load_tile_metadata, which currently returns None. This throws a type error because None cannot be compared to int.

Expected Behavior

The expected behavior would be that reseeding a geopackage tile cache would work the same way as MBTiles.

Actual Behavior

It blows up.

Possible Fix

#386

Steps to Reproduce

  1. Begin to seed data to a geopackage using a progress file.
  2. Stop the seed halfway through.
  3. Try to resume the seed job.

Context

This will affect anyone trying to continue seeding a geopackage.

Your Environment

  • Version used: 1.11.0
  • Environment name and version (e.g. Python 2.7.5 with mod_wsgi 4.5.9): Python 3.5.5
  • Operating System and version: Ubuntu 14.04
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