<?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: FlexSim crashes when calling Python software in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507058#M20885</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;One thing to verify is that python itself is 64 bit. If you just enter "python" in the command line, you'll some additional information about the version:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1653414791131.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510414iC6D0563CA428CD6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="1653414791131.png" alt="1653414791131.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please verify that your python in 64-bit.&lt;/P&gt;&lt;P&gt;Other than that, I'm not sure what the issue could be. Perhaps having multi-byte characters in your PATH is an issue?&lt;/P&gt;&lt;P&gt;You may be able to build your own version of the PyConnector. We supply the code in this repository:&lt;BR /&gt;&lt;A href="https://github.com/flexsim/FlexSimPy"&gt;https://github.com/flexsim/FlexSimPy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You may also be able to build that project, and then debug it, to see what is happening when FlexSim tries to access that dll.&lt;/P&gt;&lt;/DIV&gt;</description>
    <pubDate>Tue, 24 May 2022 17:54:59 GMT</pubDate>
    <dc:creator>JordanLJohnson</dc:creator>
    <dc:date>2022-05-24T17:54:59Z</dc:date>
    <item>
      <title>FlexSim crashes when calling Python software</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507055#M20882</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.1.0 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hello everyone:&lt;/P&gt;&lt;P&gt;I encountered a problem, in the 2022.1 version, I simulated a very simple scenario of FlexSim calling Python. But strangely the model crashes, as shown in the GIF below: Is there any way to fix this situation? thanks.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="flexsim-python.gif"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510423iB43F3CCE94CFFA41/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexsim-python.gif" alt="flexsim-python.gif" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 May 2022 02:55:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507055#M20882</guid>
      <dc:creator>supportPHJ4A</dc:creator>
      <dc:date>2022-05-18T02:55:02Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSim crashes when calling Python software</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507056#M20883</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Here are my thoughts:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;It looks like you picked the beta version, in the gif you showed. Please be sure to pick the released version, 22.1.1 or later. It also may be that the gif skipped a frame when you picked the correct version.&lt;/LI&gt;&lt;LI&gt;Verify that python is available on your PATH. To verify, open a command prompt and run this command:&lt;PRE&gt;python --version&lt;/PRE&gt;When you run this command, the command prompt should report a python version, rather than an error message.&lt;/LI&gt;&lt;LI&gt;If the previous step gave you a version number (for example, mine reports 3.9.9), then you need to make sure that FlexSim is trying to connect to that version. The easiest way to check is to go to the Code tab in Global Preferences, and check the version there. Since my python version is 3.9.9, I use the 3.9 option:&lt;span class="lia-inline-image-display-wrapper" image-alt="1652888613950.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510411i3250C9E3AFB55B0D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1652888613950.png" alt="1652888613950.png" /&gt;&lt;/span&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Let me know if you still are having trouble. But these are a few good things to try first.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 18 May 2022 15:44:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507056#M20883</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2022-05-18T15:44:45Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSim crashes when calling Python software</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507057#M20884</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Thanks for your answer, I followed your prompt to set up and updated the software to 22.1.2. When I tested it again, The software did not prompt an error,  it was forced to quit, just like the first GIF. Is there any other solution? thanks.&lt;span class="lia-inline-image-display-wrapper" image-alt="cmd.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510412i022D53714ED65699/image-size/large?v=v2&amp;amp;px=999" role="button" title="cmd.png" alt="cmd.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="flexsim.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510417iEFD69CD801CE0D2D/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexsim.png" alt="flexsim.png" /&gt;&lt;/span&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="flexsim2.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510413i639820ABC89A06DA/image-size/large?v=v2&amp;amp;px=999" role="button" title="flexsim2.png" alt="flexsim2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 19 May 2022 01:50:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507057#M20884</guid>
      <dc:creator>supportPHJ4A</dc:creator>
      <dc:date>2022-05-19T01:50:12Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSim crashes when calling Python software</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507058#M20885</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;One thing to verify is that python itself is 64 bit. If you just enter "python" in the command line, you'll some additional information about the version:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1653414791131.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1510414iC6D0563CA428CD6E/image-size/large?v=v2&amp;amp;px=999" role="button" title="1653414791131.png" alt="1653414791131.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Please verify that your python in 64-bit.&lt;/P&gt;&lt;P&gt;Other than that, I'm not sure what the issue could be. Perhaps having multi-byte characters in your PATH is an issue?&lt;/P&gt;&lt;P&gt;You may be able to build your own version of the PyConnector. We supply the code in this repository:&lt;BR /&gt;&lt;A href="https://github.com/flexsim/FlexSimPy"&gt;https://github.com/flexsim/FlexSimPy&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You may also be able to build that project, and then debug it, to see what is happening when FlexSim tries to access that dll.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Tue, 24 May 2022 17:54:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507058#M20885</guid>
      <dc:creator>JordanLJohnson</dc:creator>
      <dc:date>2022-05-24T17:54:59Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSim crashes when calling Python software</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507059#M20886</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/17334/support.html" nodeid="17334"&gt;@CSN&lt;/A&gt;, was Jordan Johnson's answer helpful? If so, please click the "Accept" button at the bottom of their answer. Or if you still have questions, add a comment and we'll continue the conversation.&lt;/P&gt;&lt;P&gt;If we haven't heard back from you within 3 business days we'll auto-accept an answer, but you can always unaccept and comment back to reopen your question.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 27 May 2022 21:00:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507059#M20886</guid>
      <dc:creator>Jeanette_Fullmer</dc:creator>
      <dc:date>2022-05-27T21:00:38Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSim crashes when calling Python software</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507060#M20887</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Thanks for your answer, I found the problem, it should be because my file path contains Chinese characters, thanks again.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 30 May 2022 01:44:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsim-crashes-when-calling-python-software/m-p/13507060#M20887</guid>
      <dc:creator>supportPHJ4A</dc:creator>
      <dc:date>2022-05-30T01:44:48Z</dc:date>
    </item>
  </channel>
</rss>

