Comments (3)
Yeah that's a good call: generate_dir
being resolved relative to that temporary directory is most definitely a bug!
from datasette-publish-fly.
Replicated that other bug locally:
datasette publish fly github.db -a wat --generate-dir foop --plugins plugins
Which does this:
File "/Users/simon/.pyenv/versions/3.10.0/lib/python3.10/shutil.py", line 417, in copy
copyfile(src, dst, follow_symlinks=follow_symlinks)
File "/Users/simon/.pyenv/versions/3.10.0/lib/python3.10/shutil.py", line 254, in copyfile
with open(src, 'rb') as fsrc:
IsADirectoryError: [Errno 21] Is a directory: 'plugins'
Code at fault is:
datasette-publish-fly/datasette_publish_fly/__init__.py
Lines 390 to 394 in 68b809f
from datasette-publish-fly.
Used ChatGPT:
from datasette-publish-fly.
Related Issues (20)
- Support Fly volumes HOT 12
- Research how to deploy with latest flyctl and with a volume HOT 22
- `--generate-dir` option HOT 4
- `--plugin-secret` should use Fly secrets HOT 3
- Add output of `datasette publish fly --help` to the README HOT 1
- Also test against Python 3.10
- `*.db` database being created HOT 9
- Large sqlite db, 10min threshold guess HOT 1
- Return code not non-zero on errors HOT 2
- Deployment fails with "incompatible types: TOML value has type string; destination has type integer"
- Error org slug must be specified when not running interactively HOT 1
- Support configuration directory mode HOT 1
- Allow loading SQLite extensions
- --setting option HOT 1
- `--setting force_https_urls 1` fails due to missing imports HOT 3
- App published to fly.io with volume is losing data after `fly apps restart`
- Parameter --plugin-secret is not working HOT 3
- Document usage with datasette-scale-to-zero HOT 2
- "Can't close tar writer: io: read/write on closed pipe" 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-publish-fly.