googlecolab / colabtools

Python libraries for Google Colaboratory
Apache License 2.0
2.17k stars 701 forks source link

Can't Open Notebooks #4687

Closed smccraley closed 1 month ago

smccraley commented 1 month ago

-->

Whenever I try to open a Notebook file, I receive the message:

Error Unable to load Colab this.element_.close is not a function g.setVisible@https://ssl.gstatic.com/colaboratory-static/common/8338d73ca0092021ac85c9c348ae2f18/external_binary.js:5145:63 g.enterDocument@https://ssl.gstatic.com/colaboratory-static/common/8338d73ca0092021ac85c9c348ae2f18/external_binary.js:6746:465 g.enterDocument@https://ssl.gstatic.com/colaboratory-static/common/8338d73ca0092021ac85c9c348ae2f18/external_binary.js:7917:66 Fn@https://ssl.gstatic.com/colaboratory-static/common/8338d73ca0092021ac85c9c348ae2f18/external_binary.js:564:379 g.render@https://ssl.gstatic.com/colaboratory-static/common/8338d73ca0092021ac85c9c348ae2f18/external_binary.js:564:93 z9a/<@https://ssl.gstatic.com/colaboratory-static/common/8338d73ca0092021ac85c9c348ae2f18/external_binary.js:4097:99 za@https://ssl.gstatic.com/colaboratory-static/common/8338d73ca0092021ac85c9c348ae2f18/external_binary.js:16:57 xa.prototype.next_@https://ssl.gstatic.com/colaboratory-static/common/8338d73ca0092021ac85c9c348ae2f18/external_binary.js:14:195 kaa/this.next@https://ssl.gstatic.com/colaboratory-static/common/8338d73ca0092021ac85c9c348ae2f18/external_binary.js:17:48 b@https://ssl.gstatic.com/colaboratory-static/common/8338d73ca0092021ac85c9c348ae2f18/external_binary.js:17:309

The Drive directory will continue to open in an endless loop, not allowing any program to be opened, and displaying this error when I click on any file name.

EvanWiederspan commented 1 month ago

Does this still happen for you in incognito mode, with all extensions disabled?

smccraley commented 1 month ago

Yes, the issue is still present.

katlyn-edwards commented 1 month ago

Thanks for confirming, if you can, open the console and paste window.colabVersionTag and let us know what it says? For example mine is "colab_20240711-060152_RC00_651359636"

smccraley commented 1 month ago

Do you mind clarifying how to open the console in Colab? I am unsure of where to paste this command. Thank you.

katlyn-edwards commented 1 month ago

Yeah! In Chrome, it's the top right three dot menu -> more tools -> developer tools

That should open a bottom panel, and one of the tabs should say "Console" where you can paste the command. Let me know if you're in a different browser, and I can figure out how to open the console in that browser.

johnthorbreaker commented 1 month ago

exactly same problem for me to on firefox

this.element_.close is not a function g.setVisible@https://ssl.gstatic.com/colaboratory-static/common/d187fd04d8694d9fb912e0e79930a278/external_binary_l10n__id.js:5154:63 g.enterDocument@https://ssl.gstatic.com/colaboratory-static/common/d187fd04d8694d9fb912e0e79930a278/external_binary_l10n__id.js:6759:465 g.enterDocument@https://ssl.gstatic.com/colaboratory-static/common/d187fd04d8694d9fb912e0e79930a278/external_binary_l10n__id.js:7936:66 Fn@https://ssl.gstatic.com/colaboratory-static/common/d187fd04d8694d9fb912e0e79930a278/external_binary_l10n__id.js:564:379 g.render@https://ssl.gstatic.com/colaboratory-static/common/d187fd04d8694d9fb912e0e79930a278/external_binary_l10n__id.js:564:93 q9a/<@https://ssl.gstatic.com/colaboratory-static/common/d187fd04d8694d9fb912e0e79930a278/external_binary_l10n__id.js:4105:99 za@https://ssl.gstatic.com/colaboratory-static/common/d187fd04d8694d9fb912e0e79930a278/external_binary_l10n__id.js:16:57 xa.prototype.next_@https://ssl.gstatic.com/colaboratory-static/common/d187fd04d8694d9fb912e0e79930a278/external_binary_l10n__id.js:14:195 kaa/this.next@https://ssl.gstatic.com/colaboratory-static/common/d187fd04d8694d9fb912e0e79930a278/external_binary_l10n__id.js:17:48 b@https://ssl.gstatic.com/colaboratory-static/common/d187fd04d8694d9fb912e0e79930a278/external_binary_l10n__id.js:17:309

johnthorbreaker commented 1 month ago

open on chrome work fine for me

katlyn-edwards commented 1 month ago

@johnthorbreaker - Do you have a version tag that we could use? See:

Thanks for confirming, if you can, open the console and paste window.colabVersionTag and let us know what it says? For example mine is "colab_20240711-060152_RC00_651359636"

Also, if there's specific reproducible steps, please let us know -- e.g. does it happen on page load? A specific dialog opening or closing?

johnthorbreaker commented 1 month ago

the problem is I can't find anyting or I'm doing wrong clb

zelliott commented 1 month ago

What browsers and browser versions are folks hitting this on? We've traced this to a HTMLDialogElement.close call in our code, and support for that API was released in FF and Safari in March 2022.

If folks are hitting this in old FF and Safari browser versions, does updating browser versions solve the issue?

zelliott commented 1 month ago

Additionally, we released an additional fix that mitigates this issue. Previously, if you tried to open Colab on an old browser with no HTMLDialogElement.close support, Colab would fail to load with the this.element_.close is not a function error. Now, with the mitigation, Colab should load, but the popup comments pane (the dialog triggered by the "Comments" button in the top bar) will be non-functional.

cperry-goog commented 1 month ago

We've released a fix here, please open a new bug if you have issues.