Importing from GitHub fails when logged out

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/ 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

Similar issue here: GitHub imports silently fail when not logged in

i hate this bug, happens to often for me

Hey @blakewenloe, welcome to the Glitch forum!

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.

Ah, sorry, I wasn’t 100% clear. This is from using the remix button import, not the import from Github button inside Glitch.

Here is the repo i’m trying to remix from.

If you click the remix button while logged out of Glitch, it should reproduce the error i’m getting.

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.

Let me know if that helps clarify things!

Perfect! This works. Thanks for the quick response.

1 Like