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

William Kyngesburye woklist at kyngchaos.com
Wed Oct 17 10:16:52 EDT 2007


I see that too - my Monday SVN snapshot is OK, today's snapshot has a  
line break in gdal.py.  It looks like it changed from using warn to  
Debug for the message, and a return was accidentally inserted.

On Oct 17, 2007, at 2:14 AM, Mateusz Loskot wrote:

> 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
> _______________________________________________
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/gdal-dev

-----
William Kyngesburye <kyngchaos*at*kyngchaos*dot*com>
http://www.kyngchaos.com/

"Those people who most want to rule people are, ipso-facto, those  
least suited to do it."

- A rule of the universe, from the HitchHiker's Guide to the Galaxy





More information about the Gdal-dev mailing list