microsoft / vscode-data-wrangler

Other
440 stars 20 forks source link

Uncaught Error When Trying to Open #282

Closed DaniellePashayan closed 2 months ago

DaniellePashayan commented 2 months ago

Environment data

Expected behaviour

To be able to open a dataframe in data wrangler.

Actual behaviour

Pop up saying "Launching Data Wrangler" and nothing happens or loads. In the extensions window, there's a message that says "This extension has reported 1 uncaught error". Upon clicking, it shows "Je.lm?.onDidChangeChatModels is not a function"

Steps to reproduce:

  1. df = pd.DataFrame(data={'col1': [1, 2], 'col2': [3, 4]}).
  2. Button for "Open in Data Wrangler" doesn't appear
  3. In Jupyter variable window, click the "Show variable snapshot in data viewer" button

Logs

No outputs get generated and nothing actually loads ![image](https://github.com/user-attachments/assets/3dc01f27-08eb-4c76-9656-02a60d3d5f18) ![image](https://github.com/user-attachments/assets/9973ec60-968f-4d83-8009-3e58f5f00b48)

pwang347 commented 2 months ago

Hi @DaniellePashayan, thank you for reporting this issue! This bug is affecting specific older versions of VS Code, including 1.87. We've released a hotfix in Data Wrangler extension version 1.8.1, please give it a try and let me know if it's fixed for you.

Thanks!

DaniellePashayan commented 2 months ago

The hot fix is working, thank you!