Hi xsc, (sorry for sending it again, the images in the body exceeded the ML limit for attachments)
the qgis-dev ML is in CC, that's the right place to discuss it as other with the same problem can find the answer. I guess you just miss the mapscript python module, you can install it from the OSGeo4W setup. Sent from mobile. Sorry for being short. -- Giuseppe Sucameli Il 07/gen/2014 08:19 "x...@hexway.com.cn" <x...@hexway.com.cn> ha scritto: > hi, > > I want to export qgis map doucment to the format of mapserver map document. > So, I'm used qgis's plugin ----- RT MapServer Exporter. > But,every time using, it tracked the following error message. What shoud > i do avoid this problem? > > > //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > 执行Python代码时发生错误: > > Traceback (most recent call last): > File > "C:\Users\xsc/.qgis2/python/plugins\rt_mapserver_exporter\plugin.py", line > 65, in run > from .mapfileexportdlg import MapfileExportDlg > File "E:/osgis/QGIS/apps/qgis/./python\qgis\utils.py", line 453, in > _import > mod = _builtin_import(name, globals, locals, fromlist, level) > File > "C:\Users\xsc/.qgis2/python/plugins\rt_mapserver_exporter\mapfileexportdlg.py", > line 30, in > import mapscript > File "E:/osgis/QGIS/apps/qgis/./python\qgis\utils.py", line 453, in > _import > mod = _builtin_import(name, globals, locals, fromlist, level) > ImportError: No module named mapscript > > Python版本: > 2.7.5 (default, May 15 2013, 22:44:16) [MSC v.1500 64 bit (AMD64)] > > > QGIS版本: > 2.0.1-Dufour Dufour, d94c044 > > Python路径: ['E:/osgis/QGIS/apps/qgis/./python/plugins\\processing', > 'E:/osgis/QGIS/apps/qgis/./python', 'C:\\Users\\xsc/.qgis2/python', > 'C:\\Users\\xsc/.qgis2/python/plugins', > 'E:/osgis/QGIS/apps/qgis/./python/plugins', > 'E:\\osgis\\QGIS\\bin\\python27.zip', > 'E:\\osgis\\QGIS\\apps\\Python27\\DLLs', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\plat-win', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\lib-tk', 'E:\\osgis\\QGIS\\bin', > 'E:\\osgis\\QGIS\\apps\\Python27', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\site-packages', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\site-packages\\PIL', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\site-packages\\win32', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\site-packages\\win32\\lib', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\site-packages\\Pythonwin', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\site-packages\\Shapely-1.2.18-py2.7-win-amd64.egg', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\site-packages\\six-1.3.0-py2.7.egg', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\site-packages\\wx-2.8-msw-unicode', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\site-packages\\xlrd-0.9.2-py2.7.egg', > 'E:\\osgis\\QGIS\\apps\\Python27\\lib\\site-packages\\xlwt-0.7.5-py2.7.egg', > 'E:\\osgis\\QGIS\\apps\\qgis\\python\\plugins\\fTools\\tools'] > > > //////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////// > > [snip] > > thank you! > > ------------------------------ > 谢顺朝 > > *广州汉微网络科技有限公司* > > *手 机:18520060543 * > *邮 箱:x...@hexway.com.cn <x...@hexway.com.cn> * > *邮 编:510300 * > *固 话:020-28373289 * > > *地 址:广州市海珠区广州大道南911号中智商务大厦721室 * >
_______________________________________________ Qgis-developer mailing list Qgis-developer@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/qgis-developer