paiqo / Databricks-VSCode

VSCode extension to work with Databricks
GNU General Public License v3.0
121 stars 27 forks source link

With Offline Mode, I am unable to execute %run main #187

Open massal07 opened 6 months ago

massal07 commented 6 months ago

Hello,

I have been trying to work with Databricks Power Tools Extension in offline mode. However I encountered a specific issue when attempting to execute : %run test command with a notebook cell as shown in the screen-shot below:

image

thank you in advance for your help

gbrueckl commented 6 months ago

does the local file test.py exist in the relative path? (Same folder as your notebook?) can you try %run test

does the same work on Databricks directly with same/similar setup of files?

massal07 commented 6 months ago

thank you for your quick reply. Yes both test.py and main.py are in the same folder. %run test => gives EntryNotFound (FileSystemError):, yes it does work in databricks directly without any problem

gbrueckl commented 1 week ago

are you actually using %run to run a .py file or a notebook?