<?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 Notebook Paths Errors in Community Edition in Databricks Free Edition Help</title>
    <link>https://community.databricks.com/t5/databricks-free-edition-help/notebook-paths-errors-in-community-edition/m-p/100728#M58</link>
    <description>&lt;P&gt;&lt;EM&gt;I have the following Notebook in Databricks UI:&lt;BR /&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils.entry_point.getDbutils().notebook().getContext().toJson()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT color="#99CC00"&gt;notebook_path&lt;/FONT&gt; = dbutils.notebook.entry_point.getDbutils().notebook().getContext().notebookPath().get()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;f"Current notebook path: &lt;/SPAN&gt;&lt;SPAN&gt;{notebook_path}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;#Now I try to list notebook files&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;%ls /Users/mar@email.com/path_test&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;%ls /Users/mar@email.com&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I get this answer:&lt;BR /&gt;Current noteb&lt;/SPAN&gt;&lt;SPAN&gt;ook path: &lt;FONT color="#99CC00"&gt;/Users/mar@email.com/path_test&lt;/FONT&gt;&lt;BR /&gt;ls: cannot access '&lt;FONT color="#FF0000"&gt;/Users/mar@email.com/&lt;/FONT&gt;': No such file or directory&lt;BR /&gt;ls: cannot access '&lt;FONT color="#FF0000"&gt;/Users/mar@email.com/path_test&lt;/FONT&gt;': No such file or directory&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 03 Dec 2024 09:24:59 GMT</pubDate>
    <dc:creator>mban-mondo</dc:creator>
    <dc:date>2024-12-03T09:24:59Z</dc:date>
    <item>
      <title>Notebook Paths Errors in Community Edition</title>
      <link>https://community.databricks.com/t5/databricks-free-edition-help/notebook-paths-errors-in-community-edition/m-p/100728#M58</link>
      <description>&lt;P&gt;&lt;EM&gt;I have the following Notebook in Databricks UI:&lt;BR /&gt;&amp;nbsp;&lt;/EM&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;dbutils.entry_point.getDbutils().notebook().getContext().toJson()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT color="#99CC00"&gt;notebook_path&lt;/FONT&gt; = dbutils.notebook.entry_point.getDbutils().notebook().getContext().notebookPath().get()&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;print&lt;/SPAN&gt;&lt;SPAN&gt;(&lt;/SPAN&gt;&lt;SPAN&gt;f"Current notebook path: &lt;/SPAN&gt;&lt;SPAN&gt;{notebook_path}&lt;/SPAN&gt;&lt;SPAN&gt;"&lt;/SPAN&gt;&lt;SPAN&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;#Now I try to list notebook files&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;STRONG&gt;%ls /Users/mar@email.com/path_test&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;%ls /Users/mar@email.com&lt;/STRONG&gt;&lt;/SPAN&gt;&lt;SPAN&gt;&lt;STRONG&gt;/&lt;/STRONG&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;I get this answer:&lt;BR /&gt;Current noteb&lt;/SPAN&gt;&lt;SPAN&gt;ook path: &lt;FONT color="#99CC00"&gt;/Users/mar@email.com/path_test&lt;/FONT&gt;&lt;BR /&gt;ls: cannot access '&lt;FONT color="#FF0000"&gt;/Users/mar@email.com/&lt;/FONT&gt;': No such file or directory&lt;BR /&gt;ls: cannot access '&lt;FONT color="#FF0000"&gt;/Users/mar@email.com/path_test&lt;/FONT&gt;': No such file or directory&lt;BR /&gt;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 03 Dec 2024 09:24:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/databricks-free-edition-help/notebook-paths-errors-in-community-edition/m-p/100728#M58</guid>
      <dc:creator>mban-mondo</dc:creator>
      <dc:date>2024-12-03T09:24:59Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook Paths Errors in Community Edition</title>
      <link>https://community.databricks.com/t5/databricks-free-edition-help/notebook-paths-errors-in-community-edition/m-p/100737#M59</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/133259"&gt;@mban-mondo&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;&lt;P&gt;I think this is related to permissions issue. The same code will work if you create your own workspace. Since databricks community it's not your own instace, they probably had to disable some "features".&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 11:05:31 GMT</pubDate>
      <guid>https://community.databricks.com/t5/databricks-free-edition-help/notebook-paths-errors-in-community-edition/m-p/100737#M59</guid>
      <dc:creator>szymon_dybczak</dc:creator>
      <dc:date>2024-12-03T11:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Notebook Paths Errors in Community Edition</title>
      <link>https://community.databricks.com/t5/databricks-free-edition-help/notebook-paths-errors-in-community-edition/m-p/100778#M60</link>
      <description>&lt;P&gt;Many thanks. It would be helpful if the error message said 'No access has been granted to this resource' instead of 'Resource not found.&amp;nbsp; &amp;nbsp; &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Dec 2024 15:47:32 GMT</pubDate>
      <guid>https://community.databricks.com/t5/databricks-free-edition-help/notebook-paths-errors-in-community-edition/m-p/100778#M60</guid>
      <dc:creator>mban-mondo</dc:creator>
      <dc:date>2024-12-03T15:47:32Z</dc:date>
    </item>
  </channel>
</rss>

