-
-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetLegendGraphics Server Error #21224
Comments
Author Name: Giovanni Manghi (@gioman)
|
Author Name: Bernhard Ströbl (Bernhard Ströbl) Further information: On my WMS-Server (QGIS 2.10, Ubuntu 14.04) only polygon layers' legend graphics are displayed; any GetLegendGraphic request on a line or point layer results in a 500 error. |
Author Name: Tudor Bărăscu (@tudorbarascu) I also encountered this issue in QGIS Master.
|
Author Name: Tom Palan (@tpalan) I can confirm this bug with Version 2.10.0 on Linux (Debian Jessie AMD64). Apparently there is a segfault when requesting GetLegendGraphics. |
Author Name: Marco Hugentobler (@mhugent) 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). |
Author Name: Uroš Preložnik (@uprel) Marco Hugentobler wrote:
What does that mean, can with certain configuration this work? Will this be fixed in next release? thanks, |
Author Name: Jürgen Fischer (@jef-n)
|
Author Name: Tom Palan (@tpalan) 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? |
Author Name: Jürgen Fischer (@jef-n) Tom Palan wrote:
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. |
Author Name: Tudor Bărăscu (@tudorbarascu) I also tested and the issue is indeed gone.
|
Author Name: Uroš Preložnik (@uprel)
Original Redmine Issue: 13161
Affected QGIS version: 2.10.0
Redmine category:qgis_server
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:
[3309][21:03:55] No server python plugins are available
[3309][21:03:55] *****new request
[3309][21:03:55] remote ip: 127.0.0.1
[3309][21:03:55] HTTP_USER_AGENT: Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:39.0) Gecko/20100101 Firefox/39.0
[3309][21:03:55] BOXSPACE:1
[3309][21:03:55] DPI:96
[3309][21:03:55] FORMAT:image/png
[3309][21:03:55] ITEMFONTSIZE:8
[3309][21:03:55] LAYERFONTSIZE:8
[3309][21:03:55] LAYERS:airports
[3309][21:03:55] LAYERSPACE:2
[3309][21:03:55] MAP:/home/uros/GIS/projects/eu_demo.qgs
[3309][21:03:55] REQUEST:GetLegendGraphics
[3309][21:03:55] SERVICE:WMS
[3309][21:03:55] SYMBOLHEIGHT:2
[3309][21:03:55] SYMBOLSPACE:1
[3309][21:03:55] VERSION:1.3.0
The text was updated successfully, but these errors were encountered: