-
Notifications
You must be signed in to change notification settings - Fork 28
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
After running some notebooks cells gives an error "TypeError: Cannot read properties of undefined (reading 'status')" #196
Comments
I have the same issue with the same system info |
Please check the logs under Outputs -> databricks.vscode and post the here (remove sensitive information if necessary)
Get Outlook for Android<https://aka.ms/AAb9ysg>
…________________________________
From: Nika ***@***.***>
Sent: Thursday, July 18, 2024 11:05:33 AM
To: paiqo/Databricks-VSCode ***@***.***>
Cc: Subscribed ***@***.***>
Subject: Re: [paiqo/Databricks-VSCode] After running some notebooks cells gives an error "TypeError: Cannot read properties of undefined (reading 'status')" (Issue #196)
I have the same issue with the same system info
—
Reply to this email directly, view it on GitHub<#196 (comment)>, or unsubscribe<https://github.com/notifications/unsubscribe-auth/AC2VO4S4FBREVK5W3YB4TUDZM6AN3AVCNFSM6AAAAABLBPN4LWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDEMZWGAYDGMZSHE>.
You are receiving this because you are subscribed to this thread.Message ID: ***@***.***>
|
Hi @gbrueckl here the logs (I think it's the correct, please tell me if not)
|
so the error message you posted comes from the original Databricks extension |
I have the same issue on Windows and get the following logs (@gbrueckl, thank you for explaining where to find the right logs):
It always happens when you pause programming for some time and come back later. Restarting VS Code solves the issue, but it would be great if the restart wouldn't be required. Thank you for the great extension and in advance for the support. |
@rgalljamov so this error is related to this extension and i can have a look. the token probably expires after 1 hour and we dont have any refresh in place yet as this only happens for the Azure Connection Manager |
Thank you very much for the swift reply and support @gbrueckl! I'm using the official Databricks Extension in the newest version and OAuth U2M authentification. Therefore, your extension worked right away after installation, which was a great positive surprise. The expiration duration might be below an hour but I have not tested it yet. |
Just checked the error logs - I have the same JWT issue
Thanks for looking on it! |
were anyone able to fix this issue? |
I just published v2.3.5 to the marketplace which should hopefully fix this issue |
I get a slightly different error from trying to execute cells occurring every 20 mins or so: It may be giving me this error for several minutes for all the cells, but eventually it will recover, maybe following the appearance of this in the output log: I remember seeing a text entry somewhere in the output log saying the headers are refreshed every 1800 seconds. Is there some way to make this more frequent? When the error happens, I will also get: |
may I ask if other features of the original Databricks extension still work at the time when you face those issues? just want to make sure its not related to the token that we get from the original Databricks extension |
ok, did some more investigation: I will see what I can do |
With the original Databricks extension I never get to create a Databricks project folder successfully, because at the end of the setup process I bump into an error due to group policy (company computer) when the extension tries to execute some .exe file. So I don't get to have any functionality available through the original Databricks extension. |
is there actually a specific reason why you cannot/do not want to use notebooks? |
After a couple more days of experience with this problem, I can say this:
|
in the new solution I would decode the token to see when it expires |
I think you meant to post this here #202. I have at least three reasons to prefer the interactive window over notebook:
|
can you try this build: https://gbpublic001.blob.core.windows.net/files/databricks-vscode-2.3.6.vsix |
I can report that I no longer get this error. But the fix to the issue was not the build you made available above, because I still got the error after installing it. Instead, I think I managed to fix the error with proxy configurations in VsCode settings that made things work with my company's proxy server. Anyway, thanks for the help for troubleshooting and making the Databricks kernel available in the interactive window, which has a huge benefit for me! |
closing as it seems to work now |
Describe the bug
After running some notebooks cells gives an error "TypeError: Cannot read properties of undefined (reading 'status')"
To Reproduce
Steps to reproduce the behavior:
Screenshots
System information:
Databricks Extension Logs
Additional context
The text was updated successfully, but these errors were encountered: