Google colab is not working cant load java script files - google-colaboratory

Could not load the JavaScript files needed to display output.
This is probably because your Google Account login access has expired or because third-party cookies
are not allowed by your browser.
this error appears every time i try to run my code even though it was working for weeks but this but this happened without any reason .
i tried to enable the third_party cookies from settings and paste this ([*.]googleusercontent.com) in the allow section but the error Still showing up.

I pasted https://colab.research.google.com and [*.]google.com in the allow section and it worked

Related

Google Colab running any cell received javascript related errors

Received a browser white popup saying when executing any cells:
Error
Could not load the JavaScript files needed to display output.
This is probably because your Google account login access has expired or because third-party cookies are not allowed by your browser.
Please reload this page.
DETAILS
I have tried re-login and restarted runtime, and no help. Strange is another notebook is fine.
OK
Update: Just restarting browser and relaunched everything seemed to "fix" this.
For those like me who tried all the given solutions but with no use ,the magic thing that worked for me in the end was to open colab using a vpn!
Restart browser. If someone find a better way, please post.
I got this error on chrome. Every colab notebook I opened had this issue even if it wasn't connected to a runtime.
Restarting the browser didn't help.
Clearing cookies of last 24hours (and restarting my system to be sure!) fixed the issue.
This may be because access to your Google account has expired or because your browser does not allow third-party cookies.
Check your task manager on your laptop and see how full the disk is.
Mine was 100% so I searched “disk cleanup” on my Windows computer And got rid of temporary files and files downloaded from internet, etc. also clear cache and cookies on whatever browser you’re doing. And if you have synced your google chrome and Microsoft edge specifications as the same(cookies, extensions, etc) then get rid of both cache and other stuff on them as well. Also check 3rd party cookies
Using vpn solved this problem for me
The library I'm using by default prints a large amount of info, which caused this problem for me. Restart the browser only works if it doesn't print that much again. Disabling the verbose info printing solved the problem for me.
I found when the notebook is heavy it is throwing up this error. For example there were so many plots in my notebook, that slowed it down and caused this problem. Also make sure you don't have multiple notebooks opened.
Try Cleaning your trash/recycle-bin & temp files.
That worked out for me.
Disabling some AdBlock extensions works for me.

Is there a way to programmatically determine the Enabled APIs for a Google Apps Script

For a Google Apps Script that I am working on, I need to enable Google URL Shortener API and Google Drive API.
The trouble comes when I create a copy of the existing Spreadsheet which has a Script attached to it; (everything working the way I want it but I want a copy.)
Now when I create a copy of the Spreadsheet, its associated Script files also get copied - but what does not seem to be copied over are the enable/disable status of various APIs.
The new copy seems to take on default permissions and only default APIs seem to be enabled.
I would not know if the script has required APIs enabled or not. Only when I try to run it, it would throw up an error and crash.
I would like to programmatically know this and take action when a copy of the spreadsheet is made.
I have done several searches for this but could not find any relevant results hence asking this question here.
Specifically more annoying is the fact that the URL Shortener API and even Drive API have to be enabled in two steps - which includes logging into Developer Console.
If I distribute this tool then they would be forced to go into Source Code and from the code editor forced to enable the APIs.
Please help.

Cannot Deploy Gadget-Application for Development and Testing

I want to start developing a contextual gadget for GMail apps and have been following the guide.
In the part about Installing and Testing the Gadget, it tells me to go https://code.google.com/googleapps/console/a/{Domainname} and upload the manifest file there. I have done this, the manifest file was accepted and I used the Deploy button.
I get to the page where it asks for the data permissions, click yes, and then get a Server Error. I have re-uploaded the manifest and triple-checked that the <Url> leads to a valid gadget xml. I get zero feedback about what the error could be, only that it's a Server Error and it happens every time I try. If the gadget XML is somehow invalid, I would not be able to check, as Google gives me no way to check such files for correct content.
Can anyone help, perhaps?

media folder suddenly empty

I'm trying to upload some images in my wordpress backend, but it fails every time. It could be permission issues because I have had trouble with that earlier in the project. But the weirdest thing is that I see on my server that the media folder is suddenly empty, while all the media in the wordpress backend is still there and the website is running fine. Anybody got an idea how this could have happened?
Try to edit one of the picture in the media on admin dashboard, there will be a text field titled 'File URL' on the right side.
Paste that into address bar and see if the browser loads it correctly. If yes then the problem is on the folder permission (or you might have opened the wrong directory), if not, you might wanna try to clear the browser cache or use another platform to open it.
Hope it helps!

Google Chrome err_failed chrome (err2) - Web App

I'm a web application developer, who runs a site http://myfav.es. We've been struggling with this issue for about a month now.
We use the HTML application cache spec - www.w3.org/TR/offline-webapps/ - with dynamically generated manifest files - myfav.es/personal.manifest - to speed page delivery. These dynamically generated manifest files use proper headers, and PHP to serve up custom manifests for users.
We also use gzip compression to serve the site from a linux/apache host.
For the life-cycle of our site, users report getting a err_failed similar to this screenshot in chrome. twitpic.com/272237.
This error is intermittent, occuring once every 200-300 visits, but will persists on every page refresh, including hard refreshes, which presumably means that an error using app cache is causing them to continuously load a failed version of the site. However, mysteriously JUST clearing cookies causes the error to fix itself.
I'm completely out of ideas on how to approach this error, and googling the error message appears to get a ton of confused users with voodoo-ish approaches to solving it. I've personally seen the error, along with a number of complaint from other users of chrome, so I'm fairly certain it cannot be caused by a particular user having abnormal settings or browser preferences.
Does anyone have any insight into the cause of this browser error and its origins? Whether its likely server-side or a byproduct of app design?