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
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)
- Proposal - store metadata inside `internal.db` tables HOT 2
- Broken link in documention: fivethirtyeight.datasettes.com
- Fix font size on filter inputs
- base_url getting appended twice in redirects when applying filters? HOT 3
- Accessibility: add a `lang` attribute to `html` HOT 1
- What minimal SQLite version should Datasette support? HOT 9
- Remove upserts in `set_XXX_metadata()` methods
- PyOdide test failure HOT 7
- Canned queries with named parameters fail with error against SQLite 3.46.0 HOT 13
- derive_named_parameters() method that works with latest SQLite HOT 5
- Flaky test_max_csv_mb test HOT 3
- Very weird flaky test_create_table_ignore_replace and test_upsert tests HOT 18
- multiple plugins extending the same base template?
- Consider using isolation_level="IMMEDIATE" for write connections HOT 5
- Database/Table/Row not found errors echo back text from URL HOT 7
- Proposal — Datasette JSON API changes for 1.0 HOT 4
- Block or rate limit based on User Agent? HOT 3
- Datasette 1.0 Canned Queries Broken HOT 3
- [Error] no such table: main.events HOT 1
- Cannot run datasette on 3.13 HOT 1
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.