Skip to content
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

Can't push and pull #149

Closed
ghost opened this issue Jul 20, 2021 · 7 comments
Closed

Can't push and pull #149

ghost opened this issue Jul 20, 2021 · 7 comments

Comments

@ghost
Copy link

ghost commented Jul 20, 2021

Hi @leonhartX !

Installed your extension. I can see repo's and branches.
Execution log says: Notice [github assistant] Repository updated
When I want to push or pull I get: Error [github assistant] undefined

My (remote) developer says he can do push, but not pull.

Unclear what I need to do? Maybe I don't understand how to set it up.

Would be really great if we get your extension working. Looks like best solution to co-develop .gs scripts.
Hope you can help us out.

Thanks in advance!
Joost

@segmentseth
Copy link

I'm having the same problem--but only with pull. I can push from one Scripts project, but when I try to pull that same code into another project, I get the same error. Help please!

@segmentseth
Copy link

@KoosKaas found the answer in #145. Looks like you need to enable the Apps Script API via https://script.google.com/home/usersettings. Once I did this Pull worked perfectly, as did push.

@ghost
Copy link
Author

ghost commented Jul 22, 2021

@KoosKaas found the answer in #145. Looks like you need to enable the Apps Script API via https://script.google.com/home/usersettings. Once I did this Pull worked perfectly, as did push.

I already did that, but still got that issue.

Seems like quite some people are effected by this issue. Unfortunately I don't have technical skills to help. If we are with many, maybe a joined sponsor effort can help?

@ghost ghost closed this as completed Jul 22, 2021
@ghost ghost reopened this Jul 22, 2021
@ghost
Copy link
Author

ghost commented Jul 28, 2021

Yeah!! I solved the issue!!

The case in my specific situation is that I have a own google domain that I use. The account in that domain that I use for this extension is not my main account (with google admin rights). When I refreshed my script tab in chrome, it opened another tab where it wanted me to log in with my admin account. Before I refused to login. Once I logged in with my admin account, it worked :-)

(Not sure, but maybe it possible to give more rights in google admin to the 'sub' account that I use for GAS so the extension works right away).

@ghost ghost closed this as completed Jul 28, 2021
@ghost
Copy link
Author

ghost commented Jul 28, 2021

@leonhartX Your effort for developing the extension has been rewarderd via the sponsor link! Thanks! Great work!

@andrewroberts
Copy link

I tried the above solutions but could push, but not pull. I ended up just going back to the old IDE and installing v4.0.7.

@wmgillett
Copy link

I had the same error [github assistant] undefined show up after having performed several successful pulls into a bounded Google Sheets script. In my case, I closed the spreadsheet and script editor and reopened and the extension started working fine again.

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants