-
-
Notifications
You must be signed in to change notification settings - Fork 737
link_or_copy_directory() error - Invalid cross-device link #744
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
Comments
Is it possible that your Here's the code in question: datasette/datasette/utils/__init__.py Lines 595 to 609 in 89c4ddd
It looks to me like we were expecting an |
https://docs.python.org/3/library/shutil.html#shutil.copytree says that I don't have an environment that can replicate this bug. @aborruso I'm going to ship a fix in a branch that you can test against. |
This exception handling was introduced in #141 |
@aborruso I think I have a branch with a fix - could you try it out? Install the new branch like this:
Then try running If this fixes your bug I'll merge that pull request! |
Hi @simonw , I have installed it and I have the below errors.
No, /tmp folder is in the same volume. Thank you
|
A stupid note: I have no It seems to me that it does not create any |
What operating system are you using? I need to figure out a way to replicate this bug. |
Hi @simonw it's debian as Windows Subsystem for Linux
|
Hi @simonw probably I could try to do it in Python for windows. I do not like to do these things in win enviroment. Because probably WSL Linux env (in which I do a lot of great things) is not an environment that will be tested for datasette. In win I shouldn't have any problems. Am I right? |
Have a try and let me know what happens! I'd like this stuff to just work on Windows but I need to figure out how to get an environment working. |
@simonw another error starting from Windows. I run
And I have
|
I have a Windows 10 gaming PC in the house: what steps can I take to get an environment in there that matches yours? I've not installed Python on Windows before. |
In Windows I'm not very strong. I use debian (inside WSL). However these are the possible steps:
It's a very basic Python env that I do not use. This time only to reach my goal: try to publish using custom template |
I have installed Then I have removed from # Check for heroku-builds plugin
plugins = [
line.split()[0] for line in check_output(["heroku", "plugins"]).splitlines()
]
if b"heroku-builds" not in plugins:
click.echo(
"Publishing to Heroku requires the heroku-builds plugin to be installed."
)
click.confirm(
"Install it? (this will run `heroku plugins:install heroku-builds`)",
abort=True,
)
call(["heroku", "plugins:install", "heroku-builds"]) And now I have
|
I just hit this bug myself, or at least a variant of it! https://github.com/simonw/museums/runs/697063068?check_suite_focus=true
|
Actually maybe the answer here is to use |
@simonw can I test it know? What I must do to update it? Thank you |
I think this is the fix! I just landed it in master. @aborruso you can install Datasette master to test it out like this:
|
Thank you very much!! I will try and I write you here |
@simonw now I have
Do I must open a new issue? Thank you |
What version of Python are you running? |
Oh no! It looks like |
Thank you very much |
OK, here's a new branch you can try. Install it like this:
If it works for you I'll merge that branch into master. |
Dear @simonw thank you for your time, now IT WORKS!!! I hope that this edit to datasette code is not for an exceptional case (my PC configuration) and that it will be useful to other users. Thank you again!! |
Thanks for helping test this @aborruso! |
This is now released. |
Wow, I'm in some way very proud! |
Hi,
when I run
I have this error
I'm attaching my very basic template folder.
Thank you
template.zip
The text was updated successfully, but these errors were encountered: