-
Notifications
You must be signed in to change notification settings - Fork 893
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KedroContextError in empty 'kedro new' project: expected ConfigLoader
is NoneType
#716
Comments
I guess its the same Issue as |
Hi @Spooky-0 , this is a known issue which we will very soon release a fix for. In the meantime we recommend to just roll back to Kedro |
Ok great. Thanks for the heads up. I went back to 0.17.0 and all works fine :) |
Hi, I understand that you have closed this, but do you know if this will be fixed in 0.17.3? I still face this issue with 0.17.2 |
Hi @Vinay1233, I'm sorry to hear you're still facing this issue. Can you provide steps to reproduce? |
Hi @MerelTheisenQB, Im using the register_config_loader hook as i would eventually like to update the globals.yml with the extra_params (I see that can now be done in 0.17.1 from the release notes, though I don't see that updated in the hook docs). This was working with 0.17.0. The below is a test without passing extra_params:
error:
Thanks in advance! |
Just to confirm @Vinay1233, you're seeing this error when doing |
So im not using the CLI to run kedro, I run a kedro session by doing the below inside the I did update the
|
@Vinay1233 did you actually create the project itself with kedro |
ahh I see, sorry I just changed the version hoping that was all I needed to do. Ill create a new project and test try it out Thanks! |
I added Thanks for your help @MerelTheisenQB! |
I'm glad it's working now @Vinay1233 😄 |
Hello @Vinay1233, I am also getting same error using py3.7 & kedro 0.17.3 version. May I know where you added this? configure_project(Path(file).parent.name) |
Description
My fairly new project runs into
kedro.framework.context.context.KedroContextError: Expected an istance of "ConfigLoader", got "NoneType" instead.
I tried to follow the error, and I believe that the Hooks are not loaded yet, however the logger is already trying to use them.
Since I am trying it on my Work station where I don't have access to github ( I know, kill me pls) I am typing this out and can't really copy paste long error messages. Sorry.
I proceded to try it with a completely empty project (kedro new, kedro ipython) which runs into the same issue.
Context
In my new Project I have followed the two tutorials
https://kedro.readthedocs.io/en/latest/03_tutorial/04_create_pipelines.html
https://kedro.readthedocs.io/en/latest/11_tools_integration/01_pyspark.html
only after which I tried 'kedro run', which lead to the Issue.
Steps to Reproduce
Expected Result
the session should be able to start.
Actual Result
As I said, no copy paste :(
the Exception raised is in this function where I added one line of debug:
This is why I believe that the hooks are not registered yet.
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
pip show kedro
orkedro -V
):python -V
): 3.6The text was updated successfully, but these errors were encountered: