https://issues.qgis.org/https://issues.qgis.org/favicon.ico2013-03-13T23:55:40ZQGIS Issue TrackingQGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=393462013-03-13T23:55:40ZJürgen Fischerjef@norbit.de
<ul><li><strong>Subject</strong> changed from <i>Compile fails in python/core/sipcorepart1.cpp</i> to <i>QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.x</i></li><li><strong>OS version</strong> changed from <i>opensuse </i> to <i>opensuse, raring</i></li></ul><p>apparently a problem with SIP 4.14.x (same on ubuntu raring). The patch doesn't really help as SIP will overwrite the file you patched on the next run.</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=393472013-03-13T23:58:34ZJürgen Fischerjef@norbit.de
<ul><li><strong>Pull Request or Patch supplied</strong> changed from <i>Yes</i> to <i>No</i></li></ul> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=393702013-03-14T19:05:22ZBogdan Hlevca
<ul></ul><p>Can you be more specific? Next run of what?</p>
<p>Complied it with this patch and unless I update again the code I am fine. The problem seems to be in the Qgis code , how will sip override it. You are probably right, but from my perspective I don't see your point.</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=393712013-03-14T23:14:09ZJürgen Fischerjef@norbit.de
<ul></ul><p>Bogdan Hlevca wrote:</p>
<blockquote>
<p>Can you be more specific? Next run of what?</p>
</blockquote>
<p>The next run of sip. The file you patched is not part of the source and gets generated at compile-time from <code>python/core/core.sip</code>. Apparently SIP 4.14 produces the buggy output, that you have fixed. With earlier versions of SIP it works fine.</p>
<p>And being a generated file, the file you patched is in the build directory and isn't even in the source repository and therefore there's nothing, we could apply your patch to. This problem needs to be fixed in the sip file, but I doubt that is actually a problem in qgis SIP bindings, but a bug in SIP itself.</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=394432013-03-17T19:01:47ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>Jürgen, is this why linux nightly builds have not been updated for the last week or so?</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=394462013-03-17T23:44:26ZJürgen Fischerjef@norbit.de
<ul></ul><p>nirvn - wrote:</p>
<blockquote>
<p>Jürgen, is this why linux nightly builds have not been updated for the last week or so?</p>
</blockquote>
<p>yes, but it only affects the raring builds.</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=394942013-03-19T18:36:29ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>Is there a light at the end of the tunnel for this? Or should we request Ubuntu to downgrade its python-sip package to 4.13.x for raring?</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=394972013-03-19T23:49:39ZJürgen Fischerjef@norbit.de
<ul></ul><p>nirvn - wrote:</p>
<blockquote>
<p>Is there a light at the end of the tunnel for this? Or should we request Ubuntu to downgrade its python-sip package to 4.13.x for raring?</p>
</blockquote>
<p>No idea. I'm pretty sure it's a SIP problem (what else should it be - we don't mention <code>a2State</code> and SIP produces a reference to the variable, but not the variable itself). But didn't bother to track that down and fix it or to report it to ubuntu or SIP. Feel free to step in.</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=395112013-03-20T03:07:59ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>Jef, I've contacted Phil Thompson, the maintainer of python-sip. He just fixed the problem in the SIP repository: <a class="external" href="http://riverbankcomputing.co.uk/hg/sip/rev/054f1676c300">http://riverbankcomputing.co.uk/hg/sip/rev/054f1676c300</a></p>
<p>He's willing to quickly release an official 4.14.5 to fix this issue, but would like to have the above patch tested out to see is QGIS does compile.</p>
<p>Bogdan or Jef, would it be possible to help out and confirm it builds ok with the patched SIP? I'm more than happy to do the work required to advocate for a fixed 4.14.5 to be included in raring when we confirm it's ok.</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=395762013-03-22T01:00:54ZMatthias Kuhn
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li></ul><p>Patch verified. This fixes the code generation problem on Fedora 18 (applied on top of sip-4.14.4-1).</p>
<p>Thank you for your investigation.</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=396562013-03-26T23:25:13ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>A request for ubuntu to update its raring python-sip package to 4.14.5 to fix the compilation issue was submitted: <a class="external" href="https://bugs.launchpad.net/ubuntu/+source/sip4/+bug/1160739">https://bugs.launchpad.net/ubuntu/+source/sip4/+bug/1160739</a></p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=396642013-03-27T05:03:05ZBogdan Hlevca
<ul></ul><p>Ubuntu is not the only linux distribution. I am using openSuSE and it has the same issue. Requests for SIP updates should be sent to all (at least all major) distributions : Debian, SuSE, Fedora.</p>
<p>Thanks,<br />Bogdan</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=396652013-03-27T05:26:05ZMatthias Kuhn
<ul></ul><p>Update request for Fedora submitted<br /><a class="external" href="https://bugzilla.redhat.com/show_bug.cgi?id=928340">https://bugzilla.redhat.com/show_bug.cgi?id=928340</a></p>
<p>You're welcome to send a request to SuSE as well</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=396662013-03-27T05:40:59ZJürgen Fischerjef@norbit.de
<ul></ul><p>Bogdan Hlevca wrote:</p>
<blockquote>
<p>Ubuntu is not the only linux distribution. I am using openSuSE and it has the same issue. Requests for SIP updates should be sent to all (at least all major) distributions : Debian, SuSE, Fedora.</p>
</blockquote>
<p>Please leave a link to the ticket you filed with OpenSUSE here.</p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=396832013-03-27T16:01:00ZBogdan Hlevca
<ul></ul><p>Update to Suse submitted:<br /><a class="external" href="https://bugzilla.novell.com/show_bug.cgi?id=812130">https://bugzilla.novell.com/show_bug.cgi?id=812130</a></p> QGIS Application - Bug report #7352: QgsPalettedRasterRenderer sip bindings trigger a bug in SIP 4.14.xhttps://issues.qgis.org/issues/7352?journal_id=397082013-03-29T23:07:33ZMathieu Pellerin - nIRVnirvn.asia@gmail.com
<ul></ul><p>Yay, raring will be shipping 4.14.5: <a class="external" href="http://changelogs.ubuntu.com/changelogs/pool/main/s/sip4/sip4_4.14.5-0ubuntu1/changelog">http://changelogs.ubuntu.com/changelogs/pool/main/s/sip4/sip4_4.14.5-0ubuntu1/changelog</a></p>