<?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: Fabric Notebook notebookutils.notebook.exit('Output Value') not working in Data Engineering</title>
    <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4600036#M7761</link>
    <description>&lt;P&gt;Hi Arundhati_Sen1,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We wanted to check in regarding your query, as we have not heard back from you. If you have resolved the issue, sharing the solution with the community would be greatly appreciated and could help others encountering similar challenges.&lt;/P&gt;
&lt;P&gt;If you found our response useful, kindly mark it as the accepted solution and provide kudos to guide other members.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Mar 2025 08:47:04 GMT</pubDate>
    <dc:creator>v-pnaroju-msft</dc:creator>
    <dc:date>2025-03-07T08:47:04Z</dc:date>
    <item>
      <title>Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4586480#M7527</link>
      <description>&lt;P&gt;Hi, I am trying to run MS fabic notebook from data pipeline and get the exitValue which is required to perform next steps.&lt;BR /&gt;In my code I had to use python fintech library. When I am importing the fintech library after that&amp;nbsp;notebookutils.notebook.exit() is not working.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Step1 :&amp;nbsp;&lt;BR /&gt;Installed fintech library and checked&amp;nbsp; that&amp;nbsp;notebookutils.notebook.exit is working as expected&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arundhati_Sen1_3-1740590256065.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1244116iC014DD40D02A9B5E/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Arundhati_Sen1_3-1740590256065.png" alt="Arundhati_Sen1_3-1740590256065.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Step 2:&lt;BR /&gt;Once I import fintech after that getting exception :&amp;nbsp;&lt;SPAN&gt;notebookutils.mssparkutils.handlers.notebookHandler.NotebookExit&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arundhati_Sen1_4-1740590307179.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1244117iD903A5C8F7614500/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Arundhati_Sen1_4-1740590307179.png" alt="Arundhati_Sen1_4-1740590307179.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;Any Idea why this is happening? Any workaround how I can still get exit value&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Complete Error Message:&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;Traceback (most recent call last): File "/tmp/ipykernel_12261/2317407240.py", line 1, in &amp;lt;module&amp;gt; notebookutils.notebook.exit({"error_count": error_count, "warning_count" : warning_count}) File "/home/trusted-service-user/cluster-env/clonedenv/lib/python3.11/site-packages/notebookutils/notebook.py", line 21, in exit nb.exit(value) File "/home/trusted-service-user/cluster-env/clonedenv/lib/python3.11/site-packages/notebookutils/mssparkutils/handlers/notebookHandler.py", line 102, in exit raise NotebookExit(value) notebookutils.mssparkutils.handlers.notebookHandler.NotebookExit: Output&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;Thanks in advance&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 26 Feb 2025 19:11:37 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4586480#M7527</guid>
      <dc:creator>Arundhati_Sen1</dc:creator>
      <dc:date>2025-02-26T19:11:37Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4587212#M7539</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You may try to import only required functions from the fintech package instead of the whole library. Like this example:&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;SPAN class=""&gt;from &lt;SPAN class=""&gt;fintech.sepa &lt;SPAN class=""&gt;import &lt;SPAN class=""&gt;Account&lt;SPAN class=""&gt;, &lt;SPAN class=""&gt;SEPACreditTransfer&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;It may be the case that fintech has some own exit function that interferes with your used function.&lt;BR /&gt;&lt;BR /&gt;So try to remove the whole 'import fintech' line and only import specific packages used.&lt;/P&gt;
&lt;PRE&gt;&lt;CODE&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 27 Feb 2025 06:24:22 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4587212#M7539</guid>
      <dc:creator>FabianSchut</dc:creator>
      <dc:date>2025-02-27T06:24:22Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4587304#M7549</link>
      <description>&lt;P&gt;As per official document before importing anyt module from fintech library it needs to be registered (&lt;A href="https://www.joonis.de/en/fintech/doc/" target="_blank"&gt;Python Fintech Documentation - joonis.de&lt;/A&gt;)&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arundhati_Sen1_0-1740639262643.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1244350iAF8B0FF9E710A5BD/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Arundhati_Sen1_0-1740639262643.png" alt="Arundhati_Sen1_0-1740639262643.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;so I only imported register from fintech, not the entire library. But still issue persists. Any other workaround?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arundhati_Sen1_1-1740639400734.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1244351i74CEDCEC6E675293/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Arundhati_Sen1_1-1740639400734.png" alt="Arundhati_Sen1_1-1740639400734.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Even if I only import register from fintech still same thing happening. Please help&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 06:57:16 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4587304#M7549</guid>
      <dc:creator>Arundhati_Sen1</dc:creator>
      <dc:date>2025-02-27T06:57:16Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4588447#M7572</link>
      <description>&lt;P data-pm-slice="1 1 []"&gt;Thankyou, &lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/701977"&gt;@FabianSchut&lt;/a&gt;&amp;nbsp;,for your response.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.fabric.microsoft.com/t5/user/viewprofilepage/user-id/945278"&gt;@Arundhati_Sen1&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;We appreciate your inquiry on the Microsoft Fabric Community Forum.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The potential cause of this conflict could be the FinTech library, which might be overriding or modifying certain Python behaviors or modules on which&amp;nbsp;notebookutils depends.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Kindly follow the steps mentioned below, which may help in resolving the issue:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;1. Ensure that the version of the fintech library you are using is compatible with the current environment and notebookutils. Refer to the library’s documentation for any known issues.&lt;/P&gt;
&lt;P&gt;2. If notebookutils.notebook.exit() is causing issues after importing the fintech library, consider using an alternative method to handle exits and return values. For example, instead of calling notebookutils.notebook.exit(), you may store the exit value in a variable and use it for further processing.&lt;/P&gt;
&lt;P&gt;3. Implement try-except blocks around the code to handle exceptions gracefully, ensuring that the notebook generates an output even if an error occurs.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Additionally, please refer to the following link for further information:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://learn.microsoft.com/en-us/fabric/data-engineering/notebook-utilities" target="_blank"&gt;NotebookUtils (former MSSparkUtils) for Fabric - Microsoft Fabric | Microsoft Learn&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 27 Feb 2025 17:08:25 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4588447#M7572</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-02-27T17:08:25Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4591910#M7627</link>
      <description>&lt;P&gt;Hi Arundhati_Sen1,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We have not received a response from you regarding the query and were following up to check if you have found a resolution. If you have identified a solution, we kindly request you to share it with the community, as it may be helpful to others facing a similar issue.&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;If you find the response helpful, please mark it as the accepted solution and provide kudos, as this will help other members with similar queries.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 02 Mar 2025 18:44:38 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4591910#M7627</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-03-02T18:44:38Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4592262#M7635</link>
      <description>&lt;P&gt;Below solution does not help me with&amp;nbsp;&lt;SPAN&gt;notebookutils.notebook.exit() issue.&amp;nbsp;&lt;BR /&gt;I need to import Fintech library for my solution.&lt;BR /&gt;Is there any alternative to&amp;nbsp;notebookutils.notebook.exit() to get the response back to data pipeline?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 06:06:48 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4592262#M7635</guid>
      <dc:creator>Arundhati_Sen1</dc:creator>
      <dc:date>2025-03-03T06:06:48Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4592664#M7650</link>
      <description>&lt;P&gt;Does it work when you use&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE class=""&gt;&lt;SPAN&gt;mssparkutils.notebook.exit()&lt;/SPAN&gt;&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;instead of notebookutils?&lt;/P&gt;
&lt;PRE class=""&gt;&lt;CODE class=""&gt;&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 03 Mar 2025 10:05:56 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4592664#M7650</guid>
      <dc:creator>FabianSchut</dc:creator>
      <dc:date>2025-03-03T10:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4592679#M7651</link>
      <description>&lt;P&gt;No I have verified that also is not working, same error&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Arundhati_Sen1_0-1740996627642.png" style="width: 400px;"&gt;&lt;img src="https://community.fabric.microsoft.com/t5/image/serverpage/image-id/1245897i259FEFE86F8934CA/image-size/medium?v=v2&amp;amp;px=400" role="button" title="Arundhati_Sen1_0-1740996627642.png" alt="Arundhati_Sen1_0-1740996627642.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Mar 2025 10:10:36 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4592679#M7651</guid>
      <dc:creator>Arundhati_Sen1</dc:creator>
      <dc:date>2025-03-03T10:10:36Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4593546#M7671</link>
      <description>&lt;P&gt;Hi Arundhati_Sen1,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-start="137" data-end="165"&gt;Thank you for your update.&lt;/P&gt;
&lt;P data-start="167" data-end="259"&gt;As a workaround, kindly review the following steps that may assist in resolving the issue:&lt;/P&gt;
&lt;OL data-start="261" data-end="546"&gt;
&lt;LI data-start="261" data-end="394"&gt;Please refer to the Fintech library's documentation or source code to identify any known issues or conflicts with other modules.&lt;/LI&gt;
&lt;LI data-start="395" data-end="546"&gt;If the exit function is critical, consider placing the exit logic before importing the Fintech library, as this may help prevent any interference.&lt;BR /&gt;
&lt;P data-pm-slice="1 1 []"&gt;&lt;BR /&gt;exit_value = {"status":"successful"}&lt;/P&gt;
&lt;P&gt;notebookutils.notebook.exit(exit_value)&lt;/P&gt;
&lt;P&gt;from fintech import register&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
Additionally, please find below a reference link that may be helpful in resolving the issue:
&lt;P&gt;&lt;A href="https://community.fabric.microsoft.com/t5/Fabric-platform/Python-not-spark-Notebook-exitValue-issue/m-p/4348046" target="_blank"&gt;Solved: Re: Python (not spark) Notebook exitValue issue - Microsoft Fabric Community&lt;/A&gt;&lt;BR /&gt;If you find our response helpful, kindly mark it as the accepted solution and provide kudos. This will assist other community members facing similar queries.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Mon, 03 Mar 2025 19:42:18 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4593546#M7671</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-03-03T19:42:18Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4600036#M7761</link>
      <description>&lt;P&gt;Hi Arundhati_Sen1,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;We wanted to check in regarding your query, as we have not heard back from you. If you have resolved the issue, sharing the solution with the community would be greatly appreciated and could help others encountering similar challenges.&lt;/P&gt;
&lt;P&gt;If you found our response useful, kindly mark it as the accepted solution and provide kudos to guide other members.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Mar 2025 08:47:04 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4600036#M7761</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-03-07T08:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4603067#M7803</link>
      <description>&lt;P&gt;Hi Arundhati_Sen1,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;We are following up to see if your query has been resolved. Should you have identified a solution, we kindly request you to share it with the community to assist others facing similar issues.&lt;/P&gt;
&lt;P&gt;If our response was helpful, please mark it as the accepted solution and provide kudos, as this helps the broader community.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 10 Mar 2025 10:17:58 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4603067#M7803</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-03-10T10:17:58Z</dc:date>
    </item>
    <item>
      <title>Re: Fabric Notebook notebookutils.notebook.exit('Output Value') not working</title>
      <link>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4608442#M7901</link>
      <description>&lt;P&gt;Hi Arundhati_Sen1,&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P data-pm-slice="1 1 []"&gt;We are following up to see if your query has been resolved. Should you have identified a solution, we kindly request you to share it with the community to assist others facing similar issues.&lt;/P&gt;
&lt;P&gt;If our response was helpful, please mark it as the accepted solution and provide kudos, as this helps the broader community.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Mar 2025 10:43:59 GMT</pubDate>
      <guid>https://community.fabric.microsoft.com/t5/Data-Engineering/Fabric-Notebook-notebookutils-notebook-exit-Output-Value-not/m-p/4608442#M7901</guid>
      <dc:creator>v-pnaroju-msft</dc:creator>
      <dc:date>2025-03-13T10:43:59Z</dc:date>
    </item>
  </channel>
</rss>

