<?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: FlexSimPy error in FlexSim 22.2.3: &amp;quot;lc_flexinit failed: 1&amp;quot;. in FlexSim Forum</title>
    <link>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515619#M27623</link>
    <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Dear Mr. Kavika,&lt;/P&gt;
 &lt;P&gt;This solution worked well!&lt;/P&gt;
 &lt;P&gt;Thanks to you, Phil and the entire FlexSim support team for helping me out.&lt;/P&gt;
 &lt;P&gt;I wish you a merry Christmas and a prosperous new year!!!&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Problem solved!&lt;/P&gt;
&lt;/DIV&gt;</description>
    <pubDate>Mon, 26 Dec 2022 12:27:17 GMT</pubDate>
    <dc:creator>joao_victor_sda</dc:creator>
    <dc:date>2022-12-26T12:27:17Z</dc:date>
    <item>
      <title>FlexSimPy error in FlexSim 22.2.3: "lc_flexinit failed: 1".</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515611#M27615</link>
      <description>&lt;P&gt;&lt;I&gt;[ FlexSim 22.2.3 ]&lt;/I&gt;&lt;/P&gt;&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi,&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;It is a question correlated to the previous question: &lt;A rel="nofollow" href="https://answers.flexsim.com/questions/127403/flexsimpy-error-lc-flexinit-failed-1.html"&gt;https://answers.flexsim.com/questions/127403/flexsimpy-error-lc-flexinit-failed-1.html&lt;/A&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;Following the procedure to create a new module node into the FlexSim tree (&lt;A rel="nofollow noopener noreferrer" href="https://docs.flexsim.com/en/22.0/Reference/DeveloperAdvancedUser/ModuleSDK/QuickStart/QuickStart.html" target="_blank"&gt;&lt;SPAN style="background: transparent; margin-top: 0pt; margin-bottom: 0pt; color: rgb(74, 110, 224);"&gt;&lt;/SPAN&gt;&lt;/A&gt;&lt;A href="https://docs.flexsim.com/en/22.0/Reference/DeveloperAdvancedUser/ModuleSDK/QuickStart/QuickStart.html" target="test_blank"&gt;https://docs.flexsim.com/en/22.0/Reference/DeveloperAdvancedUser/ModuleSDK/QuickStart/QuickStart.html&lt;/A&gt; ), the 'lc_flexinit: 1' error doesn't occur anymore in FlexSim 22.1.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;However, this error persists when I use FlexSim 22.2.3 update, even doing the same procedure.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;This error occurs when I pass the argument 'evaluateLicense = False' to controller Launch.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;Obs: It's essential for me to the 'evaluateLicense = False' because if 'true' FlexSim doesn't do replications.&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="margin: 0px 0px 10px; color: rgb(51, 51, 51); font-family: "&gt;Thanks.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Wed, 30 Nov 2022 13:18:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515611#M27615</guid>
      <dc:creator>joao_victor_sda</dc:creator>
      <dc:date>2022-11-30T13:18:48Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSimPy error in FlexSim 22.2.3: "lc_flexinit failed: 1".</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515612#M27616</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;In order to run FlexSim with the argument 'evaluateLicense = False', the following conditions must be true:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;The Flexnet Licensing Service must be installed. This is done by either installing FlexSim via its installer or by running the FlexSim executable as an administrator once.&lt;/LI&gt;&lt;LI&gt;You cannot be attached to the process. If a debugger is attached during FlexSim's license check, then the application will crash. You cannot run FlexSim in debug mode if you are trying to run it using a license. You can attach to the process after the license check, but you cannot have a debugger attached during the license check. The "evaluateLicense" parameter causes the program to run without checking for or receiving a license so that you can debug startup connectivity issues. Once your code is connecting and running appropriately and you want to then run it with a license, then you can no longer debug the startup process. The licensing code cannot be run with a debugger attached.&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;</description>
      <pubDate>Thu, 01 Dec 2022 17:25:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515612#M27616</guid>
      <dc:creator>philboboADSK</dc:creator>
      <dc:date>2022-12-01T17:25:55Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSimPy error in FlexSim 22.2.3: "lc_flexinit failed: 1".</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515613#M27617</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Hi Phil, &lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thank you for the quick reply! &lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Both conditions are done but the error still happen.&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thanks&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Fri, 02 Dec 2022 13:45:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515613#M27617</guid>
      <dc:creator>joao_victor_sda</dc:creator>
      <dc:date>2022-12-02T13:45:44Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSimPy error in FlexSim 22.2.3: "lc_flexinit failed: 1".</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515614#M27618</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 Hello Phill,
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;The solution didn't work. Do you have any alternative idea?&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Thanks.&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Sat, 10 Dec 2022 18:20:20 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515614#M27618</guid>
      <dc:creator>joao_victor_sda</dc:creator>
      <dc:date>2022-12-10T18:20:20Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSimPy error in FlexSim 22.2.3: "lc_flexinit failed: 1".</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515615#M27619</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/13890/joao-victorsda.html" nodeid="13890"&gt;@João Victor SDA&lt;/A&gt;, I just tried repeating all the steps in the &lt;A rel="noopener noreferrer" href="https://docs.flexsim.com/en/22.2/Reference/DeveloperAdvancedUser/ModuleSDK/QuickStart/QuickStart.html" target="_blank"&gt;Module Quick Start guide&lt;/A&gt; and setting up the &lt;A rel="noopener noreferrer" href="https://github.com/flexsim/FlexSimPy/tree/v22.2" target="_blank"&gt;Python Module SDK&lt;/A&gt; for both 22.1.4 and 22.2.4 and both seem to work fine when I set evaluationLicense=False. Here are some questions that may help me see where things are going wrong.&lt;UL&gt;&lt;LI&gt;Did you clone the correct branch from the the GitHub repo? (i.e., are you using the 22.1 branch for your 22.1 module and 22.2 for your 22.2 module?)&lt;/LI&gt;&lt;LI&gt;Is the path to your program directory for your ModuleDev version of FlexSim correct? (Try pasting the created string into your File Explorer address bar to see if it takes you to the right place)&lt;/LI&gt;&lt;LI&gt;Where is this error thrown? After which line? (Is it thrown when you try to run fp.launch, or when you try to use the controller to open a file?)&lt;/LI&gt;&lt;/UL&gt;&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Dec 2022 21:16:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515615#M27619</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2022-12-12T21:16:18Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSimPy error in FlexSim 22.2.3: "lc_flexinit failed: 1".</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515616#M27620</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;&lt;SPAN style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;Hi Mr. Kavika,&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;&lt;SPAN style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;Thanks for the reply! However, it is still getting errors. The following are the answers to your question:&lt;/SPAN&gt;&lt;/P&gt;
 &lt;UL&gt;&lt;LI style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt; list-style-type:disc;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;Did you clone the correct branch from the the GitHub repo? (i.e., are you using the 22.1 branch for your 22.1 module and 22.2 for your 22.2 module?)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;
 &lt;P style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;&lt;SPAN style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;R) Actually, I was using the wrong branch (I was using just the master). However, I recompiled the solution with branch 22.2, and the error persisted.&lt;/SPAN&gt;&lt;/P&gt;
 &lt;UL&gt;&lt;LI style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt; list-style-type:disc;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;Is the path to your program directory for your ModuleDev version of FlexSim correct? (Try pasting the created string into your File Explorer address bar to see if it takes you to the right place)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;
 &lt;P style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;&lt;SPAN style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;R) Yes.&lt;/SPAN&gt;&lt;/P&gt;
 &lt;UL&gt;&lt;LI style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt; list-style-type:disc;"&gt;&lt;STRONG&gt;&lt;SPAN style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;Where is this error thrown? After which line? (Is it thrown when you try to run fp.launch, or when you try to use the controller to open a file?)&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/LI&gt;&lt;/UL&gt;
 &lt;P style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;&lt;SPAN style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;R) The error occurs after fp.launch.&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;&lt;SPAN style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;OBS: My license is the Educational Standalone. Does it have any influence?&lt;/SPAN&gt;&lt;/P&gt;
 &lt;P style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;&lt;SPAN style="color: rgb(14, 16, 26); background: transparent; margin-top:0pt; margin-bottom:0pt;"&gt;If you prefer, I can share my project folder.&lt;/SPAN&gt;&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 12 Dec 2022 23:34:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515616#M27620</guid>
      <dc:creator>joao_victor_sda</dc:creator>
      <dc:date>2022-12-12T23:34:01Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSimPy error in FlexSim 22.2.3: "lc_flexinit failed: 1".</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515617#M27621</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hey &lt;A rel="user" href="https://answers.flexsim.com/users/13890/joao-victorsda.html" nodeid="13890"&gt;@João Victor SDA&lt;/A&gt;, I was able to replicate your error. After debugging, I was able to find a workaround for your problem. In your module development directory, go into the "program" directory, and find the "flexsim_libFNP.dll".&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1671036085314.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1514187i7CB5865CB30BC60D/image-size/large?v=v2&amp;amp;px=999" role="button" title="1671036085314.png" alt="1671036085314.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Copy that file and paste it into the directory where your python.exe is located. It could either be in your C:/ drive or your appdata directory (like %APPDATA%\Local\Programs\Python).&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="1671036413679.png"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1514188i2BC2160101968B69/image-size/large?v=v2&amp;amp;px=999" role="button" title="1671036413679.png" alt="1671036413679.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;Then try running your script. Let me know if this fixes your problem.&lt;/P&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 14 Dec 2022 16:49:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515617#M27621</guid>
      <dc:creator>kavika_faleumu</dc:creator>
      <dc:date>2022-12-14T16:49:39Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSimPy error in FlexSim 22.2.3: "lc_flexinit failed: 1".</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515618#M27622</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;&lt;P&gt;Hi &lt;A rel="user" href="https://answers.flexsim.com/users/13890/joao-victorsda.html" nodeid="13890"&gt;@João Victor SDA&lt;/A&gt;, was one of Kavika F's or Phil BoBo's answers helpful? If so, please click the "Accept" button at the bottom of the one that best answers your question. 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>Mon, 19 Dec 2022 18:36:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515618#M27622</guid>
      <dc:creator>andrew_o2</dc:creator>
      <dc:date>2022-12-19T18:36:07Z</dc:date>
    </item>
    <item>
      <title>Re: FlexSimPy error in FlexSim 22.2.3: "lc_flexinit failed: 1".</title>
      <link>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515619#M27623</link>
      <description>&lt;DIV class="fr-view clearfix"&gt;
 &lt;P&gt;Dear Mr. Kavika,&lt;/P&gt;
 &lt;P&gt;This solution worked well!&lt;/P&gt;
 &lt;P&gt;Thanks to you, Phil and the entire FlexSim support team for helping me out.&lt;/P&gt;
 &lt;P&gt;I wish you a merry Christmas and a prosperous new year!!!&lt;/P&gt;
 &lt;P&gt;&lt;BR /&gt;&lt;/P&gt;
 &lt;P&gt;Problem solved!&lt;/P&gt;
&lt;/DIV&gt;</description>
      <pubDate>Mon, 26 Dec 2022 12:27:17 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/flexsim-forum/flexsimpy-error-in-flexsim-22-2-3-quot-lc-flexinit-failed-1-quot/m-p/13515619#M27623</guid>
      <dc:creator>joao_victor_sda</dc:creator>
      <dc:date>2022-12-26T12:27:17Z</dc:date>
    </item>
  </channel>
</rss>

