Cannot run another notebook from same directory
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2024 10:47 AM
Hello, I am having a similar problem from this thread which was never resolved: https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-...
I renamed a notebook (utility_data_wrangling) which I am using in my current notebook. When I do
%run "./utility_metrics" (a different notebook), it runs fine. But when I run
%run "./utility_data_wrangling" it gives me the error:
Failed to parse %run command: string matching regex `\$[\w_]+' expected but `%' found. If notebook path contains spaces, wrap with double quotes. Stacktrace: /Shared/Inbound Forecasting/testing_error: python
This seems to break something fundamentally because now %run "./utility_metrics" will give the same error even when commenting out %run "./utility_data_wrangling"
Failed to parse %run command: string matching regex `\$[\w_]+' expected but `%' found. If notebook path contains spaces, wrap with double quotes. Stacktrace: /Shared/Inbound Forecasting/testing_error: python
This seems to break something fundamentally because now %run "./utility_metrics" will give the same error even when commenting out %run "./utility_data_wrangling"