<?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: Error while creating databricks custom app in Data Engineering</title>
    <link>https://community.databricks.com/t5/data-engineering/error-while-creating-databricks-custom-app/m-p/139579#M51236</link>
    <description>&lt;P&gt;Seems like you are combining a file path for FLASK_APP with running a file using command. When FLASK_APP is set to a full path, Flask expects that path to point to a Python &lt;STRONG&gt;file&lt;/STRONG&gt; (e.g., app.py) or &lt;STRONG&gt;package&lt;/STRONG&gt; that contains the application instance.&lt;/P&gt;&lt;P&gt;​Correct FLASK_APP and command&lt;/P&gt;&lt;P&gt;​Adjust your app.yaml file to only point FLASK_APP to the directory containing your main Python file (app.py), and then set the command to run the file directly&lt;/P&gt;</description>
    <pubDate>Tue, 18 Nov 2025 23:06:53 GMT</pubDate>
    <dc:creator>Raman_Unifeye</dc:creator>
    <dc:date>2025-11-18T23:06:53Z</dc:date>
    <item>
      <title>Error while creating databricks custom app</title>
      <link>https://community.databricks.com/t5/data-engineering/error-while-creating-databricks-custom-app/m-p/139564#M51231</link>
      <description>&lt;P&gt;I am trying to create a simple databricks custom app but I am getting&amp;nbsp;&lt;SPAN&gt;Error: Could not import 'app'. error.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;app.yaml file&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;env:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp;- name: &lt;/SPAN&gt;&lt;SPAN&gt;FLASK_APP&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp;value: &lt;/SPAN&gt;&lt;SPAN&gt;'/Workspace/Users/sam@xxx.com/databricks_apps/hello-world_2025_11_13-16_19/Gaap_commentry/app'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;command: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"flask"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"app.py"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"run"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;Looks like it's not able to locate the app. How I can fix the import error&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 19:51:17 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-while-creating-databricks-custom-app/m-p/139564#M51231</guid>
      <dc:creator>Shivaprasad</dc:creator>
      <dc:date>2025-11-18T19:51:17Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating databricks custom app</title>
      <link>https://community.databricks.com/t5/data-engineering/error-while-creating-databricks-custom-app/m-p/139579#M51236</link>
      <description>&lt;P&gt;Seems like you are combining a file path for FLASK_APP with running a file using command. When FLASK_APP is set to a full path, Flask expects that path to point to a Python &lt;STRONG&gt;file&lt;/STRONG&gt; (e.g., app.py) or &lt;STRONG&gt;package&lt;/STRONG&gt; that contains the application instance.&lt;/P&gt;&lt;P&gt;​Correct FLASK_APP and command&lt;/P&gt;&lt;P&gt;​Adjust your app.yaml file to only point FLASK_APP to the directory containing your main Python file (app.py), and then set the command to run the file directly&lt;/P&gt;</description>
      <pubDate>Tue, 18 Nov 2025 23:06:53 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-while-creating-databricks-custom-app/m-p/139579#M51236</guid>
      <dc:creator>Raman_Unifeye</dc:creator>
      <dc:date>2025-11-18T23:06:53Z</dc:date>
    </item>
    <item>
      <title>Re: Error while creating databricks custom app</title>
      <link>https://community.databricks.com/t5/data-engineering/error-while-creating-databricks-custom-app/m-p/139698#M51274</link>
      <description>&lt;P&gt;Thanks, I have modified the yaml file but still getting&amp;nbsp;&lt;SPAN&gt;Error: Could not import 'app'&amp;nbsp; &amp;nbsp;error&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;env:&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; - name: &lt;/SPAN&gt;&lt;SPAN&gt;FLASK_APP&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; value: &lt;/SPAN&gt;&lt;SPAN&gt;'/Workspace/Users/xxx@zzz.com/databricks_apps/hello-world_2025_11_13-16_19/Gaap_commentry'&lt;/SPAN&gt;&lt;/DIV&gt;&lt;BR /&gt;&lt;DIV&gt;&lt;SPAN&gt;command: [&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"flask"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"--app"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"app.py"&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"run"&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; ]&lt;/SPAN&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 19 Nov 2025 15:23:04 GMT</pubDate>
      <guid>https://community.databricks.com/t5/data-engineering/error-while-creating-databricks-custom-app/m-p/139698#M51274</guid>
      <dc:creator>Shivaprasad</dc:creator>
      <dc:date>2025-11-19T15:23:04Z</dc:date>
    </item>
  </channel>
</rss>

