[Arches] Re: Installing Arches on Win server 64bits
Hello, I would recommend that you install gdal by loading it from this site http://trac.osgeo.org/osgeo4w/ Once you've done that follow the updated instructions here http://arches3.readthedocs.org/en/latest/installing-dependencies-windows/#install-geos and additionally add a setting into your settings.py file (see step #6 here http://arches-hip.readthedocs.org/en/latest/getting-started/#installating-arches-hip ) Hope this helps. Cheers, Alexei On Wednesday, June 24, 2015 at 3:58:43 AM UTC-7, NHB Heritage wrote: Greetings from Singapore! I am looking forward to see your Arches team here in August! Right now, I'm having quite a problem in installing Arches especially stuck at ElasticSearch. Error as below: Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File C:\Arches\ENV\lib\site-packages\django\core\management\__init__.py, line 399, in execute_from_command_line utility.execute() File C:\Arches\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\ENV\lib\site-packages\django\core\management\__init__.py, line 272, in fetch_command klass = load_command_class(app_name, subcommand) File C:\Arches\ENV\lib\site-packages\django\core\management\__init__.py, line 75, in load_command_class module = import_module('%s.management.commands.%s' % (app_name, name)) File C:\Arches\ENV\lib\site-packages\django\utils\importlib.py, line 40, in import_module __import__(name) File C:\Arches\ENV\lib\site-packages\arches\management\commands\packages.py, line 28, in module from arches.app.utils.data_management.resources.importer import ResourceLoader File C:\Arches\ENV\lib\site-packages\arches\app\utils\data_management\resources\importer.py, line 7, in module from django.contrib.auth.models import User File C:\Arches\ENV\lib\site-packages\django\contrib\auth\models.py, line 48, in module class Permission(models.Model): File C:\Arches\ENV\lib\site-packages\django\db\models\base.py, line 96, in _ _new__ new_class.add_to_class('_meta', Options(meta, **kwargs)) File C:\Arches\ENV\lib\site-packages\django\db\models\base.py, line 264, in add_to_class value.contribute_to_class(cls, name) File C:\Arches\ENV\lib\site-packages\django\db\models\options.py, line 124, in contribute_to_class self.db_table = truncate_name(self.db_table, connection.ops.max_name_length( )) File C:\Arches\ENV\lib\site-packages\django\db\__init__.py, line 34, in __getattr__ return getattr(connections[DEFAULT_DB_ALIAS], item) File C:\Arches\ENV\lib\site-packages\django\db\utils.py, line 198, in __getitem__ backend = load_backend(db['ENGINE']) File C:\Arches\ENV\lib\site-packages\django\db\utils.py, line 113, in load_backend return import_module('%s.base' % backend_name) File C:\Arches\ENV\lib\site-packages\django\utils\importlib.py, line 40, in import_module __import__(name) File C:\Arches\ENV\lib\site-packages\django\contrib\gis\db\backends\postgis\base.py, line 4, in module from django.contrib.gis.db.backends.postgis.introspection import PostGISIntrospection File C:\Arches\ENV\lib\site-packages\django\contrib\gis\db\backends\postgis\introspection.py, line 2, in module from django.contrib.gis.gdal import OGRGeomType File C:\Arches\ENV\lib\site-packages\django\contrib\gis\gdal\__init__.py, line 41, in module from django.contrib.gis.gdal.driver import Driver File C:\Arches\ENV\lib\site-packages\django\contrib\gis\gdal\driver.py, line 5, in module from django.contrib.gis.gdal.prototypes import ds as capi File C:\Arches\ENV\lib\site-packages\django\contrib\gis\gdal\prototypes\ds.py, line 8, in module from django.contrib.gis.gdal.libgdal import lgdal File C:\Arches\ENV\lib\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 193] %1 is not a valid Win32 application I have diligently installed the dependencies (i.e. PostgreSQL 9.4, PostGIS 2.1, GEOS x86-64, Python 2.7.10, JDK) on Windows. Fingers crossed all are correct. -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: Installing Arches on Win server 64bits
Hi, I am facing the same issue, were you able to solve this issue and how? at the end of the error mine says WindowsError: [Error 126] The specified module could not be found. Please help. On Wednesday, June 24, 2015 at 6:58:43 AM UTC-4, NHB Heritage wrote: Greetings from Singapore! I am looking forward to see your Arches team here in August! Right now, I'm having quite a problem in installing Arches especially stuck at ElasticSearch. Error as below: Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File C:\Arches\ENV\lib\site-packages\django\core\management\__init__.py, line 399, in execute_from_command_line utility.execute() File C:\Arches\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\ENV\lib\site-packages\django\core\management\__init__.py, line 272, in fetch_command klass = load_command_class(app_name, subcommand) File C:\Arches\ENV\lib\site-packages\django\core\management\__init__.py, line 75, in load_command_class module = import_module('%s.management.commands.%s' % (app_name, name)) File C:\Arches\ENV\lib\site-packages\django\utils\importlib.py, line 40, in import_module __import__(name) File C:\Arches\ENV\lib\site-packages\arches\management\commands\packages.py, line 28, in module from arches.app.utils.data_management.resources.importer import ResourceLoader File C:\Arches\ENV\lib\site-packages\arches\app\utils\data_management\resources\importer.py, line 7, in module from django.contrib.auth.models import User File C:\Arches\ENV\lib\site-packages\django\contrib\auth\models.py, line 48, in module class Permission(models.Model): File C:\Arches\ENV\lib\site-packages\django\db\models\base.py, line 96, in _ _new__ new_class.add_to_class('_meta', Options(meta, **kwargs)) File C:\Arches\ENV\lib\site-packages\django\db\models\base.py, line 264, in add_to_class value.contribute_to_class(cls, name) File C:\Arches\ENV\lib\site-packages\django\db\models\options.py, line 124, in contribute_to_class self.db_table = truncate_name(self.db_table, connection.ops.max_name_length( )) File C:\Arches\ENV\lib\site-packages\django\db\__init__.py, line 34, in __getattr__ return getattr(connections[DEFAULT_DB_ALIAS], item) File C:\Arches\ENV\lib\site-packages\django\db\utils.py, line 198, in __getitem__ backend = load_backend(db['ENGINE']) File C:\Arches\ENV\lib\site-packages\django\db\utils.py, line 113, in load_backend return import_module('%s.base' % backend_name) File C:\Arches\ENV\lib\site-packages\django\utils\importlib.py, line 40, in import_module __import__(name) File C:\Arches\ENV\lib\site-packages\django\contrib\gis\db\backends\postgis\base.py, line 4, in module from django.contrib.gis.db.backends.postgis.introspection import PostGISIntrospection File C:\Arches\ENV\lib\site-packages\django\contrib\gis\db\backends\postgis\introspection.py, line 2, in module from django.contrib.gis.gdal import OGRGeomType File C:\Arches\ENV\lib\site-packages\django\contrib\gis\gdal\__init__.py, line 41, in module from django.contrib.gis.gdal.driver import Driver File C:\Arches\ENV\lib\site-packages\django\contrib\gis\gdal\driver.py, line 5, in module from django.contrib.gis.gdal.prototypes import ds as capi File C:\Arches\ENV\lib\site-packages\django\contrib\gis\gdal\prototypes\ds.py, line 8, in module from django.contrib.gis.gdal.libgdal import lgdal File C:\Arches\ENV\lib\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 193] %1 is not a valid Win32 application I have diligently installed the dependencies (i.e. PostgreSQL 9.4, PostGIS 2.1, GEOS x86-64, Python 2.7.10, JDK) on Windows. Fingers crossed all are correct. -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Arches] Re: Installing Arches on Win server 64bits
Hi, I'm having a problem install arches-hip. I'm following the instructions from http://arches-hip.readthedocs.org/en/latest/getting-started/ and now I'm stuck at step 6. See below error that I am getting. trying to install on win64 server. [image: Inline image 1] On Wed, Jun 24, 2015 at 10:46 AM, Cyrus Hiatt chi...@fargeo.com wrote: Hi Mohamed - It's very unlikely that Arches will run using Django 1.8. Arches should install into your virtual environment with Django 1.6.2. You can confirm this be activating your virtual environment, starting python in a command terminal and typing: import django django.VERSION If you have upgraded Django to 1.8, you should probably remove it and install 1.6.2 Hope that helps, Cyrus On Tue, Jun 23, 2015 at 7:53 AM, Mohamed Zamdin fzam...@gmail.com wrote: Hi Dennis, Thank you very much for looking into this. I am trying to install Arches-HIP, on Win64 server. I looks like Django 1.8.2 has problems after install, and I don't know much how to change the settings around. FYI I have psycopg2 installed 2.6.1, python 2.7, and virtualenv. Thank You, Mohamed -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Cyrus Hiatt GIS Web Developer Phone: 415.227.1144 601 Montgomery Street Suite 1095 San Francisco, CA www.fargeo.com -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Arches] Re: Installing Arches on Win server 64bits
Hi Mohamed - It looks like you need to install psycopg2 in your virtual environment: http://www.stickpeople.com/projects/python/win-psycopg/ You can do this my activating your virtual environment and using easy_install. There is an example for doing this in the link above. Cheers, Cyrus On Thu, Jun 25, 2015 at 8:10 AM, Mohamed Zamdin fzam...@gmail.com wrote: Hi, I'm having a problem install arches-hip. I'm following the instructions from http://arches-hip.readthedocs.org/en/latest/getting-started/ and now I'm stuck at step 6. See below error that I am getting. trying to install on win64 server. [image: Inline image 1] On Wed, Jun 24, 2015 at 10:46 AM, Cyrus Hiatt chi...@fargeo.com wrote: Hi Mohamed - It's very unlikely that Arches will run using Django 1.8. Arches should install into your virtual environment with Django 1.6.2. You can confirm this be activating your virtual environment, starting python in a command terminal and typing: import django django.VERSION If you have upgraded Django to 1.8, you should probably remove it and install 1.6.2 Hope that helps, Cyrus On Tue, Jun 23, 2015 at 7:53 AM, Mohamed Zamdin fzam...@gmail.com wrote: Hi Dennis, Thank you very much for looking into this. I am trying to install Arches-HIP, on Win64 server. I looks like Django 1.8.2 has problems after install, and I don't know much how to change the settings around. FYI I have psycopg2 installed 2.6.1, python 2.7, and virtualenv. Thank You, Mohamed -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Cyrus Hiatt GIS Web Developer Phone: 415.227.1144 601 Montgomery Street Suite 1095 San Francisco, CA www.fargeo.com -- Cyrus Hiatt GIS Web Developer Phone: 415.227.1144 601 Montgomery Street Suite 1095 San Francisco, CA www.fargeo.com -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Arches] Re: Installing Arches on Win server 64bits
Hi Cryus, I do have psycopg2 installed on my virtualenv. I figure out the problem that postgreSQL\9.3\bin needs to added to the path Thank You. On Thu, Jun 25, 2015 at 11:55 AM, Cyrus Hiatt chi...@fargeo.com wrote: Hi Mohamed - It looks like you need to install psycopg2 in your virtual environment: http://www.stickpeople.com/projects/python/win-psycopg/ You can do this my activating your virtual environment and using easy_install. There is an example for doing this in the link above. Cheers, Cyrus On Thu, Jun 25, 2015 at 8:10 AM, Mohamed Zamdin fzam...@gmail.com wrote: Hi, I'm having a problem install arches-hip. I'm following the instructions from http://arches-hip.readthedocs.org/en/latest/getting-started/ and now I'm stuck at step 6. See below error that I am getting. trying to install on win64 server. [image: Inline image 1] On Wed, Jun 24, 2015 at 10:46 AM, Cyrus Hiatt chi...@fargeo.com wrote: Hi Mohamed - It's very unlikely that Arches will run using Django 1.8. Arches should install into your virtual environment with Django 1.6.2. You can confirm this be activating your virtual environment, starting python in a command terminal and typing: import django django.VERSION If you have upgraded Django to 1.8, you should probably remove it and install 1.6.2 Hope that helps, Cyrus On Tue, Jun 23, 2015 at 7:53 AM, Mohamed Zamdin fzam...@gmail.com wrote: Hi Dennis, Thank you very much for looking into this. I am trying to install Arches-HIP, on Win64 server. I looks like Django 1.8.2 has problems after install, and I don't know much how to change the settings around. FYI I have psycopg2 installed 2.6.1, python 2.7, and virtualenv. Thank You, Mohamed -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Cyrus Hiatt GIS Web Developer Phone: 415.227.1144 601 Montgomery Street Suite 1095 San Francisco, CA www.fargeo.com -- Cyrus Hiatt GIS Web Developer Phone: 415.227.1144 601 Montgomery Street Suite 1095 San Francisco, CA www.fargeo.com -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
[Arches] Re: Installing Arches on Win server 64bits
Greetings from Singapore! I am looking forward to see your Arches team here in August! Right now, I'm having quite a problem in installing Arches especially stuck at ElasticSearch. Error as below: Traceback (most recent call last): File manage.py, line 28, in module execute_from_command_line(sys.argv) File C:\Arches\ENV\lib\site-packages\django\core\management\__init__.py, line 399, in execute_from_command_line utility.execute() File C:\Arches\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\ENV\lib\site-packages\django\core\management\__init__.py, line 272, in fetch_command klass = load_command_class(app_name, subcommand) File C:\Arches\ENV\lib\site-packages\django\core\management\__init__.py, line 75, in load_command_class module = import_module('%s.management.commands.%s' % (app_name, name)) File C:\Arches\ENV\lib\site-packages\django\utils\importlib.py, line 40, in import_module __import__(name) File C:\Arches\ENV\lib\site-packages\arches\management\commands\packages.py, line 28, in module from arches.app.utils.data_management.resources.importer import ResourceLoader File C:\Arches\ENV\lib\site-packages\arches\app\utils\data_management\resources\importer.py, line 7, in module from django.contrib.auth.models import User File C:\Arches\ENV\lib\site-packages\django\contrib\auth\models.py, line 48, in module class Permission(models.Model): File C:\Arches\ENV\lib\site-packages\django\db\models\base.py, line 96, in _ _new__ new_class.add_to_class('_meta', Options(meta, **kwargs)) File C:\Arches\ENV\lib\site-packages\django\db\models\base.py, line 264, in add_to_class value.contribute_to_class(cls, name) File C:\Arches\ENV\lib\site-packages\django\db\models\options.py, line 124, in contribute_to_class self.db_table = truncate_name(self.db_table, connection.ops.max_name_length( )) File C:\Arches\ENV\lib\site-packages\django\db\__init__.py, line 34, in __getattr__ return getattr(connections[DEFAULT_DB_ALIAS], item) File C:\Arches\ENV\lib\site-packages\django\db\utils.py, line 198, in __getitem__ backend = load_backend(db['ENGINE']) File C:\Arches\ENV\lib\site-packages\django\db\utils.py, line 113, in load_backend return import_module('%s.base' % backend_name) File C:\Arches\ENV\lib\site-packages\django\utils\importlib.py, line 40, in import_module __import__(name) File C:\Arches\ENV\lib\site-packages\django\contrib\gis\db\backends\postgis\base.py, line 4, in module from django.contrib.gis.db.backends.postgis.introspection import PostGISIntrospection File C:\Arches\ENV\lib\site-packages\django\contrib\gis\db\backends\postgis\introspection.py, line 2, in module from django.contrib.gis.gdal import OGRGeomType File C:\Arches\ENV\lib\site-packages\django\contrib\gis\gdal\__init__.py, line 41, in module from django.contrib.gis.gdal.driver import Driver File C:\Arches\ENV\lib\site-packages\django\contrib\gis\gdal\driver.py, line 5, in module from django.contrib.gis.gdal.prototypes import ds as capi File C:\Arches\ENV\lib\site-packages\django\contrib\gis\gdal\prototypes\ds.py, line 8, in module from django.contrib.gis.gdal.libgdal import lgdal File C:\Arches\ENV\lib\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 193] %1 is not a valid Win32 application I have diligently installed the dependencies (i.e. PostgreSQL 9.4, PostGIS 2.1, GEOS x86-64, Python 2.7.10, JDK) on Windows. Fingers crossed all are correct. -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Arches] Re: Installing Arches on Win server 64bits
Hi Mohamed - It's very unlikely that Arches will run using Django 1.8. Arches should install into your virtual environment with Django 1.6.2. You can confirm this be activating your virtual environment, starting python in a command terminal and typing: import django django.VERSION If you have upgraded Django to 1.8, you should probably remove it and install 1.6.2 Hope that helps, Cyrus On Tue, Jun 23, 2015 at 7:53 AM, Mohamed Zamdin fzam...@gmail.com wrote: Hi Dennis, Thank you very much for looking into this. I am trying to install Arches-HIP, on Win64 server. I looks like Django 1.8.2 has problems after install, and I don't know much how to change the settings around. FYI I have psycopg2 installed 2.6.1, python 2.7, and virtualenv. Thank You, Mohamed -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout. -- Cyrus Hiatt GIS Web Developer Phone: 415.227.1144 601 Montgomery Street Suite 1095 San Francisco, CA www.fargeo.com -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Arches] Re: Installing Arches on Win server 64bits
Hi Dennis, Thank you very much for looking into this. I am trying to install Arches-HIP, on Win64 server. I looks like Django 1.8.2 has problems after install, and I don't know much how to change the settings around. FYI I have psycopg2 installed 2.6.1, python 2.7, and virtualenv. Thank You, Mohamed -- -- To post, send email to archesproject@googlegroups.com. To unsubscribe, send email to archesproject+unsubscr...@googlegroups.com. 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 archesproject+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.
Re: [Arches] Re: Installing Arches on Win server 64bits
Joel, Mohamed; Just wanted to let you know that we're looking at the installation issues on Win64. FYI, we have installed Arches on this platform successfully in the past. We will post updated installation steps once we've resolved the issues. Cheers, Dennis On Thursday, June 18, 2015 at 10:20:51 AM UTC-7, Joel Aldor wrote: 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 fzam...@gmail.com 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 =
Re: [Arches] Re: Installing Arches on Win server 64bits
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
Re: [Arches] Re: Installing Arches on Win server 64bits
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 joel@gmail.com javascript: 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 nav...@gmail.com 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:\ArchesWebrunserver.bat D:\ArchesWebstart D:\ArchesWeb\Arches/Search/engines/elasticsearch-0.90.3/bin/ elasticsearch.bat D:\ArchesWebcall 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
Re: [Arches] Re: Installing Arches on Win server 64bits
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 joel.al...@gmail.com 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 nav...@gmail.com 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:\ArchesWebrunserver.bat D:\ArchesWebstart D:\ArchesWeb\Arches/Search/engines/elasticsearch-0.90.3/bin/ elasticsearch.bat D:\ArchesWebcall 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
Re: [Arches] Re: Installing Arches on Win server 64bits
Greetings Alexei: Actually the problem I discovered is at the last step of installation as per installation guide (page 18, step 6: Install Arches) When I ran the command* build_core_arches.bat* it failed at line *db\Deployment Scripts\restore.bat* is not recognized as an internal or external command When I looked in db\Deployment Scripts directory, there is no *restore.bat*file. Looks like the latest Arches build missed all the batch files under db\Deployment Scripts\ folder. It has only Restore.py file but not the batch file. Please advise where can I get this file to proceed with installation or appreciate if someone guide me to re-create this batch file. Many thanks. NavCan On Fri, Feb 21, 2014 at 1:24 PM, Alexei Peters apet...@fargeo.com 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 nav...@gmail.com 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:\ArchesWebrunserver.bat D:\ArchesWebstart D:\ArchesWeb\Arches/Search/engines/elasticsearch-0.90.3/bin/ elasticsearch.bat D:\ArchesWebcall 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