question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

[BE] Fix bug experiment data not showing on Windows

See original GitHub issue

Description

Internal user Sanjay, reported a bug on Windows where his experiment data is being tracked properly, can be shown in the pipeline view, but doesn’t appear in the experiment tracking view.

Context

Can’t view experiment data.

Steps to Reproduce

  1. Setup experiment tracking session store + datasets
  2. kedro run
  3. kedro viz

Expected Result

The logged experiment data should appear in the experiment tracking view.

Actual Result

Only the data from the session store is shown with the names of the tracked datasets, but not the actual content. image (12)

2022-02-10 16:27:39,359 - kedro_viz.api.graphql - WARNING - `C:\Users\s_hariharan\...\evaluation.json` could not be found

Your Environment

Include as many relevant details as possible about the environment you experienced the bug in:

  • Web browser system and version: N/A
  • Operating system and version: Windows
  • NodeJS version used (if relevant): N/A
  • Kedro version used (if relevant): N/A
  • Python version used (if relevant): N/A

Notes

@studioswong and I already had a stab at finding out what the issue is. It looks like the issue is in https://github.com/kedro-org/kedro-viz/blob/main/package/kedro_viz/api/graphql.py#L212, specifically the logic to check if the file exists: https://github.com/kedro-org/kedro-viz/blob/main/package/kedro_viz/api/graphql.py#L244.

We haven’t fully verified this, but my guess is that for some reason this check doesn’t pass on Windows and therefore no data is returned. The data was logged properly and the REST API does return it.

Checklist

  • Include labels so that we can categorise your issue

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Reactions:1
  • Comments:5 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
rashidakanchwalacommented, Mar 17, 2022

@AntonyMilneQB – hey, I got Kedro-viz to run on my personal Windows Machine and nothing is committing to the session_store.db on every kedro run. For me, it shows no experiment tracking data on Kedro-viz. I can bring my laptop next week so we can debug in person.

0reactions
AntonyMilneQBcommented, Mar 23, 2022
Read more comments on GitHub >

github_iconTop Results From Across the Web

Error: Windows Explorer has stopped working
If Windows Explorer stops working while working with pictures or browsing folders that contain pictures, there may be corruption is one or more...
Read more >
Hard Drive Not Showing Up In Windows 10: Solved [10 Fixes]
#6) Run Hardware And Devices Troubleshooter​​ #3) Click on “Troubleshoot” and then click on “Hardware and Devices” as shown in the image below....
Read more >
Troubleshooting — PsychoPy v2022.2.4
I run a Builder experiment and nothing happens¶ · go to the Coder view (from the Builder>View menu if not visible) · if...
Read more >
Bug - Show data not showing correct values
The show data function for maticies is not showing the correct values where there are multiple columns that have been expanded.
Read more >
How to Fix Windows 10 Search Not Working (3 ways) - YouTube
Here are 3 ways to fix Windows 10 search issues.- Get affordable, reliable Windows keys at Prime Tech Mart!
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found