alexwforsythe / code-blocks

Syntax highlighting for Google Docs
https://www.alexwforsythe.com/code-blocks/
MIT License
701 stars 89 forks source link

ScriptError: Action not allowed #94

Closed davidcv91 closed 5 years ago

davidcv91 commented 5 years ago

Hi, the Add-On stopped working on Google Docs. When I click on 'Format' button it shows an error message

ScriptError: Action not allowed

screen shot 2018-09-18 at 16 11 35

Could you fix it, please?

Thank you for your work, it's very useful.

fro0m commented 5 years ago

i alse come across that

ghost commented 5 years ago

same

bdilloughery commented 5 years ago

Same.

I am trying to format a simple hello world example in C. I tried using auto-language, objective C, and a few others ... got the error every time.

Preview works fine and can copy and paste it over.

alexwforsythe commented 5 years ago

Hi @davidcv91. We are currently tracking this error in #53, so I'm going to close this as a duplicate.

The short explanation is that this is a bug with Google App Script which occurs when you have multiple accounts logged into Drive. You should be able to work around it by logging out of all accounts except the one you need to edit the document.

Feel free to reopen this issue if this solution doesn't solve your problem.