Re: [Arches] Arches Installation Unable to run Django Server

2017-04-25 Thread Susan Penacho
Hi Adam,
No, that was an issue. I couldn't create my_project. I feel like its me not 
understanding the directions (I only made it this far since Scott Branting, 
my supervisor for Arches walked me through it step by step). I entered "
python C:\ArchesProjects\ENV\Scripts\arches-project create my_project"
into my command prompt and got the following:

C:\>python C:\ArchesProjects\ENV\Scripts\arches-project create my_project

Traceback (most recent call last):

  File "C:\ArchesProjects\ENV\Scripts\arches-project", line 6, in 

exec(compile(open(__file__).read(), __file__, 'exec'))

  File "C:\ArchesProjects\arches\arches\install\arches-project", line 12, 
in 

from django.utils.crypto import get_random_string

  File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, in 


import hmac

  File "C:\Python27\Lib\hmac.py", line 8, in 

from operator import _compare_digest as compare_digest

ImportError: cannot import name _compare_digest

On Tuesday, April 25, 2017 at 3:47:58 PM UTC-7, Adam Cox wrote:
>
> Hi Susan, ok, sounds like it's an issue with using the new project. Can 
> you confirm you had entered the new project and that's where you were 
> running manage.py from?
>
> On Tue, Apr 25, 2017 at 5:10 PM, Susan Penacho  > wrote:
>
>> Hi Alexei,
>> Thank you for getting back to me quickly. I am not totally sure what 
>> changed. I was finishing working through the arches install steps to try 
>> and fix the greyed out issue once I had logged on. Using the website steps, 
>> I tried to create an arches project since I didn't have the project 
>> directory. 
>>
>> Alex is right that I was using the repo. I have not tried running that 
>> again.
>>
>> Thanks for the help. I am just a humble archaeologist and all this is a 
>> little past my computer skills. 
>>  
>>
>> On Tuesday, April 25, 2017 at 2:40:07 PM UTC-7, Alexei Peters wrote:
>>>
>>> Hi Susan,
>>> What changed between last week and this?  Have you pip installed Arches, 
>>> or are you running directly from the repository?
>>> Obviously something changed.  It just a matter of pip pointing what.
>>> Cheers,
>>> Alexei
>>>
>>>
>>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>>>
>>> On Tue, Apr 25, 2017 at 12:09 PM, Susan Penacho  
>>> wrote:
>>>
 Hi,
 Last week I had Arches up and running where I could log in and see the 
 main arches interface through the localhost. However, this week, I can no 
 longer run the Django server to launch arches. I am working on a local 
 computer with Windows 10 which I am using to build our graphs before it 
 goes live on a remote server. Any help would be much appreciated.

 After activating the virtual environment and starting elastic search, 
 when I try to run the Django server I get the following error:

  

 (ENV) C:\ArchesProjects\arches>python manage.py runserver

 Traceback (most recent call last):

   File "manage.py", line 22, in 

 from django.core.management import execute_from_command_line

   File 
 "C:\Python27\lib\site-packages\django\core\management\__init__.py", line 
 13, in 

 from django.core.management.base import (

   File "C:\Python27\lib\site-packages\django\core\management\base.py", 
 line 17, in 

 from django.db.migrations.exceptions import MigrationSchemaMissing

   File 
 "C:\Python27\lib\site-packages\django\db\migrations\__init__.py", line 2, 
 in 

 from .operations import *  # NOQA

   File 
 "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py",
  
 line 1, in 

 from .fields import AddField, AlterField, RemoveField, RenameField

   File 
 "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py", 
 line 3, in 

 from django.db.models.fields import NOT_PROVIDED

   File "C:\Python27\lib\site-packages\django\db\models\__init__.py", 
 line 14, in 

 from django.db.models.fields.files import FileField, ImageField

   File 
 "C:\Python27\lib\site-packages\django\db\models\fields\files.py", line 10, 
 in 

 from django.core.files.storage import default_storage

   File "C:\Python27\lib\site-packages\django\core\files\storage.py", 
 line 13, in 

 from django.utils.crypto import get_random_string

   File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, 
 in 

 import hmac

   File "C:\Python27\Lib\hmac.py", line 8, in 

 from operator import _compare_digest as compare_digest

 ImportError: cannot import name _compare_digest

 -- 
 -- To post, send email to arches...@googlegroups.com. To unsubscribe, 
 send email to archesprojec...@googlegroups.com. For more information, 
 visit 

Re: [Arches] Arches Installation Unable to run Django Server

2017-04-25 Thread Adam Cox
Hi Susan, ok, sounds like it's an issue with using the new project. Can you
confirm you had entered the new project and that's where you were running
manage.py from?

On Tue, Apr 25, 2017 at 5:10 PM, Susan Penacho  wrote:

> Hi Alexei,
> Thank you for getting back to me quickly. I am not totally sure what
> changed. I was finishing working through the arches install steps to try
> and fix the greyed out issue once I had logged on. Using the website steps,
> I tried to create an arches project since I didn't have the project
> directory.
>
> Alex is right that I was using the repo. I have not tried running that
> again.
>
> Thanks for the help. I am just a humble archaeologist and all this is a
> little past my computer skills.
>
>
> On Tuesday, April 25, 2017 at 2:40:07 PM UTC-7, Alexei Peters wrote:
>>
>> Hi Susan,
>> What changed between last week and this?  Have you pip installed Arches,
>> or are you running directly from the repository?
>> Obviously something changed.  It just a matter of pip pointing what.
>> Cheers,
>> Alexei
>>
>>
>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>> <(971)%20227-3173>
>>
>> On Tue, Apr 25, 2017 at 12:09 PM, Susan Penacho 
>> wrote:
>>
>>> Hi,
>>> Last week I had Arches up and running where I could log in and see the
>>> main arches interface through the localhost. However, this week, I can no
>>> longer run the Django server to launch arches. I am working on a local
>>> computer with Windows 10 which I am using to build our graphs before it
>>> goes live on a remote server. Any help would be much appreciated.
>>>
>>> After activating the virtual environment and starting elastic search,
>>> when I try to run the Django server I get the following error:
>>>
>>>
>>>
>>> (ENV) C:\ArchesProjects\arches>python manage.py runserver
>>>
>>> Traceback (most recent call last):
>>>
>>>   File "manage.py", line 22, in 
>>>
>>> from django.core.management import execute_from_command_line
>>>
>>>   File "C:\Python27\lib\site-packages\django\core\management\__init__.py",
>>> line 13, in 
>>>
>>> from django.core.management.base import (
>>>
>>>   File "C:\Python27\lib\site-packages\django\core\management\base.py",
>>> line 17, in 
>>>
>>> from django.db.migrations.exceptions import MigrationSchemaMissing
>>>
>>>   File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py",
>>> line 2, in 
>>>
>>> from .operations import *  # NOQA
>>>
>>>   File 
>>> "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py",
>>> line 1, in 
>>>
>>> from .fields import AddField, AlterField, RemoveField, RenameField
>>>
>>>   File 
>>> "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py",
>>> line 3, in 
>>>
>>> from django.db.models.fields import NOT_PROVIDED
>>>
>>>   File "C:\Python27\lib\site-packages\django\db\models\__init__.py",
>>> line 14, in 
>>>
>>> from django.db.models.fields.files import FileField, ImageField
>>>
>>>   File "C:\Python27\lib\site-packages\django\db\models\fields\files.py",
>>> line 10, in 
>>>
>>> from django.core.files.storage import default_storage
>>>
>>>   File "C:\Python27\lib\site-packages\django\core\files\storage.py",
>>> line 13, in 
>>>
>>> from django.utils.crypto import get_random_string
>>>
>>>   File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8,
>>> in 
>>>
>>> import hmac
>>>
>>>   File "C:\Python27\Lib\hmac.py", line 8, in 
>>>
>>> from operator import _compare_digest as compare_digest
>>>
>>> ImportError: cannot import name _compare_digest
>>>
>>> --
>>> -- To post, send email to arches...@googlegroups.com. To unsubscribe,
>>> send email to archesprojec...@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 archesprojec...@googlegroups.com.
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> --
> -- 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.
>

-- 
-- 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 

Re: [Arches] Arches Installation Unable to run Django Server

2017-04-25 Thread Susan Penacho
Hi Alexei,
Thank you for getting back to me quickly. I am not totally sure what 
changed. I was finishing working through the arches install steps to try 
and fix the greyed out issue once I had logged on. Using the website steps, 
I tried to create an arches project since I didn't have the project 
directory. 

Alex is right that I was using the repo. I have not tried running that 
again.

Thanks for the help. I am just a humble archaeologist and all this is a 
little past my computer skills. 
 

On Tuesday, April 25, 2017 at 2:40:07 PM UTC-7, Alexei Peters wrote:
>
> Hi Susan,
> What changed between last week and this?  Have you pip installed Arches, 
> or are you running directly from the repository?
> Obviously something changed.  It just a matter of pip pointing what.
> Cheers,
> Alexei
>
>
> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>
> On Tue, Apr 25, 2017 at 12:09 PM, Susan Penacho  > wrote:
>
>> Hi,
>> Last week I had Arches up and running where I could log in and see the 
>> main arches interface through the localhost. However, this week, I can no 
>> longer run the Django server to launch arches. I am working on a local 
>> computer with Windows 10 which I am using to build our graphs before it 
>> goes live on a remote server. Any help would be much appreciated.
>>
>> After activating the virtual environment and starting elastic search, 
>> when I try to run the Django server I get the following error:
>>
>>  
>>
>> (ENV) C:\ArchesProjects\arches>python manage.py runserver
>>
>> Traceback (most recent call last):
>>
>>   File "manage.py", line 22, in 
>>
>> from django.core.management import execute_from_command_line
>>
>>   File 
>> "C:\Python27\lib\site-packages\django\core\management\__init__.py", line 
>> 13, in 
>>
>> from django.core.management.base import (
>>
>>   File "C:\Python27\lib\site-packages\django\core\management\base.py", 
>> line 17, in 
>>
>> from django.db.migrations.exceptions import MigrationSchemaMissing
>>
>>   File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py", 
>> line 2, in 
>>
>> from .operations import *  # NOQA
>>
>>   File 
>> "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py", 
>> line 1, in 
>>
>> from .fields import AddField, AlterField, RemoveField, RenameField
>>
>>   File 
>> "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py", 
>> line 3, in 
>>
>> from django.db.models.fields import NOT_PROVIDED
>>
>>   File "C:\Python27\lib\site-packages\django\db\models\__init__.py", line 
>> 14, in 
>>
>> from django.db.models.fields.files import FileField, ImageField
>>
>>   File "C:\Python27\lib\site-packages\django\db\models\fields\files.py", 
>> line 10, in 
>>
>> from django.core.files.storage import default_storage
>>
>>   File "C:\Python27\lib\site-packages\django\core\files\storage.py", line 
>> 13, in 
>>
>> from django.utils.crypto import get_random_string
>>
>>   File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, in 
>> 
>>
>> import hmac
>>
>>   File "C:\Python27\Lib\hmac.py", line 8, in 
>>
>> from operator import _compare_digest as compare_digest
>>
>> ImportError: cannot import name _compare_digest
>>
>> -- 
>> -- To post, send email to arches...@googlegroups.com . To 
>> unsubscribe, send email to archesprojec...@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 archesprojec...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
-- 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] Arches Installation Unable to run Django Server

2017-04-25 Thread Adam Cox
I believe she would be using the repository, because I script I had written
up uses the repo installation, not pip. Whenever the script was last run,
that's the version of the repo that would be used in her installation.
Susan, have you tried rerunning the script between now and last week? I
think that could be the issue, because things are changing in the repo
everyday.

That script should probably be changed to a pip install, to avoid issues
like this. It was just developed in conjunction with the Liverpool workshop
at which time the github repo was the best method.

Adam

On Tue, Apr 25, 2017 at 4:40 PM, Alexei Peters  wrote:

> Hi Susan,
> What changed between last week and this?  Have you pip installed Arches,
> or are you running directly from the repository?
> Obviously something changed.  It just a matter of pip pointing what.
> Cheers,
> Alexei
>
>
> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
> <(971)%20227-3173>
>
> On Tue, Apr 25, 2017 at 12:09 PM, Susan Penacho 
> wrote:
>
>> Hi,
>> Last week I had Arches up and running where I could log in and see the
>> main arches interface through the localhost. However, this week, I can no
>> longer run the Django server to launch arches. I am working on a local
>> computer with Windows 10 which I am using to build our graphs before it
>> goes live on a remote server. Any help would be much appreciated.
>>
>> After activating the virtual environment and starting elastic search,
>> when I try to run the Django server I get the following error:
>>
>>
>>
>> (ENV) C:\ArchesProjects\arches>python manage.py runserver
>>
>> Traceback (most recent call last):
>>
>>   File "manage.py", line 22, in 
>>
>> from django.core.management import execute_from_command_line
>>
>>   File "C:\Python27\lib\site-packages\django\core\management\__init__.py",
>> line 13, in 
>>
>> from django.core.management.base import (
>>
>>   File "C:\Python27\lib\site-packages\django\core\management\base.py",
>> line 17, in 
>>
>> from django.db.migrations.exceptions import MigrationSchemaMissing
>>
>>   File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py",
>> line 2, in 
>>
>> from .operations import *  # NOQA
>>
>>   File 
>> "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py",
>> line 1, in 
>>
>> from .fields import AddField, AlterField, RemoveField, RenameField
>>
>>   File 
>> "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py",
>> line 3, in 
>>
>> from django.db.models.fields import NOT_PROVIDED
>>
>>   File "C:\Python27\lib\site-packages\django\db\models\__init__.py",
>> line 14, in 
>>
>> from django.db.models.fields.files import FileField, ImageField
>>
>>   File "C:\Python27\lib\site-packages\django\db\models\fields\files.py",
>> line 10, in 
>>
>> from django.core.files.storage import default_storage
>>
>>   File "C:\Python27\lib\site-packages\django\core\files\storage.py",
>> line 13, in 
>>
>> from django.utils.crypto import get_random_string
>>
>>   File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8,
>> in 
>>
>> import hmac
>>
>>   File "C:\Python27\Lib\hmac.py", line 8, in 
>>
>> from operator import _compare_digest as compare_digest
>>
>> ImportError: cannot import name _compare_digest
>>
>> --
>> -- 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/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 archesproject+unsubscr...@googlegroups.com.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
> --
> -- 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.
>

-- 
-- 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] Arches Installation Unable to run Django Server

2017-04-25 Thread Alexei Peters
Hi Susan,
What changed between last week and this?  Have you pip installed Arches, or
are you running directly from the repository?
Obviously something changed.  It just a matter of pip pointing what.
Cheers,
Alexei


Director of Web Development - Farallon Geographics, Inc. - 971.227.3173

On Tue, Apr 25, 2017 at 12:09 PM, Susan Penacho  wrote:

> Hi,
> Last week I had Arches up and running where I could log in and see the
> main arches interface through the localhost. However, this week, I can no
> longer run the Django server to launch arches. I am working on a local
> computer with Windows 10 which I am using to build our graphs before it
> goes live on a remote server. Any help would be much appreciated.
>
> After activating the virtual environment and starting elastic search, when
> I try to run the Django server I get the following error:
>
>
>
> (ENV) C:\ArchesProjects\arches>python manage.py runserver
>
> Traceback (most recent call last):
>
>   File "manage.py", line 22, in 
>
> from django.core.management import execute_from_command_line
>
>   File "C:\Python27\lib\site-packages\django\core\management\__init__.py",
> line 13, in 
>
> from django.core.management.base import (
>
>   File "C:\Python27\lib\site-packages\django\core\management\base.py",
> line 17, in 
>
> from django.db.migrations.exceptions import MigrationSchemaMissing
>
>   File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py",
> line 2, in 
>
> from .operations import *  # NOQA
>
>   File 
> "C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py",
> line 1, in 
>
> from .fields import AddField, AlterField, RemoveField, RenameField
>
>   File 
> "C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py",
> line 3, in 
>
> from django.db.models.fields import NOT_PROVIDED
>
>   File "C:\Python27\lib\site-packages\django\db\models\__init__.py", line
> 14, in 
>
> from django.db.models.fields.files import FileField, ImageField
>
>   File "C:\Python27\lib\site-packages\django\db\models\fields\files.py",
> line 10, in 
>
> from django.core.files.storage import default_storage
>
>   File "C:\Python27\lib\site-packages\django\core\files\storage.py", line
> 13, in 
>
> from django.utils.crypto import get_random_string
>
>   File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, in
> 
>
> import hmac
>
>   File "C:\Python27\Lib\hmac.py", line 8, in 
>
> from operator import _compare_digest as compare_digest
>
> ImportError: cannot import name _compare_digest
>
> --
> -- 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.
>

-- 
-- 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] Arches Installation Unable to run Django Server

2017-04-25 Thread Susan Penacho
Hi,
Last week I had Arches up and running where I could log in and see the main 
arches interface through the localhost. However, this week, I can no longer 
run the Django server to launch arches. I am working on a local computer 
with Windows 10 which I am using to build our graphs before it goes live on 
a remote server. Any help would be much appreciated.

After activating the virtual environment and starting elastic search, when 
I try to run the Django server I get the following error:

 

(ENV) C:\ArchesProjects\arches>python manage.py runserver

Traceback (most recent call last):

  File "manage.py", line 22, in 

from django.core.management import execute_from_command_line

  File "C:\Python27\lib\site-packages\django\core\management\__init__.py", 
line 13, in 

from django.core.management.base import (

  File "C:\Python27\lib\site-packages\django\core\management\base.py", line 
17, in 

from django.db.migrations.exceptions import MigrationSchemaMissing

  File "C:\Python27\lib\site-packages\django\db\migrations\__init__.py", 
line 2, in 

from .operations import *  # NOQA

  File 
"C:\Python27\lib\site-packages\django\db\migrations\operations\__init__.py", 
line 1, in 

from .fields import AddField, AlterField, RemoveField, RenameField

  File 
"C:\Python27\lib\site-packages\django\db\migrations\operations\fields.py", 
line 3, in 

from django.db.models.fields import NOT_PROVIDED

  File "C:\Python27\lib\site-packages\django\db\models\__init__.py", line 
14, in 

from django.db.models.fields.files import FileField, ImageField

  File "C:\Python27\lib\site-packages\django\db\models\fields\files.py", 
line 10, in 

from django.core.files.storage import default_storage

  File "C:\Python27\lib\site-packages\django\core\files\storage.py", line 
13, in 

from django.utils.crypto import get_random_string

  File "C:\Python27\lib\site-packages\django\utils\crypto.py", line 8, in 


import hmac

  File "C:\Python27\Lib\hmac.py", line 8, in 

from operator import _compare_digest as compare_digest

ImportError: cannot import name _compare_digest

-- 
-- 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: Arches for PPGIS / mapping interface

2017-04-25 Thread Dennis Wuthrich
Andrew/Jaime,

It looks like you are conflating 2 different things in Arches.

Importing a shapefile means loading the geospatial data in the shapefile 
into the Arches database.  You do this by configuring the mapping file 
associated with the resource model(s) that you want to populate.

Arches also supports a separate capability: creating mapping services that 
can define "overlays" that users can add to maps (e.g.: the search map or 
data entry forms that include maps).  In this case, you don't import the 
shapefile; instead you configure a mapping service that references your 
shapefile.  If you're familiar with geospatial web services, Arches 
implements a mapping server (Tilestache) to create vector and raster map 
services.  We implement this so that you can overlay geodata (say from your 
corporate GIS or other sources) on top of Arches' resources. 

Based on your question, I'm not sure if you're trying to import data or 
configure a map service.  Arches supports either possibility.  Note that if 
you import data from the shapefile into an Arches resource model, Arches 
will automatically create the map service for you.

Hope this points you in the right direction.

Cheers,

Dennis

On Tuesday, April 25, 2017 at 9:45:02 AM UTC-7, andrew.m...@nuim.ie wrote:
>
> Hi Dennis
>
> Thanks very much again for the response.
>
> As a follow on question: when the .shp file has been converted to .csv, is 
> the import carried out from the same admin panel that you navigate from to 
> create new users? (i.e. an entry is created in "Map layers", "Map sources" 
> and "Tileserver layers" respectively).
>
> Best wishes
>
> Andrew/Jamie
>
>
>
> On Thursday, April 13, 2017 at 7:30:27 PM UTC+1, Dennis Wuthrich wrote:
>>
>> Andrew and Jaime,
>>
>> 1) The Profile Manager in the Admin panel doesn't link to anything at the 
>> minute - is this intentional or a bug in our install? 
>> The Profile Manager isn't functional yet (it's intended to support the 
>> mobile data collection app that we're working on).
>>
>> 2) If it is intentional, and it's not ready for use yet, can a new user 
>> (and their respective permissions) be created some other way in the 
>> meantime?
>> Yes, you can manage users and permissions as follows:  go to 
>> http://localhost:8000/admin/  (of course, your domain may not be 
>> "localhost", use the domain name or IP address of your server).  You'll 
>> find user and group management tools here.
>>
>> 3) Does V4 support import of shapefiles in the same manner as V3?
>> V4 treats shapefiles as csv files.  If you want to import a shapefile 
>> into v4, first save it as a csv with the geometry field saved as WKT (well 
>> known text) with an SRID of 4326.  QGIS makes this very easy (simply 
>> right-click on your shapefile in QGIS's layers panel the click on "Save 
>> As..." your shapefile as .csv).  Then load as any other csv.
>>
>>
>> Hope this helps,
>>
>> Dennis
>>
>>
>> On Thursday, April 13, 2017 at 9:23:55 AM UTC-7, andrew.m...@nuim.ie 
>> wrote:
>>>
>>> Hi Dennis
>>>
>>> A few more technical questions that I hope someone can help us with.
>>>
>>> 1) The Profile Manager in the Admin panel doesn't link to anything at 
>>> the minute - is this intentional or a bug in our install?
>>> 2) If it is intentional, and it's not ready for use yet, can a new user 
>>> (and their respective permissions) be created some other way in the 
>>> meantime?
>>> 3) Does V4 support import of shapefiles in the same manner as V3?
>>>
>>> Thanks very much for your help.
>>>
>>> Best wishes
>>>
>>> Andrew (and Jamie)
>>>
>>>
>>>
>>>
>>>
>>>
>>> On Tuesday, April 11, 2017 at 5:39:23 PM UTC+1, andrew.m...@nuim.ie 
>>> wrote:

 Hi Dennis

 Thanks very much for your reply. We'll have a closer look and will get 
 back with any technical questions.

 Best wishes

 Andrew

 On Thursday, April 6, 2017 at 8:32:00 PM UTC+1, Dennis Wuthrich wrote:
>
> Hi Andrew and Jamie,
>
> Nice to hear that you found the Liverpool Arches Workshop useful.
>
> You asked several specific questions about extending v4:
>
> 1) Is it possible to create plugins/widgets/add-ons that can be 
> applied to the basemap in Arches? - for example, is there a menu within 
> Arches or would this have to be created externally?
>
> Answer: Yes, you can create or extend widgets in v4.  In particular, 
> you could support the ability to drag pins from a menu onto a map and 
> save 
> the location of the pins back to the Arches database.  The specific 
> technical steps are pretty straightforward.  To start, I suggest that you 
> take a look at the existing map widget to see how the it manages data 
> creation/saving/indexing.  This may be enough for you to see how to 
> extend 
> the widget.  At a minimum, you'll be in a position to ask specific 
> technical questions.
>
> Cheers,
>
> Dennis
>
>
> On Thursday, 

[Arches] Re: Arches for PPGIS / mapping interface

2017-04-25 Thread andrew . mcclelland
Hi Dennis

Thanks very much again for the response.

As a follow on question: when the .shp file has been converted to .csv, is 
the import carried out from the same admin panel that you navigate from to 
create new users? (i.e. an entry is created in "Map layers", "Map sources" 
and "Tileserver layers" respectively).

Best wishes

Andrew/Jamie



On Thursday, April 13, 2017 at 7:30:27 PM UTC+1, Dennis Wuthrich wrote:
>
> Andrew and Jaime,
>
> 1) The Profile Manager in the Admin panel doesn't link to anything at the 
> minute - is this intentional or a bug in our install? 
> The Profile Manager isn't functional yet (it's intended to support the 
> mobile data collection app that we're working on).
>
> 2) If it is intentional, and it's not ready for use yet, can a new user 
> (and their respective permissions) be created some other way in the 
> meantime?
> Yes, you can manage users and permissions as follows:  go to 
> http://localhost:8000/admin/  (of course, your domain may not be 
> "localhost", use the domain name or IP address of your server).  You'll 
> find user and group management tools here.
>
> 3) Does V4 support import of shapefiles in the same manner as V3?
> V4 treats shapefiles as csv files.  If you want to import a shapefile into 
> v4, first save it as a csv with the geometry field saved as WKT (well known 
> text) with an SRID of 4326.  QGIS makes this very easy (simply right-click 
> on your shapefile in QGIS's layers panel the click on "Save As..." your 
> shapefile as .csv).  Then load as any other csv.
>
>
> Hope this helps,
>
> Dennis
>
>
> On Thursday, April 13, 2017 at 9:23:55 AM UTC-7, andrew.m...@nuim.ie 
> wrote:
>>
>> Hi Dennis
>>
>> A few more technical questions that I hope someone can help us with.
>>
>> 1) The Profile Manager in the Admin panel doesn't link to anything at the 
>> minute - is this intentional or a bug in our install?
>> 2) If it is intentional, and it's not ready for use yet, can a new user 
>> (and their respective permissions) be created some other way in the 
>> meantime?
>> 3) Does V4 support import of shapefiles in the same manner as V3?
>>
>> Thanks very much for your help.
>>
>> Best wishes
>>
>> Andrew (and Jamie)
>>
>>
>>
>>
>>
>>
>> On Tuesday, April 11, 2017 at 5:39:23 PM UTC+1, andrew.m...@nuim.ie 
>> wrote:
>>>
>>> Hi Dennis
>>>
>>> Thanks very much for your reply. We'll have a closer look and will get 
>>> back with any technical questions.
>>>
>>> Best wishes
>>>
>>> Andrew
>>>
>>> On Thursday, April 6, 2017 at 8:32:00 PM UTC+1, Dennis Wuthrich wrote:

 Hi Andrew and Jamie,

 Nice to hear that you found the Liverpool Arches Workshop useful.

 You asked several specific questions about extending v4:

 1) Is it possible to create plugins/widgets/add-ons that can be applied 
 to the basemap in Arches? - for example, is there a menu within Arches or 
 would this have to be created externally?

 Answer: Yes, you can create or extend widgets in v4.  In particular, 
 you could support the ability to drag pins from a menu onto a map and save 
 the location of the pins back to the Arches database.  The specific 
 technical steps are pretty straightforward.  To start, I suggest that you 
 take a look at the existing map widget to see how the it manages data 
 creation/saving/indexing.  This may be enough for you to see how to extend 
 the widget.  At a minimum, you'll be in a position to ask specific 
 technical questions.

 Cheers,

 Dennis


 On Thursday, April 6, 2017 at 7:39:16 AM UTC-7, andrew.m...@nuim.ie 
 wrote:
>
> Hi
>
> Thanks very much to the GCI and John Moores University for organising 
> the Arches workshop last week in Liverpool, which I found very useful and 
> informative. 
>
> I briefly discussed the project that I'm currently working on at 
> Maynooth University, Ireland (REINVENT Project), and am hoping to 
> undertake 
> several heritage-related Public Participation GIS exercises on a 
> cross-border basis at different spatial scales (landscape, area, 
> individual 
> building/monument), possibly adopting Arches v4 as an existing, free and 
> open source heritage inventorying platform. However, to make this happen, 
> I've a number of initial queries on which I'd welcome some technical 
> advice:
>
> 1) Is it possible to create plugins/widgets/add-ons that can be 
> applied to the basemap in Arches? - for example, is there a menu within 
> Arches or would this have to be created externally?
> 2) If so, can new toolbars be added and pins dragged and dropped from 
> these to the mapping interface?
> 3) Can the coordinates of the placed dropped pins be recorded and sent 
> to a database?
>
> Thanks very much for any advice you can provide.
>
> Best wishes
>
> Andrew McClelland and Jamie Raleigh
>