Google Colab not responding - google-chrome

I have a Google Colab notebook which was working properly before but now it does not respond at all. When I execute a cell containing a simple python Hello World program, the cell starts to run but does not give any response. Even I cannot interrupt the execution.
When I open this notebook in an incognito tab, it works. I tried with clearing browser cache but it did not work.
My other notebooks work without any problem.
I am using Google Chrome browser.

Please try by reinstalling the google chrome.

Related

Facing issue while trying to run Robot framework script in google chrome browser

I am facing a Chrome popup while trying to run Robot Frame work script:
Microsoft Security Essentials wants to restore your Chrome settings to their
original defaults.
This will reset your homepage, new tab page and
search engine, disable your extensions, and unpin all tabs. It will
also clear other temporary and cached data, such as cookies, content
and site data.
In chrome extension, my developer mode is unchecked, whereas it should be checked.
The Robot Framework automation script is just to open the google Chrome browser and load google search page.
I am using Win 7 Home Basic OS.
I have attached screenshots.
It appears that most Chrome support specialists will ask you to run an anti-malware tool to verify that your system is running normally. These can be found by searching on the popup message.
One Reddit user commented that in his case the problem was resolved by altering the Windows registry:
I finally found a fix for this. There is a setting in the registry
that's causing it.
In the registry it's under
HKEY_CKU\CURRENT_USER\Software\Google\Chrome\TriggeredReset
Delete the TriggeredReset key and then close regedit. Fixed.
This is an API for 3rd party programmers who want to create cleaning
tools. But if the tool isn't written properly, the triggered reset
never gets deleted and we have it always asking.

Google Colaboratory and Google Drive integration fails

I am not able to save a new notebook in my Google Drive environment.
Google Colaboratory works with predefined notebooks such as Hello, Colaboratory, but I am not able to save any into my Drive folder.
I have the Colaboratory app allowed in the Google Drive settings and really dont know how to solve it. Colaboratory communicates with Drive - it even creates the notebook files in the Google Drives folder, but when loading any notebook file it always report following Notebook loading error
There was an error loading this notebook. Ensure that the file is accessible and try again.
Neither the details of the error help much:
Failed to fetch TypeError: Failed to fetch
I was playing with the access rights of both the file and the folder and could not find any solution.
Update: Chrome 64.0.3282.167 (64 bit); Windows 10 1709. I use two users on the Chrome. Creating Notebooks works normally on different computers with my username.
This is the output from console:
Chrome Console Output
On Google Chrome, I was seeing this issue randomly and it mentioned not being able to load the file /some/google/path/thats/gone/because/this/fixed/it/client.js. I tried clearing my cache and hard reloading, and sure enough, Colab starting working again.
As with standard cookies, third-party cookies are placed so that a site can remember something about you at a later time. Both are typically used to store surfing and personalization preferences and tracking information.
Google's colaboratory uses third party cookies and your browser most likely has them disabled.
Navigate to your browser settings, search for cookies and enable third party cookies. This should hopefully fix your problem.
I had the same problem, and I just disabled AdBlock on google Colab in everything works perfectly.
try to close/pause AdBlock and reload the page, it works for me.

Google Apps Script web editor crashing on open

For first few days of scriptig it has worked fine.
But yesterday it has stop working. Every time I open editor no code is visible and editor show generic error message "occurred unexcepted error". See screenshot.
After testing and research I found some facts
problem occures on both my google account (company and personal)
problem occures on every document (even if I open script editor for first time on this document)
problem occures on both my PC on chrome
clear chrome cache didnt help
in FF editor is working fine
Sorry for screen in czech, but I am not able change language becouse all gui is disabled.
Error screenshot
You can change language in browser preferences.
Which web browser are you using ? Have you try an over one ?

Google Script fails to upload file to Google Drive via iOS

I have a Google Site with an embedded Google Script that allows a user to upload a photo. After validating that the photo is a MIME image type and smaller than 3MB, I copy it to a folder in my Google Drive.
This functionality works perfectly from my Mac laptop (both Chrome and Safari) and my Android phone (Chrome), but when I try it from my iPad (both Chrome and Safari), I get:
NetworkError: Connection failure due to HTTP 500.
I'd thought that the error was in my Code.gs, but I've stripped my processForm() code down to return true, and it still throws this error. So now I think the error is happening in this call in my HTML file:
google.script.run
.withSuccessHandler(reportSuccess).withFailureHandler(reportFailure)
.processForm(formData);
I tried wrapping this code in console.log() calls, but then I realized that iOS doesn't let me see the console. :P
Somehow the "NetworkError" exception is thrown in this call; it's then caught and reported by the failure handler reportFailure.
Again, this script works on my Mac laptop and my Android phone, just not on my iPad (or a colleague's iPhone).
Does anyone have any ideas about (a) what might be the root cause of this problem in the interaction between Google Script and iOS's networking layer and/or (b) how I might work around it?
Since this is perfectly working on your browser from Mac laptop, it maybe that Apple does not yet allow Google App Scripts to run on these devices(iphone & ipad). I found a note on iOS Quickstart for App Script that maybe hinting at this:
Note: The application does not conform with Apple's iOS Human
Interface Guidelines. It is intended only to illustrate the basic
concepts and steps needed to begin working with the Google Apps Script
Execution API.

how to run batch file in chrome

I tried using very simple HTML to create several links to several batch files on my server that are intended to run when users click on the links. Using Chrome, every time I click on one of those files my browser displays the script itself (even though its a .bat) and doesn't actually run the script. Internet Explorer runs it every time, however all the users on the network use Chrome for web browsing.
Is there any way to force Chrome (preferably through HTML or VB or some other scripting on the page itself rather than change all of the users' browser settings) to run these batch files when the user clicks on the link?
The answers given so far - that it's "not possible" - are incorrect or outdated. Using Chrome Apps you can call executables (called "hosts") if they are registered with Chrome. Of course a Chrome App is a client application so you need to distribute it.
See https://developer.chrome.com/extensions/nativeMessaging#examples
HTML, JS on browser cannot run shell command, command line. You have to implement server script to execute your bat file then call it from HTML, JS via Ajax or direct link.