Closed marcusinthesky closed 5 years ago
@marcusinthesky Firstly, I'm super amped that you're at UCT 🇿🇦!
Secondly, I've placed this bug report onto our backlog to get addressed. In the meanwhile, you can check out a completed version of the tutorial project in kedro-examples
.
And, thirdly, you should also check out kedro-viz
and visualise the pipeline when you're ready.
Hi @marcusinthesky! I'm trying to reproduce the issue, no luck so far. But it really looks like the conflict between the original io
module and something in kedro or your project.
I can do just
touch io.py
kedro jupyter lab
And it fails to start with the same error.
Can you please check your code, is there a module called io
anywhere?
What does python -c 'import io; print(io.__file__)'
print?
I've updated the PR title with our internal ticket number to keep track of this more easily. :)
@marcusinthesky It is likely that global io
variable in ipython config file was causing the problem, which we deleted in https://github.com/quantumblacklabs/kedro/commit/571bb8009b930e67c073115c23ae2d03942f6499#diff-5e39d56e37d29581584e70f13c8c607fL14 with the replacement of context
variable. I am closing this issue for now, but feel free to re-open it if you are still having the problem.
Description
When editing .py text files with an attached console using
kedro jupyter lab
the kernel used by the console will continually restart when trying to autocompletion and tooltips, during spaceflight tutorial. This is because of the tutorial requiring creating an io module.Context
I was trying to edit python text files and was wondering why the console attached to the file was constantly dying when I was trying to make use of tooltips (shift + tab). Having read up on the issues I believe its because
Steps to Reproduce
kedro jupyter lab
(jupyterlab==1.0.2)print()
usign shift+tabExpected Result
Tell us what should happen.
Actual Result
Tell us what happens instead.
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
pip show kedro
orkedro -V
): v0.14.3python -V
): 3.7.3