<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Cannot run another notebook from same directory in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/cannot-run-another-notebook-from-same-directory/m-p/68670#M33715</link>
    <description>&lt;P&gt;It has no special characters, like I mentioned it's just utility_data_wrangling. It does not work with or without the double quotation marks.&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2024 15:39:05 GMT</pubDate>
    <dc:creator>fix_databricks</dc:creator>
    <dc:date>2024-05-09T15:39:05Z</dc:date>
    <item>
      <title>Cannot run another notebook from same directory</title>
      <link>https://community.databricks.com/t5/data-engineering/cannot-run-another-notebook-from-same-directory/m-p/68627#M33707</link>
      <description>&lt;P&gt;Hello, I am having a similar problem from this thread which was never resolved:&amp;nbsp;&lt;A href="https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/td-p/18691" target="_blank"&gt;https://community.databricks.com/t5/data-engineering/unexpected-error-while-calling-notebook-string-matching-regex-w/td-p/18691&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I renamed a notebook (utility_data_wrangling) which I am using in my current notebook. When I do&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;%&lt;/SPAN&gt;&lt;SPAN&gt;run &lt;/SPAN&gt;&lt;SPAN&gt;&lt;SPAN&gt;"./utility_metrics" (a different notebook), it runs fine. But when I run&amp;nbsp;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;%&lt;/SPAN&gt;&lt;SPAN&gt;run &lt;/SPAN&gt;&lt;SPAN&gt;"./utility_data_wrangling" it gives me the error:&lt;BR /&gt;&lt;BR /&gt;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&lt;BR /&gt;&lt;BR /&gt;This seems to break something fundamentally because now %run "./utility_metrics" will give the same error even when commenting out&amp;nbsp;%run "./utility_data_wrangling" &lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 08 May 2024 17:47:01 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cannot-run-another-notebook-from-same-directory/m-p/68627#M33707</guid>
      <dc:creator>fix_databricks</dc:creator>
      <dc:date>2024-05-08T17:47:01Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot run another notebook from same directory</title>
      <link>https://community.databricks.com/t5/data-engineering/cannot-run-another-notebook-from-same-directory/m-p/68636#M33712</link>
      <description>&lt;P&gt;The error message indicates that the &lt;SPAN&gt;notebook&amp;nbsp;&lt;/SPAN&gt;name contains special characters, please modify the &lt;SPAN&gt;notebook&amp;nbsp;&lt;/SPAN&gt;name to contain only English letters, and remove double quotation marks&lt;/P&gt;&lt;LI-CODE lang="python"&gt;%run ./utility123&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 01:54:30 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cannot-run-another-notebook-from-same-directory/m-p/68636#M33712</guid>
      <dc:creator>feiyun0112</dc:creator>
      <dc:date>2024-05-09T01:54:30Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot run another notebook from same directory</title>
      <link>https://community.databricks.com/t5/data-engineering/cannot-run-another-notebook-from-same-directory/m-p/68670#M33715</link>
      <description>&lt;P&gt;It has no special characters, like I mentioned it's just utility_data_wrangling. It does not work with or without the double quotation marks.&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2024 15:39:05 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cannot-run-another-notebook-from-same-directory/m-p/68670#M33715</guid>
      <dc:creator>fix_databricks</dc:creator>
      <dc:date>2024-05-09T15:39:05Z</dc:date>
    </item>
    <item>
      <title>Re: Cannot run another notebook from same directory</title>
      <link>https://community.databricks.com/t5/data-engineering/cannot-run-another-notebook-from-same-directory/m-p/130279#M48741</link>
      <description>&lt;P&gt;I am running into the same issue.&amp;nbsp;It seems like the `%run`&amp;nbsp;&lt;SPAN&gt;magic command is trying to parse the entire cell content as its arguments. So if you have&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;LI-CODE lang="python"&gt;%run "my_notebook"

print("hello")&lt;/LI-CODE&gt;&lt;P&gt;&lt;SPAN&gt;in the same cell, you will get the following error: `Failed to parse %run command: string matching regex '\$[\w_]+' expected but 'p' found. If notebook path contains spaces, wrap with double quotes.` But if you remove the `print("hello")`, it will run fine.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;This is quite frustrating and I would assume that it's a bug.&lt;/P&gt;</description>
      <pubDate>Sun, 31 Aug 2025 17:09:55 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/cannot-run-another-notebook-from-same-directory/m-p/130279#M48741</guid>
      <dc:creator>ddundovic</dc:creator>
      <dc:date>2025-08-31T17:09:55Z</dc:date>
    </item>
  </channel>
</rss>

