Bug report #13161
GetLegendGraphics Server Error
|Affected QGIS version:||2.10.0||Regression?:||No|
|Operating System:||Ubuntu||Easy fix?:||No|
|Pull Request or Patch supplied:||No||Resolution:|
|Crashes QGIS or corrupts data:||Yes||Copied to github as #:||21224|
With QGIS server update to 2.10 call to certain legend images with GetLegendGraphics causes 500 Server Error (polygon symbols seems OK).
Example URL: http://localhost/wms/eu_demo?SERVICE=WMS&VERSION=1.3.0&REQUEST=GetLegendGraphics&FORMAT=image/png&BOXSPACE=1&LAYERSPACE=2&SYMBOLSPACE=1&SYMBOLHEIGHT=2&LAYERFONTSIZE=8&ITEMFONTSIZE=8&LAYERS=airports&DPI=96
It worked normally in 2.8.
This is from QGIS server log file:
[21:03:55] No server python plugins are available
[21:03:55] ************new request***************
[21:03:55] remote ip: 127.0.0.1
[21:03:55] HTTP_USER_AGENT: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0
#3 Updated by Tudor Bărăscu almost 5 years ago
I also encountered this issue in QGIS Master.
If someone wants to replicate it, you can download the VM described at http://qgep.github.io/docs/vm/index.html and run the following request
#6 Updated by Uroš Preložnik almost 5 years ago
Marco Hugentobler wrote:
I have tested it, and it seems to be an x-server problem (seems some changes in legend rendering now trigger the need for an X-Server).
What does that mean, can with certain configuration this work? Will this be fixed in next release?
#9 Updated by Jürgen Fischer almost 5 years ago
Tom Palan wrote:
I compiled Debian packages from yesterdays (2015-10-07) git master, and it seems that the error is gone. But I also had to install 3 more packages to my system (new dependencies): libqca2 libqwt5-qt4 libqca2-plugin-ossl. Maybe this fixed the error?
Probably not. libqca2 and libqca2-plugin-ossl are for the new authentication system - that has been around in master for two weeks tops. And libqwt5-qt4 shold not be now - but even if it was, IIRC it's only used to display histograms and the GPS information widget. So that should be unrelated too and it must be something else.