51130

Why am I getting an “Error loading notebook” error when trying to set up Datalab and do image classi

Question:

I am following the tutorial here:

<a href="https://codelabs.developers.google.com/codelabs/cloud-ml-engine-image-classification/index.html?index=..%2F..%2Findex#0" rel="nofollow">https://codelabs.developers.google.com/codelabs/cloud-ml-engine-image-classification/index.html?index=..%2F..%2Findex#0</a>

and it is claiming that it will allow me to do image classification on the google cloud. I follow the instructions but when I get to step 4 where I "Start a datalab notebook". It tells me to open the docs folder in Google Cloud DataLab and then open the file called: Hello World.ipynb.

WHen I open this file I get a really weird error that I can't find anything googling. The error is a modal that says:

Error loading notebook Type u'notebook&_=1495520163792' is invalid

No code loads either from the file. What the heck??? What am I doing wrong?

Answer1:

This seemed to happen when connecting to Datalab using Cloud Shell, and should now be fixed.

Updates will be here: <a href="https://github.com/googledatalab/datalab/issues/1377" rel="nofollow">https://github.com/googledatalab/datalab/issues/1377</a>

Answer2:

There are two other ways of starting Datalab (the codelab above assumes option #1):

<a href="https://codelabs.developers.google.com/codelabs/cpb100-datalab/index.html" rel="nofollow">https://codelabs.developers.google.com/codelabs/cpb100-datalab/index.html</a>

Perhaps you will have better luck following Option 2, to run it from CloudShell. Once Datalab is launched, you should be able to continue with the original codelab.

Answer3:

Can you browse <a href="http://localhost:8081/_info" rel="nofollow">http://localhost:8081/_info</a> and paste the debug information here if possible?

Also, can you create a new Datalab notebook from the "Notebook" menu?

Recommend

  • How do I customize Google Cloud Datalab with extra Python modules?
  • Charts drawn with %%chart command do not render
  • Design Question: Which is Better practice? (part 2)
  • Button commands in Tkinter
  • Adding custom gesture to iCarousel items
  • How to update TableView items outside JavaFX Thread
  • Create a JSON file from a Flask view to be used with D3
  • iPython Notebook not printing Dataframe as table
  • Should I optimize around reads or CPU time in Google App Engine
  • Equivalent of branch..merge for git-push
  • PHP UTF-8 to GB2312
  • Zurb Foundation _global.scss meta styles for js?
  • How can I enlarge video fullscreen without the affected interface project in as3?
  • How to run “Deployd” on port 80 instead of port 5000 in webserver.
  • With Hadoop, can I create a tasktracker on a machine that isn't running a datanode?
  • VSO Build — Response status code does not indicate success: 404 (Not Found)
  • Google Custom Search with transparent background
  • Exception “firebase.functions() takes … no argument …” when specifying a region for a Cloud Function
  • Change Inet root folder for iis 7
  • Seeking advice on Jetty HttpClient Hang
  • Paperclip, set path outside of rails root folder
  • How to redirect a user to a different server and include HTTP basic authentication credentials?
  • Can I make an Android app that runs a web view in Chrome 39?
  • Google cloud sdk not working when python points python3
  • Why winpcap requires both .lib and .dll to run?
  • QuartzCore.framework for Mono Develop
  • RestKit - RKRequestDelegate does not exist
  • Run Powershell script from inside other Powershell script with dynamic redirection to file
  • Proper folder structure for lots of source files
  • Load html files in TinyMce
  • How can I get HTML syntax highlighting in my editor for CakePHP?
  • using HTMLImports.whenReady not working in chrome
  • How to set the response of a form post action to a iframe source?
  • coudnt use logback because of log4j
  • LevelDB C iterator
  • Linking SubReports Without LinkChild/LinkMaster
  • Are Kotlin's Float, Int etc optimised to built-in types in the JVM? [duplicate]
  • unknown Exception android
  • Append folder name and increment by 1 using batch script
  • Android Heatmap on canvas or ImageView