Ticket #687 (closed defect: fixed)
[MapServer]"testMapScript.py" with "EPSG" in test.map generates error
| Reported by: | nsavard@… | Owned by: | sgillies@… |
|---|---|---|---|
| Priority: | high | Milestone: | |
| Component: | MapScript-SWIG | Version: | 4.3 |
| Severity: | normal | Keywords: | |
| Cc: |
Description
Executing the Python "testMapScript.py" test generates a projection error. This
error is caused by the use of string "EPSG" upper case in the map file
(test.map). On Linux "epsg" must be used.
Fedora Core 1
----------------------
Error:
[nsavard@localhost python]$ python tests/testMapScript.py
.......E.EEEEEEE.......EEEEEEEEEEE....EEEEEEEEEEEEEEEEEEEE.EEEEE.........EEEEEEEEEEE..EEEEEEEEEEEEEEEEEEEEEEEEEEEEEEEE
======================================================================
ERROR: testDrawPoints (__main__.DrawProgrammedStylesTestCase)
----------------------------------------------------------------------
Traceback (most recent call last):
File "tests/testMapScript.py", line 127, in setUp
self.mapobj1 = mapscript.mapObj(testMapfile)
File "build/lib.linux-i686-2.2/mapscript.py", line 1128, in __init__
newobj = _mapscript.new_mapObj(*args)
MapServerError: msProcessProjection(): Projection library error. no system list,
errno: 2
Change History
Note: See
TracTickets for help on using
tickets.
