<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html lang="en">
<head><meta http-equiv="Content-Type" content="text/html;">
<title>Scalix message content</title>
<style type="text/css">
<!--
.Normal {  text-align: left; text-indent:0pt; margin-top:0pt; margin-bottom:0pt; font-family: Arial; font-size: 12pt; }
.Default_Paragraph_Font {font-family: Arial; color: Black; background-color: white ; font-size: 12pt; font-weight: normal;  font-style: normal; font-variant: normal; vertical-align: normal; text-decoration: none;}
div.ltTOCtitle { font-family: Verdana; font-size: 8pt; font-weight: bold; text-align: center;}
div.ltTOCl1 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:32pt; text-indent:-32pt;}
div.ltTOCl2 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:40pt; text-indent:-32pt;}
div.ltTOCl3 {  font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:48pt; text-indent:-32pt;}
div.ltTOCl4 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:56pt; text-indent:-32pt;}
div.ltTOCl5 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:64pt; text-indent:-32pt;}
div.ltTOCl6 { font-family: Verdana; font-size: 8pt; font-weight: bold; margin-left:72pt; text-indent:-32pt;}
-->
</style>
</head>

<body>
<div class="Normal"><span style='font-size: 10pt; '>Thanks for checking this!
Wouldn't it be possible to disable this signal for Mac OS X on the QGIS side?
QGIS seems to run smoothly with this error/bug. So I guess the method which is
emitting the signal is never used (?). But I'm just guessing...</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>regards
</span><br><span style='font-size: 10pt; '>Stefan</span></div>
<br>
<div class="Normal"><span style='font-size: 10pt; '>&gt; -----Urspr&uuml;ngliche
Nachricht-----</span><br><span style='font-size: 10pt; '>&gt; Von: William
Kyngesburye
[mailto:woklist@kyngchaos.com]</span><br><span style='font-size: 10pt; '>&gt;
Gesendet am: Freitag, 6. August 2010
17:28</span><br><span style='font-size: 10pt; '>&gt; An: Ziegler
Stefan</span><br><span style='font-size: 10pt; '>&gt; Cc:
qgis-developer@lists.osgeo.org</span><br><span style='font-size: 10pt; '>&gt;
Betreff: Re: AW: [Qgis-developer] Qt Signal Error on Mac OS
X</span><br><span style='font-size: 10pt; '>&gt;
</span><br><span style='font-size: 10pt; '>&gt; I'm having the same error on
Leopard.  That sortof rules out </span><br><span style='font-size: 10pt; '>&gt;
a Python version issue (2.5 on Leopard, and 2.6 on Snow). 
</span><br><span style='font-size: 10pt; '>&gt; Maybe it's something with the
Mac build of Qt, nothing I can </span><br><span style='font-size: 10pt; '>&gt;
do about that.  I can't think of anything else on the build
side.</span><br><span style='font-size: 10pt; '>&gt;
</span><br><span style='font-size: 10pt; '>&gt; I did notice that after the
error, and cancelling the initial
</span><br><span style='font-size: 10pt; '>&gt; easyprint dialog, the composer
window stays open, behind the </span><br><span style='font-size: 10pt; '>&gt;
main Qgis window.  I didn't try anything in there to see if
</span><br><span style='font-size: 10pt; '>&gt; it was actually
working.</span><br><span style='font-size: 10pt; '>&gt;
</span><br><span style='font-size: 10pt; '>&gt; On Aug 6, 2010, at 12:38 AM,
Ziegler Stefan wrote:</span><br><span style='font-size: 10pt; '>&gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt; Hi
William</span><br><span style='font-size: 10pt; '>&gt; &gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt; I can't remember which
version I downloaded. I used some
</span><br><span style='font-size: 10pt; '>&gt; dev builds few months ago and
now downloaded 1.5, so both are </span><br><span style='font-size: 10pt; '>&gt;
possible. Have to check this.</span><br><span style='font-size: 10pt; '>&gt;
&gt; </span><br><span style='font-size: 10pt; '>&gt; &gt; You can find the
plugin here:</span><br><span style='font-size: 10pt; '>&gt; &gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;
http://www.catais.org/qgis/plugins.xml</span><br><span style='font-size: 10pt; '>&gt;
&gt; </span><br><span style='font-size: 10pt; '>&gt; &gt; It runs on trunk and
on revision 13851 (on Linux).</span><br><span style='font-size: 10pt; '>&gt;
&gt; </span><br><span style='font-size: 10pt; '>&gt; &gt;
regards</span><br><span style='font-size: 10pt; '>&gt; &gt;
Stefan</span><br><span style='font-size: 10pt; '>&gt; &gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;
</span><br><span style='font-size: 10pt; '>&gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt; On Aug 4, 2010, at 12:35
AM, Ziegler Stefan wrote:</span><br><span style='font-size: 10pt; '>&gt; &gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt; Hi
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt; I could need some help
from the Mac OS X fraction. While
</span><br><span style='font-size: 10pt; '>&gt; trying to open a new composer
window I get this error:</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt; Fehler bei der
Ausf&uuml;hrung von Python-Code:</span><br><span style='font-size: 10pt; '>&gt;
&gt;&gt; </span><br><span style='font-size: 10pt; '>&gt; &gt;&gt; Traceback
(most recent call last):</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;
File
"/Users/stefan/.qgis/python/plugins/easyprint/easyprint.py",</span><br><span style='font-size: 10pt; '>&gt;
&gt;&gt; line 351, in createMap</span><br><span style='font-size: 10pt; '>&gt;
&gt;&gt;   composition =
composerView.composition()</span><br><span style='font-size: 10pt; '>&gt;
&gt;&gt; TypeError: type 'const QgsComposerItem*' is not supported
</span><br><span style='font-size: 10pt; '>&gt; as a
native</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt; Qt signal
type</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;
</span><br><span style='font-size: 10pt; '>&gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt; The suspicous code
looks like this:</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;       beforeList =
self.iface.activeComposers()</span><br><span style='font-size: 10pt; '>&gt;
&gt;&gt;       self.iface.actionPrintComposer().trigger() 
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;       afterList =
self.iface.activeComposers()</span><br><span style='font-size: 10pt; '>&gt;
&gt;&gt; </span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;       diffList
= []</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;       for item in
afterList:</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;           if
not item in  beforeList:</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;
diffList.append(item)</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;       composerView =
diffList[0]</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;      
composition =
composerView.composition()</span><br><span style='font-size: 10pt; '>&gt;
&gt;&gt;       composition.setPaperSize(float(paperwidth), 
</span><br><span style='font-size: 10pt; '>&gt;
float(paperheight))</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt;
</span><br><span style='font-size: 10pt; '>&gt; &gt;&gt; I'm using the 1.5 build
from KyngChaos on Snow Leopard. It
</span><br><span style='font-size: 10pt; '>&gt; works on Linux. Thanks for any
hints.</span><br><span style='font-size: 10pt; '>&gt;
</span><br><span style='font-size: 10pt; '>&gt;
-----</span><br><span style='font-size: 10pt; '>&gt; William Kyngesburye
&lt;kyngchaos*at*kyngchaos*dot*com&gt;</span><br><span style='font-size: 10pt; '>&gt;
http://www.kyngchaos.com/</span><br><span style='font-size: 10pt; '>&gt;
</span><br><span style='font-size: 10pt; '>&gt; All generalizations are
dangerous, even this one.</span><br><span style='font-size: 10pt; '>&gt;
</span><br><span style='font-size: 10pt; '>&gt;
</span><br><span style='font-size: 10pt; '>&gt; </span></div>



</body>

</html>