Commit 1429fd1
authored
I ran into some confusing issues while trying to document Python Remote
File Sourcing:
- VS Code was sometimes sourcing the .venv from a different workspace
when I was starting pip servers. I added logging so we can easily know
which Python interpreter is being used for Pip servers
- Managed server list did not always refresh when using the refresh
button in the treeview. I added a flag to force this
### Testing
- Open a workspace in VS Code (can be empty)
- Create a new Python .venv
- Install deephaven-server package in the .venv
```sh
pip install deephaven-server
```
- In Deephaven view, if the "Managed" node doesn't show, click the
refresh button in the SERVERS treeview. It should show up
- In the `Output -> Deephaven Debug` panel, should see some entries for
`[PipServerController] DEBUG` showing the Python interpreter path for
the workspace
- Delete the Python `.venv` folder
- Refresh the treeview again. The "Managed" node should disappear
1 parent 9174cb5 commit 1429fd1
File tree
2 files changed
+16
-5
lines changed- src/controllers
2 files changed
+16
-5
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1031 | 1031 | | |
1032 | 1032 | | |
1033 | 1033 | | |
1034 | | - | |
| 1034 | + | |
1035 | 1035 | | |
1036 | 1036 | | |
1037 | 1037 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
96 | 96 | | |
97 | 97 | | |
98 | 98 | | |
| 99 | + | |
99 | 100 | | |
100 | 101 | | |
101 | 102 | | |
| 103 | + | |
| 104 | + | |
102 | 105 | | |
103 | 106 | | |
104 | 107 | | |
| |||
130 | 133 | | |
131 | 134 | | |
132 | 135 | | |
133 | | - | |
| 136 | + | |
134 | 137 | | |
135 | 138 | | |
136 | 139 | | |
| |||
323 | 326 | | |
324 | 327 | | |
325 | 328 | | |
326 | | - | |
| 329 | + | |
| 330 | + | |
| 331 | + | |
327 | 332 | | |
328 | 333 | | |
329 | 334 | | |
330 | | - | |
331 | | - | |
| 335 | + | |
| 336 | + | |
| 337 | + | |
| 338 | + | |
| 339 | + | |
| 340 | + | |
| 341 | + | |
| 342 | + | |
332 | 343 | | |
333 | 344 | | |
334 | 345 | | |
| |||
0 commit comments