<div>Hi Martin! How is beautiful know I&#39;m not alone!!! <img src="cid:330@goomoji.gmail" style="margin-top: 0px; margin-right: 0.2ex; margin-bottom: 0px; margin-left: 0.2ex; vertical-align: middle; " goomoji="330"></div>
<div><br></div>It&#39;s really annoying, because when I save data, the error appear, but the data are saved properly...<div>Do you think that this problem will be solved within qgis, or It&#39;s more convenient try to recompiling qgis on my PC? <div>
It&#39;s possible make to point qgis to the python installed on the machine?</div><div>Thanks a lot for your reply, now I have a road to follow, but I don&#39;t know where I&#39;ll arrive : ).<div><br></div><div>Regards</div>
<div><br></div><div>Luca <div><div><br><div class="gmail_quote">On Tue, Mar 23, 2010 at 1:35 PM, Martin Dobias <span dir="ltr">&lt;<a href="http://wonder.sk">wonder.sk</a>@<a href="http://gmail.com">gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="im">On Mon, Mar 22, 2010 at 11:20 PM, Luca Mandolesi &lt;<a href="mailto:mandoluca@gmail.com">mandoluca@gmail.com</a>&gt; wrote:<br>

&gt;<br>
&gt; Hi to alls,<br>
&gt; I&#39;ve somes problems to make running my pyarchinit plugin under windows.<br>
&gt; Pyarchinit use sqlalchemy and under mac os x and Linux, all run properly.<br>
&gt; It&#39;s possible make using the python installed under windows and not the embedded into Qgis, or put sqlalchemy as psycopg2 into the distribution?<br>
&gt; If I lauch my functions directly from the IDLE, all run properly. But with the OsGeo and the standalone qgis I receive the error.<br>
&gt; I&#39;ve asked to python programmers, and all tell me that the problem may be the python embedded into qgis.<br>
<br>
</div>Hi Luca<br>
<br>
I had a very similar problem with PostGIS manager plugin on windows<br>
when creating new processes using Popen. While it works in command<br>
line python, it doesn&#39;t work within QGIS. The problem is obviously due<br>
different (incompatible) C runtime libraries from different compilers.<br>
So the file descriptors produced by C runtime library linked to QGIS<br>
are not recognized in C runtime library used by Python.<br>
<br>
I solved the problem by introducing some windows-specific workarounds,<br>
not sure what you can do. A solution would be IMHO to compile QGIS<br>
with the same compiler as the one used for compiling python -or-<br>
recompiling python for osgeo4w (but that would probably have some<br>
impact to additional python modules, too).<br>
<br>
Regards<br>
<font color="#888888">Martin<br>
</font></blockquote></div><br></div></div></div></div></div>