<?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: Can't run .py file using workflows anymore in Get Started Discussions</title>
    <link>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66929#M7144</link>
    <description>&lt;P&gt;One update to this, when I removed the user from Admin group, the workflow could successfully run the .py file but when I re-added the user to Admin group, it started giving same error.. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary, a .py file owned by the user having Admin rights are not getting executed via Workflow but works fine when the admin rights are removed for that user.&lt;/P&gt;</description>
    <pubDate>Mon, 22 Apr 2024 13:31:52 GMT</pubDate>
    <dc:creator>UdayPatel</dc:creator>
    <dc:date>2024-04-22T13:31:52Z</dc:date>
    <item>
      <title>Can't run .py file using workflows anymore</title>
      <link>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66877#M7141</link>
      <description>&lt;P&gt;Dear all,&lt;/P&gt;&lt;P&gt;Greetings!&lt;/P&gt;&lt;P&gt;I have been trying to run a workflow job which runs successfully when a task is created using a Notebook file from a folder present in the Workspace but when the same task's type is changed to python script and a .py file is selected from the same folder, the workflow fails with the Resource Not Found error.&amp;nbsp; Both the files (notebook and .py) uses exactly same lines of code.&lt;/P&gt;&lt;P&gt;I have checked all the access rights from Workspace to File level, User and Groups, Cluster and Job level etc etc but can't find a single option to stop the job to execute a .py file but notebook at any level. The job is being run by a user which has full admin rights on the entire workspace.&lt;/P&gt;&lt;P&gt;Any help will be greatly appreciated!&lt;/P&gt;&lt;P&gt;Many thanks in advance!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;</description>
      <pubDate>Sun, 21 Apr 2024 19:41:12 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66877#M7141</guid>
      <dc:creator>UdayPatel</dc:creator>
      <dc:date>2024-04-21T19:41:12Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run .py file using workflows anymore</title>
      <link>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66880#M7142</link>
      <description>&lt;P&gt;I just did a test and it worked.&lt;/P&gt;&lt;P&gt;Is it possible for you to provide a sample of your notebook code and python code.&lt;/P&gt;&lt;P&gt;Also, if you could please share your JOB details (JSON format should do)&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 00:55:16 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66880#M7142</guid>
      <dc:creator>AmanSehgal</dc:creator>
      <dc:date>2024-04-22T00:55:16Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run .py file using workflows anymore</title>
      <link>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66904#M7143</link>
      <description>&lt;P&gt;Hi Aman,&lt;/P&gt;&lt;P&gt;Thank you for your reply.&lt;/P&gt;&lt;P&gt;PFA the json, yaml and the error message with full details of the code etc.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 09:26:59 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66904#M7143</guid>
      <dc:creator>UdayPatel</dc:creator>
      <dc:date>2024-04-22T09:26:59Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run .py file using workflows anymore</title>
      <link>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66929#M7144</link>
      <description>&lt;P&gt;One update to this, when I removed the user from Admin group, the workflow could successfully run the .py file but when I re-added the user to Admin group, it started giving same error.. &lt;span class="lia-unicode-emoji" title=":disappointed_face:"&gt;😞&lt;/span&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In summary, a .py file owned by the user having Admin rights are not getting executed via Workflow but works fine when the admin rights are removed for that user.&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 13:31:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66929#M7144</guid>
      <dc:creator>UdayPatel</dc:creator>
      <dc:date>2024-04-22T13:31:52Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run .py file using workflows anymore</title>
      <link>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66937#M7145</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.databricks.com/t5/user/viewprofilepage/user-id/103839"&gt;@UdayPatel&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for sharing the job details.&amp;nbsp;&lt;BR /&gt;I tried the same approach like running a notebook and then a python file. It worked for me successfully.&lt;/P&gt;&lt;P&gt;At python file level, could you please check the permissions and see if the user running the script has 'Can Manage' privilege?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="nb_permission.jpg" style="width: 999px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7184i81D13CA6550F336E/image-size/large/is-moderation-mode/true?v=v2&amp;amp;px=999" role="button" title="nb_permission.jpg" alt="nb_permission.jpg" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 13:52:15 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66937#M7145</guid>
      <dc:creator>AmanSehgal</dc:creator>
      <dc:date>2024-04-22T13:52:15Z</dc:date>
    </item>
    <item>
      <title>Re: Can't run .py file using workflows anymore</title>
      <link>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66942#M7146</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Have found the solution. It was due to following option being enabled under the Feature Enablement tab under&amp;nbsp; Databricks_Account_Console -- &amp;gt; Settings.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="UdayPatel_0-1713796507608.png" style="width: 400px;"&gt;&lt;img src="https://community.databricks.com/t5/image/serverpage/image-id/7185iD79DD63E4B6EDEA1/image-size/medium/is-moderation-mode/true?v=v2&amp;amp;px=400" role="button" title="UdayPatel_0-1713796507608.png" alt="UdayPatel_0-1713796507608.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you for all your help and the try!&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Uday&lt;/P&gt;</description>
      <pubDate>Mon, 22 Apr 2024 14:36:52 GMT</pubDate>
      <guid>https://community.databricks.com/t5/get-started-discussions/can-t-run-py-file-using-workflows-anymore/m-p/66942#M7146</guid>
      <dc:creator>UdayPatel</dc:creator>
      <dc:date>2024-04-22T14:36:52Z</dc:date>
    </item>
  </channel>
</rss>

