[Qgis-user] [QGIS server] python plugins

Bernhard Ströbl bernhard.stroebl at jena.de
Tue Mar 3 07:53:22 PST 2015


Hi all,

I am trying to make a python plugin run on QGIS server, however all I get is

<ServiceException code="Service configuration error">Service unknown or 
unsupported</ServiceException>

I wonder if qgis server cannot access my plugin or it cannot run my 
plugin because it misses something. My filter has a requestReady hook 
but there is nothing in the logs. I trieed to configure along [1]:

This is what I configured:
# QGIS Server python Plugins
FcgidInitialEnv PYTHONIOENCODING UTF-8
FcgidInitialEnv QGIS_DEBUG 1
FcgidInitialEnv QGIS_CUSTOM_CONFIG_PATH "/usr/share/qgis/ressources/"
FcgidInitialEnv QGIS_LOG_FILE ${APACHE_LOG_DIR}/qgis.log
FcgidInitialEnv QGIS_OPTIONS_PATH "/usr/lib/cgi-bin/"
FcgidInitialEnv QGIS_PLUGINPATH "/opt/qgis/python/"
FcgidInitialEnv LD_LIBRARY_PATH "/usr/lib"

my setting is:
Ubuntu 14.04
qgis-server installed from repo (2.8.1)

This is a server, so previously no qgis desktop was installed. I now 
even installed this and tried to point the fcgid env variables to the 
places where qgis resides to no avail.

any help appreciated

Bernhard

[1] http://www.itopen.it/qgis-server-python-plugins-tutorial/


__________ Information from ESET Mail Security, version of virus signature database 11261 (20150303) __________

The message was checked by ESET Mail Security.
http://www.eset.com





More information about the Qgis-user mailing list