Sorry Marisa, The string you should add should look like this: print 'lib path = %s' % (lib_path)
Sorry for the confusion there, Alexei Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Wed, Mar 26, 2014 at 2:06 PM, Alexei Peters <[email protected]> wrote: > Hi Marisa, > Let's see if we can figure out what dll it's trying to load. > > Can you open the file: > > C:\arches-web\arches-arches-6127ba016596\archesproject\virtualenv\ENV\lib\site-packages\django\contrib\gis\gdal\libgdal.py > > and add this BEFORE line 47: > > print 'lib path = %s' %s (lib_path) > > After your edit lines lines 46 - 48 should look like this now: > > # This loads the GDAL/OGR C library > > print 'lib path = %s' %s (lib_path) > > lgdal = CDLL(lib_path) > > > > Now, rerun the script that was giving you the issue. > You should see somewhere printed in the output the path to the dll it's > trying to load. > That should show you what dll is being loaded (or not). > Feel free to pass that along to me if this or the output doesn't make any > sense. > > Cheers, > Alexei > > > Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 > > > On Tue, Mar 25, 2014 at 10:47 PM, Marisa Manghelli > <[email protected]>wrote: > >> Hi Alexei, >> >> I'm a GIS master's student and I'm attempting to use Arches as part of my >> thesis work. I'm getting the exact same problem Sameer had. I've updated >> the settings.py file and added the bin folder of the OSGeo4W to my >> system PATH, but I'm still getting the error message: >> >> File "C:\arches-web\arches-arches-6127ba016596\archesproject\ >> virtualenv\ENV\li >> b\site-packages\django\contrib\gis\gdal\prototypes\ds.py", line 8, in >> <module> >> from django.contrib.gis.gdal.libgdal import lgdal >> File "C:\arches-web\arches-arches-6127ba016596\archesproject\ >> virtualenv\ENV\li >> b\site-packages\django\contrib\gis\gdal\libgdal.py", line 47, in <module> >> lgdal = CDLL(lib_path) >> File "C:\Python27\Lib\ctypes\__init__.py", line 365, in __init__ >> self._handle = _dlopen(self._name, mode) >> WindowsError: [Error 126] The specified module could not be found >> Press any key to continue . . . >> >> Please help! >> >> -- >> -- To post, send email to [email protected]. To >> unsubscribe, send email to [email protected]. >> For more information, visit >> https://groups.google.com/d/forum/archesproject?hl=en >> --- >> You received this message because you are subscribed to the Google Groups >> "Arches Project" group. >> To unsubscribe from this group and stop receiving emails from it, send an >> email to [email protected]. >> For more options, visit https://groups.google.com/d/optout. >> > > -- -- To post, send email to [email protected]. To unsubscribe, send email to [email protected]. For more information, visit https://groups.google.com/d/forum/archesproject?hl=en --- You received this message because you are subscribed to the Google Groups "Arches Project" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/d/optout.
