Open timebis opened 9 months ago
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.86.0. Please try upgrading to the latest version and checking whether this issue remains.
Happy Coding!
Same problem with 1.86.0 version.
PI : update is not relevant for extension as long as this issue is not solved.
Hi, @amunger thanks for your message and your work. I don't think it should be considered as a duplicate of 15121.
15121 is about the absence of the "view value in data viewer" button. My issue is that when I click on it, nothing happened.
I tried with the last version (including 15121 fix), but I still have the same issue.
here are my code & extensions version installed on my laptop :
Version: 1.86.1 Commit: 31c37ee8f63491495ac49e43b8544550fbae4533 Date: 2024-02-07T09:07:19.849Z Electron: 27.2.3 ElectronBuildId: 26495564 Chromium: 118.0.5993.159 Node.js: 18.17.1 V8: 11.8.172.18-electron.0 OS: Linux x64 5.10.0-27-amd64
code --list-extensions --show-versions eamodio.gitlens@14.8.0 github.copilot@1.159.0 github.copilot-chat@0.12.1 golang.go@0.40.3 h5web.vscode-h5web@0.1.1 manuth.markdown-converter@5.2.1 mechatroner.rainbow-csv@3.11.0 mhutchie.git-graph@1.30.0 ms-python.autopep8@2023.8.0 ms-python.black-formatter@2024.0.0 ms-python.debugpy@2024.0.0 ms-python.flake8@2023.10.0 ms-python.python@2024.0.1 ms-python.vscode-pylance@2024.2.1 ms-toolsai.jupyter@2024.1.1 ms-toolsai.jupyter-keymap@1.1.2 ms-toolsai.jupyter-renderers@1.0.17 ms-toolsai.vscode-jupyter-cell-tags@0.1.8 ms-toolsai.vscode-jupyter-slideshow@0.1.5 ms-vscode.vscode-typescript-next@5.4.20240211 phplasma.csv-to-table@1.4.0 serkonda7.vscode-vba@0.9.6 tomoki1207.pdf@1.2.2
Do you have any tips on how should I try to debug this, or to give you more elements ?
BR, Thomas
Is this while debugging a notebook cell? So your repro steps are
Does it repro when you are not debugging? Does it repro for trying to view any dataframe? e.g
import pandas as pd
# create a dictionary with sample data
data = {
"name": ["Alice", "Bob", "Charlie", "David"],
"age": [25, 30, 35, 40],
"gender": ["F", "M", "M", "M"],
}
df = pd.DataFrame(data)
thanks for you message !
the issue only arise when a hdf5 conversion is involved.
display df
data preview at breakpoint1
: OK
display df
data preview at breakpoint2
: NOK
display read_df
data preview at breakpoint3
: NOK
import pandas as pd
import numpy as np
# Create a DataFrame with 11 rows and 5 columns
# Columns will be labeled as Col1, Col2, ..., Col118
# Filling the DataFrame with random float numbers
num_rows = 11
num_columns = 5
column_names = [f"Col{i}" for i in range(1, num_columns + 1)]
random_data = np.random.rand(num_rows, num_columns)
df = pd.DataFrame(random_data, columns=column_names)
# # Save the DataFrame to an HDF5 file
print("breakpoint1")
hdf5_file_path = 'path_to_file.h5'
df.to_hdf(hdf5_file_path, key='random_data', mode='w')
print("breakpoint2")
# Read the DataFrame back from the HDF5 file
read_df = pd.read_hdf(hdf5_file_path, 'random_data')
print(read_df)
print("breakpoint3")
display read_df
data preview at breakpoint3
: NOK
import pandas as pd
import numpy as np
hdf5_file_path = 'path_to_file.h5'
# Read the DataFrame back from the HDF5 file
read_df = pd.read_hdf(hdf5_file_path, 'random_data')
print(read_df)
print("breakpoint3")
Any update? I'm having the same problem with hdf5 data
Type: Bug
unable to "view value in data viewer" while debugging. When I click on it, nothing is oppened.
VS Code version: Code 1.84.2 (1a5daa3a0231a0fbba4f14db7ec463cf99d7768e, 2023-11-09T10:50:47.800Z) OS version: Linux x64 5.10.0-27-amd64 Modes:
System Info
|Item|Value| |---|---| |CPUs|11th Gen Intel(R) Core(TM) i7-11850H @ 2.50GHz (16 x 4578)| |GPU Status|2d_canvas: enabledcanvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
video_decode: enabled
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off| |Load (avg)|1, 1, 1| |Memory (System)|31.02GB (26.32GB free)| |Process Argv|log --trace --crash-reporter-id ae314da7-6d41-419c-a7b5-785ea246fad1| |Screen Reader|no| |VM|0%| |DESKTOP_SESSION|gnome| |XDG_CURRENT_DESKTOP|GNOME| |XDG_SESSION_DESKTOP|gnome| |XDG_SESSION_TYPE|x11|
Extensions (20)
Extension|Author (truncated)|Version ---|---|--- gitlens|eam|14.7.0 copilot|Git|1.156.0 copilot-chat|Git|0.11.1 go|gol|0.40.3 vscode-h5web|h5w|0.0.11 markdown-converter|man|5.2.1 rainbow-csv|mec|3.11.0 git-graph|mhu|1.30.0 autopep8|ms-|2023.8.0 flake8|ms-|2023.10.0 python|ms-|2023.16.0 vscode-pylance|ms-|2023.12.1 jupyter|ms-|2023.9.1002771829 jupyter-keymap|ms-|1.1.1 jupyter-renderers|ms-|1.0.15 vscode-jupyter-cell-tags|ms-|0.1.8 vscode-jupyter-slideshow|ms-|0.1.4 vscode-typescript-next|ms-|5.4.20240205 vscode-vba|ser|0.9.6 pdf|tom|1.2.2A/B Experiments
``` vsliv368cf:30146710 vspor879:30202332 vspor708:30202333 vspor363:30204092 vscod805:30301674 binariesv615:30325510 vsaa593cf:30376535 py29gd2263:30899288 vscaac:30438847 c4g48928:30535728 azure-dev_surveyone:30548225 2i9eh265:30646982 962ge761:30951796 pythongtdpath:30769146 welcomedialogc:30910334 pythonidxpt:30866567 pythonnoceb:30805159 asynctok:30898717 pythontestfixt:30902429 pythonregdiag2:30936856 pyreplss1:30897532 pythonmypyd1:30879173 pythoncet0:30885854 pythontbext0:30879054 accentitlementst:30887150 dsvsc016:30899300 dsvsc017:30899301 dsvsc018:30899302 dsvsc019b:30953937 3ef8e399:30949928 ```