<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
Micha Silver wrote:
<blockquote cite="mid:4B8F7BD6.4010008@arava.co.il" type="cite">
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
<title></title>
On 03/04/2010 03:43 AM, Luigi Castro Cardeles wrote:
<blockquote
cite="mid:eff882e21003031743q54c488aei57277eda127a91f0@mail.gmail.com"
type="cite">Hi list,
<div><br>
</div>
<div>my system:</div>
<div>kernel -> 2.6.31.12-174.2.22.fc12.x86_64;</div>
<div>python -> Python 2.6.2</div>
<div>sip -> 4.10</div>
<div>gis -> 1.4.0 revision 12996 with the path applied.</div>
<div>gnome -> 2.28.2</div>
<div>qt -> 4.6.2.</div>
<div><br>
</div>
<div>some time ago, there is a configuration with qtconfig-qt4 that
was causing to me and to others segfault. On qtconfig-qt4, GUI style ,
i have to change from default to any other style to prevent crashes.</div>
<div>Did you try to do that?</div>
<div><br>
</div>
</blockquote>
I'm also still stuck with QGIS segfaulting. I find:<br>
* It happens Only in Gnome (xfce and KDE work fine on the same machine,
with the same binary)<br>
* When running as super user the segfault disappears.<br>
* I tried Luigi's suggestion to change the default Qt style in
qtconfig-qt4, but I still get the same segfault...<br>
* It started after an update to some qt packages on Feb 24.<br>
</blockquote>
I can confirm this. I had made the qtconfig change way back when
another qt update caused all qt apps to crash when using gnome. Now it
crashes anytime I'm using gnome which is my preferred WM. I did
finally get it to work by running a vnc session in xfce and then
starting qgis as root in that vnc. Running as root in gnome crashes
for me. I'm going to try the latest svn soon I'm using a personally
build 1.4 qgis rpms now.<br>
<blockquote cite="mid:4B8F7BD6.4010008@arava.co.il" type="cite"><br>
Any ideas where to report this problem to Gnome/Qt devs?<br>
<br>
-- <br>
Micha<br>
<br>
<blockquote
cite="mid:eff882e21003031743q54c488aei57277eda127a91f0@mail.gmail.com"
type="cite">
<div>[]'s</div>
<div>Luigi Castro Cardeles<br>
<br>
<br>
<div class="gmail_quote">2010/3/3 David J. Bakeman <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:dbakeman@comcast.net">dbakeman@comcast.net</a>></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div bgcolor="#ffffff" text="#000000">Luigi Castro Cardeles
wrote:
<blockquote type="cite">Hi,
<div><br>
</div>
<div class="im">
<div>Thanks Micha and Jurgen for the help. I applied the patch
and
compile qgis. Now it runs without error and with python.</div>
<div>I run the app on gnome and kde (latest version) with
normail
user on Fedora 12.</div>
</div>
</blockquote>
I compiled 1.4.0 on FC11 with the fix to find sip and it still crashes
when I use gnome even if I'm superuser. If I use xfce on the console
it works but if I'm running gnome on the console and I try to run qgis
in a virtual screen using xfce it still crashes!<br>
<blockquote type="cite">
<div>
<div class="h5">
<div><br>
</div>
<div>[]'s<br clear="all">
Luigi Castro Cardeles<br>
<br>
<br>
<div class="gmail_quote">2010/3/2 Micha Silver <span dir="ltr"><<a
moz-do-not-send="true" href="mailto:micha@arava.co.il" target="_blank">micha@arava.co.il</a>></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div text="#000000" bgcolor="#ffffff">
<div>On 03/01/2010 11:13 PM, Luigi Castro Cardeles
wrote:
<blockquote type="cite">Hi,
<div><br>
</div>
<div>i recompiled qgis 1.4.0 and keep with the same
problem.
QGIS
run
but not python plugin, i also get the same error message about sip
version.</div>
<div><br>
</div>
</blockquote>
</div>
You might want to try the patch that I received from Jurgen Fischer [1]:<br>
<br>
--- qgis-1.4.0+12730~/cmake/Python.cmake 2010-01-07
11:33:11.000000000 +0100<br>
+++ qgis-1.4.0+12730/cmake/Python.cmake 2010-02-05
18:02:29.000000000 +0100<br>
@@ -148,8 +148,8 @@<br>
<br>
IF (HAVE_SIP_MODULE AND SIP_BINARY_PATH AND SIP_INCLUDE_DIR)<br>
# check for SIP version<br>
# minimal version is 4.7 (to support universal builds)<br>
- SET (SIP_MIN_VERSION 040700)<br>
- TRY_RUN_PYTHON (RES "import sip\nprint '%x' % sip.SIP_VERSION"
SIP_VERSION)<br>
+ SET (SIP_MIN_VERSION 263936) # 0x40700<br>
+ TRY_RUN_PYTHON (RES "import sip\nprint '%d' % sip.SIP_VERSION"
SIP_VERSION)<br>
IF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION
GREATER "${SIP_MIN_VERSION}")<br>
SET (SIP_IS_GOOD TRUE)<br>
ENDIF (SIP_VERSION EQUAL "${SIP_MIN_VERSION}" OR SIP_VERSION
GREATER "${SIP_MIN_VERSION}")<br>
<br>
<br>
Create a new file called Python.cmake.patch in the directory where your
qgis source is located then do:<br>
patch cmake/Python.cmake Python.cmake.patch<br>
<br>
Now run:<br>
cmake -L .. <br>
again from the build directory and check that Python and SIP were
found. <br>
<br>
[1] <a moz-do-not-send="true"
href="http://n2.nabble.com/Fedroa-12-and-new-version-of-qt-tc4638666.html#a4638702"
target="_blank">http://n2.nabble.com/Fedroa-12-and-new-version-of-qt-tc4638666.html#a4638702</a>
<div>
<div><br>
<br>
<blockquote type="cite">
<div>When i run cmake .. and configure (c), the dialog show
some
msg
but it goes so fast that i can't read. There is some way to slowdown
that message or is this logged on a file? Sorry but i don't know cmake
very well.</div>
<div><br>
</div>
<div>[]'s<br clear="all">
Luigi Castro Cardeles<br>
<br>
<br>
<div class="gmail_quote">2010/3/1 Micha Silver <span
dir="ltr"><<a moz-do-not-send="true" href="mailto:micha@arava.co.il"
target="_blank">micha@arava.co.il</a>></span><br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div>Luigi Castro Cardeles wrote:<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Thanks
Martin,<br>
<br>
i use a compiled qgis.<br>
For Fedora Users, i think that this update comes with kde-4.4.0 updates.<br>
[]'s<br>
<br>
</blockquote>
</div>
I also have a self compiled qgis 1.4. After updating to the new PyQt4
and sip (also updated qt and qt-x11 packages) last week, I recompiled,
and still get the segfault. And again, after switching to xfce, QGIS
starts fine. Under Gnome, QGIS will start only if run as super user. So
my guess is that the problem is some interaction between Gnome and Qt
in the newer packages.<br>
<blockquote class="gmail_quote"
style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Luigi
Castro
Cardeles<br>
<br>
<br>
2010/3/1 Martin Dobias <<a moz-do-not-send="true"
href="http://wonder.sk" target="_blank">wonder.sk</a> <<a
moz-do-not-send="true" href="http://wonder.sk" target="_blank">http://wonder.sk</a>>@<a
moz-do-not-send="true" href="http://gmail.com" target="_blank">gmail.com</a>
<<a moz-do-not-send="true" href="http://gmail.com" target="_blank">http://gmail.com</a>>>
<div><br>
<br>
On Mon, Mar 1, 2010 at 5:23 PM, Luigi Castro Cardeles<br>
</div>
<div> <<a moz-do-not-send="true"
href="mailto:luigi.cardeles@gmail.com" target="_blank">luigi.cardeles@gmail.com</a>
<mailto:<a moz-do-not-send="true"
href="mailto:luigi.cardeles@gmail.com" target="_blank">luigi.cardeles@gmail.com</a>>>
wrote:<br>
> Hi list,<br>
> maybe there are other problem (relate to pyqgis):<br>
><br>
> Não foi possível carregar PyQGIS.<br>
> Suporte à Python vai ser desabilitado.<br>
><br>
> Traceback (most recent call last):<br>
> File "", line 1, in<br>
> RuntimeError: the sip module implements API v7.0 but the<br>
qgis.core module<br>
> requires API v6.0<br>
<br>
This looks like you've updated sip package in your system, however<br>
qgis python module still awaits older version.<br>
- if you run self-compiled qgis, just recompile it and install again.<br>
It should adapt to newer sip version<br>
- if you run qgis from a distribution package, request an updated<br>
package from the packager<br>
- you could downgrade sip package and all packages that depend on it<br>
(PyQt, PyKDE) but I wouldn't recommend that as it might break your<br>
system<br>
<br>
Martin<br>
<br>
<br>
<br>
</div>
<div>This mail was received via Mail-SeCure System.<br>
------------------------------------------------------------------------<br>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true"
href="mailto:Qgis-user@lists.osgeo.org" target="_blank">Qgis-user@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
This mail was received via Mail-SeCure System.<br>
<br>
<br>
<br>
</div>
</blockquote>
<br>
<br>
-- <br>
Micha Silver
<div><br>
Arava Development Co. +972-52-3665918<br>
</div>
<a moz-do-not-send="true" href="http://surfaces.co.il"
target="_blank">http://surfaces.co.il</a><br>
<br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
This mail was received via Mail-SeCure System.<br>
<pre><fieldset></fieldset>
_______________________________________________
Qgis-user mailing list
<a moz-do-not-send="true" href="mailto:Qgis-user@lists.osgeo.org"
target="_blank">Qgis-user@lists.osgeo.org</a>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
</div>
</div>
<pre cols="72">--
Micha Silver
<div><a moz-do-not-send="true" href="http://www.surfaces.co.il/"
target="_blank">http://www.surfaces.co.il/</a></div><div>
Arava Development Co. +972-52-3665918</div></pre>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
<pre><hr size="4" width="90%"><div class="im">
_______________________________________________
Qgis-user mailing list
<a moz-do-not-send="true" href="mailto:Qgis-user@lists.osgeo.org"
target="_blank">Qgis-user@lists.osgeo.org</a>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
</div></pre>
</blockquote>
<br>
</div>
<br>
_______________________________________________<br>
Qgis-user mailing list<br>
<a moz-do-not-send="true" href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a><br>
<a moz-do-not-send="true"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user"
target="_blank">http://lists.osgeo.org/mailman/listinfo/qgis-user</a><br>
<br>
</blockquote>
</div>
<br>
</div>
<br>
This mail was received via Mail-SeCure System.<br>
<pre wrap=""><fieldset class="mimeAttachmentHeader"></fieldset>
_______________________________________________
Qgis-user mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated"
href="mailto:Qgis-user@lists.osgeo.org">Qgis-user@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://lists.osgeo.org/mailman/listinfo/qgis-user">http://lists.osgeo.org/mailman/listinfo/qgis-user</a>
This mail was received via Mail-SeCure System.
</pre>
</blockquote>
<br>
<br>
<pre class="moz-signature" cols="72">--
Micha Silver
<a moz-do-not-send="true" class="moz-txt-link-freetext"
href="http://www.surfaces.co.il/">http://www.surfaces.co.il/</a>
Arava Development Co. +972-52-3665918</pre>
</blockquote>
<br>
</body>
</html>