<?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: DeprecationWarning: 'warn' in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13125415#M581</link>
    <description>&lt;P&gt;Where do you see this in VS Code? I'm running a simple script, and I'm not seeing anything in the VS Code output window or any of the other windows.&lt;/P&gt;&lt;P&gt;Regarding speed, I wouldn't expect any difference between running Python code in Fusion or outside. Fusion just passes the code the Python runtime delivered with Fusion to execute and doesn't do any "filtering".&lt;/P&gt;</description>
    <pubDate>Fri, 01 Nov 2024 23:46:04 GMT</pubDate>
    <dc:creator>BrianEkins</dc:creator>
    <dc:date>2024-11-01T23:46:04Z</dc:date>
    <item>
      <title>DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13123578#M577</link>
      <description>&lt;P&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;&lt;A target="_blank"&gt;R:/Lib64/Release_Build/Core/Neutron/Server/Base/pylibtemp/adsk\dls\streamer\manifests.py:796&lt;/A&gt;: DeprecationWarning:&lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt; The&lt;/FONT&gt;&lt;/STRONG&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt; 'warn' method is deprecated, use 'warning' instead&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 03:34:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13123578#M577</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2024-11-01T03:34:35Z</dc:date>
    </item>
    <item>
      <title>Re: DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13123725#M578</link>
      <description>&lt;P&gt;Where did you see this?&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 06:35:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13123725#M578</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2024-11-01T06:35:12Z</dc:date>
    </item>
    <item>
      <title>Re: DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13123762#M579</link>
      <description>&lt;P&gt;... on my computer running the F360 script in VSCode.&lt;/P&gt;&lt;P&gt;What is "interesting" ... the "R:" drive indicates a call to the remote server.&lt;/P&gt;&lt;P&gt;???&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 06:57:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13123762#M579</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2024-11-01T06:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13125409#M580</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hi Mr Ekins,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;... and some other warnings ...&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#008000"&gt;&lt;SPAN&gt;under PythonVersion&amp;nbsp; - &amp;nbsp;&lt;/SPAN&gt;&lt;SPAN&gt;3.12&lt;/SPAN&gt;&lt;SPAN&gt;.4, releaselevel=final, serial=&lt;/SPAN&gt;&lt;SPAN&gt;0&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;&lt;STRONG&gt;R:/Lib64/Release_Build/Core/Neutron/Server/Base/pylibtemp/adsk\dls\streamer\manifests.py:834: ResourceWarning: &lt;FONT color="#993366"&gt;unclosed file &amp;lt;_io.TextIOWrapper name='C:\\Users\\MichaelT\\AppData\\Local\\Autodesk\\webdeploy\\production\\c4a5520f9bb0f0174c02662af8bd1ab67cee6298\\resources\\buildinfo.json' mode='r' encoding='cp1252'&amp;gt;&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;&lt;STRONG&gt;ResourceWarning: &lt;FONT color="#993366"&gt;Enable tracemalloc to get the object allocation traceback&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#993366"&gt;R:/Lib64/Release_Build/Core/Neutron/Server/Base/pylibtemp/adsk\dls\streamer\analytics.py:32:&lt;/FONT&gt; DeprecationWarning: &lt;FONT color="#993366"&gt;datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;This particular script itself ... produced desirable results ... but I have another one &lt;FONT color="#008000"&gt;&lt;EM&gt;&lt;STRONG&gt;requiring quite heavy computing&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;, which fails ... I believe due to active:&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;PYDEVD_TRACE&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;in &lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;debugpy&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;...(on the server side)&amp;nbsp; stemming from &lt;FONT color="#FF00FF"&gt;&lt;EM&gt;&lt;STRONG&gt;"Required Data Collection"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; and continues calls to the &lt;FONT color="#800080"&gt;&lt;EM&gt;&lt;STRONG&gt;"R:/..."&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; server constrained by environmental parameters like:&amp;nbsp;&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "PYDEVD_THREAD_DUMP_ON_WARN_EVALUATION_TIMEOUT"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "PYDEVD_WARN_SLOW_RESOLVE_TIMEOUT"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "PYDEVD_INTERRUPT_THREAD_TIMEOUT"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; "PYDEVD_UNBLOCK_THREADS_TIMEOUT"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;By my observation of running &lt;FONT color="#008000"&gt;&lt;EM&gt;&lt;STRONG&gt;"an almost identical"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; piece of code inside and outside &lt;EM&gt;&lt;STRONG&gt;F360&lt;/STRONG&gt;&lt;/EM&gt; environment, the &lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;difference in speed of its execution is very significant&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;. I am also unsure, what is happening with the code "filtered" by the &lt;EM&gt;&lt;STRONG&gt;F360&lt;/STRONG&gt;&lt;/EM&gt; side server, … in other words … &lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;what is the rationale behind doing so?&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;FONT color="#000000"&gt;&lt;EM&gt;&lt;STRONG&gt;MichaelT&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Sat, 02 Nov 2024 04:16:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13125409#M580</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2024-11-02T04:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13125415#M581</link>
      <description>&lt;P&gt;Where do you see this in VS Code? I'm running a simple script, and I'm not seeing anything in the VS Code output window or any of the other windows.&lt;/P&gt;&lt;P&gt;Regarding speed, I wouldn't expect any difference between running Python code in Fusion or outside. Fusion just passes the code the Python runtime delivered with Fusion to execute and doesn't do any "filtering".&lt;/P&gt;</description>
      <pubDate>Fri, 01 Nov 2024 23:46:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13125415#M581</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2024-11-01T23:46:04Z</dc:date>
    </item>
    <item>
      <title>Re: DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13125424#M582</link>
      <description>&lt;P&gt;The messages are from the &lt;EM&gt;&lt;STRONG&gt;VSCode &lt;FONT color="#0000FF"&gt;DEBUG CONSOLE&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt; window.&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 00:00:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13125424#M582</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2024-11-02T00:00:50Z</dc:date>
    </item>
    <item>
      <title>Re: DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13126170#M583</link>
      <description>&lt;P&gt;I don't see it on my computer. Is it only when you run a specific script? Is anyone else seeing this?&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 16:18:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13126170#M583</guid>
      <dc:creator>BrianEkins</dc:creator>
      <dc:date>2024-11-02T16:18:39Z</dc:date>
    </item>
    <item>
      <title>Re: DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13126291#M584</link>
      <description>&lt;P&gt;I'm not getting that error, but for me it is weird that installation directory I highlight in yellow in the below image:&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="Jorge_Jaramillo_0-1730573294194.png" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1428864iE6CC7E02EC76F197/image-size/large?v=v2&amp;amp;px=999" role="button" title="Jorge_Jaramillo_0-1730573294194.png" alt="Jorge_Jaramillo_0-1730573294194.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;It does not belong to any of the latest Fusion version.&lt;/P&gt;&lt;P&gt;Which Fusion version it belongs to?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 18:51:46 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13126291#M584</guid>
      <dc:creator>Jorge_Jaramillo</dc:creator>
      <dc:date>2024-11-02T18:51:46Z</dc:date>
    </item>
    <item>
      <title>Re: DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13126484#M585</link>
      <description>&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Hi Messrs Jorge_Jaramillo, BrianEkins,&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Fusion version, as extracted from &lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#0000FF"&gt;About&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt; dialogue box, is:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;Fusion 2.0.20508 x86_64&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The local referenced in the messages file:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;'C:\\Users\\MichaelT\\AppData\\Local\\Autodesk\\webdeploy\\production\\c4a5520f9bb0f0174c02662af8bd1ab67cee6298\\resources\\buildinfo.json'&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;content is:&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;{&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "_comment": "Tracks information about this streamer build",&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; "feature-version": "20240929144649"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;}&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regarding&lt;FONT color="#008000"&gt;&lt;EM&gt;&lt;STRONG&gt; "Is it only when you run a specific script?"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I have noticed "the phenomenon" recently. Only extensive computing code piece trigger&amp;nbsp;&lt;FONT color="#FF0000"&gt;&lt;EM&gt;&lt;STRONG&gt;"PYDEVD_***"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&amp;nbsp;events, and others of a similar kind ... pass through ... but slowly. The code is not unusual nor too exotic. (it runs outside &lt;EM&gt;&lt;STRONG&gt;F360&lt;/STRONG&gt;&lt;/EM&gt; just fine).&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;The lighter ones might only issue lesser warnings like&amp;nbsp;&lt;EM&gt;&lt;STRONG&gt;&lt;FONT color="#FF0000"&gt;DeprecationWarning: 'warn'&lt;/FONT&gt;&lt;/STRONG&gt;&lt;/EM&gt; ... but also originate from the &lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;"R:*"&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; server.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;Regards&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;&lt;P&gt;&lt;EM&gt;&lt;STRONG&gt;MichaelT&lt;/STRONG&gt;&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 02 Nov 2024 23:20:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13126484#M585</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2024-11-02T23:20:18Z</dc:date>
    </item>
    <item>
      <title>Re: DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13126562#M586</link>
      <description>Perhaps, you have the file :&lt;BR /&gt;C:\\Users\\MichaelT\\AppData\\Local\\Autodesk\\webdeploy\\production\\c4a5520f9bb0f0174c02662af8bd1ab67cee6298\\fusion_version.txt&lt;BR /&gt;If so, what it contains?</description>
      <pubDate>Sun, 03 Nov 2024 01:03:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13126562#M586</guid>
      <dc:creator>Jorge_Jaramillo</dc:creator>
      <dc:date>2024-11-03T01:03:28Z</dc:date>
    </item>
    <item>
      <title>Re: DeprecationWarning: 'warn'</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13126669#M587</link>
      <description>&lt;P&gt;&lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;fusion_version.txt&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; file content seems to be consistent with what &lt;FONT color="#0000FF"&gt;&lt;EM&gt;&lt;STRONG&gt;About Box&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt; states.&lt;/P&gt;&lt;P&gt;&lt;FONT color="#008000"&gt;&lt;EM&gt;&lt;STRONG&gt;2.0.20508&lt;/STRONG&gt;&lt;/EM&gt;&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 03 Nov 2024 04:07:06 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/deprecationwarning-warn/m-p/13126669#M587</guid>
      <dc:creator>MichaelT_123</dc:creator>
      <dc:date>2024-11-03T04:07:06Z</dc:date>
    </item>
  </channel>
</rss>

