<div dir="ltr">"Since PyQgis does not offer some kind of logging or error message showing the user whats could possibly be missing" not true!<div>try to install qgis-dev and related pdb symbols... set QGIS_DEBUG [1] env var with some value > 0 (usually 0 to 3) and see the log in the DbgView windows application</div><div><br></div><div>btw in dependecywalker I can see that the two log have error finding qgis or related qgis libs (the second one)... so seems more a problem setting the PATH env var where to look for DLLs.<br clear="all"><div><div dir="ltr" class="gmail_signature" data-smartmail="gmail_signature"><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div><br></div><div>Luigi Pirelli</div><div><br></div><div>[1] <a href="https://qgis.org/api/classQgsLogger.html#details">https://qgis.org/api/classQgsLogger.html#details</a><br><br>**************************************************************************************************<br>* LinkedIn: <a href="https://www.linkedin.com/in/luigipirelli" target="_blank">https://www.linkedin.com/in/luigipirelli</a><br>* Stackexchange: <a href="http://gis.stackexchange.com/users/19667/luigi-pirelli" target="_blank">http://gis.stackexchange.com/users/19667/luigi-pirelli</a><br>* GitHub: <a href="https://github.com/luipir" target="_blank">https://github.com/luipir</a><br>* Book: <a href="https://www.packtpub.com/eu/application-development/mastering-geospatial-development-qgis-3x-third-edition" target="_blank">Mastering QGIS3 - 3rd Edition</a></div><div>* Hire a team: <a href="http://www.qcooperative.net" target="_blank">http://www.qcooperative.net</a><br>**************************************************************************************************</div></div></div></div></div></div></div></div></div></div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 15 Jan 2020 at 22:50, Pedro Peixoto <<a href="mailto:pedropeixoto@psr-inc.com">pedropeixoto@psr-inc.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="ltr"><div>To the Qgis developer community,</div><div><br></div><div>I am part of a team that develops a standalone software for Windows that encountered a critical error involving the Qgis software.</div><div>The software, called "Hera", is developed in Python and currently uses PyQgis. The problem is that Hera works on all computers that have Qgis installed, but only on some computers that don't have Qgist installed. While trying to install it in a computer that has never had Qgis installed, a critical error is given when we try to open the now installed program. The error message displayed is as follows: "Failed to execute script Hera" (as can be seen in the image, available in the link below). Every dependency that I could think of that could influence the installation was previously installed, such as all the possible Microsoft visual studio C++ packages, as listed below:</div><div>- Microsoft Visual C++ Redistributable for Visual Studio 2008, 2013, 2015, 2017 and 2019.</div><div>To test that the problem was truly due to the lack of some missing Qgis dependency, we created a machine on the AWS Amazon server and tried to install the software, as well as the 

Microsoft visual studio C++ packages and the previously mentioned error was given. Only after installing Qgis on the machine was the Hera program successfully launched. However, after uninstalling Qgis on the same machine, the Hera program continued to run successfully, indicating to us that the source of the problem might be because of some dependency or configuration that Qgis does while installing. </div><div>Since PyQgis does not offer some kind of logging or error message showing the user whats could possibly be missing, I was wondering if anyone could offer me some insight into what it might be. I appreciate the help, thank you.</div><div><br></div><div>Link to the error message image:</div><div><a href="http://psr.me/1ayvzfn" target="_blank">http://psr.me/1ayvzfn</a><br></div><div><br></div>-- <br><div dir="ltr"><div dir="ltr"><div><div><span style="color:rgb(0,0,102)">Pedro R. Peixoto</span></div><div><span style="color:rgb(0,0,102)">PSR</span><br></div><div><a style="color:rgb(17,85,204)" href="http://www.psr-inc.com/" target="_blank">www.psr-inc.com</a><br style="color:rgb(0,0,102)"><span style="color:rgb(0,0,102)">Tel.: </span><a style="color:rgb(17,85,204)" value="+552139062100">+55 21 3906.2100</a></div></div><div><a style="color:rgb(17,85,204)" href="http://facebook.psr-inc.com/" target="_blank"><img></a><span style="color:rgb(17,85,204)"> </span><a style="color:rgb(17,85,204)" href="http://twitter.psr-inc.com/" target="_blank"><img></a><span style="color:rgb(17,85,204)"> </span><a style="color:rgb(17,85,204)" href="http://linkedin.psr-inc.com/" target="_blank"><img></a></div></div></div></div>
_______________________________________________<br>
QGIS-Developer mailing list<br>
<a href="mailto:QGIS-Developer@lists.osgeo.org" target="_blank">QGIS-Developer@lists.osgeo.org</a><br>
List info: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a><br>
Unsubscribe: <a href="https://lists.osgeo.org/mailman/listinfo/qgis-developer" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/qgis-developer</a></blockquote></div>