Opened 15 years ago

Closed 14 years ago

#2400 closed defect (fixed) -postgis is broken in stable branch

Reported by: msieczka Owned by: hobu
Priority: high Milestone: 1.5.4
Component: SWIG (all bindings) Version: svn-trunk
Severity: major Keywords:
Cc: warmerdam


GDAL 1.5 branch, SVN r14575.


$ 2180 -postgis
--- EPSG 2180 : ETRS89 / Poland CS92
Traceback (most recent call last):
  File "/usr/local/bin/", line 182, in <module>
    trHandleCode(code, gen_dict_line, report_error, output_format)
  File "/usr/local/bin/", line 114, in trHandleCode
    wkt = gdal.EscapeString(wkt,scheme=gdal.CPLES_SQL)
AttributeError: 'module' object has no attribute 'EscapeString'

Change History (2)

comment:1 by Even Rouault, 15 years ago

Cc: warmerdam added
Component: UtilitiesSWIG (all bindings)
Owner: changed from warmerdam to hobu

Yes, this is a problem with the new generation python bindings in 1.5.

The EscapeString binding was only introduced in NG bindings in trunk in r13402.

comment:2 by hobu, 14 years ago

Resolution: fixed
Status: newclosed

This made it into 1.6, but it was not backported to 1.5

Note: See TracTickets for help on using tickets.