QGIS Application: Issueshttps://issues.qgis.org/https://issues.qgis.org/favicon.ico2019-02-27T21:19:40ZQGIS Issue Tracking
Redmine Bug report #21413 (Closed): startup.py is not executedhttps://issues.qgis.org/issues/214132019-02-27T21:19:40Zjachym -jachym@foo.bar
<p>According to documentation <a class="external" href="https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/intro.html#the-startup-py-file">https://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/intro.html#the-startup-py-file</a> I've created startup file in `~/.local/share/QGIS/QGIS3/profiles/default/python/startup.py` and made it executable.</p>
<p>When I start `qgis`, the file is <strong>not</strong> executed</p>
<p>When I explicitly export `PYQGIS_STARTUP` variable, everything works as expected.</p> Bug report #21151 (Closed): spatialite, edit table in dbmanager is broken in master Fault: no suc...https://issues.qgis.org/issues/211512019-02-01T22:28:02ZGerhard Spieles
<p>QGIS 3.5, Codeversion 56e465cc8a<br />DBManager, Spatialite, edit table popup a window with database fault "no such table: pg_description"</p> Bug report #20200 (Closed): wrong sequence detection under postgreshttps://issues.qgis.org/issues/202002018-10-23T20:30:52ZJan Lippmann
<p>there is an issue with sequence detection under postgres when the layer is not in the public schema.<br />the problem is in the attribute form. ok button is not active because the "." point between the schema name and the sequence name is missing.</p>
<p><img src="https://issues.qgis.org/attachments/download/13577/qgis_sequence_detection.gif" alt="" /></p> Bug report #19914 (Closed): using the console and cloning a symbol from a graduated style layer c...https://issues.qgis.org/issues/199142018-09-21T13:43:08Zcris c
<a name="User-FeedbackWorking-on-a-project-with-quite-a-few-layers-loaded-I-selected-a-graduated-styled-layer-and-I-am-attempting-to-change-the-sizes-of-the-symbol-via-the-python-console-As-soon-as-I-issue-the-clone-command-it-crashes"></a>
<h2 >User Feedback<br />Working on a project with quite a few layers loaded. I selected a graduated styled layer and I am attempting to change the sizes of the symbol via the python console. As soon as I issue the clone() command it crashes.<a href="#User-FeedbackWorking-on-a-project-with-quite-a-few-layers-loaded-I-selected-a-graduated-styled-layer-and-I-am-attempting-to-change-the-sizes-of-the-symbol-via-the-python-console-As-soon-as-I-issue-the-clone-command-it-crashes" class="wiki-anchor">¶</a></h2>
<p><code>layer = qgis.utils.iface.mapCanvas().currentLayer()<br />renderer = layer.renderer()<br />current_symbol = renderer.ranges()[1].symbol()<br />new_symbol = current_symbol.clone()</code></p>
<p>I've tried it in the 3.0 version and also deleted all layers except one graduated layer with 5 ranges.</p>
<p>also the same effect with this sequence: <br /><code>layer = qgis.utils.iface.mapCanvas().currentLayer()<br />renderer = layer.renderer()<br />current_symbol = renderer.ranges()[1].symbol()<br />current_symbol.size()</code></p>
<a name="Report-Details"></a>
<h2 >Report Details<a href="#Report-Details" class="wiki-anchor">¶</a></h2>
<p>I tried it with the data defined override for symbol size on and off with the same effect. Also with different index number in the range.</p>
<p><strong>Crash ID</strong>: afdb5feb28fe4c13c1eaedd723b645ed4adbbf15</p>
<p><strong>Stack Trace</strong><br /><pre>
meth_QgsMarkerSymbol_clone sip_corepart1.cpp:339792
PyCFunction_FastCallDict :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyErr_Occurred :
PyEval_EvalCode :
PyDict_SetItemId :
PyDict_SetItemId :
PyCFunction_FastCallDict :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyErr_Occurred :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyErr_Occurred :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyObject_GenericGetAttr :
PyEval_EvalFrameDefault :
PyFunction_FastCallDict :
PyObject_CallFunctionObjArgs :
PyObject_Call :
PyInit_sip :
PyInit_Qsci :
QWidget::event :
QFrame::event :
QAbstractScrollArea::event :
PyInit_Qsci :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify qgsapplication.cpp:380
QCoreApplication::notifyInternal2 :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify qgsapplication.cpp:380
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processKeyEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main main.cpp:1470
WinMain mainwin.cpp:170
__scrt_common_main_seh exe_common.inl:253
BaseThreadInitThunk :
RtlUserThreadStart :
</pre></p>
<p><strong>QGIS Info</strong><br />QGIS Version: 3.3.0-Master<br />QGIS code revision: <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/a2db44c383164f2166de330fc76c96291bce2412" title="Welcome back mSettings->setValue ... snap_invisible_feature ...">a2db44c383</a><br />Compiled against Qt: 5.9.2<br />Running against Qt: 5.9.2<br />Compiled against GDAL: 2.2.4<br />Running against GDAL: 2.2.4</p>
<p><strong>System Info</strong><br />CPU Type: x86_64<br />Kernel Type: winnt<br />Kernel Version: 10.0.17134</p> Bug report #19035 (Closed): trying to delete a column of a .csv layer (no geometry) via layer pro...https://issues.qgis.org/issues/190352018-05-25T18:00:29ZChristoph Aberlechristoph.aberle@tuhh.de
<a name="User-Feedback"></a>
<h2 >User Feedback<a href="#User-Feedback" class="wiki-anchor">¶</a></h2>
<a name="Report-Details"></a>
<h2 >Report Details<a href="#Report-Details" class="wiki-anchor">¶</a></h2>
<p><strong>Crash ID</strong>: 3ee2186447a151eaa0a2e51957baf23e8f428f7a</p>
<p><strong>Stack Trace</strong><br /><pre>
QgsField::QgsField :
QgsFields::field :
QgsAttributeForm::updateJoinedFields :
QgsAttributeForm::onAttributeChanged :
QMetaObject::activate :
QgsEditorWidgetWrapper::valueChanged :
QgsEditorWidgetWrapper::emitValueChanged :
QMetaObject::activate :
QSpinBox::displayIntegerBase :
QAbstractSpinBox::setSpecialValueText :
QSpinBox::setValue :
QgsRangeWidgetWrapper::setValue :
QgsEditorWidgetWrapper::setFeature :
QgsAttributeForm::resetValues :
QgsAttributeForm::setFeature :
QgsDualView::mFeatureList_currentEditSelectionChanged :
QMetaObject::activate :
QgsFeatureListView::currentEditSelectionChanged :
QgsFeatureListView::editSelectionChanged :
QMetaObject::activate :
QItemSelectionModel::emitSelectionChanged :
QItemSelectionModel::select :
QItemSelectionModel::select :
QgsFeatureListView::ensureEditSelection :
QMetaObject::activate :
QAbstractItemModel::modelReset :
QMetaObject::activate :
QAbstractItemModel::endResetModel :
QSortFilterProxyModel::`default constructor closure' :
QMetaObject::activate :
QAbstractItemModel::endResetModel :
QgsAttributeTableModel::loadLayer :
QMetaObject::activate :
QMetaObject::activate :
QgsVectorLayer::updateFields :
QMetaObject::activate :
QMetaObject::activate :
QgsVectorLayer::updateFields :
QgsVectorLayer::deleteAttribute :
QgsVectorLayer::deleteAttributes :
QgsSourceFieldsProperties::deleteAttributeClicked :
QMetaObject::activate :
QAbstractButton::clicked :
QAbstractButton::click :
QAbstractButton::mouseReleaseEvent :
QToolButton::mouseReleaseEvent :
QWidget::event :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QDialog::exec :
QgisApp::showLayerProperties :
QgisApp::layerTreeViewDoubleClicked :
QMetaObject::activate :
QAbstractItemView::doubleClicked :
QTreeView::mouseDoubleClickEvent :
QWidget::event :
QFrame::event :
QAbstractItemView::viewportEvent :
QCoreApplicationPrivate::sendThroughObjectEventFilters :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QApplicationPrivate::sendMouseEvent :
QSizePolicy::QSizePolicy :
QSizePolicy::QSizePolicy :
QApplicationPrivate::notify_helper :
QApplication::notify :
QgsApplication::notify :
QCoreApplication::notifyInternal2 :
QGuiApplicationPrivate::processMouseEvent :
QWindowSystemInterface::sendWindowSystemEvents :
QEventDispatcherWin32::processEvents :
CallWindowProcW :
DispatchMessageW :
QEventDispatcherWin32::processEvents :
qt_plugin_query_metadata :
QEventLoop::exec :
QCoreApplication::exec :
main :
BaseThreadInitThunk :
RtlUserThreadStart :
</pre></p>
<p><strong>QGIS Info</strong><br />QGIS Version: 3.0.3-Girona<br />QGIS code revision: <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/8a899c8758b30adc3f8d6df682a5702dd3bfe6f0" title="Release of 3.0.3">8a899c8758</a><br />Compiled against Qt: 5.9.2<br />Running against Qt: 5.9.2<br />Compiled against GDAL: 2.2.4<br />Running against GDAL: 2.2.4</p>
<p><strong>System Info</strong><br />CPU Type: x86_64<br />Kernel Type: winnt<br />Kernel Version: 10.0.16299</p> Bug report #17005 (Closed): spatial bookmarks can't be sortedhttps://issues.qgis.org/issues/170052017-08-10T16:50:28ZSteven Mizunospookster@netzero.net
<p>The column sort indicator shows, but clicking on column headers does not actually sort. The indicator changes direction, but that is all that occurs.</p>
<p>Initially, the name column header shows ascending order, but the column isn't sorted.</p>
<p>This is a regression from 2.14; 2.18 does not sort either.</p>
<p>I am using OSGeo4W nightly build on Windows 8.1 64-bit system.</p> Bug report #16967 (Closed): value relation widget with Allow multiple selection doesn't resolve t...https://issues.qgis.org/issues/169672017-08-04T04:45:00ZTudor Bărăscutudorbarascu@yahoo.com
<p>Steps to reproduce:<br />- Add a PostgreSQL layer with a integer[] column<br />- Add a Value relation layer and point it to the array column<br />- The values get saved in the DB when creating a feature<br />- The widget cannot present the values stored in the database when the feature form gets popped and the user can overwrite them without knowing</p>
<p>I've also attached a GIF.</p>
<p><img src="https://issues.qgis.org/attachments/download/11301/value_relation_bug.gif" alt="" /></p> Feature request #11794 (Closed): spatialite connection custom namehttps://issues.qgis.org/issues/117942014-12-04T10:15:27ZLuca Lanteri
<p>now its' impossible to load two spatialite db with the same name beacause the connection name is the same of db name.<br />Is it possible to manage user custom connection names in the same way of postgis/wms?</p> Bug report #11118 (Closed): s undefined in GrassUtils.pyhttps://issues.qgis.org/issues/111182014-08-28T23:48:03ZAlessandro Pasotti
<p><a class="external" href="https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/grass/GrassUtils.py#L387">https://github.com/qgis/QGIS/blob/master/python/plugins/processing/algs/grass/GrassUtils.py#L387</a></p>
<p>fix: insert @L387<br />s = traceback.format_exc()</p>
<p>...</p> Bug report #8729 (Closed): Microsoft visual C++ Runtime Library Errorhttps://issues.qgis.org/issues/87292013-10-01T00:22:39ZAbdelilah ADIBAabdelilahadiba@gmail.com
<p>this error occurs when launching Qgis 2.0.1 64bit version , you can see the error in the attached picture. but Qgis is working properly</p> Bug report #811 (Closed): selectionChanged() SIGNAL getting connected and disconnected on raster ...https://issues.qgis.org/issues/8112007-11-15T10:38:26ZAaron Racicot -aaronr@z-pulley.com
<p>In qgsmapcanvas.cpp in <a class="wiki-page new" href="https://issues.qgis.org/projects/qgis/wiki/QgsMapCanvas">QgsMapCanvas</a>::setLayerSet a disconnect and connect call to selectionChanged signal are being made on the map layer set, but some of those layers can be raster layers. selectionChanged() is a signal that only vector layers can emit.</p>
<p>This bug causes warning messages to appear when calling setLayerSet via the python bindings with a layer set that contains rasters.</p>
<p>The solution is to wrap the disconnect and connect calls with logic to test if the layer is a vector layer.</p> Bug report #800 (Closed): 'Search' in on the fly projection dialogue missplacedhttps://issues.qgis.org/issues/8002007-11-10T23:57:48ZMaciej Sieczka -tutey@o2.pl
<p>See the attached screendump. SVN 7373, built and running against QT 4.3.1.</p> Bug report #722 (Closed): LCC projection not recognized (EPSG 3358)https://issues.qgis.org/issues/7222007-06-03T12:32:21ZMarkus Neteler
<p>Hi,</p>
<p>it appears that QGIS fails to recognize <abbr title="HARN">NAD83</abbr> / North Carolina LCC:</p>
<pre>
Warning: [[QgsSpatialRefSys]]::getRecord failed : select * from tbl_srs where parameters='+proj=lcc +lat_1=34.33333333333334 +lat_2=36.16666666666666 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs'
Warning: [[QgsSpatialRefSys]]::findMatchingProj -------> no match found in user db
Warning: QPainter::begin: Painter already active
Warning: QPainter::begin: Painter already active
Warning: [[QgsSpatialRefSys]]::createFromSrsId failed : select srs_id,description,projection_acronym,ellipsoid_acronym,parameters,srid,epsg,is_geo from tbl_srs where srs_id='-1223020544'
</pre>
<p>The reason will be that the EPSG definition in PROJ4 is this:</p>
<pre>
# NAD83(HARN) / North Carolina
<3358> +proj=lcc +lat_1=36.16666666666666 +lat_2=34.33333333333334 +lat_0=33.75 +lon_0=-79 +x_0=609601.22 +y_0=0 +ellps=GRS80 +units=m +no_defs <>
</pre>
<p>Note that the values of lat_1 and lat_2 are reverted. I was told by Frank W. that this is legal (to my shame I already submitted a bug report to EPSG). It would be good if QGIS accepted the reverted lat_1 and lat_2, too.</p>
<p>Best,<br />Markus</p> Bug report #572 (Closed): change any property of a vector layer (transparency, labels etc.) = the...https://issues.qgis.org/issues/5722007-02-05T23:38:16ZRedmine Admin
<p>This is not necessary, and happens to be diturbing - I have to re-collapse the layer each time I change it's transparency percentage, or any other property.</p>
<p>Maciek</p> Bug report #556 (Closed): Field should be Layer in GRASS lingohttps://issues.qgis.org/issues/5562007-01-30T00:47:07ZRedmine Admin
<p>0.8 SVN 6453</p>
<p>Please update all the occurences of "Field" term in relation to GRASS vectors to "Layer". These are two same things, but Field has been replaced by Layer many months ago in GRASS.</p>
<p>Things to update are, AFAIK:</p>
<p>1. GRASS Edit's attribute editor still mentions "Field"</p>
<p>2. GRASS Edit's "Table" tab mentions "Field (layer)"</p>
<p>Maciek</p>