Opened 13 years ago

Closed 13 years ago

#3619 closed defect (fixed)

Ruby mapscript fails to call msSetup()

Reported by: jimk Owned by: jimk
Priority: normal Milestone:
Component: MapScript-SWIG Version: 5.6
Severity: normal Keywords: ruby mapscript
Cc:

Description

In MapServer 5.6.5, Ruby mapscript fails to call msSetup() upon initialization. This causes strange problems later when for example ShapeObj.fromWKT is called while the GEOS library is still uninitialized.

Copying the msSetup() block from pymodule.i into rbmodule.i appears to fix this, but I doubt it is a complete fix.

Change History (5)

comment:1 by sdlime, 13 years ago

I think that's the pattern perl follows too. Feel free to commit...

Steve

in reply to:  1 comment:2 by jimk, 13 years ago

Replying to sdlime:

I think that's the pattern perl follows too. Feel free to commit...

Steve

Ok.

comment:3 by jimk, 13 years ago

Owner: changed from sdlime to jimk
Status: newassigned

Committed in trunk in r10778.

Should this be back ported to 5.6?

comment:4 by sdlime, 13 years ago

Ok to back port... In my opinion.

Steve

comment:5 by jimk, 13 years ago

Resolution: fixed
Status: assignedclosed

Committed in r10779 to branch-5-6.

Note: See TracTickets for help on using tickets.