cancel
Showing results for 
Search instead for 
Did you mean: 
Get Started Discussions
Start your journey with Databricks by joining discussions on getting started guides, tutorials, and introductory topics. Connect with beginners and experts alike to kickstart your Databricks experience.
cancel
Showing results for 
Search instead for 
Did you mean: 

.py file running stuck on waiting

BigAlThePal
New Contributor II

Hello, hope you are doing well.
We are facing an issue when running .py files. This is fairly recent and we were not experiencing this issue last week.


As shown in the screenshots below, the .py file hangs on "waiting" after we press "run all". No matter how long we wait we're stuck in limbo like this. If we refresh the page, we then see the execution actually happened.

BigAlThePal_0-1743709475328.png

 

The compute is all purpose compute. This happens with all .py files we have.

We're running Microsoft Edge for Business Version 134.0.3124.93 (Official build) (64-bit).

 

Would appreciate any workaround or fix

Thanks a lot, Alan

 

1 ACCEPTED SOLUTION

Accepted Solutions

humpy_reddy
New Contributor III

Hey @BigAlThePal

It looks like a UI bug, especially in Microsoft Edge. The code actually runs, but the output doesn't show until you refresh. A few quick things you can try:

  • Run cells individually instead of using "Run All"
  • Switch to Chrome or Firefox (seems more stable)
  • Try copying the code into a standard Databricks notebook instead of a .py file

Hope this helps! Let us know if switching browsers works for you. 

 

 

View solution in original post

3 REPLIES 3

humpy_reddy
New Contributor III

Hey @BigAlThePal

It looks like a UI bug, especially in Microsoft Edge. The code actually runs, but the output doesn't show until you refresh. A few quick things you can try:

  • Run cells individually instead of using "Run All"
  • Switch to Chrome or Firefox (seems more stable)
  • Try copying the code into a standard Databricks notebook instead of a .py file

Hope this helps! Let us know if switching browsers works for you. 

 

 

Hi, I was experiencing the same problem with.py files in databricks. Indeed, when copying the code in a notebook, it works fine. Any idea why .py files are problematic?

BigAlThePal
New Contributor II

Hello, thanks a lot for your answer.
We were getting the required permissions to use Firefox in our org, but in the meantime it seemed it worked again in Edge when it updated to version 135.0.3179.85 (Official build) (64-bit).