Hi Ellie, that line in the settings.py should read, in its entirety,
DATABASES['default']['POSTGIS_TEMPLATE'] = 'template_postgis_20'
The (PACKAGE_NAME) on the end is causing an error.

As for the "package" error, you should be using the word "packages" instead.

Adam


On Mon, Apr 25, 2016 at 4:53 AM, Ellie K. Stathopoulou <[email protected]
> wrote:

>
> <https://lh3.googleusercontent.com/-LkDbsQrF28I/Vx33KfDlrDI/AAAAAAAAA0Q/9Q5PJNZLZZcSJ_RYxnUpChdlAe8DtpxzwCLcB/s1600/error4.PNG>
> Dear Adam,
>
> I removed the "%" sign as you suggested - it was indeed a typo.
> However, now when I get this command I get "Type error 'str' object is not
> callable" and when I comment out the entire line in settings.py I get
> "Unknown command 'package'".
>
> Please check the attachment below
>
>
> On Friday, April 22, 2016 at 10:52:35 PM UTC+3, Adam Cox wrote:
>>
>> Hi Ellie, I think there are a couple of small issues going on, and the
>> first one may be all you need to worry about.  It's just a syntax error in
>> your settings.py file.  The postgis template line should look like this:
>> DATABASES['default']['POSTGIS_TEMPLATE'] = 'postgis_20_sample'
>> However, based on your previous error, is seems like the correct name for
>> your postgis template would be 'template_postgis_20'.
>> At any rate, the error you are getting is from an incomplete string
>> formatting function, which is from the % you have.
>>
>> Once you've corrected that error, you should be able to get further along.
>>
>> Adam
>>
>> On Thursday, April 21, 2016 at 8:05:45 AM UTC-6, Ellie K. Stathopoulou
>> wrote:
>>>
>>>
>>> <https://lh3.googleusercontent.com/-d3Qw3dSi-mA/Vxjel1QuH2I/AAAAAAAAAz8/QFzZa34akhcEJjxY25nJySI88BRqeWmcQCLcB/s1600/error2.PNG>
>>>
>>>
>>> <https://lh3.googleusercontent.com/-66gH8gBYcrs/Vxjde2zbqpI/AAAAAAAAAzs/B1i8JvVx34I67Ktg3BeAwl4wYGLb1UWVwCLcB/s1600/folder.PNG>
>>>
>>>
>>> <https://lh3.googleusercontent.com/-_l38MbrN-nI/VxjbfDM7wjI/AAAAAAAAAzg/FmWOISfJjOwt958QUyfRhJjD9-DwXO-EACLcB/s1600/error1.PNG>
>>> Hi all,
>>>
>>> I have gone through all the steps in the installation guides
>>>
>>> and I have encountered the following errors (see screenshots in
>>> attachment).
>>> - the first one occurs in the beginning, after having created the
>>> database in PostgreSQL
>>> - however, the rest of the dependencies could be installed and I have
>>> installed arches and arches_hip till the step pf the elastic search
>>> installation, where I have the following message (see screenshot)
>>>
>>> My folders' structure therefore looks like this
>>> \ArchesProjects
>>>  \ENV
>>>  \my_hip_app
>>>
>>>
>>> <https://lh3.googleusercontent.com/-ZX_fv7ehD-Y/VxjeMXzaB9I/AAAAAAAAAz0/dq8jRjR9Xe8edy70zlVz6xY8gCR4BxXUACLcB/s1600/error3.PNG>
>>>  as it should be, but, inside my_hip_app folder elasticsearch directory
>>> is missing (third screenshot).
>>>
>>> - I tried to re-install elastic search after a system reboot and now I
>>> get another error "not all arguments converted during string formatting"
>>> (screenshot)
>>>
>>> My system properties are W7x64, 8GB RAM, i7 processor and lots of free
>>> space. The machine is brand new.
>>>
>>> Any comments/recommendations welcome
>>>
>>>
>>>
>>>
>>> Ellie
>>>
>> --
> -- 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.

Reply via email to