This is happening 100% of the time when I’m logged out but imports successfully when I’m logged in. This is what I get from the console:
"/opt/watcher/scripts/github-import.sh: line 78: header_arg[@]: unbound variable
gzip: stdin: unexpected end of file
tar: Child returned status 1
tar: Error is not recoverable: exiting now
mv: cannot stat '/tmp/tmp.kweQN5WyOd/*': No such file or directory
Can you tell me how you’re accessing the GitHub import when not logged in? I can’t reproduce this behavior as an Anonymous / logged-out user; the GitHub Import / Export user interface elements instruct you to log in before you can use those features. I want to make sure I’m trying to reproduce the correct behavior before proceeding. A list of the steps you’re taking (and if possible the repo you’re working with, since some issues indicate problems between Glitch and the source repo) could also go a long way to helping me grasp what’s going on.
@Jonyk56, same question for you, if you have an example.
Aha, I see that button was added to the README a couple of years ago and may predate the current options.
Glitch has two ways to interact with git / GitHub: the “new project” method which clones from the remote repo and the “existing project” mechanism (which only works with GitHub) which overwrites the contents of the project with the contents of a downloaded tarball. In this case I think that button should use the Clone method, and if you take a look at my response to GitHub imports silently fail when not logged in that should point in the right direction.