fossasia/visdom

Properties box not updating

Open

#693 opened on Dec 11, 2019

View on GitHub
 (2 comments) (0 reactions) (0 assignees)Python (9,831 stars) (1,152 forks)batch import
bughelp wanted

Description

Bug Description When I trigger an update with viz.properties(), the window does not update.

Reproduction Steps Enter steps to reproduce the behavior:

  1. In python, run viz.properties([...], win='mywin')
  2. Open visdom in the browser
  3. Update the window with viz.properties([...], win='mywin')
  4. The property window does not update
  5. Refresh the browser. The property window contains the correct data.

Expected behavior The property window should update with new values.

Screenshots N/A

Client logs: The javascript console shows a warning:

main.js?v=47fc3afa811b358b354df09184e392e7:19 Warning: validateDOMNesting(...): <tr> cannot appear as a child of <table>. Add a <tbody> to your code to match the DOM tree generated by the browser.

However, I tested a patched version with <tbody> and it still had the update bug, even though the warning went away. So it looks like this not an issue.

I added some console.log statements inside of the render() functions, and it looks like the pane is re-rendering with the correct values. Somehow that update is not being reflected in the DOM.

Server logs: N/A

Additional context Using Chrome 78.0.3904.108 on Mac. Using visdom 0.1.8.9

Contributor guide