brownplt / pyret-lang

The Pyret language.
Other
1.07k stars 110 forks source link

Problem with loading programs from google docs #425

Closed rrshaban closed 4 years ago

rrshaban commented 9 years ago

I saved a pyret program yesterday in lab, and it appears in my google drive but not under "My Programs" when I go to code.pyret.org. When I try to right-click open it from gdrive, I get a scary red "The program failed to load."

What's going on?

rrshaban commented 9 years ago

I am also now unable to connect with gDrive - I figured out that it was connected with my gDrive under SwatMail, so I deleted the app perms in gDrive for SwatMail, and am now trying to connect it with my gmail but it is not letting me "Connect to Drive" - when I click it, it flashes open a new window which quickly disappears. Clearing my cache fixes this, but then when I try to reconnect to gDrive it doesn't recognize the old code.pyret.org folder but instead creates a new one. I moved the docs from the old to the new as a workaround.

edit: just kidding, it still isn't recognizing Google Drive.

jpolitz commented 9 years ago

@rrshaban came by and we resolved this particular case by clearing cookies, but didn't track down the underlying problem.

It is probably related to having, and switching between, multiple Google accounts. I suspect the issue is that there was a Pyret cookie referencing a Google account that wasn't the default that was chosen with Connect to Drive. But I can't reproduce it yet.

schanzer commented 7 years ago

I know the login codepath has gotten plenty of attention since Jan 2015 - is this worth keeping open, or are there (a) other issues that are more current or (b) reasons to close this since we can't replicate anyway?

Emmay commented 6 years ago

Same questions as above- is this issue closable now?

schanzer commented 4 years ago

It's been 5 years we aren't seeing similar problems, even though our user base has grown a lot. I'm going to close this.