Skip to main content
Question

Cognite Fundamentals training: Ingest data points - Jupyter Notebook crashes

  • August 12, 2025
  • 3 replies
  • 52 views

Forum|alt.badge.img+1
  • Committed ⭐️⭐️⭐️

Hi,

I am new to Cognite and am going through the CDF Fundamentals (new) training. In the hands-on section, when I try to run the Jupyter Notebook, the environment crashes.

Steps followed:

  1. From Launcher, create new Notebook (acknowledge message dialog “Cannot yet sync notebooks outside a data set” if it appears)
  2. Copy paste the code into cell 
  3. Change the external id prefix “maria1995” to different value
  4. Run the cell
  5. Text “Ingesting datapoints ... please wait until is completed...” displayed below cell
  6. Notebook errors out (sad face)

Drilling a little deeper, I separated each line into a separate cell (expect for the for loop). The crash occurs at the first import statement (from cognite.client import CogniteClient) but sometimes, the code runs for 1, 2, or 3 cells and then crashes. What am I missing? I used Chrome browser.

I also switched to MS Edge. And the behaviour is the same.

What am I missing?

Best,

Gagan

 

 

3 replies

Forum|alt.badge.img+1
  • Author
  • Committed ⭐️⭐️⭐️
  • August 12, 2025

Update: It just seems to be a “beta” thing. (Maybe?) I kept trying and eventually, the script (line by line) executed in MS Edge. For now I will get through the training until the next Notebook exercise and hopefully, I will learn a better way to connect and run code (using VSCode?)


Sofie Haug
Expert ⭐️⭐️⭐️⭐️
Forum|alt.badge.img+13
  • Cognite Academy Instructor
  • August 13, 2025

Hi ​@Gagan! Thank you for your feedback, I will look into it!

It is possible to use VS code or similar yes, however that requires more authentication steps than running it in Jupyter notebooks from the CDF UI. 

Best regards, 


Forum|alt.badge.img+1
  • Author
  • Committed ⭐️⭐️⭐️
  • August 13, 2025

Hi ​@Sofie Haug I was able to complete the two Python exercises in the (new) Fundamentals training using MS Edge. In Google Chrome, the UI crashed every time. Sometimes just after opening. In MS Edge, it was a hit or miss but just stable enough to run. But even then it always crashed in the last line of uploading the pdf to CDF.

Best,

Gagan