Colabtools: Error : Failed to execute cell. Could not send execute message to runtime: [object Event]

Created on 20 Nov 2018  路  3Comments  路  Source: googlecolab/colabtools

Hi,

I'm trying to run a colab notebook in Python 3, but whenever I try to run a cell, this error message comes up :

Error : Failed to execute cell. Could not send execute message to runtime: [object Event].

I've made sure I'm connected to a hosted runtime and that my runtime type is either TPU or GPU. Also, the problem started when I attempted to upload a file in the following way:

from google.colab import files;
files_= files.upload("file name")

Afterwards I removed those lines and simply tried mounting my drive folder as the local repositry:

from google.colab import drive;
drive.mount('/content/drive')

Still not working.
Anybody came up with something similar? I tried restarting my computer, restarting colab, no success; I can't run a cell with google colab anymore.

Most helpful comment

@colaboratory-team I am facing similar problems. I tried whatever you suggested, it still ain't working. I keep getting runtime errors because of the error:
Failed to execute cell. Could not send execute message to runtime: Error: await connected: disconnected

All 3 comments

You can verify your backend type using the runtime settings in the Runtime menu -> Change runtime type.

Please do check for errors on the Javascript console and include those in your report.

A few things to try:

  1. Refresh the browser tab
  2. Try to reproduce the issue in an incognito window. (Extensions often cause issues of this type.)
  3. Reset all runtimes using the Runtime menu -> Reset all runtimes... item.

If you can discover a reliable way to reproduce this issue, we can take a closer look.

Somehow, it's now working. I closed everything and re-opened my colab, and managed to run the cells. The strange part is that I had already tried that, without success.

Thank you for your help, if I get the error again I'll check for errors as you described.

JP

@colaboratory-team I am facing similar problems. I tried whatever you suggested, it still ain't working. I keep getting runtime errors because of the error:
Failed to execute cell. Could not send execute message to runtime: Error: await connected: disconnected

Was this page helpful?
0 / 5 - 0 ratings