Hi Ascanio, I think you're right, it looks like django can't find the GEOS dll. If you installed OSGeo4W then there should be a dll in the bin directory called 'gdal15.dll'. I believe django is looking for that. To make sure the system can find that dll, make sure the path to the bin directory is in your PATH Environment Variable. For example in my PATH Env Var, I have "C:\OSGeo4W\bin;". Can you confirm those items on your system? Cheers, Alexei
Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 On Wed, Feb 12, 2014 at 3:14 AM, Ascanio D'Andrea <[email protected]>wrote: > Hi Alexei, > I made another attempt! > I added this string at the end of my "global_settings.py" file: > > #Libreria GEOS > GEOS_LIBRARY_PATH = 'C:\Programmi\PostgreSQL\9.3\bin\libgeos.dll' > > and seems I solved the first problem with GEOS library, but now I have > this error: > > C:\ArchesWEB>runserver.bat > > C:\ArchesWEB>start C:\ArchesWEB\"Arches/Search/engines/elasticsearch-0.90. > 3/bin/elasticsearch.bat" > > C:\ArchesWEB>call "virtualenv/ENV/Scripts/activate.bat" > Traceback (most recent call last): > File "manage.py", line 32, in <module> > execute_manager(settings) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\core\management\__i > nit__.py", line 438, in execute_manager > utility.execute() > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\core\management\__i > nit__.py", line 379, in execute > self.fetch_command(subcommand).run_from_argv(self.argv) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\core\management\bas > e.py", line 191, in run_from_argv > self.execute(*args, **options.__dict__) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\core\management\bas > e.py", line 209, in execute > translation.activate('en-us') > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\utils\translation\_ > _init__.py", line 100, in activate > return _trans.activate(language) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\utils\translation\t > rans_real.py", line 202, in activate > _active.value = translation(language) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\utils\translation\t > rans_real.py", line 185, in translation > default_translation = _fetch(settings.LANGUAGE_CODE) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\utils\translation\t > rans_real.py", line 162, in _fetch > app = import_module(appname) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\utils\importlib.py" > , line 35, in import_module > __import__(name) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\admin\__ini > t__.py", line 3, in <module> > from django.contrib.admin.helpers import ACTION_CHECKBOX_NAME > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\admin\helpe > rs.py", line 3, in <module> > from django.contrib.admin.util import (flatten_fieldsets, lookup_field, > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\admin\util. > py", line 1, in <module> > from django.db import models > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\db\__init__.py", li > ne 78, in <module> > connection = connections[DEFAULT_DB_ALIAS] > File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\db\utils.py", > line > 93, in __getitem__ > backend = load_backend(db['ENGINE']) > File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\db\utils.py", > line > 33, in load_backend > return import_module('.base', backend_name) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\utils\importlib.py" > , line 35, in import_module > __import__(name) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\gis\db\back > ends\postgis\base.py", line 5, in <module> > from django.contrib.gis.db.backends.postgis.operations import > PostGISOperati > ons > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\gis\db\back > ends\postgis\operations.py", line 8, in <module> > from django.contrib.gis.geometry.backend import Geometry > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\gis\geometr > y\backend\__init__.py", line 8, in <module> > module = import_module('.%s' % geom_backend, ' > django.contrib.gis.geometry.ba > ckend') > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\utils\importlib.py" > , line 35, in import_module > __import__(name) > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\gis\geometr > y\backend\geos.py", line 1, in <module> > from django.contrib.gis.geos import \ > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\gis\geos\__ > init__.py", line 6, in <module> > from django.contrib.gis.geos.geometry import GEOSGeometry, wkt_regex, > hex_re > gex > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\gis\geos\ge > ometry.py", line 15, in <module> > from django.contrib.gis.geos.coordseq import GEOSCoordSeq > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\gis\geos\co > ordseq.py", line 9, in <module> > from django.contrib.gis.geos.libgeos import CS_PTR > File > "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contrib\gis\geos\li > bgeos.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] Impossibile trovare il modulo specificato > Premere un tasto per continuare . . . > > Any suggestion about this? I suppose python can't find dll or its > dependencies because I'm missing something. > I did't want to use virtual box just because I wanted to try to understand > all arches's components, I know it's the best and fastest solution, and > maybe I'll use it in the next days. > Thank you for your help. > best, > Ascanio > > Il giorno mercoledì 12 febbraio 2014 05:30:58 UTC+1, Alexei Peters ha > scritto: >> >> Hi Ascanio, >> I would suggest following the instructions under "Option 1: Installing >> Arches on your own Computer" in the Arches Installation Guide. >> It looks like VirtualBox supports Windows 2003. >> The guide will give you everything you need to stand up a complete >> working version of Arches. >> Cheers, and don't give up! >> The community is here to support you. >> -Alexei >> >> >> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 >> >> >> On Tue, Feb 11, 2014 at 2:55 PM, Ascanio D'Andrea >> <[email protected]>wrote: >> >>> Hi Alexei, >>> thank you for your response. >>> I'm sorry, I was wrong writing "2000", it is winserver 2003, probably >>> also this is not supported! >>> I installed GEOS from osgeo4w, as you suggested, just the package I >>> need, and reboot system but I have the same error: >>> "... >>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contri >>> b\gis\geometr >>> y\backend\__init__.py", line 14, in <module> >>> '"%s".' % geom_backend) >>> django.core.exceptions.ImproperlyConfigured: Could not import >>> user-defined GEOME >>> TRY_BACKEND "geos". >>> ...." >>> I'll probably have to give up! Have you got any other suggestion? >>> thank you, >>> best, >>> Ascanio >>> >>> >>> >>> >>> Il giorno martedì 11 febbraio 2014 20:30:50 UTC+1, Alexei Peters ha >>> scritto: >>>> >>>> Hi Asciano, >>>> It looks like you still need to install GEOS (there's a gap in our >>>> documents that fails to mention this). You can download it from >>>> http://trac.osgeo.org/osgeo4w/ >>>> >>>> Although, it looks like WinServer 2000 may not be supported and >>>> therefore you may not be able to load Arches onto that machine. >>>> Hope that helps. >>>> Cheers, >>>> Alexei >>>> >>>> >>>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173 >>>> >>>> >>>> On Sun, Feb 9, 2014 at 4:42 AM, Ascanio D'Andrea >>>> <[email protected]>wrote: >>>> >>>>> Dear all, >>>>> I'm trying to in install Arches on WinServer 2000, I had some problems >>>>> during very last steps, here is my command window log: >>>>> C:\ArchesWEB\build>build_core_arches.bat >>>>> >>>>> C:\ArchesWEB\build>cd C:\ArchesWEB\build\.. >>>>> >>>>> C:\ArchesWEB>call "virtualenv/ENV/Scripts/activate.bat" >>>>> Traceback (most recent call last): >>>>> File "manage.py", line 32, in <module> >>>>> execute_manager(settings) >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\core\m >>>>> anagement\__i >>>>> nit__.py", line 438, in execute_manager >>>>> utility.execute() >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\core\m >>>>> anagement\__i >>>>> nit__.py", line 379, in execute >>>>> self.fetch_command(subcommand).run_from_argv(self.argv) >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\core\m >>>>> anagement\__i >>>>> nit__.py", line 261, in fetch_command >>>>> klass = load_command_class(app_name, subcommand) >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\core\m >>>>> anagement\__i >>>>> nit__.py", line 67, in load_command_class >>>>> module = import_module('%s.management.commands.%s' % (app_name, >>>>> name)) >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\utils\ >>>>> importlib.py" >>>>> , line 35, in import_module >>>>> __import__(name) >>>>> File "C:\ArchesWEB\build\management\commands\build.py", line 25, in >>>>> <module> >>>>> from django.db import connection, transaction >>>>> File >>>>> "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\db\__init__.py", >>>>> li >>>>> ne 78, in <module> >>>>> connection = connections[DEFAULT_DB_ALIAS] >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\db\utils.py", >>>>> line >>>>> 93, in __getitem__ >>>>> backend = load_backend(db['ENGINE']) >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\db\utils.py", >>>>> line >>>>> 33, in load_backend >>>>> return import_module('.base', backend_name) >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\utils\ >>>>> importlib.py" >>>>> , line 35, in import_module >>>>> __import__(name) >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contri >>>>> b\gis\db\back >>>>> ends\postgis\base.py", line 5, in <module> >>>>> from django.contrib.gis.db.backends.postgis.operations import >>>>> PostGISOperati >>>>> ons >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contri >>>>> b\gis\db\back >>>>> ends\postgis\operations.py", line 8, in <module> >>>>> from django.contrib.gis.geometry.backend import Geometry >>>>> File "C:\ArchesWEB\virtualenv\ENV\lib\site-packages\django\contri >>>>> b\gis\geometr >>>>> y\backend\__init__.py", line 14, in <module> >>>>> '"%s".' % geom_backend) >>>>> django.core.exceptions.ImproperlyConfigured: Could not import >>>>> user-defined GEOME >>>>> TRY_BACKEND "geos". >>>>> ""db\Deployment Scripts\Restore.bat"" non è riconosciuto come comando >>>>> interno o >>>>> esterno, >>>>> un programma eseguibile o un file batch. >>>>> Premere un tasto per continuare . . . >>>>> >>>>> I can't find the file Restore.bat in my Arches zip file I dowloaded >>>>> from bitbucket.org, what I'm missing? >>>>> Thank you for your help. >>>>> Ascanio >>>>> >>>>> -- >>>>> -- 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/groups/opt_out. >>>>> >>>> >>>> -- >>> -- 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/groups/opt_out. >>> >> >> -- > -- 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/groups/opt_out. > -- -- 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/groups/opt_out.
