Hi Cyrus and Guido,
I did a little bit of testing, and running Arches from stable/4.1.x I get
the following errors in the following circumstances.
GDAL_LIBRARY_PATH is commented out (i.e. isn't set at all):
django.core.exceptions.ImproperlyConfigured: Could not find the GDAL
library (tried "gdal201", "gdal20", "gdal111", "gdal110", "gdal19"). Is
GDAL installed? If it is, try setting GDAL_LIBRARY_PATH in your settings.
GDAL_LIBRARY_PATH points to an invalid 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
Guido, as you didn't get either of those errors, I think you may actually
have a problem with the version of GDAL that you have installed. Can you
confirm that you have the 64-bit version of GDAL, as well as the 64-bit
version of python 2.7?
Adam
On Mon, Apr 23, 2018 at 9:33 AM, Cyrus Hiatt <[email protected]> wrote:
> Hi Guido -
>
> Just to clarify the install elasticsearch command basically downloads
> elasticsearch and modifies the configs. You could do it manually if you
> wanted to by downloading it here:
>
> https://www.elastic.co/downloads/past-releases/elasticsearch-5-1-2
>
> The elasticsearch that you see in `pip list` is just the python bindings
> that Arches uses to communicate with elasticsearch and it sounds like that
> was successfully installed.
>
> However, looking at the stack trace of your error it seems like Django is
> unable to locate GDAL - specifically this line:
>
> File
> "C:\projects\ENV\lib\site-packages\django\contrib\gis\db\models\fields.py",
> line 3, in <module>
> from django.contrib.gis import forms, gdal
>
> I would double check the GDAL_LIBRARY_PATH path in your settings and make
> sure it's pointing to the right file (odds are it will be a bit different
> than this one: `C:/OSGeo4W64/bin/gdal201.dll`)
>
> If the path is correct I would just check and make sure that GDAL is
> working properly, perhaps by running gdalinfo from the command line.
>
> Once Django can locate GDAL the elasticsearch download command should work.
>
> Cheers,
>
> Cyrus
>
>
>
>
>
> On Sun, Apr 22, 2018 at 6:52 AM, guido cimadomo <[email protected]>
> wrote:
>
>> Hi Cyrus,
>> I added that line to projects/my_project/my_project/settings.py file
>>
>> I still have the same error
>> WindowsError: [Error 193] %1 no es una aplicaci¾n Win32 vßlida
>> at the same point of the elasticsearch install process.
>> I have to mention that I tried both to install elasticsearch over the
>> previous package, either after pip uninstall elasticsearch, with the same
>> error...
>>
>> --
>> -- To post, send email to [email protected]. To
>> unsubscribe, send email to [email protected].
>> For more information, visit https://groups.google.com/d/fo
>> rum/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.
>
--
-- 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.