Hi Mohamed,

I gave up. I just installed an Ubuntu VM box on my Windows machine and
installed Arches within it. Seems like Arches works well only with Linux.

Regards,

Joel
On Jun 19, 2015 12:41 AM, "Mohamed Zamdin" <[email protected]> wrote:

> Hi,
>
> Joel I'm facing this same issue, I was wondering if you found a solution?
>
> On Monday, April 27, 2015 at 9:50:29 AM UTC-4, Joel Aldor wrote:
>
>> Now I tried to install GEOS (OSGeo4W) using the instructions here:
>> https://docs.djangoproject.com/en/1.8/ref/contrib/gis/install/#windows
>> and I tried to execute the following command on my Windows Powershell and I
>> still get this error below. I have already installed psycopg2 and even
>> checked all the paths and environment variables. I even edited settings.py
>> to explicitly include GEOS_LIBRARY_PATH (instead of GDAL_LIBRARY_PATH)
>> and it's still not working.
>>
>> Why is this still happening?
>>
>> (env) PS D:\linang\env\scripts\linangapp> python manage.py packages -o
>> setup_elasticsearch
>> Traceback (most recent call last):
>>   File "manage.py", line 28, in <module>
>>     execute_from_command_line(sys.argv)
>>   File
>> "D:\linang\env\lib\site-packages\django\core\management\__init__.py", line
>> 338, in execute_from_command_line
>>     utility.execute()
>>   File
>> "D:\linang\env\lib\site-packages\django\core\management\__init__.py", line
>> 312, in execute
>>     django.setup()
>>   File "D:\linang\env\lib\site-packages\django\__init__.py", line 18, in
>> setup
>>     apps.populate(settings.INSTALLED_APPS)
>>   File "D:\linang\env\lib\site-packages\django\apps\registry.py", line
>> 108, in populate
>>     app_config.import_models(all_models)
>>   File "D:\linang\env\lib\site-packages\django\apps\config.py", line 198,
>> in import_models
>>     self.models_module = import_module(models_module_name)
>>   File "C:\Python27\Lib\importlib\__init__.py", line 37, in import_module
>>     __import__(name)
>>   File "D:\linang\env\lib\site-packages\django\contrib\auth\models.py",
>> line 41, in <module>
>>     class Permission(models.Model):
>>   File "D:\linang\env\lib\site-packages\django\db\models\base.py", line
>> 139, in __new__
>>     new_class.add_to_class('_meta', Options(meta, **kwargs))
>>   File "D:\linang\env\lib\site-packages\django\db\models\base.py", line
>> 324, in add_to_class
>>     value.contribute_to_class(cls, name)
>>   File "D:\linang\env\lib\site-packages\django\db\models\options.py",
>> line 250, in contribute_to_class
>>     self.db_table = truncate_name(self.db_table,
>> connection.ops.max_name_length())
>>   File "D:\linang\env\lib\site-packages\django\db\__init__.py", line 36,
>> in __getattr__
>>     return getattr(connections[DEFAULT_DB_ALIAS], item)
>>   File "D:\linang\env\lib\site-packages\django\db\utils.py", line 240, in
>> __getitem__
>>     backend = load_backend(db['ENGINE'])
>>   File "D:\linang\env\lib\site-packages\django\db\utils.py", line 111, in
>> load_backend
>>     return import_module('%s.base' % backend_name)
>>   File "C:\Python27\Lib\importlib\__init__.py", line 37, in import_module
>>     __import__(name)
>>   File
>> "D:\linang\env\lib\site-packages\django\contrib\gis\db\backends\postgis\base.py",
>> line 3, in <module>
>>     from django.db.backends.postgresql_psycopg2.base import \
>>   File
>> "D:\linang\env\lib\site-packages\django\db\backends\postgresql_psycopg2\base.py",
>> line 20, in <module>
>>     raise ImproperlyConfigured("Error loading psycopg2 module: %s" % e)
>> django.core.exceptions.ImproperlyConfigured: Error loading psycopg2
>> module: DLL load failed: The specified module could
>> not be found.
>>
>> On Monday, April 27, 2015 at 8:43:01 PM UTC+8, Joel Aldor wrote:
>>>
>>> Nope. Putting GDAL_LIBRARY_PATH doesn't work. Even trying to put it
>>> under my system environment variables doesn't work. I execute #6 on the 
>>> Getting
>>> Started <http://arches-hip.readthedocs.org/en/latest/getting-started/>
>>> page and now I get this error:
>>>
>>> (ENV) PS D:\Linang\ENV\Scripts\linangapp> python manage.py packages -o
>>> setup_elasticsearch
>>> Traceback (most recent call last):
>>>   File "manage.py", line 28, in <module>
>>>     execute_from_command_line(sys.argv)
>>>   File
>>> "D:\Linang\ENV\lib\site-packages\django\core\management\__init__.py", line
>>> 338, in execute_from_command_line
>>>     utility.execute()
>>>   File
>>> "D:\Linang\ENV\lib\site-packages\django\core\management\__init__.py", line
>>> 312, in execute
>>>     django.setup()
>>>   File "D:\Linang\ENV\lib\site-packages\django\__init__.py", line 18, in
>>> setup
>>>     apps.populate(settings.INSTALLED_APPS)
>>>   File "D:\Linang\ENV\lib\site-packages\django\apps\registry.py", line
>>> 108, in populate
>>>     app_config.import_models(all_models)
>>>   File "D:\Linang\ENV\lib\site-packages\django\apps\config.py", line
>>> 198, in import_models
>>>     self.models_module = import_module(models_module_name)
>>>   File "C:\Python27\Lib\importlib\__init__.py", line 37, in import_module
>>>     __import__(name)
>>>   File "D:\Linang\ENV\lib\site-packages\django\contrib\auth\models.py",
>>> line 41, in <module>
>>>     class Permission(models.Model):
>>>   File "D:\Linang\ENV\lib\site-packages\django\db\models\base.py", line
>>> 139, in __new__
>>>     new_class.add_to_class('_meta', Options(meta, **kwargs))
>>>   File "D:\Linang\ENV\lib\site-packages\django\db\models\base.py", line
>>> 324, in add_to_class
>>>     value.contribute_to_class(cls, name)
>>>   File "D:\Linang\ENV\lib\site-packages\django\db\models\options.py",
>>> line 250, in contribute_to_class
>>>     self.db_table = truncate_name(self.db_table,
>>> connection.ops.max_name_length())
>>>   File "D:\Linang\ENV\lib\site-packages\django\db\__init__.py", line 36,
>>> in __getattr__
>>>     return getattr(connections[DEFAULT_DB_ALIAS], item)
>>>   File "D:\Linang\ENV\lib\site-packages\django\db\utils.py", line 240,
>>> in __getitem__
>>>     backend = load_backend(db['ENGINE'])
>>>   File "D:\Linang\ENV\lib\site-packages\django\db\utils.py", line 111,
>>> in load_backend
>>>     return import_module('%s.base' % backend_name)
>>>   File "C:\Python27\Lib\importlib\__init__.py", line 37, in import_module
>>>     __import__(name)
>>>   File
>>> "D:\Linang\ENV\lib\site-packages\django\contrib\gis\db\backends\postgis\base.py",
>>> line 8, in <module>
>>>     from .features import DatabaseFeatures
>>>   File
>>> "D:\Linang\ENV\lib\site-packages\django\contrib\gis\db\backends\postgis\features.py",
>>> line 1, in <module>
>>>     from django.contrib.gis.db.backends.base.features import
>>> BaseSpatialFeatures
>>>   File
>>> "D:\Linang\ENV\lib\site-packages\django\contrib\gis\db\backends\base\features.py",
>>> line 3, in <module>
>>>     from django.contrib.gis.db.models import aggregates
>>>   File
>>> "D:\Linang\ENV\lib\site-packages\django\contrib\gis\db\models\__init__.py",
>>> line 12, in <module>
>>>     "See also
>>> https://docs.djangoproject.com/en/%s/ref/contrib/gis/install/geolibs/";
>>> % get_docs_version())
>>> django.core.exceptions.ImproperlyConfigured: GEOS is required and has
>>> not been detected. Are you sure it is installed? S
>>> ee also
>>> https://docs.djangoproject.com/en/1.8/ref/contrib/gis/install/geolibs/
>>>
>>> On Monday, April 27, 2015 at 8:13:48 PM UTC+8, Joel Aldor wrote:
>>>>
>>>> Hi Alexei,
>>>>
>>>> There is no GDAL_LIBRARY_PATH on my settings.py file. I will put
>>>> something like this: GDAL_LIBRARY_PATH = "C:\OSGeo4W\bin" on the
>>>> settings.py file, in which case if it works, you you have to update the
>>>> installation instructions on the Getting Started page because it's
>>>> incomplete.
>>>>
>>>> Let's see what happens. Thanks.
>>>>
>>>> Joel
>>>>
>>>> On Monday, April 27, 2015 at 12:17:10 AM UTC+8, Alexei Peters wrote:
>>>>>
>>>>> Hi Joel,
>>>>> Try installing OSGeo4W if you haven't already.
>>>>> Also try setting GDAL_LIBRARY_PATH in your settings.py file to point
>>>>> to the .dll file in the OSGeo4W bin directory.
>>>>> See here for instructions:
>>>>> https://docs.djangoproject.com/en/1.6/ref/contrib/gis/gdal/#gdal-library-path
>>>>> .
>>>>>
>>>>> Hope this helps.
>>>>> Cheers,
>>>>> Alexei
>>>>>
>>>>>
>>>>> Director of Web Development - Farallon Geographics, Inc. -
>>>>> 971.227.3173
>>>>>
>>>>> On Sun, Apr 26, 2015 at 12:14 AM, Joel Aldor <[email protected]>
>>>>> wrote:
>>>>>
>>>>>> Alexei,
>>>>>>
>>>>>> Sorry to bother you, but how do you manually install the GEOS tar
>>>>>> archive as your pre-requisite for Arches-HIP 1.0? It doesn't have any 
>>>>>> good
>>>>>> installation instructions. I'm having a very hard time putting up Arches 
>>>>>> on
>>>>>> my Windows machine right now.
>>>>>>
>>>>>> Thanks.
>>>>>>
>>>>>> On Saturday, February 22, 2014 at 2:24:13 AM UTC+8, Alexei Peters
>>>>>> wrote:
>>>>>>>
>>>>>>> Hi NavCan,
>>>>>>> I think the problem here is the you need to download and install
>>>>>>> GEOS from http://trac.osgeo.org/osgeo4w/
>>>>>>> That step is undocumented in the current installation docs (soon to
>>>>>>> be fixed).
>>>>>>> After doing that, close the windows that popup when you run the
>>>>>>> runserver.bat file (there's 2 windows, one for the django dev server, 
>>>>>>> and
>>>>>>> one for elasticsearch).
>>>>>>> Then re-run runserver.bat
>>>>>>> You'll then probably need to re-run all the .bat files for loading
>>>>>>> arches:
>>>>>>>
>>>>>>> 1. build/build_core_arches.bat
>>>>>>> 2. db/ETL/CDS Package/install_package.bat
>>>>>>> 3. db/ETL/CDS Package/load_concepts.bat
>>>>>>> 4. db/ETL/CDS Package/load_test_data.bat
>>>>>>>
>>>>>>> Cheers,
>>>>>>> Alexei
>>>>>>>
>>>>>>>
>>>>>>> Director of Web Development - Farallon Geographics, Inc. -
>>>>>>> 971.227.3173
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Feb 20, 2014 at 10:34 AM, navcan <[email protected]> wrote:
>>>>>>>
>>>>>>>> Hello All,
>>>>>>>>
>>>>>>>> I followed the install guide and installed Arches on Windows Server
>>>>>>>> 2008 R2.  I then ran runserver.bat to start the server.  The output 
>>>>>>>> looks
>>>>>>>> as follow:
>>>>>>>>
>>>>>>>> Microsoft Windows [Version 6.1.7601]
>>>>>>>> Copyright (c) 2009 Microsoft Corporation.  All rights reserved.
>>>>>>>>
>>>>>>>> D:\ArchesWeb>runserver.bat
>>>>>>>>
>>>>>>>> D:\ArchesWeb>start
>>>>>>>> D:\ArchesWeb\"Arches/Search/engines/elasticsearch-0.90.3/bin/
>>>>>>>> elasticsearch.bat"
>>>>>>>>
>>>>>>>> D:\ArchesWeb>call "virtualenv/ENV/Scripts/activate.bat"
>>>>>>>> Traceback (most recent call last):
>>>>>>>>   File "manage.py", line 32, in <module>
>>>>>>>>     execute_manager(settings)
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\core\management\__i
>>>>>>>> nit__.py", line 438, in execute_manager
>>>>>>>>     utility.execute()
>>>>>>>>   File
>>>>>>>> "D:\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
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\core\management\bas
>>>>>>>> e.py", line 191, in run_from_argv
>>>>>>>>     self.execute(*args, **options.__dict__)
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\core\management\bas
>>>>>>>> e.py", line 209, in execute
>>>>>>>>     translation.activate('en-us')
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\utils\translation\_
>>>>>>>> _init__.py", line 100, in activate
>>>>>>>>     return _trans.activate(language)
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\utils\translation\t
>>>>>>>> rans_real.py", line 202, in activate
>>>>>>>>     _active.value = translation(language)
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\utils\translation\t
>>>>>>>> rans_real.py", line 185, in translation
>>>>>>>>     default_translation = _fetch(settings.LANGUAGE_CODE)
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\utils\translation\t
>>>>>>>> rans_real.py", line 162, in _fetch
>>>>>>>>     app = import_module(appname)
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\utils\importlib.py"
>>>>>>>> , line 35, in import_module
>>>>>>>>     __import__(name)
>>>>>>>>   File
>>>>>>>> "D:\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
>>>>>>>> "D:\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
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\contrib\admin\util.
>>>>>>>> py", line 1, in <module>
>>>>>>>>     from django.db import models
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\db\__init__.py", 
>>>>>>>> li
>>>>>>>> ne 78, in <module>
>>>>>>>>     connection = connections[DEFAULT_DB_ALIAS]
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\db\utils.py", 
>>>>>>>> line
>>>>>>>> 93, in __getitem__
>>>>>>>>     backend = load_backend(db['ENGINE'])
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\db\utils.py", 
>>>>>>>> line
>>>>>>>> 33, in load_backend
>>>>>>>>     return import_module('.base', backend_name)
>>>>>>>>   File
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\utils\importlib.py"
>>>>>>>> , line 35, in import_module
>>>>>>>>     __import__(name)
>>>>>>>>   File
>>>>>>>> "D:\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
>>>>>>>> "D:\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
>>>>>>>> "D:\ArchesWeb\virtualenv\ENV\lib\site-packages\django\contrib\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".
>>>>>>>> Press any key to continue . . .
>>>>>>>>
>>>>>>>> On Tuesday, November 12, 2013 8:11:19 PM UTC-5, Mario Santana wrote:
>>>>>>>>>
>>>>>>>>> Friends, I have been trying to install Arches on a windows server
>>>>>>>>> 2008 R2 64bits - I have install all the packages, but the installation
>>>>>>>>> guide is a bit vague P 17 Step 5, what do I need to do there ?, I 
>>>>>>>>> tried the
>>>>>>>>> install.bat and I get:
>>>>>>>>> File "install.py" line 24, in
>>>>>>>>> AttributeError: 'Module' object has no attribute `check_output`
>>>>>>>>>
>>>>>>>>
>>>>>>>> But when I open the web browser and type the URL
>>>>>>>> http://localhost:8000/Arches/index.htm
>>>>>>>>
>>>>>>>> It does not display the Arches home page, all I see is "This page
>>>>>>>> cannot be displayed" Make sure the web address
>>>>>>>> http://localhost:8000 is correct.
>>>>>>>>
>>>>>>>> Please advise where do I have to look to troubleshoot as I am not
>>>>>>>> familiar with Arches application.
>>>>>>>>
>>>>>>>> Many thanks,
>>>>>>>> NavCan
>>>>>>>>
>>>>>>>>>
>>>>>>>>> regards
>>>>>>>>>
>>>>>>>>  --
>>>>>>>> -- 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/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 a topic in the
> Google Groups "Arches Project" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/archesproject/vDa04wCbKY4/unsubscribe.
> To unsubscribe from this group and all its topics, 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.

Reply via email to