-
Notifications
You must be signed in to change notification settings - Fork 903
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
Default and Custom Pipeline not being registered and cannot be found. #731
Comments
Hi @Cazforshort as replied on StackOverflow:
Could you let us know if this resolves the problem? |
Hello, I'll reply here. This was a new kedro project. No luck doing kedro install.
|
Noticed that
So maybe that means something isn't in the right place. Do print statements work in kedro? That Logging that I'm doing in pipeline_registry doesn't seem to be doing anything. |
Hi @Cazforshort an important question - is this a brand new project or one that you've migrated to 0.17.2? |
This is a brand new project. |
Okay - great and did you use a kedro starter or just |
Just kedro new. Then I basically just followed the tutorial for file placement. Maybe some changes to the import statements and running kedro install[all] or something like that to fix the catalog. |
Okay let me recreate the steps on a Windows machine to see if I can recreate |
Sure thing, is there anything I can do to test parts since It doesn't seem like my register_pipelines function is running. |
Maybe unrelated, but the starter projects aren't working either. Followed literally step by step here and I get a permissions error even though I'm running as admin. PermissionError: [WinError 5] Access is denied: (temp) C:\Users\cc667216\OneDrive\DCS_Pipeline_Starter>kedro new -s pandas-iris --verbose
|
@Cazforshort is it possible to upgrade to Python 3.8? |
I was able to successfully install and run the Iris starter after updating to Python 3.8. 8! I'll try replacing everything with my own project files in my 3.8.8 environment now. |
Glad you managed to get going! Let me know if you run into any other roadblocks and I'll investigate what's going on Python <3.8 properly! |
Okay so bad news is the exact same issue happened again. Can't find the pipelines even though they are registered.
I think sqlalchemy is not being installed right and for some reason it throws that very confusing error. How do I make sure its added to the requirements file correctly? |
Wow good work! I'll raise a ticket for this since we should absolutely give you a good error message. I'm not sure I understand this part
What are you doing currently? |
Actually I can confirm a fix for this misleading error message is queued up for 0.17.3 |
It may actually just be the code that is using it. Definitely in that area. I'll keep testing until I figure out what exact line is causing the problem. `def execute_sql(sql_query,credentials_file):
|
I'm just trying to read from a sql database, but if I have this at the top of my node it wont run. Even if I don't use it at all. |
Okay, problem solved. just needed to add sqlalchemy to the requirements.in. Everything works now. That was probably the biggest issue, just to forever to figure out what I had missed. |
Hi. I still have the same problem when trying to follow the space ship tutorial. When running |
@jmbenedetto - there is an issue with The fix will be in 0.17.3 which will be released shortly. |
@datajoely - I tried after running 'kedro install' but nothing changes. Same error. Is there a workaround? Thanks for your work! |
You probably need to add something to your requirements.in file. Start
commenting out import statements (and code that uses the imported things).
Keep commenting until you figure out the problem. Or just check imports
against the requirements.in file.
…On Wed, Mar 31, 2021 at 6:33 PM jm_benedetto ***@***.***> wrote:
@datajoely <https://github.com/datajoely> - I tried after running 'kedro
install' but nothing changes. Same error. Is there a workaround? Thanks for
your work!
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#731 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/ABUZFLZUAKFZUSYQTMNFHM3TGOPMXANCNFSM4ZTT7OFQ>
.
|
Hi everyone, error messages should be clearer with 0.17.3, released today. As always, feel free to raise a new issue if you encounter problems. Thanks a lot for your patience! |
I am having the same problem as:
Everything is updated. Just the "pipeline registry" function appears to be used/read. |
Hi @FranciscoReveriano are you having this problem on 0.17.2? |
Description
Kedro Run doesn't work and claims that I need to register my pipeline.
I certainly have it registered. Here is my My src\dcs_package\pipeline_registry.py:
`
from typing import Dict
from kedro.pipeline import Pipeline, node
from .pipelines.data_processing.pipeline import create_pipeline
import logging
def register_pipelines() -> Dict[str, Pipeline]:
and my pipeline file is in "src\dcs_package\pipelines\data_processing\pipeline.py"
Context
I'm trying to run a very simple pipeline that just outputs a test string "test string"
Steps to Reproduce
Expected Result
Pipeline is found and runs node.
Actual Result
Pipeline is not found.
"Failed to find the pipeline named 'de'. It needs to be generated and returned by the 'register_pipelines' function."
Failed to find the pipeline named 'de'. It needs to be generated and returned by the 'register_pipelines' function.
Your Environment
Include as many relevant details about the environment in which you experienced the bug:
pip show kedro
orkedro -V
):_ _
| | _____ | | __ ___
| |/ / _ / _` | '/ _
| < / (| | | | () |
|_|__|_,|_| __/
v0.17.2
kedro allows teams to create analytics
projects. It is developed as part of
the Kedro initiative at QuantumBlack.
No plugins installed
python -V
): 3.7The text was updated successfully, but these errors were encountered: