Join the Kedro community

Updated 2 weeks ago

Kedro Viz Version Mismatch and Pipeline Outdated

hi all, quick kedro-viz question, I have kedro Viz 10 installed, however, whenever I run kedro viz run the pipeline generated is out of date (new pipelines not shown which are part of default ) and the version shown in the top right hand corner of the rendered pipeline version shows kedro viz v7. Any ideas on how to fix this? Is it a caching issue?

J
M
R
22 comments

Hi Mark,

Could you please share the screenshot? Did you tried in incognito mode? in case if its caching issue.

Also could you please check in your env if you are using correct Kedro-Viz version.

Hi Jitendra, please see screenshot

Attachment
image.png

I have tried running in incognito, but Kedro Viz automatically opens a regular chrome browser if only an Icognito window is open.

output from pip freeze

Attachment
image.png

Thanks for sharing this info, Could you please copy kedro-viz url and try manually in Incognito window?

maybe, u have an older instance of kedro-viz also running

can you Ctrl + C this istance and try opening localhost:4141

thanks Rashida, yeah, that opens to the same kedro viz v7.1.0 outputs. Any idea how to stop that running?

i usually do this

lsof -Pi | grep LISTEN
kill -9 $PID

PID is the instance which occupies port 4141. So find the PID and then type it there

we have a fix for this in the new release launching this week. So next time, u have an older instance running, it will let u know the port is occupied, and it will launch Kedro-Viz on a new port

ok, thanks very much, that seems to have killed it, getting an error when running now though

complaining about src in the file path of the pipelines in pipeline_registry which is weird?

Attachment
image.png

If you are available now, we can have a quick call?

sorry, not available, managed to get it to run, and it's running with kv v10 now, which is sweet, but the resulting pipeline viz still looks wrong, down't show majority of the nodes

please check your filters, and if you are hiding/focusing any nodes. Maybe try resetting your filters. and hopefully it should work

yeah, tried that, it's weird, just seems like majority of nodes aren't being pulled through... available for a call now if helpful?

let me try one more thing

Okay no problem πŸ‘

ok, all good thanks, thought everything was included in default in the pipeline registry, replaced the declaring of individual pipelines with

 pipelines = find_pipelines()
    pipelines["__default__"] = sum(pipelines.values())
    return pipelines
and that's done the trick. Thanks for the help both! Really appreciate it!

Add a reply
Sign up and join the conversation on Slack