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 server error when running tc-viewer from pip installed package #391

Open
bluenote10 opened this issue Jan 23, 2020 · 1 comment

Comments

@bluenote10
Copy link

bluenote10 commented Jan 23, 2020

When running tc-viewer from a version of tilecloud that is installed via pip install tilecloud the tile server errors with an internal server error:

Error: 500 Internal Server Error

Sorry, the requested URL 'http://localhost:8080/' caused an error:

Template 'index' not found.

The reason is most likely a standard mistake in Python packaging: The packaged wheel is missing the html template, because only *.py ends up in the wheel. Having a quick glance over the wheels on PyPi it looks like they are missing both html templates and bundled tiles.

@sbrunner
Copy link
Member

Pull request welcome :-)

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

No branches or pull requests

2 participants