hi all, quick kedro-viz question, I have kedro Viz...
# questions
m
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?
h
Someone will reply to you shortly. In the meantime, this might help:
j
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.
m
Hi Jitendra, please see screenshot
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
j
Thanks for sharing this info, Could you please copy kedro-viz url and try manually in Incognito window?
m
same result
r
maybe, u have an older instance of kedro-viz also running
👍 1
can you Ctrl + C this istance and try opening localhost:4141
m
thanks Rashida, yeah, that opens to the same kedro viz v7.1.0 outputs. Any idea how to stop that running?
r
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
m
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?
j
If you are available now, we can have a quick call?
m
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
👍 1
r
please check your filters, and if you are hiding/focusing any nodes. Maybe try resetting your filters. and hopefully it should work
m
yeah, tried that, it's weird, just seems like majority of nodes aren't being pulled through... available for a call now if helpful?
👍 1
r
@Jitendra Gundaniya
m
let me try one more thing
j
Okay no problem 👍
m
ok, all good thanks, thought everything was included in
default
in the pipeline registry, replaced the declaring of individual pipelines with
Copy code
pipelines = find_pipelines()
    pipelines["__default__"] = sum(pipelines.values())
    return pipelines
and that's done the trick. Thanks for the help both! Really appreciate it!
👍 1