Hi, 

Im a GIS master's student and Im attempting to use Arches as part of my 
thesis work.  Im 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 Im 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!
 

On Monday, March 24, 2014 4:17:07 PM UTC-7, Alexei Peters wrote:
>
> Hi Sameer,
> I'm afraid that I might have steered you wrong.  I told you to set the 
> GEOS_LIBRARY_PATH when I should have said GDAL_LIBRARY_PATH.
>
> Your settings property should be something like this (note the FORWARD 
> slashes):
>
> GDAL_LIBRARY_PATH = 'C:/OSGeo4W/bin/gdalxxx.dll'  <-- replace gdalxx.dll 
> with the dll in your bin folder, also this assumes default location of 
> OSGeo4W install, change if necessary.
>
> Also, you may need to add the the bin folder of the OSGeo4W to your system 
> PATH (note the BACKWARD slashes):
>
> C:\OSGeo4W\bin 
>
> Cheers,
> Alexei
>
>
> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>  
>
> On Mon, Mar 24, 2014 at 3:26 PM, Sameer Paya <[email protected]<javascript:>
> > wrote:
>
>> Alexei thank you for the help. It seemed to solve that problem, but then 
>> another one arose.
>> I realized that this issue has come up before with Ascanio D'Andrea (
>> https://groups.google.com/forum/#!searchin/archesproject/geos/archesproject/Ld87xfcoSHE/9urj5NiNmoQJ).
>>  
>> Do you know if he was able to solve this problem?
>> I know that we could use the VM to install this, but because of 
>> retrictions with the University the VM runs very slow.
>> Thank you again for all your help in pushing this program forward.
>>  
>>
>> C:\ARCHES-WEB>start 
>> C:\ARCHES-WEB\"/archesproject/arches/Search/engines/elastics
>> earch-0.90.3/bin/elasticsearch.bat"
>>
>> C:\ARCHES-WEB>call "archesproject/virtualenv/ENV/Scripts/activate.bat"
>> Traceback (most recent call last):
>>   File "manage.py", line 28, in <module>
>>     execute_from_command_line(sys.argv)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\core
>> \management\__init__.py", line 399, in execute_from_command_line
>>     utility.execute()
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\core
>> \management\__init__.py", line 392, in execute
>>     self.fetch_command(subcommand).run_from_argv(self.argv)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\core
>> \management\base.py", line 242, in run_from_argv
>>     self.execute(*args, **options.__dict__)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\core
>> \management\base.py", line 280, in execute
>>     translation.activate('en-us')
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\util
>> s\translation\__init__.py", line 130, in activate
>>     return _trans.activate(language)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\util
>> s\translation\trans_real.py", line 188, in activate
>>     _active.value = translation(language)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\util
>> s\translation\trans_real.py", line 177, in translation
>>     default_translation = _fetch(settings.LANGUAGE_CODE)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\util
>> s\translation\trans_real.py", line 159, in _fetch
>>     app = import_module(appname)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\util
>> s\importlib.py", line 40, in import_module
>>     __import__(name)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\admin\__init__.py", line 6, in <module>
>>     from django.contrib.admin.sites import AdminSite, site
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\admin\sites.py", line 4, in <module>
>>     from django.contrib.admin.forms import AdminAuthenticationForm
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\admin\forms.py", line 6, in <module>
>>     from django.contrib.auth.forms import AuthenticationForm
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\auth\forms.py", line 17, in <module>
>>     from django.contrib.auth.models import User
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\auth\models.py", line 48, in <module>
>>     class Permission(models.Model):
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\db\m
>> odels\base.py", line 96, in __new__
>>     new_class.add_to_class('_meta', Options(meta, **kwargs))
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\db\m
>> odels\base.py", line 264, in add_to_class
>>     value.contribute_to_class(cls, name)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\db\m
>> odels\options.py", line 124, in contribute_to_class
>>     self.db_table = truncate_name(self.db_table, 
>> connection.ops.max_name_length(
>> ))
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\db\_
>> _init__.py", line 34, in __getattr__
>>     return getattr(connections[DEFAULT_DB_ALIAS], item)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\db\u
>> tils.py", line 198, in __getitem__
>>     backend = load_backend(db['ENGINE'])
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\db\u
>> tils.py", line 113, in load_backend
>>     return import_module('%s.base' % backend_name)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\util
>> s\importlib.py", line 40, in import_module
>>     __import__(name)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\gis\db\backends\postgis\base.py", line 5, in <module>
>>     from django.contrib.gis.db.backends.postgis.operations import 
>> PostGISOperati
>> ons
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\gis\db\backends\postgis\operations.py", line 8, in <module>
>>     from django.contrib.gis.geometry.backend import Geometry
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\gis\geometry\backend\__init__.py", line 8, in <module>
>>     module = import_module('django.contrib.gis.geometry.backend.%s' % 
>> geom_backe
>> nd)
>>
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\util
>> s\importlib.py", line 40, in import_module
>>     __import__(name)
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\gis\geometry\backend\geos.py", line 1, in <module>
>>     from django.contrib.gis.geos import (
>>
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\gis\geos\__init__.py", line 7, in <module>
>>     from .libgeos import geos_version, geos_version_info, GEOS_PREPARE
>>
>>   File 
>> "C:\ARCHES-WEB\archesproject\virtualenv\ENV\lib\site-packages\django\cont
>> rib\gis\geos\libgeos.py", line 58, in <module>
>>     lgeos = 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 . . .
>>
>>  -- 
>> -- To post, send email to [email protected] <javascript:>. To 
>> unsubscribe, send email to [email protected] <javascript:>. 
>> 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] <javascript:>.
>> 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.

Reply via email to