Comments (8)
This looks to be the step that is failing:
datasette/.github/workflows/deploy-latest.yml
Lines 50 to 60 in 80a9cd9
from datasette.
Maybe plugins/
does not exist? It should have been created by this line:
datasette/.github/workflows/deploy-latest.yml
Lines 41 to 42 in 80a9cd9
from datasette.
I think I see the problem - it's from here: b2ec871#diff-5dbc88d6e5c3615caf10e32a9d6fc6ff683f5b5814948928cb84c3ab91c038b6L770
The config
and metadata
Click options are the wrong way round:
Lines 785 to 786 in 80a9cd9
Line 801 in 80a9cd9
from datasette.
New error: "Error: Metadata should end with .json"
https://github.com/simonw/datasette/actions/runs/6266720924/job/17018265851
![CleanShot 2023-09-21 at 13 31 08@2x](https://private-user-images.githubusercontent.com/9599/269748312-720726be-fcfc-49a4-8316-ee49d96ac86b.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTEiLCJleHAiOjE3MDE4Njc3OTUsIm5iZiI6MTcwMTg2NzQ5NSwicGF0aCI6Ii85NTk5LzI2OTc0ODMxMi03MjA3MjZiZS1mY2ZjLTQ5YTQtODMxNi1lZTQ5ZDk2YWM4NmIucG5nP1gtQW16LUFsZ29yaXRobT1BV1M0LUhNQUMtU0hBMjU2JlgtQW16LUNyZWRlbnRpYWw9QUtJQUlXTkpZQVg0Q1NWRUg1M0ElMkYyMDIzMTIwNiUyRnVzLWVhc3QtMSUyRnMzJTJGYXdzNF9yZXF1ZXN0JlgtQW16LURhdGU9MjAyMzEyMDZUMTI1ODE1WiZYLUFtei1FeHBpcmVzPTMwMCZYLUFtei1TaWduYXR1cmU9NDliMWExNmNhMzI2NTFjM2EzNDI0OWUwODJhYzJhN2VmYTU1NzRkZDIwNTJlZGJiYTE1OGM2NTU0YmViMDI5OSZYLUFtei1TaWduZWRIZWFkZXJzPWhvc3QmYWN0b3JfaWQ9MCZrZXlfaWQ9MCZyZXBvX2lkPTAifQ.BpbSe3PSkqkHIIxjXXe1UD3cYoa3u8lnwA5R2rSHAMQ)
from datasette.
Correct usage is now:
python tests/fixtures.py fixtures.db fixtures-config.json fixtures-metadata.json \
plugins --extra-db-filename extra_database.db
Test tables written to fixtures.db
- metadata written to fixtures-metadata.json
- config written to fixtures-config.json
Wrote plugin: plugins/register_output_renderer.py
Wrote plugin: plugins/view_name.py
Wrote plugin: plugins/my_plugin.py
Wrote plugin: plugins/messages_output_renderer.py
Wrote plugin: plugins/sleep_sql_function.py
Wrote plugin: plugins/my_plugin_2.py
Test tables written to extra_database.db
from datasette.
... which raises the challenge that datasette publish
doesn't yet know what to do with a config file!
datasette/.github/workflows/deploy-latest.yml
Lines 114 to 122 in 2da1a6a
from datasette.
I'm going to disable this bit of the deploy for the moment, which will break the demo linked to from https://simonwillison.net/2022/Dec/2/datasette-write-api/
datasette/.github/workflows/deploy-latest.yml
Lines 91 to 97 in 2da1a6a
from datasette.
That worked
e4f8688 is the latest commit right now and https://latest.datasette.io/-/versions shows that as the deployed version.
from datasette.
Related Issues (20)
- Design decision - should configuration be exposed at /-/config ?
- Mechanism for register_output_renderer hooks to access full count HOT 2
- Datasette for serving JSON only
- Plugin Hooks for "compile to SQL" languages HOT 2
- Server hang on parallel execution of queries to named in-memory databases HOT 31
- "Test DATASETTE_LOAD_PLUGINS" test shows errors but did not fail the CI run HOT 6
- `datasette publish` needs support for the new config/metadata split HOT 12
- Discord invite link returns 401 HOT 2
- click-default-group-wheel dependency conflict HOT 3
- --load-extension=spatialite not working with Windows HOT 3
- Detailed upgrade instructions for metadata.yaml -> datasette.yaml HOT 7
- Discord invite link is invalid
- custom plugin not seen as sql function
- request.post_body() can only be called once
- request.post_vars() method obliterates form keys with multiple values HOT 3
- ModuleNotFoundError: No module named 'click_default_group
- No suggested facets when a column named 'value' is included HOT 1
- Unreachable exception handlers for `sqlite3.OperationalError`
- Can't filter with numbers
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datasette.