[Gdal-dev] Python next-gen bindings enabled in trunk

Mateusz Loskot mateusz at loskot.net
Wed Oct 17 03:14:15 EDT 2007


Howard Butler wrote:
> All,
> 
> Today I have enabled the next-gen bindings in trunk, and they are built
> by default when using the --with-python target.  More testing is
> needed/requested, so please file tickets or let me know in IRC of any
> issues that arise.

Hobu,

I remember this issue have been reported already but I can't remember
where and can't find it in GDAL tickets, so I decided to report it here
first. GDAL builds using --with-python and egg is prepared but seems to
be broken:

~/dev/gdal/_svn/trunk/gdal/swig/python $ export
PYTHONPATH=/Users/mloskot/dev/gdal/_svn/trunk/gdal/swig/python/dist/GDAL_OGR-1.5.0-py2.3-macosx-10.4-i386.egg


~/dev/gdal/_svn/trunk/autotest $ ./run_all.py
Traceback (most recent call last):
  File "./run_all.py", line 30, in ?
    import gdaltest
  File "pymod/gdaltest.py", line 32, in ?
    import gdal, osr
  File
"/Users/mloskot/dev/gdal/_svn/trunk/gdal/swig/python/dist/GDAL_OGR-1.5.0-py2.3-macosx-10.4-i386.egg/gdal.py",
line 4
    Debug("Deprecation Warning", 'gdal.py was placed in a namespace, it
is now availabl

              ^
SyntaxError: EOL while scanning single-quoted string



Is this something known?
I use Mac OS X 10.4 with Python 2.3.5

Cheers
-- 
Mateusz Loskot
http://mateusz.loskot.net



More information about the Gdal-dev mailing list