Opened 11 years ago

Closed 8 years ago

#231 closed defect (fixed)

problems with the python-mapscript package

Reported by: lutra Owned by: osgeo4w-dev@…
Priority: major Component: Package
Version: Keywords:
Cc: pka

Description

Importing it into a python script/console fails

Ex: import mapscript

>>> import mapscript
Traceback (most recent call last):
  File "<input>", line 1, in <module>
  File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
  File "C:\OSGeo4W\apps\Python25\lib\site-packages\mapscript.py", line 4, in <module>
  File "C:/OSGeo4W/apps/qgis-dev/./python\qgis\utils.py", line 283, in _import
    mod = _builtin_import(name, globals, locals, fromlist, level)
ImportError: No module named _mapscript

Change History (4)

comment:1 Changed 11 years ago by pka

Cc: pka added
Component: DocumentationPackage

Title should be "problems with the python-mapscript package", I suppose.

comment:2 Changed 11 years ago by lutra

Summary: problems with the php-mapscript packageproblems with the python-mapscript package

comment:3 Changed 11 years ago by pka

Seems to be an old problem: #26

comment:4 Changed 8 years ago by jef

Resolution: fixed
Status: newclosed

meanwhile fixed.

Note: See TracTickets for help on using tickets.