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