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

Fix regression in container that broke tiled serve directory ... and tiled register ... #812

Merged
merged 2 commits into from
Nov 14, 2024

Conversation

danielballan
Copy link
Member

Checklist

  • Add a Changelog entry
  • Add the ticket number which this PR closes to the comment section

@danielballan
Copy link
Member Author

Reproducing the issue reported by @burkeds in Mattermost:

$ podman run ghcr.io/bluesky/tiled:v0.1.0b10 tiled serve directory /storage
...
ModuleNotFoundError: No module named 'entrypoints'

Using a container built from this PR branch:

$ podman run localhost/test-fix:latest tiled serve directory /storage
Creating catalog database at /tmp/tmpxb8cw_9k/catalog.db

    Navigate a web browser or connect a Tiled client to:

    http://127.0.0.1:8000?api_key=c27a4a172ee5d29ce2983becdf6dfd4f6819ff0115ea4d65204583e7973b23e5


[-] INFO:     Started server process [1]
[-] INFO:     Waiting for application startup.
Tiled version 0.1.0b11.dev25+ge5511f8b
[-] INFO:     Application startup complete.
[-] INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
[64e9e349bdba96c4] 127.0.0.1:55610 (public) - "GET /api/v1/ HTTP/1.1" 200 OK
[44a98a02d5ae53de] 127.0.0.1:55610 (admin) - "GET /api/v1/metadata/?include_data_sources=false HTTP/1.1" 200 OK
Server is up. Indexing files in /storage...
[34f44b7e2e408b85] 127.0.0.1:55610 (admin) - "DELETE /api/v1/nodes/ HTTP/1.1" 200 OK
Indexing complete.

@genematx genematx self-requested a review November 14, 2024 16:03
@danielballan danielballan merged commit a010cd0 into bluesky:main Nov 14, 2024
8 checks passed
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

Successfully merging this pull request may close these issues.

3 participants