[Qgis-user] problem with RT MapServer Exporter
Paolo Cavallini
cavallini at faunalia.it
Tue Mar 20 08:27:23 PDT 2018
Hi Salvatore,
installation of python libraries depends on your operating system.
Usually `pip install` does the job. We moved from mapserver+pmapper to
qgis-server+Lizmap long ago, so I cannot help you with the former. Sorry
about that.
All the best.
Il 20/03/2018 10:09, Salvatore Mellino (Prisma srl) ha scritto:
> Hello,
> thank you for your reply. I never used qgis server and if I really
> apreciate if you breafly describe the method to export a map file for
> pmapper.
> Any other suggestion to install python-mapscript?
> Salvatore
>
> Il 19/03/2018 20:18, Paolo Cavallini ha scritto:
>> As said, you miss python-mapscript.
>> However, we suggest you to use QGIS server instead.
>> All the best.
>>
>> Il 19 marzo 2018 13:52:24 GMT-04:00, "Salvatore Mellino (Prisma srl)"
>> <salvatore.mellino at prismambiente.it> ha scritto:
>>
>> Hello,
>> I am trying to use the RT MapServer Exporter with qgis 2.18.17
>> installed on windows10 but I recived the follow error message:
>>
>> 2018-03-19T18:37:46 1 Traceback (most recent call last):
>>
>> File
>> "C:/Users/Salvatore/.qgis2/python/plugins\rt_mapserver_exporter\plugin.py",
>> line 65, in run
>>
>> from .mapfileexportdlg import MapfileExportDlg
>>
>> File
>> "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python\qgis\utils.py",
>> line 607, in _import
>>
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>> File
>> "C:/Users/Salvatore/.qgis2/python/plugins\rt_mapserver_exporter\mapfileexportdlg.py",
>> line 31, in <module>
>>
>> import MapfileExporter
>>
>> File
>> "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python\qgis\utils.py",
>> line 607, in _import
>>
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>> File
>> "C:/Users/Salvatore/.qgis2/python/plugins\rt_mapserver_exporter\MapfileExporter.py",
>> line 9, in <module>
>>
>> from utils import *
>>
>> File
>> "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python\qgis\utils.py",
>> line 607, in _import
>>
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>> File
>> "C:/Users/Salvatore/.qgis2/python/plugins\rt_mapserver_exporter\utils.py",
>> line 1, in <module>
>>
>> import mapscript
>>
>> File
>> "C:/PROGRA~1/QGIS2~1.18/apps/qgis-ltr/./python\qgis\utils.py",
>> line 607, in _import
>>
>> mod = _builtin_import(name, globals, locals, fromlist, level)
>>
>> ImportError: No module named mapscript
>>
>>
>> I tried to install python mapscript by osgeo4w-setup-x86_64.exe
>> (advanced install) but this does not resolve the problem.
>>
>>
>> Any suggestion?
>>
>> Thank you for your help.
>>
>> Salvatore
>>
>>
>> --
>> Sorry for being short
>
--
Paolo Cavallini - www.faunalia.eu
QGIS & PostGIS courses: http://www.faunalia.eu/training.html
https://www.google.com/trends/explore?date=all&geo=IT&q=qgis,arcgis
More information about the Qgis-user
mailing list