[Qgis-user] [QGIS server] python plugins
Donovan Cameron
sault.don at gmail.com
Tue Mar 3 08:01:28 PST 2015
Is there a typo maybe?
FcgidInitialEnv QGIS_CUSTOM_CONFIG_PATH "/usr/share/qgis/ressources/"
So "ressources" should instead be "resources"?
Donovan
On 03/03/15 08:56 AM, Alessandro Pasotti wrote:
> Hi Bernhard,
>
> anything in the logs?
>
> I haven't already tested the 2.8.1, I'm working on a master build and
> it works fine.
>
> I'll test the official packages asap.
>
>
>
> 2015-03-03 16:53 GMT+01:00 Bernhard Ströbl <bernhard.stroebl at jena.de>:
>> 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
>>
>>
>> _______________________________________________
>> Qgis-user mailing list
>> Qgis-user at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/qgis-user
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/qgis-user/attachments/20150303/6596cbab/attachment.html>
More information about the Qgis-user
mailing list