<div dir="ltr">Hi,<br><div class="gmail_extra"><br><div class="gmail_quote">On Mon, Jan 2, 2017 at 4:31 PM, Eduardo Silverio da Silva <span dir="ltr"><<a href="mailto:eduardosilverio1990@gmail.com" target="_blank">eduardosilverio1990@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello people,<div><br></div><div>I have a python script that uses some classes from qgis and it runs correctly in my standalone app (IDLE Python). But when I try to publish the script through PyWPS (3.2.5), the process does not apear in the list of GetCapabilities. I think the problem is with the following imports:</div><div><br></div><div><div>from qgis.core import *</div><div>from qgis.gui import *</div><div>from processing.core.Processing import Processing</div><div><br></div><div>When I comment these lines the algorithm is showed.</div></div></div></blockquote><div><br></div><div>I guess the problem is with your environment variable, you should add the QGIS python and plugins paths to PYTHONPATH and probably the QGIS lib path to LD_LIBRARY.</div><div><br></div><div>Also, any error message could be useful in order to get some help from the community. :)</div><div><br></div><div>Regards,</div><div>-SL</div></div><br clear="all"><div><br></div>-- <br><div class="gmail_signature" data-smartmail="gmail_signature">Salvatore Larosa<br>linkedIn: <a href="http://linkedin.com/in/larosasalvatore" target="_blank">http://linkedin.com/in/larosasalvatore</a><br>twitter: @lrssvt<br>skype: s.larosa<br>IRC: lrssvt on freenode<br></div>
</div></div>