QGIS Issue Tracking: Issueshttps://issues.qgis.org/https://issues.qgis.org/favicon.ico2019-04-09T10:12:33ZQGIS Issue Tracking
Redmine QGIS Application - Bug report #21809 (Feedback): when pasting features to postgresql layer, attri...https://issues.qgis.org/issues/218092019-04-09T10:12:33ZSebastian Brockssebastian@brocks.cc
<p>I'm trying to paste a few features into a postgresql layer that has two attributes that together form the table's primary key. The values of the attributes are not pasted correctly, although both name and order and type match.</p> QGIS Application - Bug report #21464 (Reopened): option --profiles-path when launching QGIS and l...https://issues.qgis.org/issues/214642019-03-04T08:02:12ZAlain FERRATON
<p>I use the --profiles-path option when launching QGIS.</p>
<p>If you do not check the 'override system locale' settings option,<br />loading any plugin implies the following error:</p>
<p>------------<br />Impossible de charger l'extension 'AcATaMa' provoque une erreur lors de l'appel à sa méthode classFactory()</p>
<p>TypeError: 'QVariant' object is not subscriptable <br />Traceback (most recent call last):<br /> File "C:/PROGRA~1/QGIS3~1.4J/apps/qgis-ltr/./python\qgis\utils.py", line 335, in startPlugin<br /> plugins[packageName] = package.classFactory(iface)<br /> File "C:\0_test\profiles\default/python/plugins\AcATaMa\__init__.py", line 33, in classFactory<br /> return AcATaMa(iface)<br /> File "C:\0_test\profiles\default/python/plugins\AcATaMa\acatama.py", line 57, in <i>init</i><br /> <strong>locale = QSettings().value('locale/userLocale')[0:2]</strong><br />TypeError: 'QVariant' object is not subscriptable<br />----------------</p>
<p>if you check the option and restart QGIS the error no longer occurs.</p>
<p>This is probably a storage problem of the default locale in the QGIS3.ini file</p> QGIS Application - Bug report #21072 (Reopened): Readability issues dark mode Machttps://issues.qgis.org/issues/210722019-01-22T15:50:48ZLeon van der Meulenleonvandermeulen@gmail.com
<p>On several places the readability could be improved. Mostly text labels.</p>
<p>Screenshots: [[<a class="external" href="https://github.com/lutraconsulting/qgis-mac-packager/issues/54">https://github.com/lutraconsulting/qgis-mac-packager/issues/54</a>]]</p> QGIS Application - Bug report #20872 (Reopened): QGIS 3.5 not loading or saving multi-dimensional...https://issues.qgis.org/issues/208722018-12-23T00:41:19ZCory Albrecht
<p>I have map layers stored in PostgreSQL where a field contains two dimensional arrays of values.</p>
<pre>
Alternate History=# select name,full_name,alternate_name from "Balance of Power"."timeline-countries" where full_name is not null and alternate_name is not null;
name | full_name | alternate_name
-----------------+----------------------------------------------------------------------------------------+----------------------------------------------------------------------
New Spain | {{en,"Viceroyalty of New Spain"}} | {{es,"Virreinato de la Nueva España"},{es,"Nueva España"}}
Mexico | {{es,"Imperio Mexicano"},{en,"Mexican Empire"}} | {{es,"Imperio Mexicano"}}
Mexico | {{es,"Estados Unidos Mexicanos"},{en,"United Mexican States"}} | {{es,"Estados Unidos Mexicanos"}}
Mexico | {{es,"Estados Unidos Mexicanos"},{en,"United Mexican States"}} | {{es,"Estados Unidos Mexicanos"}}
Alta California | {{es,"República de Alta California"},{en,"Republic of Alta California"}} | {{en,"Upper California"}}
New Spain | {{en,"Viceroyalty of New Spain"}} | {{es,"Virreinato de la Nueva España"},{es,"Nueva España"}}
…
</pre>
<p>In QGIS 2.18.x those arrays appeared in Feature Attributes dialog in the PostgreSQL text format for specifying arrays, using curly braces as seen in the psql output fragment above, and you could add to the arrays by entering new items in that format.</p>
<p>But in 3.5 that is no longer the case. Instead, only a bit of the text is shown in the text widget of the dialog.</p>
<p><img src="https://i.ibb.co/FxC1jkf/image.png" alt="" /></p>
<p>Further, when you try to update that field with as value like</p>
<pre>
{{en,"Cape Colony"}}
</pre>
<p>it gets saved in the database as</p>
<pre>
{"{{en,\"Cape Colony\"}}"}
</pre> QGIS Application - Bug report #20601 (Reopened): bug: Raster calculator produces empty results la...https://issues.qgis.org/issues/206012018-11-23T08:35:59ZAlister Hood
<p>Right click on a layer in the QGIS "Layers" panel, and rename it.<br />Try to use it in the raster calculator (i.e. the one listed under QGIS raster analysis in processing). It will not work, but there will be no indication there has been an error (you will just get an empty result layer).<br />This is bad, because it appears to run successfully, but gives the wrong results.</p>
<p>Maybe this is related to the limitation in the implementation that prevents the raster calculator from listing and using more than one layer with the same name.</p> QGIS Application - Bug report #20313 (Reopened): Python deprecation warning: invalid escape sequencehttps://issues.qgis.org/issues/203132018-11-01T12:48:15ZAndrea Giudiceandreaandreaerdna@libero.it
<p>QGIS 3.4.0 standalone installer on W7 64 bit with a fresh new profile</p>
<p>Python warning<br /><pre>
WARNING warning:C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\requests\status_codes.py:18: DeprecationWarning: invalid escape sequence \o
"""
traceback: File "", line 1, in
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 335, in startPlugin
plugins[packageName] = package.classFactory(iface)
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\MetaSearch\__init__.py", line 29, in classFactory
from MetaSearch.plugin import MetaSearchPlugin
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\MetaSearch\plugin.py", line 34, in
from MetaSearch.dialogs.maindialog import MetaSearchDialog
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python/plugins\MetaSearch\dialogs\maindialog.py", line 50, in
from owslib.csw import CatalogueServiceWeb # spellok
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\owslib\csw.py", line 27, in
from owslib.util import OrderedDict
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\owslib\util.py", line 32, in
import requests
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\requests\__init__.py", line 114, in
from .models import Request, Response, PreparedRequest
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 728, in exec_module
File "", line 219, in _call_with_frames_removed
File "C:\PROGRA~1\QGIS3~1.4\apps\Python37\lib\site-packages\requests\models.py", line 43, in
from .status_codes import codes
File "C:/PROGRA~1/QGIS3~1.4/apps/qgis/./python\qgis\utils.py", line 672, in _import
mod = _builtin_import(name, globals, locals, fromlist, level)
File "", line 983, in _find_and_load
File "", line 967, in _find_and_load_unlocked
File "", line 677, in _load_unlocked
File "", line 724, in exec_module
File "", line 860, in get_code
File "", line 791, in source_to_code
File "", line 219, in _call_with_frames_removed
</pre></p> QGIS Application - Bug report #20283 (Reopened): Crash when exiting program [proj_lpz_dist]https://issues.qgis.org/issues/202832018-10-30T19:38:53ZJerry Brandbrandj@gmail.com
<a name="User-Feedback"></a>
<h2 >User Feedback<a href="#User-Feedback" class="wiki-anchor">¶</a></h2>
<p>Just closing the program</p>
<a name="Report-Details"></a>
<h2 >Report Details<a href="#Report-Details" class="wiki-anchor">¶</a></h2>
<p><strong>Crash ID</strong>: a3eb9e008e3031d98e71767c90264528b8c82c02</p>
<p><strong>Stack Trace</strong><br /><pre>
proj_lpz_dist :
proj_lpz_dist :
QgsCoordinateTransform::transformPolygon :
QgsCoordinateTransform::transformPolygon :
QgsCoordinateTransform::~QgsCoordinateTransform :
QgsFirstRunDialog::trUtf8 :
QObjectPrivate::deleteChildren :
QWidget::~QWidget :
CPLStringList::operator char const * __ptr64 const * __ptr64 :
main :
BaseThreadInitThunk :
RtlUserThreadStart :
</pre></p>
<p><strong>QGIS Info</strong><br />QGIS Version: 3.4.0-Madeira<br />QGIS code revision: <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/4a4b62ed19d2333b1f3a9e72bf77119048e3c9c0" title="Release of 3.4 (Madeira)">4a4b62ed19</a><br />Compiled against Qt: 5.11.2<br />Running against Qt: 5.11.2<br />Compiled against GDAL: 2.3.2<br />Running against GDAL: 2.3.2</p>
<p><strong>System Info</strong><br />CPU Type: x86_64<br />Kernel Type: winnt<br />Kernel Version: 10.0.17134</p> QGIS Application - Bug report #19742 (Reopened): accentued caracters make problem to load python ...https://issues.qgis.org/issues/197422018-08-31T13:27:39ZJérôme Seigneuretjerome.seigneuret@gmail.com
<p>Hi,</p>
<a name="Error"></a>
<h2 >Error<a href="#Error" class="wiki-anchor">¶</a></h2>
<p>2018-08-31T15:05:56 WARNING L'expression de l'utilisateur base_water_function n'est pas valide<br /> Traceback (most recent call last):<br /> File "C:/OSGEO4~1/apps/qgis/./python\qgis\user.py", line 48, in load_user_expressions<br /> <i>import</i>("expressions.{0}".format(name), locals(), globals())<br /> File "C:/OSGEO4~1/apps/qgis/./python\qgis\utils.py", line 674, in _import<br /> mod = _builtin_import(name, globals, locals, fromlist, level)<br /> File "C:/Users/user1/AppData/Roaming/QGIS/QGIS3\profiles\default/python\expressions\base_water_function.py", line 21<br /> SyntaxError: (unicode error) 'utf-8' codec can't decode byte 0xe9 in position 4: invalid continuation byte</p>
<a name="Context"></a>
<h2 >Context:<a href="#Context" class="wiki-anchor">¶</a></h2>
<p>I make a function in expresion script panel and it is used to set label.</p>
<p>The expression script is:<br /><pre>
# -*- coding: utf-8 -*-
from qgis.core import *
from qgis.gui import *
@qgsfunction(args='auto', group='Custom')
def get_pipe_material_code_fr(v,feature, parent):
"""
return french material name to it corresponding code
"""
if v == "Fonte":
return "F"
elif v == "Pvc":
return "PVC"
elif v == "inconnu":
return "?"
elif v == "Polyéthylène":
return "PE"
else:
return "X"
</pre></p>
<p>In fact i see<br />C:\Users\user1\AppData\Roaming\QGIS\QGIS3\profiles\default\QGIS\QGIS3.ini<br />encoding=UTF-8</p>
<p>there is no information with python but if I have understand, QGIS 3 work with python 3 and default encoding is UTF-8 so I don't understrand</p>
<p>my label call get_pipe_material_code_fr("Material") || (' Ø' ) || "Diameter"</p>
<p>If I go in function panel and click on load, all work fine.</p>
<a name="Software-information"></a>
<h2 >Software information<a href="#Software-information" class="wiki-anchor">¶</a></h2>
<p>Version de QGIS<br />3.2.2-Bonn<br />Révision du code<br />26842169e9<br />Compilé avec Qt<br />5.9.2<br />Utilisant Qt<br />5.9.2<br />Compilé avec GDAL/OGR<br />2.2.4<br />Utilisé avec GDAL/OGR<br />2.2.4<br />Compilé avec GEOS<br />3.6.1-CAPI-1.10.1<br />Utilisé avec GEOS<br />3.6.1-CAPI-1.10.1 r0<br />Version du client PostgreSQL<br />9.2.4<br />Version de SpatiaLite<br />4.3.0<br />Version de QWT<br />6.1.3<br />Version de QScintilla2<br />2.10.1<br />Version de PROJ.4 :<br />493</p> QGIS Application - Bug report #19626 (Reopened): World map incorrectly drawn when using a differe...https://issues.qgis.org/issues/196262018-08-15T07:04:02Z克鲁 黄tone90999@hotmail.com
<p>When I use Natural Earth as data source and want to change projection for the project to customized Robinson, the map breaks apart (see attached file). <br />I use a projection as follows: <br />Proj4: +proj=robin +lon_0=150dE +x_0=0 +y_0=0 +datum=WGS84 +units=m +no_defs<br />Hope if it's not a bug. But if it is, I'd like to know if there's a workaround.</p> QGIS Application - Bug report #19575 (Reopened): QWebPage: No such file or directoryhttps://issues.qgis.org/issues/195752018-08-09T10:41:49Znicolas zzzzswiss_knight@hotmail.com
<p>I encountered this error during QGIS compilation on Ubuntu Xenial (4.15.0-29-generic x86_64 GNU/Linux):</p>
<pre>
In file included from /opt/QGIS/src/core/annotations/qgshtmlannotation.cpp:26:0:
/opt/QGIS/src/core/qgswebpage.h:26:20: fatal error: QWebPage: No such file or directory
compilation terminated.
</pre> QGIS Application - Bug report #18485 (Reopened): Recent Projects startup screen truncates filenam...https://issues.qgis.org/issues/184852018-03-20T03:27:27ZPatrick Dunfordenzedrailmaps@gmail.com
<p>If a project filename contains periods, the filename is truncated at the first period when displayed in the Recent Projects startup screen.</p>
<p>The code should truncate the filename at the last period, not the first one.</p> QGIS Application - Bug report #14900 (Reopened): Styling panel: Clicking the Apply button adds a ...https://issues.qgis.org/issues/149002016-05-26T04:21:56ZHarrissou Santanna
<p>Open the map styling panel of a layer, History Tab<br />Click Apply. A new line is added although nothing has been done!</p> QGIS Application - Bug report #12543 (Reopened): layer style effects not compatible with inverted...https://issues.qgis.org/issues/125432015-04-09T23:21:51ZRegis Haubourgregis.haubourg@oslandia.com
<p>Hi, <br />just tested wonderfull live layer effects, and that reveals not taking into account inverted polygon renderer. <br />Polygons are rendered just as normal polygon renderer.</p>
<p>We use it a lot to generate masking layers effects (see mask plugin).</p>
<p>Cheers<br />Régis</p> QGIS Plugin Site - Bug report #4879 (Reopened): Planet not updatedhttps://issues.qgis.org/issues/48792012-01-25T03:35:26ZAlexander Bruy
<p>RSS at <a class="external" href="http://plugins.qgis.org/planet/">http://plugins.qgis.org/planet/</a> is not updated anymore, while at <a class="external" href="http://qgis.org/planet">http://qgis.org/planet</a> it works. Seems one of this should be removed.</p> QGIS Application - Bug report #1893 (Reopened): opening data tables widens the main windowhttps://issues.qgis.org/issues/18932009-08-25T05:20:54ZPaolo Cavallinicavallini@faunalia.it
<p>When opening >=3 tables while in docked mode, the main window becomes very wide, instead of shrinking the space allocated to each table</p>