https://issues.qgis.org/https://issues.qgis.org/favicon.ico2013-10-15T02:14:38ZQGIS Issue TrackingQGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=456032013-10-15T02:14:38ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed</i></li></ul><p>I can't see this anymore, at least on master, so probably some commit has fixed it.</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=462182013-11-07T05:30:02ZBrian Freedbfreed@stineconsulting.com
<ul><li><strong>Status</strong> changed from <i>Closed</i> to <i>Reopened</i></li></ul><p>I've been getting the same behavior on a couple different projects now.</p>
<pre>
Transform error caught: forward transform of
(125809.807655, 253849.727221)
PROJ.4: +proj=longlat +datum=WGS84 +no_defs +to +proj=tmerc +lat_0=0 +lon_0=-78.8 +k=0.999444444 +x_0=2000000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=ft +no_defs
Error: latitude or longitude exceeded limits
</pre>
<p>The first time I hit it I was digitizing utility poles/cables. QGIS' redraw time would gradually increase, then eventually freeze/crash. If I stuck to moving points on a different layer, it wouldn't happen. But when I'd draw a lot of lines on the layer causing the Transform error, crashing was inevitable. I'm not positive there's a correlation between the error and the crashing, but it seemed like it.</p>
<p>I haven't found a way to predictably cause it - just having 2 different projection layers with otfr doesn't do it. I'll update this with a simplified file if/when I find a reproducible setup.</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=462192013-11-07T05:31:14ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Resolution</strong> deleted (<del><i>fixed</i></del>)</li><li><strong>Status</strong> changed from <i>Reopened</i> to <i>Feedback</i></li></ul><p>Brian Freed wrote:</p>
<blockquote>
<p>I've been getting the same behavior on a couple different projects now.</p>
<p>Transform error caught: forward transform of<br />(125809.807655, 253849.727221)<br />PROJ.4: +proj=longlat +datum=WGS84 +no_defs +to +proj=tmerc +lat_0=0 +lon_0=-78.8 +k=0.999444444 +x_0=2000000 +y_0=0 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=ft +no_defs<br />Error: latitude or longitude exceeded limits</p>
<p>The first time I hit it I was digitizing utility poles/cables. QGIS' redraw time would gradually increase, then eventually freeze/crash. If I stuck to moving points on a different layer, it wouldn't happen. But when I'd draw a lot of lines on the layer causing the Transform error, crashing was inevitable. I'm not positive there's a correlation between the error and the crashing, but it seemed like it.</p>
<p>I haven't found a way to predictably cause it - just having 2 different projection layers with otfr doesn't do it. I'll update this with a simplified file if/when I find a reproducible setup.</p>
</blockquote>
<p>can you attach a sample project/data?</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465362013-11-21T09:19:38ZBrian Freedbfreed@stineconsulting.com
<ul><li><strong>File</strong> <a href="/attachments/download/6491/e882e47_proj_err_test.qgs">e882e47_proj_err_test.qgs</a> added</li><li><strong>File</strong> <a href="/attachments/download/6490/e882e47_proj_err_test.sqlite">e882e47_proj_err_test.sqlite</a> added</li></ul><p>Sorry for the delay, I couldn't send the client's files.</p>
<p>But I finally got it reproducible. See attached. I numbered the objects as I created them.</p>
<p>Basically, it seems that the error happens when:<br />1. You have both projected layers and lat/long layers in the file<br />2. You have snapping to both types of layers turned on<br />3. You hover over an object on the projected layer to snap to it</p>
<p>The projected object and the lat/long object do not have to be near each other, just having the lat/long snapping turned on is enough.<br />Snapping to lat/long objects still works even if snapping to projected layers is still active.</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465372013-11-21T09:23:19ZBrian Freedbfreed@stineconsulting.com
<ul></ul><p>footnote:<br />I was back on the same site all day yesterday & this morning, and can confirm that file performance degrades with every object created. I was hard crashing QGIS about once per hour. It was usually when 800-1500 of these errors had been logged, but that could be a coincidence.</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465382013-11-21T09:33:46ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Target version</strong> changed from <i>Version 2.0.0</i> to <i>Future Release - High Priority</i></li><li><strong>Priority</strong> changed from <i>Normal</i> to <i>High</i></li><li><strong>Crashes QGIS or corrupts data</strong> changed from <i>No</i> to <i>Yes</i></li></ul><p>Brian Freed wrote:</p>
<blockquote>
<p>Sorry for the delay, I couldn't send the client's files.</p>
<p>But I finally got it reproducible. See attached. I numbered the objects as I created them.</p>
<p>Basically, it seems that the error happens when:<br />1. You have both projected layers and lat/long layers in the file<br />2. You have snapping to both types of layers turned on<br />3. You hover over an object on the projected layer to snap to it</p>
<p>The projected object and the lat/long object do not have to be near each other, just having the lat/long snapping turned on is enough.<br />Snapping to lat/long objects still works even if snapping to projected layers is still active.</p>
</blockquote>
<p>anyway you are not getting hard crashes, right?</p>
<p>because qgis master is crashing with your project, when I try to add a line feature in one of your layers.</p>
<p>Can you give qgis master a try? Thanks</p>
<hr />
<pre>
giovanni@sibirica ~/Desktop/QGIS-master/build $ qgis
Warning: loading of qt translation failed [/usr/share/qt4/translations/qt_en_US]
Warning: Could not parse stylesheet of widget 0x124b250
undo index changed 1
(qgis:1027): Gtk-WARNING **: Error loading theme icon 'dialog-information' for stock: Error opening file: Too many open files
(qgis:1027): Gtk-WARNING **: Error loading theme icon 'dialog-information' for stock: Error opening file: Too many open files
undo index changed 0
undo index changed 1
undo index changed 0
(qgis:1027): GLib-ERROR **: Creating pipes for GWakeup: Too many open files
QGIS died on signal 5[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/x86_64-linux-gnu/libthread_db.so.1".
[New Thread 0x7f929609b700 (LWP 1044)]
[New Thread 0x7f92a9426700 (LWP 1035)]
[New Thread 0x7f92aa51f700 (LWP 1034)]
0x00007f92d04c5a43 in poll () from /lib/x86_64-linux-gnu/libc.so.6
[Current thread is 1 (Thread 0x7f92d79b87c0 (LWP 1027))]
#0 0x00007f92d04c5a43 in poll () from /lib/x86_64-linux-gnu/libc.so.6
No symbol table info available.
#1 0x00007f92ced22ff6 in ?? () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#2 0x00007f92ced23124 in g_main_context_iteration () from /lib/x86_64-linux-gnu/libglib-2.0.so.0
No symbol table info available.
#3 0x00007f92d30b23bf in QEventDispatcherGlib::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#4 0x00007f92d24add5e in ?? () from /usr/lib/x86_64-linux-gnu/libQtGui.so.4
No symbol table info available.
#5 0x00007f92d3081c82 in QEventLoop::processEvents(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#6 0x00007f92d3081ed7 in QEventLoop::exec(QFlags<QEventLoop::ProcessEventsFlag>) () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#7 0x00007f92d3086f67 in QCoreApplication::exec() () from /usr/lib/x86_64-linux-gnu/libQtCore.so.4
No symbol table info available.
#8 0x0000000000560416 in main ()
No symbol table info available.
gdb returned 0
Aborted (core dumped)
</pre> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465412013-11-21T10:54:44ZBrian Freedbfreed@stineconsulting.com
<ul></ul><p>my files were created with qgis-dev - version <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/e882e47392f4dc6b4aa0a716fa26fbefb82951e3" title="[georeferencer] change add raster icon to be consistent with the main app theme">e882e47</a>, from 11/18. That's the same thing as Master, right? (other than the fact I haven't re-installed in 3 days)</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465422013-11-21T10:58:20ZBrian Freedbfreed@stineconsulting.com
<ul></ul><p>If you start a fresh QGIS session and just load in all the layers, does it still crash?<br />(trying to figure out if it's my .qgs file or the database)</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465442013-11-21T11:04:50ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Brian Freed wrote:</p>
<blockquote>
<p>If you start a fresh QGIS session and just load in all the layers, does it still crash?<br />(trying to figure out if it's my .qgs file or the database)</p>
</blockquote>
<p>yeah, still crashes. It seems a qgis issue.</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465452013-11-21T11:06:40ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Brian Freed wrote:</p>
<blockquote>
<p>my files were created with qgis-dev - version <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/e882e47392f4dc6b4aa0a716fa26fbefb82951e3" title="[georeferencer] change add raster icon to be consistent with the main app theme">e882e47</a>, from 11/18. That's the same thing as Master, right? (other than the fact I haven't re-installed in 3 days)</p>
</blockquote>
<p>can you update? so we can see of is something that was added in the last days.</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465462013-11-21T11:11:09ZBrian Freedbfreed@stineconsulting.com
<ul></ul><p>I'm trying to set the project to a non-user projection now, but I'm getting a bunch of dialogs like 'Select datum transformations for layer 2272_points'. it's got 5 rows that say +towgs84=, then various numbers.<br />I have no idea what I'm looking at, sorry. :-(</p>
<p>Shoot. I was going to start from scratch and give you a new file, but even when I start a new project I'm getting that datum transformations thing again.<br />1.8 handled our custom projection so well that I forgot it was the default for all our files.</p>
<p>I need to get a project out today. Tomorrow I should have time to start over again with a non-user projection.</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465472013-11-21T11:12:26ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Brian Freed wrote:</p>
<blockquote>
<p>I'm trying to set the project to a non-user projection now, but I'm getting a bunch of dialogs like 'Select datum transformations for layer 2272_points'. it's got 5 rows that say +towgs84=, then various numbers.<br />I have no idea what I'm looking at, sorry. :-(</p>
<p>Shoot. I was going to start from scratch and give you a new file, but even when I start a new project I'm getting that datum transformations thing again.<br />1.8 handled our custom projection so well that I forgot it was the default for all our files.</p>
<p>I need to get a project out today. Tomorrow I should have time to start over again with a non-user projection.</p>
</blockquote>
<p>this is new stuff in qgis master, that obviously needs to be fine tuned yet.</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465482013-11-21T11:14:26ZBrian Freedbfreed@stineconsulting.com
<ul></ul><p>ah, gotcha. I was afraid I'd done something stupid. Thanks</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465492013-11-21T11:17:40ZBrian Freedbfreed@stineconsulting.com
<ul></ul><p>just saw your post <a class="issue tracker-1 status-5 priority-4 priority- closed" href="https://issues.qgis.org/issues/11" title="New CSS breaks plugin app (Closed)">#11</a> - we must have passed each other. Yeah, I'll go ahead and update - probably tomorrow</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465602013-11-21T22:35:19ZMatthias Kuhn
<ul></ul><p>There have been a couple of recent updates in this area. Could you already check if this fixes the problems?</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465702013-11-22T01:10:08ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Matthias Kuhn wrote:</p>
<blockquote>
<p>There have been a couple of recent updates in this area. Could you already check if this fixes the problems?</p>
</blockquote>
<p>Hi Matthias, probably (not sure 100%) the issue described in this ticket is gone on master, anyway while testing the attached project/layers I'm getting an hard crash 100% when editing one of the line layers, with otfr on. It does happen also if snapping is disabled and the layers added directly from the attached SL database in a new project.</p>
<p>Probably we should close this ticket and file a new one about this probable regression.</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465742013-11-22T04:13:22ZBrian Freedbfreed@stineconsulting.com
<ul></ul><p>I just reinstalled, but it's reporting the same version.</p>
<p>I'm using the osgeo4w-setup-x86_64.exe installer. The installer showed a newer version (2.1.0-62 instead of 2.1.0-60), but the title bar and help menu are still reporting QGIS code revision e882e47. I deleted the whole OSGeo4W64 folder to be sure I was using a fresh install - definitely downloaded the files directly. Anyway...</p>
<p>The test file still opens here, and snapping still throws the error.</p>
<p>I suppose that's not surprising, if the installer's just installing the same version I was using before. :-/</p>
<p>Is there another way to get a newer version of master?</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465802013-11-22T05:53:35ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Feedback</i> to <i>Open</i></li><li><strong>Priority</strong> changed from <i>High</i> to <i>Severe/Regression</i></li></ul><p>Brian Freed wrote:</p>
<blockquote>
<p>I just reinstalled, but it's reporting the same version.</p>
<p>I'm using the osgeo4w-setup-x86_64.exe installer. The installer showed a newer version (2.1.0-62 instead of 2.1.0-60), but the title bar and help menu are still reporting QGIS code revision e882e47. I deleted the whole OSGeo4W64 folder to be sure I was using a fresh install - definitely downloaded the files directly. Anyway...</p>
<p>The test file still opens here, and snapping still throws the error.</p>
<p>I suppose that's not surprising, if the installer's just installing the same version I was using before. :-/</p>
<p>Is there another way to get a newer version of master?</p>
</blockquote>
<p>the package qgis-dev you find in osgeo4w is the latest build available for qgis master.</p>
<p>Anyway I tested too on Windows and confirm this issue while there is no crash. On the other hand on Linux it crashes (but may not be related).</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465812013-11-22T05:55:24ZBrian Freedbfreed@stineconsulting.com
<ul></ul><p>ok great, thanks for looking into that!</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=465822013-11-22T06:01:40ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><blockquote>
<p>On the other hand on Linux it crashes (but may not be related).</p>
</blockquote>
<p>On Linux qgis master crashes, qgis 2.0 does not crash bu reports the messages described in this ticket.</p> QGIS Application - Bug report #8451: "Transform error caught: forward transform of..." while editing on qgis masterhttps://issues.qgis.org/issues/8451?journal_id=477122014-01-26T13:25:48ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>worksforme</i></li></ul><p>The original issue described in this ticket seems gone in the latest master.</p>