# Error in running notebooks in KDB Developer Level 1 Course!

**URL:** <https://forum.kx.com/t/error-in-running-notebooks-in-kdb-developer-level-1-course/15267>\
**Category:** Academy Support\
**Created:** [September 24, 2025, 1:58pm UTC](https://forum.kx.com/t/error-in-running-notebooks-in-kdb-developer-level-1-course/15267 "2025-09-24T13:58:32Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![ajith-ramawickramagm](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/ajith-ramawickramagm/32/128_2.png) [@ajith-ramawickramagm](https://forum.kx.com/u/ajith-ramawickramagm)\
**Post date:** [September 24, 2025, 1:58pm UTC](https://forum.kx.com/t/error-in-running-notebooks-in-kdb-developer-level-1-course/15267/1 "2025-09-24T13:58:32Z")

</div>

I am getting following error when running all the notebooks in KDB Developer Level 1 Course!. I discarded all my local changes and pulled a fresh copy from the remote repo. And also deleted .ipynb\_checkpoints as instructed by ChatGPT but issue is still the same. please help to resolve.

```plaintext
---------------------------------------------------------------------------
QError Traceback (most recent call last)
Cell In[4], line 1
----> 1 get_ipython().run_cell_magic('q', '', 'system"cd ",.trn.nbdir:$["/"=first v;"";getenv[`HOME],"/"],v:first system "dirname \'",getenv[`JPY_SESSION_NAME],"\'"\n\\l scripts/loaddata.q\n')

File /opt/conda/lib/python3.12/site-packages/IPython/core/interactiveshell.py:2565, in InteractiveShell.run_cell_magic(self, magic_name, line, cell)
   2563 with self.builtin_trap:
   2564 args = (magic_arg_s, cell)
-> 2565 result = fn(*args, **kwargs)
   2567 # The code below prevents the output from being displayed
   2568 # when using magics with decorator @output_can_be_silenced
   2569 # when the last Python token in the expression is a ';'.
   2570 if getattr(fn, magic.MAGIC_OUTPUT_CAN_BE_SILENCED, False):

File /opt/conda/lib/python3.12/site-packages/pykx/nbextension.py:181, in q(instructions, code)
    179 if save:
    180 print(f"Cell contents not saved to '{path}' due to error during execution/saving.")
--> 181 raise e
    182 finally:
    183 if issubclass(type(_q), kx.QConnection):

File /opt/conda/lib/python3.12/site-packages/pykx/nbextension.py:169, in q(instructions, code)
    167 if debug or kx.config.pykx_qdebug:
    168 print(r['trc'])
--> 169 raise kx.QError(r['res'].py().decode())
    170 else:
    171 display(r['res']) if displayRet else print(r['res'])

QError: ./.ipynb_checkpoints/par-checkpoint.txt

```

---

<div class="post-metadata">

**Author:** ![mmcparland](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/mmcparland/32/54_2.png) [@mmcparland](https://forum.kx.com/u/mmcparland)\
**Post date:** [September 24, 2025, 3:15pm UTC](https://forum.kx.com/t/error-in-running-notebooks-in-kdb-developer-level-1-course/15267/5 "2025-09-24T15:15:28Z")

</div>

Hi @ajith-ramawickramagm

I have pulled a new instance of the course that seems to work fine now. It is the course-introductory-workshop course and I have renamed your old instance to be course-introductory-workshop1.

Can you let me know if this works okay for you? Thanks!

---

<div class="post-metadata">

**Author:** ![mmcparland](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/mmcparland/32/54_2.png) [@mmcparland](https://forum.kx.com/u/mmcparland)\
**Post date:** [September 24, 2025, 2:06pm UTC](https://forum.kx.com/t/error-in-running-notebooks-in-kdb-developer-level-1-course/15267/2 "2025-09-24T14:06:27Z")

</div>

Hi @ajith-ramawickramagm

Are you running the notebooks within [edu.kx.com](http://edu.kx.com)?

 ![image](https://us1.discourse-cdn.com/flex002/uploads/kx/original/1X/62eca9c642bfb3c32ca3718311f1bd8480534cde.png)

---

<div class="post-metadata">

**Author:** ![ajith-ramawickramagm](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/ajith-ramawickramagm/32/128_2.png) [@ajith-ramawickramagm](https://forum.kx.com/u/ajith-ramawickramagm)\
**Post date:** [September 24, 2025, 2:20pm UTC](https://forum.kx.com/t/error-in-running-notebooks-in-kdb-developer-level-1-course/15267/3 "2025-09-24T14:20:19Z")

</div>

Hi @mmcparland. Thanks for your reply. Yes I am. Just clicked the "Launch KX Sandbox" button here [https://academy.kx.com/courses/kdb-developer-level-1/lessons/course-introduction/](https://academy.kx.com/courses/kdb-developer-level-1/lessons/course-introduction/) and it redirects to the [edu.kx.com](http://edu.kx.com)

 ![image](https://us1.discourse-cdn.com/flex002/uploads/kx/original/1X/649a4d3b55375a16fea1c7f8ed257decf02ade67.jpeg)

---

<div class="post-metadata">

**Author:** ![mmcparland](https://sea2.discourse-cdn.com/flex002/user_avatar/forum.kx.com/mmcparland/32/54_2.png) [@mmcparland](https://forum.kx.com/u/mmcparland)\
**Post date:** [September 24, 2025, 3:11pm UTC](https://forum.kx.com/t/error-in-running-notebooks-in-kdb-developer-level-1-course/15267/4 "2025-09-24T15:11:45Z")

</div>

Okay great. I’m going to access your server to try and mend the issue.

I will update when all is resolved, thanks!
