#28237: OSGeo4Win & GDAL Version Issue?
--------------------------------+--------------------------------------
     Reporter:  Adam Starrh     |                    Owner:  nobody
         Type:  Bug             |                   Status:  closed
    Component:  GIS             |                  Version:  1.11
     Severity:  Normal          |               Resolution:  worksforme
     Keywords:  GIS, OSGeo4Win  |             Triage Stage:  Unreviewed
    Has patch:  0               |      Needs documentation:  0
  Needs tests:  0               |  Patch needs improvement:  0
Easy pickings:  1               |                    UI/UX:  0
--------------------------------+--------------------------------------

Comment (by Adam Starrh):

 Just for reference, I looked up the library being used to search for the
 file:

 https://docs.python.org/2/library/ctypes.html#finding-shared-libraries

 It seems like it has some limitations with regards to Windows:

     On Windows, find_library() searches along the system search path, and
 returns the full pathname, but since there is no predefined naming scheme
 a call like find_library("c") will fail and return None. If wrapping a
 shared library with ctypes, it may be better to determine the shared
 library name at development time, and hardcode that into the wrapper
 module instead of using find_library() to locate the library at runtime.

 I guess that's why the decision was made to do it this way. Perhaps there
 is a more accommodating library that could be used?

--
Ticket URL: <https://code.djangoproject.com/ticket/28237#comment:9>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/065.ebc8012257d76693f17fda0d3364160e%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to