[Arches] Re: Provisional Edits not visible to editor?

2021-04-29 Thread Cyrus Hiatt
Hi Brett,

Thanks for bringing this to our attention. It is a concern, and I've 
written a ticket for it: 
https://github.com/archesproject/arches/issues/7369.  In the meantime, it 
should be possible for a provisional user to find their provisional 
resources in the `Recent Edits` page. 

Thanks again,

Cyrus


On Friday, April 23, 2021 at 11:21:05 AM UTC-7 Brett Ferguson wrote:

> And to be clear - Provisional Edits on an existing authoritative Resource 
> are visible to the editor, it's just that provisional Resource creations 
> aren't.
>
> On Friday, April 23, 2021 at 10:10:30 AM UTC-7 Brett Ferguson wrote:
>
>> Hi -
>>
>> I'm currently trying to develop a strategy to allow user groups to submit 
>> provisional data to the provincial authority. The use case requires that a 
>> submitting user be able to view and edit new resources they have created, 
>> and it was looking like the Provisional Edits functionality added in Arches 
>> 5 might be a good fit. However it appears that Provisional Edits are not 
>> visible to the user that created them.
>>
>> Just wondering if anyone knows if this is the intended behaviour, if it 
>> is a bug, or if I'm missing something? I find it strange that the editor of 
>> a Provisional Edit would not be able to see their own Provisional Edits and 
>> be given a chance to either modify them or revert them before they become 
>> authoritative.
>>
>> Thanks!
>> Brett
>>
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/319f70de-97d3-4ae1-b2f0-3bd951f81cd9n%40googlegroups.com.


[Arches] Re: Arches Collector mobile app and Arches 5.1

2021-04-15 Thread Cyrus Hiatt
Hi Kuba,

I'm very glad to hear that upgrading has made Arches more stable for you, 
and sorry that you've run into problems with Collector. As Adam points out, 
the resource instance datatype in 5.1 is not compatible with the version of 
Collector available on Google Play and the App Store. That said, we have 
had success running Collector with Arches 5.1 as long as the project does 
not contain cards with that datatype. I recently tested downloading 
projects and syncing from an iOS device to our v5.1.3 instance and did not 
run into any errors. There are some differences between 5.1.3 and 5.1.1, 
but I don't think anything that would explain the error that you are 
seeing. I'm not sure why `*mobileprojects?status*` would return a 404.

To Adam's question about an update, we've made a number of important 
improvements to Collector and are currently in the process of testing, so 
we should have a release soon. Once we've resolved any issues that may fall 
out of testing, we'll announce an expected release date.

Cheers,

Cyrus

On Wednesday, April 14, 2021 at 11:55:38 AM UTC-7 mr.ad...@gmail.com wrote:

> I have the same question about an update to the mobile app; currently it 
> is not compatible with Arches 5.1 and I believe at least one of the reasons 
> is a business data schema change in core Arches for how resource instance 
> nodes are stored.
>
> Adam
> On Thursday, April 8, 2021 at 4:26:07 PM UTC-5 kuba...@gmail.com wrote:
>
>> Hi everyone!
>> I am on Arches 5.1.1 and I'm trying to make Arches Collector working.
>> I configured everything as described in documentation (couchdb, OAUTH_ID, 
>> cellary). I also created a project in Arches Collector Manager.
>> In Arches Collector I can add my instance but refreshing projects list 
>> returns nothing and produce problem in server console:
>> *"POST /auth/user_profile HTTP/1.1" 200 4623*
>> *Not Found: //mobileprojects*
>> *"GET //mobileprojects?status HTTP/1.1" 404 34262*
>>
>> In this topic (
>> https://groups.google.com/g/archesproject/c/5oz82mkU7Dk/m/vfsU-N6tDQAJ) 
>> I found that Arches 5.1 do not support actual version of mobile app but if 
>> that's true description of Collector specific facts in release notes 
>> 
>>  don't 
>> make any sense.
>>
>> Is Arches Collector working for anybody with 5.1?
>> Any clue about solving my error?
>> Any idea about upgraded Collector version release date?
>>
>> Despite of described problem Arches 5.1 is a greate update and works much 
>> more stable for me. :)
>> Thank you in advance!
>>
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/3676456b-bc24-4d38-b598-1cee0a5e3494n%40googlegroups.com.


[Arches] Re: Graph view replacement

2021-03-24 Thread Cyrus Hiatt

Hi Mahmoud,

For early versions of Arches we used Gephi for graph design and that is 
probably why those files are available in HIP. As far as I know, nothing 
has been written to convert a (v4 or greater) Arches resource model into a 
gephi file. If you need a graph visualization, I would consider writing an 
Arches plugin and I would use the d3 code from 5.0. You could also write an 
alternate visualization in d3 or something like cytoscape.js if you want 
something different from the 5.0 radial tree in 5.0.

Hope that helps,

Cyrus 

On Wednesday, March 24, 2021 at 4:26:05 PM UTC-7 Lindsey Gant wrote:

> Hi Mahmoud,
>
> Thanks for your message. I see that your question has not been answered 
> yet. Let me see if I can find someone from the group to help provide an 
> answer.
>
> Best,
>
> Lindsey
> Getty Conservation Institute, Arches
>
> On Monday, March 22, 2021 at 6:38:57 AM UTC-7 raz...@gmail.com wrote:
>
>> Hi all, 
>>
>> I am looking for a tool to visualise the resource models ( and maybe 
>> thesauri and collections too). I understand that the graph view in the 
>> resource designer is not available in v5.1. I wonder if anyone can 
>> recommend a tool that produces a similar impact.
>>
>> In the HIP package, there was a few gephi files that can produce graph 
>> visualisations too. Is there a system to export the resource models in 
>> gephi format? 
>>
>> All best,
>> Mahmoud 
>>
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/b6fb6d0d-18e0-4202-9e2a-806e99629896n%40googlegroups.com.


[Arches] Re: 'Hide Null Values' in v5.1 - can I make this the default setting for all Reports?

2021-03-19 Thread Cyrus Hiatt
Hi Jude,

Changing the `HIDE_EMPTY_NODES_IN_REPORT` setting in your project's 
settings.py or settings_local.py file to `True` should do the trick.

Cheers,

Cyrus 

On Thursday, March 18, 2021 at 8:44:27 AM UTC-7 manxnation...@gmail.com 
wrote:

> Hello - is it possible to make the 'Hide Null Values' the default setting 
> for all Reports in Arches v5.1?
>
> Thanks,
>
> Jude.
>
> Jude Dicken (Miss)
> Collections Information Manager
> Manx National Heritage
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/9348b109-ceef-4d49-a7c0-05aa98ee42c9n%40googlegroups.com.


[Arches] Re: Arches 5.1.1 released

2021-03-08 Thread Cyrus Hiatt
Thanks Mala,

I'm happy you got it working and that you like the improvements.

Kind regards,

Cyrus 

On Friday, March 5, 2021 at 7:09:15 PM UTC-8 mma...@getty.edu wrote:

> Hi Cyrus,
>
> Alexei may have already informed you - but I had to run yarn and that 
> fixed it. 5.1.1 has some good fixes. Thanks, Mala
>
> On Friday, March 5, 2021 at 1:54:28 PM UTC-8 Cyrus Hiatt wrote:
>
>> Hi Mala,
>>
>> The migration was very minor, so unless you saw some obvious errors when 
>> running the migration, I don't think that is related to the issue you're 
>> having.
>>
>> Just to confirm, you're not seeing any errors in your browser's devoper 
>> tools console or in your Apache error log? 
>>
>> Thanks,
>>
>> Cyrus
>>
>> On Thursday, March 4, 2021 at 11:59:50 PM UTC-8 mma...@getty.edu wrote:
>>
>>> Hello,
>>>
>>> I was currently on Arches 5.1.0 and followed the instructions:
>>> 1.  pip install --upgrade arches
>>> 2. python manage.py migrate
>>> No errors and I restarted the server and can see the splash screen  for 
>>> 5.1.1 - however when I click on search I just get the spinning icon. No 
>>> error. Cannot go to Manage either. Any suggestions on how to troubleshoot 
>>> this? Hopefully the migrate worked and the models and associated resources 
>>> are preserved.
>>>
>>> Thank You, Mala
>>>
>>> On Tuesday, March 2, 2021 at 11:54:01 AM UTC-8 Cyrus Hiatt wrote:
>>>
>>>> The Arches team is happy to announce the 5.1.1 release which includes a 
>>>> number bug fixes and a few new minor features. When we released 5.1.0 we 
>>>> had a number of features that were partially completed that we wanted to 
>>>> include in 5.1. That work is included in this release, so there are 
>>>> perhaps 
>>>> more changes than would typically be in a micro release. 
>>>>
>>>> Here some of the release highlights:
>>>>
>>>>- 
>>>>- Adds absence data searches in advanced search
>>>>- Allows JSON-LD to import geojson FeatureCollections
>>>>- Fixes the related resource info button
>>>>- Fixes UI issues with the resource instance node config panel
>>>>- Defers ES indexing after resource instance load
>>>>- Adds EDTF formatting help in the ETDF widget
>>>>- Fixes issues with values not loading properly in the concept 
>>>>widget
>>>>- Adds a crosshair cursor to the map widget's drawing tools
>>>>- Fixes the search export email file link
>>>>- Configures notification emails to use project name instead of 
>>>>'Arches'
>>>>- Fixes false dirty state in number widget
>>>>- Applies card constraint check to provisional tile data
>>>>- Fixes image report header when images tiles are created in csv 
>>>>import
>>>>- Fixes missing file records following json import of file-list 
>>>>datatype
>>>>- Adds an API endpoint to receive resource instance data with 
>>>>labels rather than UUIDS
>>>>
>>>> Users are encouraged to update at their earliest convenience. Please be 
>>>> sure to read the release here:  5.1.1 release notes 
>>>> <https://github.com/archesproject/arches/blob/stable/5.1.1/releases/5.1.1.md>
>>>>
>>>> If you are upgrading from Arches 5.0, you will need to follow the 
>>>> project upgrade instructions to 5.1.0 before proceeding. 
>>>>
>>>> As always the documentation can be found at <
>>>> http://arches.readthedocs.io>
>>>>
>>>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/84a5d905-f909-4a8f-8004-cca88e8163c9n%40googlegroups.com.


[Arches] Re: Arches 5.1.1 released

2021-03-05 Thread Cyrus Hiatt
Hi Mala,

The migration was very minor, so unless you saw some obvious errors when 
running the migration, I don't think that is related to the issue you're 
having.

Just to confirm, you're not seeing any errors in your browser's devoper 
tools console or in your Apache error log? 

Thanks,

Cyrus

On Thursday, March 4, 2021 at 11:59:50 PM UTC-8 mma...@getty.edu wrote:

> Hello,
>
> I was currently on Arches 5.1.0 and followed the instructions:
> 1.  pip install --upgrade arches
> 2. python manage.py migrate
> No errors and I restarted the server and can see the splash screen  for 
> 5.1.1 - however when I click on search I just get the spinning icon. No 
> error. Cannot go to Manage either. Any suggestions on how to troubleshoot 
> this? Hopefully the migrate worked and the models and associated resources 
> are preserved.
>
> Thank You, Mala
>
> On Tuesday, March 2, 2021 at 11:54:01 AM UTC-8 Cyrus Hiatt wrote:
>
>> The Arches team is happy to announce the 5.1.1 release which includes a 
>> number bug fixes and a few new minor features. When we released 5.1.0 we 
>> had a number of features that were partially completed that we wanted to 
>> include in 5.1. That work is included in this release, so there are perhaps 
>> more changes than would typically be in a micro release. 
>>
>> Here some of the release highlights:
>>
>>- 
>>- Adds absence data searches in advanced search
>>- Allows JSON-LD to import geojson FeatureCollections
>>- Fixes the related resource info button
>>- Fixes UI issues with the resource instance node config panel
>>- Defers ES indexing after resource instance load
>>- Adds EDTF formatting help in the ETDF widget
>>- Fixes issues with values not loading properly in the concept widget
>>- Adds a crosshair cursor to the map widget's drawing tools
>>- Fixes the search export email file link
>>- Configures notification emails to use project name instead of 
>>'Arches'
>>- Fixes false dirty state in number widget
>>- Applies card constraint check to provisional tile data
>>- Fixes image report header when images tiles are created in csv 
>>import
>>- Fixes missing file records following json import of file-list 
>>datatype
>>- Adds an API endpoint to receive resource instance data with labels 
>>rather than UUIDS
>>
>> Users are encouraged to update at their earliest convenience. Please be 
>> sure to read the release here:  5.1.1 release notes 
>> <https://github.com/archesproject/arches/blob/stable/5.1.1/releases/5.1.1.md>
>>
>> If you are upgrading from Arches 5.0, you will need to follow the project 
>> upgrade instructions to 5.1.0 before proceeding. 
>>
>> As always the documentation can be found at <http://arches.readthedocs.io
>> >
>>
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/65b1925a-740e-4edc-86dd-7fea42ba954fn%40googlegroups.com.


[Arches] Arches 5.1.1 released

2021-03-02 Thread Cyrus Hiatt
The Arches team is happy to announce the 5.1.1 release which includes a 
number bug fixes and a few new minor features. When we released 5.1.0 we 
had a number of features that were partially completed that we wanted to 
include in 5.1. That work is included in this release, so there are perhaps 
more changes than would typically be in a micro release. 

Here some of the release highlights:

   - 
   - Adds absence data searches in advanced search
   - Allows JSON-LD to import geojson FeatureCollections
   - Fixes the related resource info button
   - Fixes UI issues with the resource instance node config panel
   - Defers ES indexing after resource instance load
   - Adds EDTF formatting help in the ETDF widget
   - Fixes issues with values not loading properly in the concept widget
   - Adds a crosshair cursor to the map widget's drawing tools
   - Fixes the search export email file link
   - Configures notification emails to use project name instead of 'Arches'
   - Fixes false dirty state in number widget
   - Applies card constraint check to provisional tile data
   - Fixes image report header when images tiles are created in csv import
   - Fixes missing file records following json import of file-list datatype
   - Adds an API endpoint to receive resource instance data with labels 
   rather than UUIDS

Users are encouraged to update at their earliest convenience. Please be 
sure to read the release here:  5.1.1 release notes 


If you are upgrading from Arches 5.0, you will need to follow the project 
upgrade instructions to 5.1.0 before proceeding. 

As always the documentation can be found at 

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/d3430a6b-13dc-47a8-977c-ee59730b459dn%40googlegroups.com.


[Arches] Re: Problems importing data from a csv with the mapping file

2021-03-01 Thread Cyrus Hiatt

Just to wrap up this conversation. Gabriel was able to resolve the issue. 
It turned he had tile data spanning multiple lines within a single cell, so 
Arches was unable to read the data properly. 

- Cyrus 
On Tuesday, February 2, 2021 at 8:07:48 AM UTC-8 gabriel.c...@gmail.com 
wrote:

>
> Hi,
>
> The permissions were solved, thanks all for the tips.  Problem I have 
> still problems when loading and saving the csv in arches... despite it 
> shows that some records were saved they doesnt show in the app 
>
> arches.app.utils.data_management.resources.formats.csvfile WARNING  Grid 
> ID is null or not mapped on rows 
> 2,2,2,3,3,3,4,4,4,5,5,5,6,6,6,7,7,7,8,8,8,9,9,9,10,10,10,11,11,11,12,12,12,13,13,13,14,14,14,15,15,15,16,16,16,17,17,17
>  
> and participates in a display value 
> function.
> Time to import_business_data = 0:00:01.989878
> * Errors occured during import. Some data may not have been imported. 
> For more information, check resource import error log: 
> /home/archesdev/arches/eamena/eamena/logs/resource_import.log
>
>
> The log just show the same message so it doesnt display any additional 
> information. Someone have experienced the same issue or similar?
>
> Thanks in advance
>
> On Thursday, 28 January 2021 at 21:03:50 UTC Markus S. wrote:
>
>> Hi,
>>
>> It looks like it was successfully able to save 6384 records but was not 
>> able to write the log entry. Can you confirm the import itself was 
>> successful? 
>>
>> In addition to file permissions, also ensure that the folder in which the 
>> file is located has sufficient permissions so that files inside of it can 
>> be accessed.
>>
>> Markus
>>
>> On Thursday, January 28, 2021 at 7:37:19 AM UTC-8 patlu...@gmail.com 
>> wrote:
>>
>>> Hi,
>>>
>>> In the absence of a Linux expert . . .
>>>
>>> I would suggest changing permissions (ie chmod) temporarily to 777 and 
>>> if that makes the difference you will know you are looking in the right 
>>> place. The first number is permissions for the user associated with the 
>>> file, the second is for the user group associated with the file and the 
>>> third is for anybody.
>>>
>>> Each of the digits refers to permissions for different users/groups.The 
>>> first will be used if the user that is trying to write to the file is that 
>>> associated with the file. The second would be used for a different user, 
>>> but one that is a member of the group associated with the file. The last 
>>> will work for anybody. Normally the owner/group would have more rights than 
>>> the general public.
>>>
>>> Each digit is made up of 4+2+1 where the 4 is read permission, 2 is 
>>> write permission (which you want in this case), 1 is execute.
>>> Thus 7 is all three; 6 is 4+2 so read and write but not execute; 5 is 
>>> read and execute but not write.
>>>
>>> You can use the linux command:
>>> $ ls -la
>>> to list the files in the current working directory and see the names of 
>>> the associated users and group as well as the permissions. I get:
>>> -rw-rw-r--  1 ubuntu ubuntu  0 Dec  4 19:39 resource_import.log
>>> for that file, which is 664 and the user and group are both ubuntu (on 
>>> an AWS implementation)
>>>
>>> I am fairly new to Linux myself so not able to advise on finding out 
>>> which user is trying to do the writing, or what group they belong to; 
>>> perhaps someone else can.
>>>
>>> If this does allow writing, you can experiment with setting permissions 
>>> to 700, 070, 007 in turn to see whether the user is the file's owner, a 
>>> member of the group (which is usually the same as the owner - linux creates 
>>> a group with the same name and just that user when a new user is created), 
>>> or anybody, ie a different user.
>>>
>>> I suspect you might have problems beyond that. The fact that you had a 
>>> problem writing to the log probably means that the process had a problem 
>>> that it wanted to write about in the log. But sorting this first will 
>>> hopefully let you get a clearer look at the underlying problem.
>>>
>>> Good luck,
>>> Pat
>>> On Thursday, 28 January 2021 at 14:54:44 UTC 
>>> andrew...@historicengland.org.uk wrote:
>>>
 I am afraid I am not a linux expert - we use Windows. Maybe someone 
 else with linux knowledge can help?

 On Thursday, January 28, 2021 at 2:32:01 PM UTC gabriel.c...@gmail.com 
 wrote:

>
> Hi thanks for coming back to me, yes I tried to change the permisiions 
> but still receiving the same error. 
>
> sudo chmod 775 and 755 to the file getting permission:
> -rwxr-xr-x 1
>
>
>
> On Thursday, 28 January 2021 at 13:52:18 UTC 
> andrew...@historicengland.org.uk wrote:
>
>> The last line of the error is stating that it cannot write to the 
>> resource_import.log. Check write permissions on this. 
>>
>> f = open(settings.RESOURCE_IMPORT_LOG, "a")
>> PermissionError: [Errno 13] Permission denied: 
>> 

[Arches] Re: Arches search timing-out 'Request Failed' message

2021-02-17 Thread Cyrus Hiatt
Hi Jude - 

It's really hard to say what the issue could be. Are there any errors 
appearing in the Apache error log?
What version of Arches and ES are you running? Have there been any changes 
made to the ES configs? Does it fail consistently for some searches such as 
searches for a particular term or resource type?

Thanks,

Cyrus

On Monday, February 15, 2021 at 2:12:50 AM UTC-8 manxnation...@gmail.com 
wrote:

> Hey everyone - this *might *be a disk or server performance problem, but 
> do any of you get a 'Request Failed' or other sort of 'red banner' message 
> when running a search in Arches?  This happens fairly regularly with our 
> Arches and impedes the user experience.  
>
> Is this a hardware, hosting problem?  Is it something we can improve?
>
> We go live with Arches to the public on 29 Mar, so we want to minimise 
> this problem as much as we can, if not altogether.
>
> Attached is a screenshot of the type of message we get.
>
> Thanks, Jude.
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/ef215b9d-082b-4aac-b738-4851804ebb93n%40googlegroups.com.


[Arches] Re: Overlays using MapBox

2021-02-04 Thread Cyrus Hiatt
Hi Maritza,

I just wanted to make sure that what Dennis suggested during the stand-up 
today made it into this thread - just in case anyone else has a similar 
question in the future. Basically he suggested that you modify the layer 
style in `Map Layer Manager > Overlays > Service Styling(advanced).

You may have to modify the default sprite URL in Arches to use the marker 
that you want. I looked into it and you can customize that in your 
project's settings_local.py file by adding the MAPBOX_SPRITES setting. The 
default in core Arches is: MAPBOX_SPRITES = 
"mapbox://sprites/mapbox/basic-v9"  

Hope that helps,

Cyrus 

On Thursday, February 4, 2021 at 10:44:31 AM UTC-8 maritzal...@gmail.com 
wrote:

> Great, thank you!
>
> Maritza
>
>
> On Wednesday, February 3, 2021 at 3:21:14 PM UTC-8, Lindsey Gant wrote:
>>
>> Hello and welcome to the Arches Project, Maritza! We are happy to have 
>> you here. I see that your question has not been answered yet. Let me see 
>> if I can find more information for you and I will get back to you shortly.
>>
>> All best,
>> Lindsey Gant
>> Getty Conservation Institute, Arches
>>
>> On Monday, January 25, 2021 at 5:29:18 PM UTC-7 maritzal...@gmail.com 
>> wrote:
>>
>>> Hello,
>>>
>>> I am very new to Arches, but have pretty good experience with MapBox. 
>>>
>>> I understand that Arches allows you to make references to styles or 
>>> layers that have bee previously defined in MapBox Studio. However, is there 
>>> a way to change the icon/marker to a customized one from a "Search Results" 
>>> overlay? I feel like there is some marker library that the overlay 
>>> references. I'm not sure if I would have to add that marker to that library 
>>> as a svg, or if the marker can be referenced through an API created in 
>>> MapBox. If it is through an API, I already created one and calls the marker 
>>> that I need. But I'm not sure where in the Service Styling editor can the 
>>> API be referenced. 
>>>
>>> Thank you,
>>> Maritza
>>>
>>>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/1e5a322c-b686-465c-9861-2b77b0da92bcn%40googlegroups.com.


[Arches] Re: KML into arches 5

2020-12-09 Thread Cyrus Hiatt
Hi Gabriel,

You cannot load KML files directly into Arches, so your approach of 
converting them in to CSV files and loading them seems like a good one. If 
you already have GRID instances created, and performance is the problem you 
really need to solve, you might use custom styling to prevent the layer 
from appearing when zoomed out beyond a scale where it is useful.

Hope that helps,

Cyrus

 
On Tuesday, December 1, 2020 at 12:44:41 AM UTC-8 gabriel.c...@gmail.com 
wrote:

> Hello,
>
> I have been trying to upload some grid from few countries to arches. The 
> original format was in KMZ so I transform each KML into CSV using QGIS to 
> upload them using the mapping document for grids following this approach in 
> the arches documentation. 
> 
>
> The problem is that despite I have created separate CSV for each country 
> they are loaded as just one layer using the resource model for GRIDS and 
> that makes the arches to work very slow when loading the grid as overlay.
> They appear clustered so just when you zoom into some area appear the GRID 
> for that determined area but still load many areas that are not gonna be 
> used, so it slow the performance substantially.
>
> Is there anyway we can load this information in separate countries so the 
> user can decide which GRID is interesting to load having still the 
> functionality of click on the GRID and get the information of which GRID ID 
> is (I have used shapefiles and geoserver to load that but doesn't have the 
> functionality of show the information so just overlay the layer).
>
> I have read this post 
>  but 
> seems to be quite old so I dont know if there are any other approach to get 
> what we need.
>
> Thank you very much
>
> Kind Regards,
>
>
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/ff8e6ead-0163-4bee-95d0-97a89a649b3bn%40googlegroups.com.


[Arches] Re: Error No module named 'arches.settings_local'

2020-11-16 Thread Cyrus Hiatt
Hello, 

There is an import error in settings.py that is handled, but prints out 
that error. The message is not of any consequence and will be removed in 
the next release of Arches (v 5.1.1). If you installed Arches using github, 
the latest on the 5.1.x branch does not have that error message. If you 
installed Arches using pip, the only way that I am aware of to remove that 
message would be to edit settings.py in your Arches installation. I really 
don't recommend making any changes to your arches installation, however, if 
you must remove that message, you would need to make the following changes 
to your Arches settings.py file:

https://github.com/archesproject/arches/pull/6881/files

Hope that helps,

Cyrus

On Monday, November 16, 2020 at 4:51:41 AM UTC-8 kswa...@gmail.com wrote:

> The server itself starts up and everything seems to work at first glance. 
> But I think it's good as long as you have one project, as I understood from 
> the documentation, each project has its own 'arches.settings_local' in 
> which its settings are stored.
> At the moment we are preparing for test deployments in several 
> organizations, and we are working on the option of installing Arches so 
> that there are no error messages during the installation.
> So far we have achieved a result in which only three errors appear, the 
> very last one that I indicated above.
> Therefore, I am more interested in what can be done so that these errors 
> do not exist at all, or how to fix them.
>
> вторник, 10 ноября 2020 г. в 20:12:34 UTC+2, Lindsey Gant: 
>
>> Hello,
>>
>> I believe that you can safely ignore the 'arches.settings_local' error 
>> message. Have you attempted to run your Arches server after seeing these 
>> error messages?
>>
>> Feel free to update us on your progress so we can help if you run into 
>> additional errors.
>>
>> Best,
>>
>> Lindsey
>>
>>
>>
>> On Friday, November 6, 2020 at 8:48:00 AM UTC-8, Kiril Stankevicz wrote:
>>>
>>> Hello,
>>> Error while creating a project in Arches 5.1:
>>>
>>> No module named 'arches.settings_local'
>>> Error attempting to load settings from relative '.settings_local'. 
>>> Attempting 'arches.settings_local' import
>>> Error attempting to load settings from 'arches.settings_local.py'.
>>> No module named 'arches.settings_local'
>>>
>>> After entering the command, the following message appears:
>>> "success Saved lockfile."
>>>
>>> Further, the creation process proceeds normally
>>> At the end, the message:
>>>
>>> Any ideas how to fix this?
>>>
>>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/b0ea6470-78f1-42c6-a997-6eaca6e08a33n%40googlegroups.com.


Re: [Arches] Re: Arches 5.1.0 released

2020-10-29 Thread Cyrus Hiatt
Thanks Markus,

I'm glad you got things working. I'm not sure what went wrong with your JS
dependency installation. Can you confirm that you ran `yarn install` from
the directory with your package.json file rather than the one with
manage.py? You probably did it correctly, but running yarn from the
manage.py directory is an easy mistake to make..

Thanks,

Cyrus

On Thu, Oct 29, 2020 at 3:24 PM Markus S.  wrote:

> Hi all,
>
> Congrats and thank you for a new version! We just performed an upgrade
> from v5 to v5.1 to give it a whirl. It's now working fine, and we are
> excited to see the new features (including language switcher!), but we had
> the following issue during installation:
>
> The new or upgraded JS dependencies were missing from the /media folder
> after the upgrade. We had performed the package.json change as per the
> instructions and had run 'yarn install' after deleting the yarn.lock file.
> The assumption was that this was going to take care of the JS dependencies,
> downloading and placing them in the appropriate directories. However, when
> loading the Arches' Search page, the web browser was complaining about
> missing JS files - the very ones that were updated or new. We resorted to
> downloading the missing JS files and placing them in the appropriate
> directories manually, which fixed the issue.
>
> What should we have done differently? This was on a Windows server.
>
> Markus
>
> On Wednesday, October 28, 2020 at 2:04:27 PM UTC-7 ostec...@gmail.com
> wrote:
>
>> Hi Everyone,
>>
>> Yes, I would like to second Mr. Cox and congratulate the Arches Project
>> team and community to just put out another sprint release of the wonderful
>> and growing Arches ecosystem!
>>
>> Thanks very much for the great work!
>>
>> Best regards,
>>
>> Woody Chao at Ostechman Systems
>> in...@ostechman.com
>>
>> P.S. Personally, I came from Cambodia which is a place once hosted an
>> instance of human civilization in Southeast Asia. I am not an antiquarian
>> or archaeologist but drawn to this area because literally cultural
>> artifacts are still incidentally appearing and discovered by villagers and
>> farmers almost on a daily basis, tl say nothing about the ones littering
>> around on the Earth surface  areas in the country. I happened to start
>> working in IT after schooling in sociology. So, these days I am spending
>> some time with CRM materials and maintaining an installation of Arches for
>> such a personal study of the tools and technologies invovled CHM.
>> https://arc.kumroo.com.
>>
>> On Wed, Oct 28, 2020, 8:18 AM Adam Cox  wrote:
>>
>>> Nice work all! The upgrade steps look good and thorough :)
>>>
>>> We'll have a big update to the documentation very soon, so stay tuned. I
>>> think we should also make sure to set up clear links to these release notes.
>>>
>>> Adam
>>>
>>> On Tuesday, October 27, 2020 at 5:14:38 PM UTC-5 Cyrus Hiatt wrote:
>>>
>>>> The Arches team is happy to announce the 5.1.0 release which includes a
>>>> number of important new features and bug fixes:
>>>>
>>>> Here some of the release highlights:
>>>>
>>>>- Bidirectional support for the resource relationship datatype.
>>>>Resource relationships saved to a tile are now represented in the search
>>>>page's related resources interface.
>>>>- Users are now able to restrict access of an instance to specific
>>>>users and groups.
>>>>- The date datatype, widget, and advanced search now support time.
>>>>- Tile edits and deletion made on the web are now synced with
>>>>instances in a collector project.
>>>>- Arches now provides an annotation datatype and interface allowing
>>>>users to annotate imagery from a IIIF service.
>>>>- Improved management of front-end dependencies so that Arches
>>>>upgrades are less likely to impact project customizations.
>>>>- Improved support for localization. Administrators can now
>>>>configure their Arches interface to switch between different languages.
>>>>- You can find the detailed release notes here: 5.1.0 release notes
>>>>
>>>> <https://github.com/archesproject/arches/blob/stable/5.1.x/releases/5.1.0.md>
>>>>
>>>> Users are encouraged to update at their earliest convenience. If you
>>>> are upgrading from Arches 4, be sure to follow the project upgrade
>>>> instructions to 5.0 before proceeding.
>>&

[Arches] Arches 5.1.0 released

2020-10-27 Thread Cyrus Hiatt
The Arches team is happy to announce the 5.1.0 release which includes a 
number of important new features and bug fixes:

Here some of the release highlights:

   - Bidirectional support for the resource relationship datatype. Resource 
   relationships saved to a tile are now represented in the search page's 
   related resources interface.
   - Users are now able to restrict access of an instance to specific users 
   and groups.
   - The date datatype, widget, and advanced search now support time.
   - Tile edits and deletion made on the web are now synced with instances 
   in a collector project.
   - Arches now provides an annotation datatype and interface allowing 
   users to annotate imagery from a IIIF service.
   - Improved management of front-end dependencies so that Arches upgrades 
   are less likely to impact project customizations.
   - Improved support for localization. Administrators can now configure 
   their Arches interface to switch between different languages.
   - You can find the detailed release notes here: 5.1.0 release notes 
   

Users are encouraged to update at their earliest convenience. If you are 
upgrading from Arches 4, be sure to follow the project upgrade instructions 
to 5.0 before proceeding.

As always the documentation can be found at 

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/d5a7ba63-0f15-4416-a935-cce860e0af63n%40googlegroups.com.


[Arches] Upcoming 5.1 Release

2020-10-06 Thread Cyrus Hiatt
Hi Everyone - 

Just to give everyone a heads up, the Arches team is starting the process 
of preparation and testing for the 5.1 release. This will be a significant 
release with some major enhancements including bidirectional support for 
the resource instance datatype and resource instance permissions.

If you have been running Arches using the master branch on GitHub, and you 
are aware of any bugs that have not yet been reported, we encourage you to 
write a ticket . If you 
have the skills and the time to fix any bugs, please consider submitting a pull 
request 
.

We look forward to announcing the release in the coming weeks.

Thanks,

Cyrus

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/6420b997-6cee-460f-bd45-59f805395b02n%40googlegroups.com.


Re: [Arches] Related Resource

2020-09-10 Thread Cyrus Hiatt
Hi Ashish - 

I haven’t seen this issue, but it looks like a bug. Can you copy your 
description and error message and put it in an arches ticket? 

https://github.com/archesproject/arches/issues/new/choose 


Thanks!

Cyrus


> On Sep 10, 2020, at 8:28 AM, Ashish Karmacharya  
> wrote:
> 
> Dears,
> 
> Is Resource to Resource relation limited to super users. When I try to create 
> a relation between two resources with Superuser privilege, I was able to 
> create one. And when I tried to create same with a user having both 
> privileges "Resource Reviewer" and "Resource Editor", it did not create any. 
> Inspecting for the error it showed error at line 243 in 
> related-resources-manager.js. 
> 
> save: function(candidateIds, relationshipProperties, 
> relationshipIds) {
> this.defaultRelationshipType = 
> options.relationship_types.default;
> 
> if (!relationshipProperties.relationship_type) {
> relationshipProperties.relationship_type = 
> options.relationship_types.default;
> }
> var payload = {
> relationship_properties: 
> relationshipProperties,
> instances_to_relate: candidateIds,
> root_resourceinstanceid: resourceinstanceid,
> relationship_ids: relationshipIds
> };
> $.ajax({
> url: arches.urls.related_resources,
> data: payload,
> context: this,
> type: 'POST',
> dataType: 'json'
> })
> .done(function(data) {
> this.parse(data, self);
> })
> .fail(function(data) {
> console.log('Related resource request 
> failed', data);
> });
> }, 
> If anyone has encountered and resolved this issue, please suggest.
> 
> Regards,
> 
> Ashish
> 
> -- 
> -- 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/archesproject/5F5A4625.3010108%40gmail.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CD0C08B4-D2B9-4621-8DDC-3383B0873378%40gmail.com.


Re: [Arches] Uploading photos via Arches Collector and duplicate filename woes

2020-06-13 Thread Cyrus Hiatt
That’s very good to know. Thanks Angela and Adam for investigating this issue. 

- Cyrus

> On Jun 12, 2020, at 3:22 PM, Angela Labrador  wrote:
> 
> Following up on this thread; Adam Cox and I looked into this further and it 
> appears that this behavior is related to django-storages. There is a setting, 
>  AWS_S3_FILE_OVERWRITE, that defaults to True. (By default files with the 
> same name will overwrite each other. Set this to False to have extra 
> characters appended.). So, adding this to settings_local.py fixed the issue. 
> Anyone using s3 buckets to store uploaded files, will probably want to make 
> sure they have this set to False.
> 
> Angela
> 
> On Thursday, June 4, 2020 at 5:03:25 PM UTC-4, Angela Labrador wrote:
> Hi Arches Collector fans,
> 
> I've been experiencing the following issue, and wondering if this is expected 
> behavior or a bug:
> 
> I have a resource model that basically amounts to a condition assessment 
> report with a file-list node for uploading photos.
> I submit a report with a photo from my phone through the collector
> Sync the project 
> Resulting report is perfect online
> I submit a second report with a new photo from my phone through the collector
> Sync the project 
> Resulting new report is perfect -- BUT the photo in the first report is 
> overwritten by the second report's photo
> This seems to be caused by how the collector defaults to naming photos 
> "1.jpg" (rather than using the phone's native filename or uid) -- and so, 
> when the second report is synced to the server, the new photo overwrites the 
> previously uploaded "1.jpg"
> 
> Is this expected? Are collector users supposed to manually set a filename? If 
> so, how will they know it's a filename not in use?
> 
> It seems as though the process_mobile_data method in datatypes.py would be a 
> convenient place to rename files with a uuid or something? It looks like it's 
> doing some logic to that effect for individual instances (in the case of 
> multiple photos uploaded per report) but not across all existing files.  
> 
> As an aside, Arches appears to have the same behavior, but I just haven't 
> encountered the problem because the upload widget doesn't default to "1.jpg" 
> but instead uses the filename provided by the computer, so there's a smaller 
> chance of duplicate names. 
> 
> In both cases, this could become quite a problem as it basically allows users 
> to overwrite existing uploaded files without a warning. 
> 
> I welcome all ideas and reflections -- especially among those of you dealing 
> with large databases containing lots of uploaded media! (If it matters, this 
> is in an environment where media files are being stored in aws s3 bucket.)
> 
> Thanks!
> 
> Angela
> 
> -- 
> -- 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 
> .
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/archesproject/e9ce7add-1598-490d-8274-7339338080d5o%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/2A86904B-EFEB-4A80-B808-82F598421C9A%40gmail.com.


Re: [Arches] Stopping couchdb if Arches Collector is not being used

2020-05-24 Thread Cyrus Hiatt
Hi David -

If you are not using Collector, you can safely stop CouchDB.

- Cyrus

On Sun, May 24, 2020 at 8:55 AM David Osborne <
daosborne.archaeol...@gmail.com> wrote:

> In our Arches 4.4.2 installation, Couchdb is running, although we're not
> using the Arches Collector. Will Arches have a problem if I stop the
> Couchdb processes? top sometimes shows the beam.smp process as using CPU
> and memory and I'd like to minimise their use by unnecessary processes.
>
> David
>
> --
> -- 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/8ad878ff-7bf6-4c5f-8927-10ca0d7247fe%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CAHVjc3WOo0DW%3DfGZTvTfn1VHBTOgjauAk2Mq984A2mdZpoZj%2BQ%40mail.gmail.com.


Re: [Arches] Hiding certain resources

2020-05-04 Thread Cyrus Hiatt
Hi Mike,

We are currently in the process of implementing this feature. It will be
available in Arches 5.1.

Cheers,

Cyrus

On Mon, May 4, 2020 at 2:38 AM Mike Arrowsmith  wrote:

> Hi
>
> I appreciate this thread is quite old now and relates to a previous
> version of Arches but I'd be interested to know whether anyone managed to
> implement this.
>
> Our dataset also has a number of resources that are not intended for
> public view - this is controlled by a boolean node.
>
> It was also touched upon in this thread where it seemed possible to do
> this with custom search filters in Arches 5:
>
> https://groups.google.com/forum/#!topic/archesproject/Y1j3tph91-I
>
> Has this feature been documented yet, or is there anything else in the
> roadmap that might allow for this in future?
>
> Mike
>
> On Monday, 6 November 2017 18:31:19 UTC, Alexei Peters wrote:
>>
>> Hi Darcy,
>> If I was to develop this for inclusion in the Arches core, I wouldn't
>> rely on keywords to filter out resource instances.  Instead, we currently
>> manage permissions on specific node groups (ie: branches) by using the
>> Django-Guardian module.  I suspect that you could use that same module for
>> managing resource instance permissions.
>> This would allow you to apply fine-grained permissions on resource
>> instances.  For example, some users could be given read-only permissions,
>> others full access, and still others no access at all.  This would be a
>> fair amount of work.  The integration points would be very similar to what
>> we had to do to accomplish node group level permissions.
>> If you do a quick search for the term "*has_perm*" within the codebase,
>> you'll get a general sense of all the areas we had to touch to get node
>> group permissions to work.
>>
>> Here's a quick listing of those files:
>>
>>>
>>> *arches/app/models/card.py*
>>> *arches/app/models/tile.py*
>>> *arches/app/utils/permission_backend.py*
>>> *arches/app/views/base.py*
>>> *arches/app/views/resource.py*
>>> *arches/app/views/search.py**arches/app/views/tileserver.py*
>>
>>
>> Hopefully that helps.
>> Cheers,
>> Alexei
>>
>>
>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>>
>> On Mon, Nov 6, 2017 at 7:48 AM, Adam Cox  wrote:
>>
>>> Hi Phil and Darcy,
>>>
>>> First, Phil, I had the exact same thought as you regarding the
>>> Permissions Manager, however, it does not work like that, as I detailed in
>>> this github issue a little while ago: #2465
>>> . I later closed
>>> that ticket in favor of two more specific ones #2491
>>>  and #2492
>>> , but all of the
>>> content of my original issue and ensuing discussion still describe the
>>> state of the software, as far as I am aware.
>>>
>>> Darcy, in short, v4 allows you to restrict access to certain nodes for
>>> certain user groups (please see the caveat I recorded in #2492
>>>  though), but not
>>> entire resource models to certain user groups (e.g. hide all Archaeological
>>> Sites from the public), nor specific resource instances. So there is no way
>>> to do exactly what you are looking for at this time, and you would need
>>> more than a new function to allow for it. My first thought would be to look
>>> at the Search view,
>>> https://github.com/archesproject/arches/blob/master/arches/app/views/search.py,
>>> and see if I could add some custom filters... That's just a start though,
>>> you should note that there are more than one way that the data is pulled
>>> from the db to the interface, and you will have to filter each one.
>>>
>>> I personally am stuck with a need to fix some very similar permissions
>>> needs for my current project for the Florida Public Archaeology Network,
>>> but have been stalled on data migration for a while now too... I will be
>>> sure to let you know when I am able to make some progress.
>>>
>>> Adam
>>>
>>>
>>>
>>> On Mon, Nov 6, 2017 at 5:58 AM, Darcy Christ 
>>> wrote:
>>>
 Hi Phil,

 I think you are misunderstanding what I am saying. Arches is a database
 that allows people to collect heritage information to share with the
 public. It is completely reasonable to enter data and not immediately make
 it public. Especially while developing, collaborating and validating the
 resource. Every CMS I have worked with has this feature. I am happy to
 develop it. All I am looking for is some help understanding Arches.

 Regards,
 Darcy


 Darcy W. Christ
 @1000camels

 On 6 Nov 2017, at 7:16 pm, Carlisle, Philip <
 philip@historicengland.org.uk> wrote:

 Thanks for clarifying Darcy.

 As a publically funded body we cannot hide specific resources but we
 can limit access to certain attributes of a resource.



 I think a 

Re: [Arches] Re: Adding features to mapbox (scale bar)

2020-05-03 Thread Cyrus Hiatt
Hi Mahmoud -

You've probably already tried clearing you browser's cache, but in case you
haven't that might be worth trying.

If that doesn't help, I'm curious whether you edited the file in core
arches, or if you are overriding the file from within your project?

Kind regards,

- Cyrus



On Wed, Apr 29, 2020 at 3:30 AM Mahmoud Abdelrazek 
wrote:

> Hi Reuben,
>
> Than you very much for your help.
> I performed the static files update and restarted the server. Django
> copied the js file to the static directory. I checked the static directory
> and confirmed that the js file was replaced. However, the scale bar still
> didn't show up on the map.
> Any thoughts on why that might be?
>
> Thank you again for your help,
> Mahmoud
>
> On Wednesday, April 29, 2020 at 11:14:56 AM UTC+2, Mahmoud Abdelrazek
> wrote:
>>
>> Hi Reuben,
>>
>> Thank you for your help. I have not tried to restart the server nor to
>> update the static files. I will try this and report back here.
>>
>> Thank you again,
>> Mahmoud
>>
>> On Wednesday, April 29, 2020 at 10:00:23 AM UTC+2, Reuben Osborne wrote:
>>>
>>> Hi Mahmoud,
>>>
>>> Have you tried updating the static files on the server? *python
>>> manage.py collectstatic* and  then *sudo service apache2 restart *to
>>> make sure the changes are being picked up.
>>>
>>> Reuben
>>>
>>>
>>> On Wednesday, 29 April 2020 08:47:32 UTC+1, Mahmoud Abdelrazek wrote:

 Hi,

 I am trying to add a scale bar to the main map in the search window. I
 think the map is generated from the file *mapbox-gl.js *in the
 following directory 
 *Lib\site-packages\arches\app\media\js\bindings\mapbox-gl.js
 *inside the environment. To add a scale bar I added the following line
 after the map variable is created

 map.addControl(new mapboxgl.ScaleControl(), 'bottom-right');

 I tested the code on a local implementation on my computer and it did
 work fine. I could see the scale bar on the map as ib the included
 screenshot. However, when applying the same code to an online live server,
 the map didn't update to include the scale bar. I am not sure why is
 happening. Am I missing something?

 [image: scale_bar_arches.jpg]













 Thank you for your help.
 Mahmoud

>>> --
> -- 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/5fb03288-5509-41a3-b572-1293c79d2c9f%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CAHVjc3WuivRk2TOfmVhHitUN4NEB%3DPfSQbGdRHuPm-6rXvOqXg%40mail.gmail.com.


Re: [Arches] Problems loading HIP package in version 5.0 (Windows 10 installation)

2020-03-23 Thread Cyrus Hiatt
Hi Mahmoud - 

Sorry for the late reply. If you still want to try loading a demo package, 
try this one: https://github.com/archesproject/arches-example-pkg 
<https://github.com/archesproject/arches-example-pkg/tree/master/graphs/resource_models>
. 

So the load command would be: 

python manage.py packages -o load_package -s 
https://github.com/archesproject/arches-example-pkg/archive/master.zip -db 
true


Bear in mind that if you run that command from your project it will 
recreate your database, so you'll lose any models that you may have created 
in the designer.

Hope that helps,

Cyrus 


On Thursday, March 12, 2020 at 6:12:41 AM UTC-7, Mahmoud Abdelrazek wrote:
>
> Hi Cyrus, 
>
> Thank you so much for your help. I am working with Bryan on the same 
> project and I have a similar installation to his. I have tried removing the 
> contents of the functions, widgets, and datatypes folders and then loading 
> the package but I got this database error 
>
> DETAIL:  Key (resourceclassfrom)=(99417384-b8fa-11e6-84a5-026d961c88e6) is 
> not present in table "nodes".
>
> similar to Eleni 
> https://groups.google.com/forum/?utm_medium=email_source=footer#!msg/arches-dev/Ks1vD_lg1Y0/KmLJ8g6XHwAJ
>
> I am not sure how to resolve it. It would be great if you could help on 
> this. 
>
> Thank you again,
> Mahmoud 
>
> On Friday, February 28, 2020 at 8:18:17 PM UTC+2, Cyrus Hiatt wrote:
>>
>> Hi Bryan - 
>>
>> Unfortunately that package has not been updated for v5, but it still may 
>> work with some small changes. I would download the entire package locally 
>> from github, unzip it and remove the contents of the functions, widgets, 
>> and datatypes folders within the extensions directory. Then try to reload 
>> package with the `-s` option of the load_package command pointed to your 
>> local version of the package.
>>
>> Hope that helps,
>>
>> Cyrus
>>
>>
>>  
>>
>> On Thu, Feb 27, 2020 at 10:47 AM Bryan Alvey  wrote:
>>
>>> Hi Everyone,
>>>
>>> I've installed version 5.0 on my laptop  (Windows 10).  
>>>
>>> Under 'Next Steps', I'm trying to load the HIP package specified in:
>>>
>>> python manage.py packages -o load_package -s 
>>> https://github.com/archesproject/arches4-example-pkg/archive/master.zip -db 
>>> true
>>>
>>>
>>> I note that in the address argument there is 'arches4-example'  and when 
>>> I run the command I get:
>>>
>>> SyntaxError: Missing parentheses in call to 'print'. Did you mean 
>>> print("no match for this preflabel:",preflabel)?
>>>
>>> - which I am informed may refer to Python 2.7 syntax. 
>>>
>>> So I guess what I'm asking is: Am I looking in the right place? Is there 
>>> a HIP package for version 5?
>>>
>>> Can anybody help?
>>>
>>> Best wishes,
>>>
>>>
>>>
>>> Bryan Alvey
>>>
>>>
>>> -- 
>>> -- To post, send email to arches...@googlegroups.com. To unsubscribe, 
>>> send email to arches...@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 arches...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/archesproject/f3fa2144-c4a1-4739-bfde-70290433493f%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/archesproject/f3fa2144-c4a1-4739-bfde-70290433493f%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/670d0699-ab1a-4bb2-bea1-50e3817b9f23%40googlegroups.com.


Re: [Arches] Problems loading HIP package in version 5.0 (Windows 10 installation)

2020-02-28 Thread Cyrus Hiatt
Hi Bryan -

Unfortunately that package has not been updated for v5, but it still may
work with some small changes. I would download the entire package locally
from github, unzip it and remove the contents of the functions, widgets,
and datatypes folders within the extensions directory. Then try to reload
package with the `-s` option of the load_package command pointed to your
local version of the package.

Hope that helps,

Cyrus




On Thu, Feb 27, 2020 at 10:47 AM Bryan Alvey  wrote:

> Hi Everyone,
>
> I've installed version 5.0 on my laptop  (Windows 10).
>
> Under 'Next Steps', I'm trying to load the HIP package specified in:
>
> python manage.py packages -o load_package -s 
> https://github.com/archesproject/arches4-example-pkg/archive/master.zip -db 
> true
>
>
> I note that in the address argument there is 'arches4-example'  and when I
> run the command I get:
>
> SyntaxError: Missing parentheses in call to 'print'. Did you mean
> print("no match for this preflabel:",preflabel)?
>
> - which I am informed may refer to Python 2.7 syntax.
>
> So I guess what I'm asking is: Am I looking in the right place? Is there a
> HIP package for version 5?
>
> Can anybody help?
>
> Best wishes,
>
>
>
> Bryan Alvey
>
>
> --
> -- 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/f3fa2144-c4a1-4739-bfde-70290433493f%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CAHVjc3UiGhUAp8B%2B7kTUChaT1vUJnZokfUL-MQNyr-vrJbnKUA%40mail.gmail.com.


[Arches] Re: Arches Collector App setup error

2019-12-04 Thread Cyrus Hiatt
Hi Anais - 

I suspect you may need to create an admin user in CouchDB. Arches will try 
to connect to Couch using the following credentials by default:

username: 'admin'
password: 'admin'

Hope that helps - 

Cyrus

On Wednesday, December 4, 2019 at 8:27:22 AM UTC-8, Anaïs Guillem wrote:
>
> Hi Arches community,
> I have been trying to setup a new project in the Arches Collector Manager 
> to test the Collector app. Following Alina's advice I checked already the 
> following: I have updated my instance of Arches to the last version, 
> CouchDB is installed and I updated the key of the Collector client ID.
>
> but I keep getting an error:
> Unable to save survey
>
> unauthorized,Name or password is incorrect.
>
> Any idea?
>
> Thanks in advance for your answers,
>
> Best, 
>
> Anais
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/46abb570-e1b9-4bb4-ba92-b720def389b3%40googlegroups.com.


[Arches] Arches 4.4.3 released

2019-11-13 Thread Cyrus Hiatt
The Arches team is happy to announce the 4.4.3 release which includes a 
number performance improvements and bug fixes:

Here some of the release highlights:

   - Adds improvements and bug fixes to the v3 to v4 migration command
   - Fixes bug preventing users from saving tiles with domain values of Null
   - Improves error logging during collector sync
   - Fixes Docker deployment - previously broken because the location of 
   package.json changed between 4.4.1 and 4.4.2
   - Removes hardcoded static file paths
   - You can find the detailed release notes here: 4.4.3 release notes 
   

Users are encouraged to update at their earliest convenience. If you are 
upgrading from Arches 4.3, be sure to follow the project upgrade 
instructions to 4.4.1 
 
through 
4.4.2 before proceeding.

As always the documentation can be found at 

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/a8ee4184-37cc-4e1d-8409-ff16676d62b5%40googlegroups.com.


Re: [Arches] Upgrading to a specific version of Arches - 4.4.1 (not the latest 4.4.2 version)

2019-10-03 Thread Cyrus Hiatt
Hi Tom -

One of the challenges for upgrading from 4.1.1 will be upgrading your
project(s). This is because at version 4.2 we switched from Bower to Yarn
for js dependencies because bower was getting deprecated. As Adam has
mentioned, each version of Arches has the upgrade process outlined in the
release notes: https://github.com/archesproject/arches/tree/master/releases.
You could go from version to version following the upgrade instructions for
each version. Alternatively, you could try the process below which is a bit
shorter. I test the upgrade from version to version with each release, so
it should go smoothly. I haven't tested the shortcut process below, but I
think it should be fine. In either case, there are quite a few steps going
from 4.1 to 4.4, so I would recommend creating a database backup and web
server snapshot (if possible) before getting started.

*1. upgrade to version 4.3.1:*

pip install arches==4.3.1 --upgrade --no-binary :all:
pip uninstall pycryptodome, rdflib-jsonld
pip install pycryptodome django-oauth-toolkit==1.1.2
PyLD[requests]==1.0.3 pyprind==2.11.2

python manage.py migrate
python manage.py es delete_indexes
python manage.py es setup_indexes
python manage.py es index_database


*2. follow the project upgrade steps in the 4.2.0 release notes starting
with the yarn install:*

https://github.com/archesproject/arches/blob/master/releases/4.2.0.md#installing-yarn

*3. Then follow the project upgrade steps for version 4.3.1:*

https://github.com/archesproject/arches/blob/master/releases/4.3.1.md#upgrading-an-arches-project

*4. Upgrade to version 4.4.1:*

pip install arches==4.4.1 --upgrade --no-binary :all:
python manage.py migrate
python manage.py es delete_indexes
python manage.py es setup_indexes
python manage.py es index_database


*5. Then complete the project upgrades for 4.4.1:*

https://github.com/archesproject/arches/blob/master/releases/4.4.1.md#upgrading-an-arches-project

Hope that helps and that your upgrade goes smoothly. Let me know if you
have any questions.

- Cyrus



On Thu, Oct 3, 2019 at 9:41 AM Adam Cox  wrote:

> Hi Tom, one other thought, sometimes I like to just create a brand new
> virtual environment and install the new version in there, leaving the
> existing on as is. Then you can switch which environment is used by your
> app in your apache config (if that's how you're serving it), etc, and you
> can switch back if something goes wrong with the pip installation process
> (which, frankly, is unlikely).
>
> As for other actions to take, it's possible you will need to run
> migrations in your project. I'd recommend looking back through release
> notes for the incremental versions between 4.1.1 and 4.4.1, which can be
> found on this forum.
>
> Adam
>
> On Thu, Oct 3, 2019 at 11:19 AM Alexei Peters  wrote:
>
>> Hi Tom,
>> The pip command to install a specific version should be this `pip install
>> myPackage=={version num}
>> So for Arches that should be:
>>
>> ‘pip install arches==4.4.1 --upgrade --no-binary :all:’
>>
>> Cheers,
>> Alexei
>> Director of Web Development - Farallon Geographics, Inc. - 971.227.3173
>>
>>
>> On Thu, Oct 3, 2019 at 5:36 AM Shewring, Tom <
>> tom.shewr...@historicengland.org.uk> wrote:
>>
>>> Hi,
>>>
>>>
>>>
>>> We have an Arches deployment at 4.1.1, I wish to upgrade this
>>> environment to *4.4.1* (not the latest 4.4.2 release).
>>>
>>>
>>>
>>> 1)  Can you advise on the specific command to do this since ‘pip
>>> install arches --upgrade --no-binary :all:’ will install 4.4.2
>>>
>>> 2)  Are there any other steps that I will need to take when
>>> upgrading from 4.1.1 to 4.4.1
>>>
>>>
>>>
>>> Many thanks
>>>
>>>
>>>
>>> Tom Shewring
>>>
>>> GIS Systems Developer
>>>
>>> IMT Development Centre
>>>
>>> Historic England
>>>
>>>
>>> [image: Historic England Logo] 
>>>
>>> We are the public body that helps people care for, enjoy and celebrate
>>> England's spectacular historic environment, from beaches and battlefields
>>> to parks and pie shops.
>>> Follow us:  Facebook   |
>>> Twitter   |  Instagram
>>>  Sign up to our
>>> newsletter
>>> 
>>>
>>>
>>> This e-mail (and any attachments) is confidential and may contain
>>> personal views which are not the views of Historic England unless
>>> specifically stated. If you have received it in error, please delete it
>>> from your system and notify the sender immediately. Do not use, copy or
>>> disclose the information in any way nor act in reliance on it. Any
>>> information sent to Historic England may become publicly available. We
>>> respect your privacy and the use of your information. Please read our full 
>>> privacy
>>> policy  for
>>> more information.

Re: [Arches] Errno 13 Permission Denied for AWS S3 media file resulting in unindexed resources (Arches 3)

2019-09-10 Thread Cyrus Hiatt
Hi Mike -

I don't think the files get saved to an intermediate folder. It seems most
likely that there is an issue retrieving the files from S3. Are you able to
see the files on S3?

Thanks,

Cyrus

On Tue, Sep 10, 2019 at 3:18 AM Mike Fisher 
wrote:

> Hi Cyrus,
>
> Unfortunately, it's hard to say--we were going through a lot of rapid dev
> solutions that may have overlapped with one another, but there is no clear
> thing that sticks out.
>
> Might it be that there's a temp folder I'm not finding to which the image
> files get downloaded from the S3 bucket? And then I'd just have to adjust
> the permissions to that folder.
>
> Thanks,
> -Mike
>
> On Monday, September 9, 2019 at 10:23:47 PM UTC+1, Cyrus Hiatt wrote:
>>
>> Hi Mike -
>>
>> I haven't run into that issue before. Any ideas regarding what might have
>> changed a month ago?
>>
>> Thanks,
>>
>> Cyrus
>>
>> On Fri, Sep 6, 2019 at 10:50 AM Mike Fisher  wrote:
>>
>>> All S3 permissions and settings seem to be in order, and everything
>>> worked fine until about a month ago when we started getting IOErrors on
>>> resource saves whenever that resource was related to an InfoResource with
>>> an attached media file. Then the original resource is removed from the
>>> index, creating a cascade of errors.
>>>
>>> Any ideas?
>>>
>>> IOError at
>>> /resources/INFORMATION_RESOURCE.E73/related-resources/
>>>
>>> [Errno 13] Permission denied: 'thumb_.jpg'
>>>
>>>
>>> Traceback:
>>> File 
>>> "/opt/au-app/env-app/lib/python2.7/site-packages/django/core/handlers/base.py"
>>>  in get_response
>>>   114. response = wrapped_callback(request, 
>>> *callback_args, **callback_kwargs)
>>> File 
>>> "/opt/au-app/env-app/lib/python2.7/site-packages/django/contrib/auth/decorators.py"
>>>  in _wrapped_view
>>>   22. return view_func(request, *args, **kwargs)
>>> File 
>>> "/opt/au-app/env-app/lib/python2.7/site-packages/django/contrib/auth/decorators.py"
>>>  in _wrapped_view
>>>   22. return view_func(request, *args, **kwargs)
>>> File 
>>> "/opt/au-app/env-app/lib/python2.7/site-packages/django/views/decorators/csrf.py"
>>>  in wrapped_view
>>>   57. return view_func(*args, **kwargs)
>>> File "/opt/au-app/eamena_dev/arches/app/views/resources.py" in 
>>> resource_manager
>>>   76. resource.save(user=request.user)
>>> File "/opt/au-app/eamena_dev/arches/app/models/resource.py" in save
>>>   85. self._save()
>>> File "/opt/au-app/eamena_dev/arches/app/models/entity.py" in _save
>>>   278. child = child_entity._save()
>>> File "/opt/au-app/eamena_dev/arches/app/models/entity.py" in _save
>>>   266. urllib.urlretrieve(self.value, tempfile_name)
>>> File "/usr/lib/python2.7/urllib.py" in urlretrieve
>>>   98. return opener.retrieve(url, filename, reporthook, data)
>>> File "/usr/lib/python2.7/urllib.py" in retrieve
>>>   249. tfp = open(filename, 'wb')
>>>
>>> --
>>> -- To post, send email to arches...@googlegroups.com. To unsubscribe,
>>> send email to arches...@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 arches...@googlegroups.com.
>>> To view this discussion on the web visit
>>> https://groups.google.com/d/msgid/archesproject/dabd40d0-bd53-4863-8a0f-8ca6fb1a4501%40googlegroups.com
>>> <https://groups.google.com/d/msgid/archesproject/dabd40d0-bd53-4863-8a0f-8ca6fb1a4501%40googlegroups.com?utm_medium=email_source=footer>
>>> .
>>>
>> --
> -- 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.
>

Re: [Arches] Errno 13 Permission Denied for AWS S3 media file resulting in unindexed resources (Arches 3)

2019-09-09 Thread Cyrus Hiatt
Hi Mike -

I haven't run into that issue before. Any ideas regarding what might have
changed a month ago?

Thanks,

Cyrus

On Fri, Sep 6, 2019 at 10:50 AM Mike Fisher 
wrote:

> All S3 permissions and settings seem to be in order, and everything worked
> fine until about a month ago when we started getting IOErrors on resource
> saves whenever that resource was related to an InfoResource with an
> attached media file. Then the original resource is removed from the index,
> creating a cascade of errors.
>
> Any ideas?
>
> IOError at
> /resources/INFORMATION_RESOURCE.E73/related-resources/
>
> [Errno 13] Permission denied: 'thumb_.jpg'
>
>
> Traceback:
> File 
> "/opt/au-app/env-app/lib/python2.7/site-packages/django/core/handlers/base.py"
>  in get_response
>   114. response = wrapped_callback(request, 
> *callback_args, **callback_kwargs)
> File 
> "/opt/au-app/env-app/lib/python2.7/site-packages/django/contrib/auth/decorators.py"
>  in _wrapped_view
>   22. return view_func(request, *args, **kwargs)
> File 
> "/opt/au-app/env-app/lib/python2.7/site-packages/django/contrib/auth/decorators.py"
>  in _wrapped_view
>   22. return view_func(request, *args, **kwargs)
> File 
> "/opt/au-app/env-app/lib/python2.7/site-packages/django/views/decorators/csrf.py"
>  in wrapped_view
>   57. return view_func(*args, **kwargs)
> File "/opt/au-app/eamena_dev/arches/app/views/resources.py" in 
> resource_manager
>   76. resource.save(user=request.user)
> File "/opt/au-app/eamena_dev/arches/app/models/resource.py" in save
>   85. self._save()
> File "/opt/au-app/eamena_dev/arches/app/models/entity.py" in _save
>   278. child = child_entity._save()
> File "/opt/au-app/eamena_dev/arches/app/models/entity.py" in _save
>   266. urllib.urlretrieve(self.value, tempfile_name)
> File "/usr/lib/python2.7/urllib.py" in urlretrieve
>   98. return opener.retrieve(url, filename, reporthook, data)
> File "/usr/lib/python2.7/urllib.py" in retrieve
>   249. tfp = open(filename, 'wb')
>
> --
> -- 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/dabd40d0-bd53-4863-8a0f-8ca6fb1a4501%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CAHVjc3Xwt2VRQPqb_dmu%2BWfS2dn6jnaGSmKRp4a5P%3DH_-BTYMw%40mail.gmail.com.


Re: [Arches] Re: Search results missing from map in Arches 4.4.2

2019-07-29 Thread Cyrus Hiatt
Hi David -

You've probably already checked, but are you seeing any error messages in
your browsers developer console?

Thanks,

Cyrus

On Sun, Jul 28, 2019 at 7:38 AM David Osborne <
daosborne.archaeol...@gmail.com> wrote:

> It occurred to me that the map markers may be drawn using Javascript, so
> clutching at straws, I checked yarn. Although yarn install tells me
>
> yarn install v1.6.0
> warning package.json: No license field
> warning arches: No license field
> [1/4] Resolving packages...
> success Already up-to-date.
> Done in 0.44s.
>
>
> which suggests no JS packages are missing, yarn check, on the other hand,
> gives a long list of files which are not installed, beginning with
>
> yarn check v1.6.0
> warning package.json: No license field
> warning arches: No license field
> error "@turf/area" not installed
> error "@turf/bbox" not installed
> error "@turf/center" not installed
> error "@turf/explode" not installed
> error "@turf/helpers" not installed
> error "@turf/inside" not installed
> error "@turf/invariant" not installed
> error "@turf/meta" not installed
>
>
> (full list in the attachment).
>
> I get a similar list from our working 4.3 server, so I doubt this is the
> cause of my problem of missing search result icons.
>
> David
>
> On Sunday, 28 July 2019 13:06:57 UTC+1, David Osborne wrote:
>>
>> I have updated a clone of our Arches 4.3.3 (Ubuntu 16.04) AWS server to
>> Arches 4.4.2 and Ubuntu 18.04, using Arches 4.4.1 as an intermediate step,
>> as recommended.
>>
>> Everything worked correctly in the 4.4.1 version before upgrading to
>> 4.4.2, as it does on the 4.3.3 original. However, after upgrading, the
>> search results icons and their clusters are missing from the default map.
>> The search markers for the sites listed in the sidebar are displayed,
>> however. I have checked that the search results overlay and the map layers
>> for the individual resources are enabled and that the transparency sliders
>> are fully to the right. The map for a resource record report does show the
>> correct marker for the resource, it's just that the location icons for the
>> resources are not appearing on the overview map.
>>
>> I'd welcome any suggestions for what I've missed or how to restore the
>> search results.
>>
>> Many thanks
>> David
>>
> --
> -- 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/fa8b370b-3e8f-4b25-919e-bbcb4ff62d62%40googlegroups.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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CAHVjc3VZEYymrZ2kBVfcyiYsO29OeDa9v80-isGVTWKTmULaQg%40mail.gmail.com.


Re: [Arches] Re: Arches 4.4.2 released

2019-07-03 Thread Cyrus Hiatt
Hi Joel -

I haven't worked on a v3 to v4 migration myself, so Adam Cox could speak
more to that, but yeah, I would go directly from v3 to v4.4.2 rather than
first upgrading to 4.4.1.

Cheers,

Cyrus

On Tue, Jul 2, 2019 at 5:59 PM Joel Aldor  wrote:

> Thanks for the update, Cyrus. Does this mean we could upgrade directly
> from v3 to v4.4.2 without going first to v4.4.1?
>
> Regards,
>
> Joel
>
>
> On Saturday, June 29, 2019 at 2:36:04 AM UTC+8, Cyrus Hiatt wrote:
>>
>> The Arches team is happy to announce the 4.4.2 release which includes a
>> number performance improvements and bug fixes:
>>
>> Here some of the release highlights:
>>
>>- Fixes issue preventing Resource editors from editing without being
>>members of the Graph Editor group
>>- Improves error logging particularly for collector sync transactions
>>- Fixes top margin of the default report
>>- Fixes bug preventing app from loading without the DEFAULT_BOUNDS
>>defined
>>- Deletes uploaded files when their respective tiles are deleted
>>- Improves v3 to v4 migration process
>>- Adds support for jsonl, multiprocessing data load
>>- Allows setup_db to be executed without superuser permissions
>>- You can find the detailed release notes here: 4.4.2 release notes
>>
>> <https://github.com/archesproject/arches/blob/stable/4.4.2/releases/4.4.2.md>
>>
>> Users are encouraged to update at their earliest convenience. If you are
>> upgrading from Arches 4.3, be sure to follow the project upgrade
>> instructions to 4.4.1
>> <https://github.com/archesproject/arches/blob/stable/4.4.x/releases/4.4.1.md>
>> before proceeding.
>>
>> As always the documentation can be found at <http://arches.readthedocs.io
>> >
>>
> --
> -- 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.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/archesproject/5786eee6-cb14-49f7-9597-6c4de8e2968e%40googlegroups.com
> <https://groups.google.com/d/msgid/archesproject/5786eee6-cb14-49f7-9597-6c4de8e2968e%40googlegroups.com?utm_medium=email_source=footer>
> .
>

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CAHVjc3W9BvtRpPfuP1D_i9b4yH%2BT%3Dq2wkPBpxBqPK1RdpdT9Fw%40mail.gmail.com.


[Arches] Arches 4.4.2 released

2019-06-28 Thread Cyrus Hiatt
The Arches team is happy to announce the 4.4.2 release which includes a 
number performance improvements and bug fixes:

Here some of the release highlights:

   - Fixes issue preventing Resource editors from editing without being 
   members of the Graph Editor group
   - Improves error logging particularly for collector sync transactions
   - Fixes top margin of the default report
   - Fixes bug preventing app from loading without the DEFAULT_BOUNDS 
   defined
   - Deletes uploaded files when their respective tiles are deleted
   - Improves v3 to v4 migration process
   - Adds support for jsonl, multiprocessing data load
   - Allows setup_db to be executed without superuser permissions
   - You can find the detailed release notes here: 4.4.2 release notes 
   

Users are encouraged to update at their earliest convenience. If you are 
upgrading from Arches 4.3, be sure to follow the project upgrade 
instructions to 4.4.1 
 
before proceeding.

As always the documentation can be found at 

-- 
-- 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/dd140a02-4d83-4210-ac17-6bcb99885e75%40googlegroups.com.


Re: [Arches] Map search

2019-04-25 Thread Cyrus Hiatt
Hi David -

The search box uses the mapbox geocoder by default. There are a few ways
that you could customize this:

The best, but most difficult approach:

Create a new geocoder by writing a new geocoder component and registering
that in Arches.  That would be similar to this file:
`arches/app/media/js/views/components/geocoders/mapbox.js`.  Then you would
need to create a new record in the geocoders table.  Then you would update
the `DEFAULT_GEOCODER` setting in your project's settings file to use the
geocoderid for your new record.


The easier approach


On Thu, Apr 25, 2019 at 6:18 AM David Osborne <
daosborne.archaeol...@gmail.com> wrote:

> We use the Mapbox 'Outside' OpenStreetMap layer as our basemap for the
> Arches site we are developing for Jersey Heritage. I've been asked why the
> search field in the top right hand corner of the map ('Locate a Place or
> Address') doesn't include place names on Jersey, apart from names of most
> of the twelve parishes on the island. Even Jersey postcodes cannot be
> found, although UK ones work — for those who don't know, Jersey is not part
> of the United Kingdom.
>
> I'm guessing that the search box is linked to a gazetteer database
> connected with the OSM basemap. Is it possible to supplement the search
> with local place names, if we could obtain a list of them with their
> corresponding co-ordinates? In theory, we could even replace the gazetteer,
> as we would only be interested in searches for place names within the
> island's jurisdiction.
>
> Thanks
> David
>
> --
> -- 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] Re: Proper procedure to close and open server on Ubuntu

2019-04-13 Thread Cyrus Hiatt
Hi Christian -

I generally run elasticsearch with the `-d` option so that it runs as a
daemon. This allows me to close the terminal and shut down the machine on
which ES is running and later resume without any additional steps. Other
than that there really are no special steps that need to be taken to shut
down Arches. The error that you got seems to be an issue with virtualenv.
Once you pip install arches, arches and its Python dependencies (including
Django) should be installed in your virtualenv and be available regardless
of how you stop arches or shutdown your server.  So, I'm not sure what went
wrong to cause the error you saw, and I'm sorry it resulted in you having
to reinstall everything.  Hopefully it doesn't happen again, but I would
take a snapshot of my VM before shutting down, just in case it does.

Regarding your map issue, getting a mapbox API key and adding it to your
system settings should resolve that issue.

Cheers -

Cyrus



On Fri, Apr 12, 2019 at 6:29 PM  wrote:

> I think I found the solution as follows, after starting from scratch with
> a complete reinstall.
>
> For both elasticsearch and runserver, prior to shutting down Ubuntu, I
> quit them in their respective terminal windows with Control-C.
>
> Is there still a solution to the error I received, in the event that the
> operating system would crash without the opportunity to close elasticsearch
> and runserver with Control-C.
>
> I'm now onto the next steps, and just loaded the branch.zip package. This
> seems to be working with the exception of the maps. But I think I need to
> do some reading regarding this under Configuring Settings section which
> talks about providing a key.
>
> Thanks,
>
> Christian
>
> On Friday, April 12, 2019 at 9:48:56 AM UTC-4, couim...@gmail.com wrote:
>>
>> Hello,
>>
>> I was able to successfully install Arches on a virtual machine
>> (VirtualBox) running Ubuntu!
>>
>> I was able to run ElasticSearch, run the Development Server and view the
>> default Arches setup in a web browser via localhost:8000
>>
>> I closed everything down (Virtualmachine), and am now attempting to
>> reactivate the ElasticSearch and Development Server. I was able to
>> run/reactivate ElasticSearch, then I opened a new terminal window, and ran
>> (in the virtual ENV) "python manage.py runserver" but this seems to not
>> be working, with the following message:
>>
>>
>> Traceback (most recent call last):
>>   File "manage.py", line 27, in 
>> from django.core.management import execute_from_command_line
>> ImportError: No module named django.core.management
>>
>> Any help would be appreciated.
>>
>> Also, is there a procedure or best practice to follow when closing and
>> re-opening elasticsearch and/or the server? I also want to make sure I'm
>> not running things twice and create conflicts.
>>
>> Thanks,
>>
>> Christian
>>
>> --
> -- 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] Exporting geometries to .csv

2019-03-20 Thread Cyrus Hiatt
Hi Mike -

It's been years since I worked on that code, but I recall WKT being the
export format for csv. Are you getting JSON or no geometries at all with
csv export?

Regarding how to preserve the value order, I can't think of an easy way to
do it. I'd have to really dive into the code and do some debugging to
figure it out.

- Cyrus

On Fri, Mar 15, 2019 at 3:44 AM Michael Fisher 
wrote:

> Hi Cyrus, thanks for getting back to me on this.
>
> Yeah, I should have specified that I'm asking for Arches 3 (for now,
> anyway). We're re-attempting an EAMENA v1-v2 migration and in some cases
> this requires us to change the Resource type (because the v2 database has
> tiered Resource classification) and rearrange those Resources' data
> accordingly. Thus, .csv is the preferable export method.
>
> The workaround we used was exporting to JSON and extracting the geometries
> to .csv, but if it's possible to rig the .csv export to produce WKT, that
> would be killer, as I've got to do another migration in the coming week.
>
> Also of note is that a .csv export generates multivalent field data
> alphabetically, meaning that the relationships between data of grouped
> fields is lost. I don't see any sorted function in csvfile.py; any ideas as
> to how to preserve value order?
>
> Best,
> -Mike
>
> Dr Michael T. Fisher
> Database Manager in Endangered Archaeology
> EAMENA Project, School of Archaeology
> University of Oxford
> 1-2 South Parks Road, Oxford OX1 3TG
> http://eamena.arch.ox.ac.uk
>
>
> On Mar 14, 2019, at 7:51 PM, Cyrus Hiatt  wrote:
>
> Hi Mike -
>
> Sorry for the late response. Are you asking in regards to exporting
> geometries from Arches 3 or 4?
>
> Thanks,
>
> Cyrus
>
> On Mon, Mar 11, 2019 at 8:45 AM Mike Fisher 
> wrote:
>
>> I'd like to export geometries to a .csv file. Can anyone clarify the
>> correct code for using GEOMETRY=AS_WKT and where to deploy it?
>> Thanks!
>>
>> --
>> -- 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] Re: Exception in search

2019-03-20 Thread Cyrus Hiatt
Hi Yuval,

Are you still seeing this error? Unfortunately I'm not able to reproduce it 
on my machine.  What version of Arches are you running? 

Thanks,

Cyrus

On Tuesday, March 12, 2019 at 3:40:47 AM UTC-7, Yuval Krymolowski wrote:
>
> Hello,
>
>   In the search screen, Arches begins to search for candidates as I type 
> the query. It gets exceptions in the process (see below).
>
> The search for the complete term succeeds without exceptions.
>
> Yuval
> 
> Exception happened during processing of request from ('127.0.0.1', 57593)
> Traceback (most recent call last):
>   File "C:\Python27\Lib\SocketServer.py", line 596, in 
> process_request_thread
> self.finish_request(request, client_address)
>   File "C:\Python27\Lib\SocketServer.py", line 331, in finish_request
> self.RequestHandlerClass(request, client_address, self)
>   File "C:\Python27\Lib\SocketServer.py", line 654, in __init__
> self.finish()
>   File "C:\Python27\Lib\SocketServer.py", line 713, in finish
> self.wfile.close()
>   File "C:\Python27\Lib\socket.py", line 283, in close
> self.flush()
>   File "C:\Python27\Lib\socket.py", line 307, in flush
> self._sock.sendall(view[write_offset:write_offset+buffer_size])
> error: [Errno 10054] An existing connection was forcibly closed by the 
> remote host
> 
> [
>

-- 
-- 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] Exporting geometries to .csv

2019-03-14 Thread Cyrus Hiatt
Hi Mike -

Sorry for the late response. Are you asking in regards to exporting
geometries from Arches 3 or 4?

Thanks,

Cyrus

On Mon, Mar 11, 2019 at 8:45 AM Mike Fisher 
wrote:

> I'd like to export geometries to a .csv file. Can anyone clarify the
> correct code for using GEOMETRY=AS_WKT and where to deploy it?
> Thanks!
>
> --
> -- 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 4.4.1 released

2019-02-28 Thread Cyrus Hiatt
The Arches team is happy to announce the 4.4.1 release which includes a 
number new features, performance improvements, and bug fixes:

Here some of the release highlights:

- Adds the Arches Collection Manager for designing mobile projects for the 
Arches Collector App
- Allows developers to create Arches Plugin components
- Adds a data migration workflow from v3 to v4
- Updates the target Ubuntu version to Ubuntu 18.04 LTS (install script 
still supports 16.04 as well as 18.04)
- Fixes file-list datatype import
- Cards represented in reports are now collapsible
- Users can now edit any card for which they have write permissions (edited)
- Tile datatype validation is now always applied on save
- Provisional edit review is now fully available for file and map widgets
- Usability enhancements in resource editor tree selection
- Enhancements to card component viewmodel for easier customization
- JSON-LD Import/Export: added the ability for JSON-LD representations of 
Arches resources to be retrieved, updated, and replaced through the Arches 
API. The JSON-LD representations are interpretable by clients without 
explicit knowledge of Arches data architecture (cards/tiles/nodegroups)

You can find the detailed release notes here: 4.4.1 release notes 


*Upgrading Arches*

Users are encouraged to update at their earliest convenience.  If you can't 
completely re-install Arches (because you have data in the system that you 
want to preserve) then please follow the upgrade instructions listed in the 
release 
document 


As always the documentation can be found at 

-- 
-- 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] socket.error[Errno 99] Cannot assign requested address,

2018-11-06 Thread Cyrus Hiatt
Hi Ashish -

Could you provide the entire stack trace of the error? Also, are you
running Arches on Apache or locally with the Django server?

Thanks,

Cyrus

On Tue, Nov 6, 2018 at 4:03 AM Ashish Karmacharya 
wrote:

> I get Errno 99 Cannot assign requested address when I want to register as
> a new user. Can someone help
>
> --
> -- 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] ValidationError at /search

2018-11-01 Thread Cyrus Hiatt
Thanks Dale -

We noticed in the 4.3.2 release an additional data migration that we
intended to include. We've added it and released 4.3.3. I'm not sure this
will necessarily solve your issue, but it's certainly worth a try.

pip install arches --upgrade --no-binary :all:
python manage.py migrate

Hope that helps -

Cyrus

On Thu, Nov 1, 2018 at 11:23 AM Dale Lloyd  wrote:

> I installed using pip.
>
> --
> -- 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 4.3.3 released

2018-11-01 Thread Cyrus Hiatt
The Arches team was made aware of a minor issue with our recent release (4.3.2) 
so we've quickly fixed it and pushed a 4.3.3 release.

*Changes:*
- Fixes duplicate entries in cards_x_nodes_x_widgets

*Known Issues*

- [#4044](https://github.com/archesproject/arches/issues/4044) - Exporting 
data that uses the File-list datatype in csv format can't be successfully 
re-imported.  

  **Workaround:** If users need to export data that uses the File-list 
datatype, then they should export in JSON format instead, so that data can 
be successfully re-imported.

*Upgrading Arches*

Users are encouraged to update at their earliest convenience. 

If you can't completely re-install Arches (because you have data in the 
system that you want to preserve) then you'll need to upgrade by running 
the following commands in your activated virtual environment:

pip install arches --upgrade --no-binary :all:
python manage.py migrate

As always the documentation can be found at 

-- 
-- 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] ValidationError at /search

2018-11-01 Thread Cyrus Hiatt
Hey Dale,

Are you running Arches from a repo or did you install from pip?

- Cyrus

On Thu, Nov 1, 2018 at 10:02 AM Cyrus Hiatt  wrote:

> Thanks for the showmigrations and whatisthis output. It looks like there
> is a migration in master but not in 4.3.x, and I suspect it should be in
> both. I'll have to confirm that with Alexei when he's available.
>
> - Cyrus
>
> On Thu, Nov 1, 2018 at 9:41 AM Dale Lloyd  wrote:
>
>> Thanks Adam.
>>
>> The output of 'python manage.py whatisthis
>> 065b7267-e746-11e6-84a6-026d961c88e6' is below.
>>
>> I am not sure what the output means?
>>
>>
>>
>> 
>> This UUID is the primary key for 2 objects:
>>
>> 
>> NodeGroup object
>> _state
>>   
>> cardinality
>>   n
>> legacygroupid
>>   None
>> nodegroupid
>>   065b7267-e746-11e6-84a6-026d961c88e6
>> parentnodegroup_id
>>   None
>>
>> 
>> Node object
>> _state
>>   
>> config
>>   None
>> datatype
>>   semantic
>> description
>>
>> graph_id
>>   fad0563b-b8f8-11e6-84a5-026d961c88e6
>> isrequired
>>   False
>> issearchable
>>   True
>> istopnode
>>   False
>> name
>>   Description Assignment
>> nodegroup_id
>>   065b7267-e746-11e6-84a6-026d961c88e6
>> nodeid
>>   065b7267-e746-11e6-84a6-026d961c88e6
>> ontologyclass
>>   http://www.cidoc-crm.org/cidoc-crm/E13_Attribute_Assignment
>> sortorder
>>   8
>>
>> --
>> -- 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] ValidationError at /search

2018-11-01 Thread Cyrus Hiatt
Thanks for the showmigrations and whatisthis output. It looks like there is
a migration in master but not in 4.3.x, and I suspect it should be in both.
I'll have to confirm that with Alexei when he's available.

- Cyrus

On Thu, Nov 1, 2018 at 9:41 AM Dale Lloyd  wrote:

> Thanks Adam.
>
> The output of 'python manage.py whatisthis
> 065b7267-e746-11e6-84a6-026d961c88e6' is below.
>
> I am not sure what the output means?
>
>
>
> 
> This UUID is the primary key for 2 objects:
>
> 
> NodeGroup object
> _state
>   
> cardinality
>   n
> legacygroupid
>   None
> nodegroupid
>   065b7267-e746-11e6-84a6-026d961c88e6
> parentnodegroup_id
>   None
>
> 
> Node object
> _state
>   
> config
>   None
> datatype
>   semantic
> description
>
> graph_id
>   fad0563b-b8f8-11e6-84a5-026d961c88e6
> isrequired
>   False
> issearchable
>   True
> istopnode
>   False
> name
>   Description Assignment
> nodegroup_id
>   065b7267-e746-11e6-84a6-026d961c88e6
> nodeid
>   065b7267-e746-11e6-84a6-026d961c88e6
> ontologyclass
>   http://www.cidoc-crm.org/cidoc-crm/E13_Attribute_Assignment
> sortorder
>   8
>
> --
> -- 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 4.3.2 released

2018-10-30 Thread Cyrus Hiatt
The Arches team is happy to announce the 4.3.2 release which includes a 
number of performance improvements and bug fixes:

You can find the release notes 
here: 
https://github.com/archesproject/arches/blob/stable/4.3.2/releases/4.3.2.md

Below you'll find a listing of all the changes that are included in the 
latest release.

Highlights: 
- Significantly improves performance in the Graph Designer
- Adds template blocks in card components to support overriding the default 
card component
- Fixes card ordering in the Graph Designer
- Adds package css for package relevant styling
- Many other small improvements

 Known Issues

- [#4044](https://github.com/archesproject/arches/issues/4044) - Exporting 
data that uses the File-list datatype in csv format can't be successfully 
re-imported.  

  **Workaround:** If users need to export data that uses the File-list 
datatype, then they should export in JSON format instead, so that data can 
be successfully re-imported.

 Upgrading Arches

Users are encouraged to update at their earliest convenience.  If you can't 
completely re-install Arches (because you have data in the system that you 
want to preserve) then you'll need to upgrade by running the following 
commands in your activated virtual environment:

```
pip install arches --upgrade --no-binary :all:
```

If you have Arches running on a web server such as Apache, be sure to 
update your static files directory and restart your web server.

As always the documentation can be found at 

-- 
-- 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] Error message during installation

2018-08-07 Thread Cyrus Hiatt
Hi Lory -

I haven't run into this error before. What versions of python, pip, and
virtualenv are you using?

Thanks,

Cyrus

On Thu, Aug 2, 2018 at 9:10 PM Lory Henning  wrote:

> I'm receiving the following error message during installation (on a Mac).
> Does anyone have any advice?
>
> Collecting arches
>
>   Using cached
> https://files.pythonhosted.org/packages/ad/d0/1cb9ac07dd924af3409fac6ed93aed132e144c6a72a4e19731fc83c53972/arches-4.2.tar.gz
>
> Complete output from command python setup.py egg_info:
>
> Traceback (most recent call last):
>
>   File "", line 1, in 
>
>   File
> "/private/var/folders/2z/07mz94fs6470_3wp6w18hh4mgn/T/pip-install-v29frrzo/arches/setup.py",
> line 14, in 
>
> version = __import__('arches').__version__
>
>   File
> "/private/var/folders/2z/07mz94fs6470_3wp6w18hh4mgn/T/pip-install-v29frrzo/arches/arches/__init__.py",
> line 1, in 
>
> from arches.setup import get_version
>
>   File
> "/private/var/folders/2z/07mz94fs6470_3wp6w18hh4mgn/T/pip-install-v29frrzo/arches/arches/setup.py",
> line 101
>
> print "Downloading: %s Bytes: %s" % (file_name, file_size)
>
> ^
>
> SyntaxError: invalid syntax
>
>
>
> 
>
> Command "python setup.py egg_info" failed with error code 1 in
> /private/var/folders/2z/07mz94fs6470_3wp6w18hh4mgn/T/pip-install-v29frrzo/arches/
>
>
> Best,
>
> Lory
>
> --
> -- 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] Elasticsearch install error [Win7 64bit]

2018-04-23 Thread Cyrus Hiatt
Hey Adam - thanks for looking into that.

-- 
-- 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] cannot delete resource model -Archesv4.1

2018-04-23 Thread Cyrus Hiatt
Hi Anjo -

I'm glad to hear that helped. I'm not entirely sure if you can use the
Django shell. It depends on whether you could access the resource proxy
model from the shell because you would need to call the proxy model's
delete method. I may look into trying that when I get a chance.

There is a management command for removing all resources. Unfortunately you
can't specify which types of resources you want to delete. There is a
ticket to allow a user to specify deletion of a specific model, but I'm not
sure when that will get resolved.

Thanks,

Cyrus

On Mon, Apr 23, 2018 at 11:01 AM, Anjo Weichbrodt <anjo.weichbr...@gmail.com
> wrote:

> Hi Cyrus,
>
> Thanks a lot for your help!
> It was indeed that I still had instances related to the model.
> Deleting them was cumbersome but it worked.
>
> Is there a possibilities to delete the instances in the Django shell?
>
> Thanks,
> Anjo
>
> On Friday, April 20, 2018 at 5:20:49 PM UTC-4, Cyrus Hiatt wrote:
>>
>> Hi Anjo -
>>
>> I suspect you have one or more resource instances associated with your
>> model. You can check if you go to the search page and search on the
>> resource model you are trying to delete.  If any show in the search
>> results, you will have to delete those instances before you can delete your
>> model.
>>
>> If that is indeed the problem, we should probably provide an alert
>> letting you know that you can't delete that model rather than letting the
>> model appear deleted only to reappear later.
>>
>> Thanks,
>>
>> Cyrus
>>
>>
>> On Fri, Apr 20, 2018 at 11:47 AM, Anjo Weichbrodt <anjo.we...@gmail.com>
>> wrote:
>>
>>> Hi,
>>>
>>>  I would like  to delete some resource models in the Arches designer.
>>> Clicking on  --->   would take away initially the
>>> resource model from the list, but up on refreshing it would come back again.
>>> What am I missing?
>>>
>>> Thanks,
>>> Anjo
>>>
>>> --
>>> -- 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 
"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] Elasticsearch install error [Win7 64bit]

2018-04-23 Thread Cyrus Hiatt
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 
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  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 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] Elasticsearch install error [Win7 64bit]

2018-04-22 Thread Cyrus Hiatt
Hi Guido -

It looks like you may need to specify GDAL's location in your settings.  In
you're package's settings.py file, add the following setting (but be sure
to update the path to reflect the location of your GDAL installation's dll
file).

GDAL_LIBRARY_PATH = "C:/OSGeo4W64/bin/gdal201.dll"

Hope that helps,

Cyrus

On Sun, Apr 22, 2018 at 3:06 AM, guido cimadomo  wrote:

> Thank you Cyrus,
>
> after running pip install -r path/to/requirements.txt
>
> I found I hadn't the required MS Visual C++ Compiler for Python 2.7
> installed.
> I was then able to run again your suggested command without errors.
> Now django-guardian 1.4.9 is installed in the virtualenvironment, together
> with several other packages.
>
> I reissued installation of elasticsearch, but it stopped again, the stack
> trace follows. It is strange, not sure exactly why the installer stops but
> seems related with a win32 valid app? Following "Installing arches" docs
> everything installed is x64 version on win 7 x64... not sure what the %1
> variable points to...
>
> Now Elasticsearch appears under pip list (v. 5.5.2), also if I still
> haven't the elasticsearch folder and elasticsearch.bat installed in my
> system
> Any further suggestion??
>
> --
> $ python manage.py es install -d /c/projects
>
> Traceback (most recent call last):
>   File "manage.py", line 29, in 
> execute_from_command_line(sys.argv)
>   File "C:\projects\ENV\lib\site-packages\django\core\management\__init__.py",
> line 364, in execute_from_command_line
> utility.execute()
>   File "C:\projects\ENV\lib\site-packages\django\core\management\__init__.py",
> line 338, in execute
> django.setup()
>   File "C:\projects\ENV\lib\site-packages\django\__init__.py", line 27,
> in setup
> apps.populate(settings.INSTALLED_APPS)
>   File "C:\projects\ENV\lib\site-packages\django\apps\registry.py", line
> 108, in populate
> app_config.import_models()
>   File "C:\projects\ENV\lib\site-packages\django\apps\config.py", line
> 202, 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 "C:\projects\ENV\lib\site-packages\django\contrib\auth\models.py",
> line 4, in 
> from django.contrib.auth.base_user import AbstractBaseUser,
> BaseUserManager
>   File "C:\projects\ENV\lib\site-packages\django\contrib\auth\base_user.py",
> line 52, in 
> class AbstractBaseUser(models.Model):
>   File "C:\projects\ENV\lib\site-packages\django\db\models\base.py", line
> 124, in __new__
> new_class.add_to_class('_meta', Options(meta, app_label))
>   File "C:\projects\ENV\lib\site-packages\django\db\models\base.py", line
> 325, in add_to_class
> value.contribute_to_class(cls, name)
>   File "C:\projects\ENV\lib\site-packages\django\db\models\options.py",
> line 214, in contribute_to_class
> self.db_table = truncate_name(self.db_table, connection.ops.max_name_
> length())
>   File "C:\projects\ENV\lib\site-packages\django\db\__init__.py", line
> 33, in __getattr__
> return getattr(connections[DEFAULT_DB_ALIAS], item)
>   File "C:\projects\ENV\lib\site-packages\django\db\utils.py", line 211,
> in __getitem__
> backend = load_backend(db['ENGINE'])
>   File "C:\projects\ENV\lib\site-packages\django\db\utils.py", line 115,
> 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 
> "C:\projects\ENV\lib\site-packages\django\contrib\gis\db\backends\postgis\base.py",
> line 6, in 
> from .features import DatabaseFeatures
>   File "C:\projects\ENV\lib\site-packages\django\contrib\gis\
> db\backends\postgis\features.py", line 1, in 
> from django.contrib.gis.db.backends.base.features import
> BaseSpatialFeatures
>   File 
> "C:\projects\ENV\lib\site-packages\django\contrib\gis\db\backends\base\features.py",
> line 4, in 
> from django.contrib.gis.db.models import aggregates
>   File 
> "C:\projects\ENV\lib\site-packages\django\contrib\gis\db\models\__init__.py",
> line 3, in 
> from django.contrib.gis.db.models.aggregates import *  # NOQA
>   File 
> "C:\projects\ENV\lib\site-packages\django\contrib\gis\db\models\aggregates.py",
> line 1, in 
> from django.contrib.gis.db.models.fields import ExtentField
>   File 
> "C:\projects\ENV\lib\site-packages\django\contrib\gis\db\models\fields.py",
> line 3, in 
> from django.contrib.gis import forms, gdal
>   File 
> "C:\projects\ENV\lib\site-packages\django\contrib\gis\forms\__init__.py",
> line 3, in 
> from .fields import (  # NOQA
>   File "C:\projects\ENV\lib\site-packages\django\contrib\gis\forms\fields.py",
> line 4, in 
> from django.contrib.gis.geos import GEOSException, GEOSGeometry
>   File 
> "C:\projects\ENV\lib\site-packages\django\contrib\gis\geos\__init__.py",
> line 5, in 
> from 

Re: [Arches] Elasticsearch install error [Win7 64bit]

2018-04-21 Thread Cyrus Hiatt
Hi Guido -

It's strange that the python elasticsearch bindings got installed, but not
guardian (looking at the import error at the end of your stack trace).

I would try activating my virtualenv and reinstalling my python
dependencies from the requirements file in arches:

(ENV) $ pip install -r arches/arches/install/requirements.txt

Hopefully that will install guardian and get you past that error.

Cheers,

Cyrus

On Sat, Apr 21, 2018 at 8:51 AM, guido cimadomo  wrote:

> Hi all,
> glad to see you here after some year missing, and also happy to see the
> arches community growing... I hope to be able to use arches for a new
> project here in Malaga, and wanted to make some experiments at home...
>
> I'm on the process to install arches 4.1 on a win 7 64 bit, but I find an
> error when installing elasticsearch
>
> after the output below, the script stops. There is no elasticsearch folder
> in my root folder, but I can see several files and folders installed under
> projects/ENV/lib/site-packages/elasticsearch and projects/ENV/lib/site-
> packages/elasticsearch-5.5.2.dist-info
>
> pip list tells me that elasticsearch 5.5.2 is installed, but I cannot run
> it as I cannot find the suggested command-file or bat
>
> Up to this moment everything was flawless... I only have some
> invalid-meta and deprecated tags installing arches but I think they are not
> relevant, and also if the virtualenvironment seems fine, it doesn't appear
> as an installed package with pip list.
>
> $ python manage.py es install -d c:/projects
> Traceback (most recent call last):
>   File "manage.py", line 29, in 
> execute_from_command_line(sys.argv)
>   File "C:\projects\ENV\lib\site-packages\django\core\management\__init__.py",
> l
> ine 364, in execute_from_command_line
> utility.execute()
>   File "C:\projects\ENV\lib\site-packages\django\core\management\__init__.py",
> l
> ine 338, in execute
> django.setup()
>   File "C:\projects\ENV\lib\site-packages\django\__init__.py", line 27,
> in setup
>
> apps.populate(settings.INSTALLED_APPS)
>   File "C:\projects\ENV\lib\site-packages\django\apps\registry.py", line
> 85, in populate
> app_config = AppConfig.create(entry)
>   File "C:\projects\ENV\lib\site-packages\django\apps\config.py", line
> 94, in create
> module = import_module(entry)
>   File "c:\python27\Lib\importlib\__init__.py", line 37, in import_module
> __import__(name)
> ImportError: No module named guardian
> (ENV)
>
> Thanks again for your permanent support...
> guido
>
> --
> -- 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] cannot delete resource model -Archesv4.1

2018-04-20 Thread Cyrus Hiatt
Hi Anjo -

I suspect you have one or more resource instances associated with your
model. You can check if you go to the search page and search on the
resource model you are trying to delete.  If any show in the search
results, you will have to delete those instances before you can delete your
model.

If that is indeed the problem, we should probably provide an alert letting
you know that you can't delete that model rather than letting the model
appear deleted only to reappear later.

Thanks,

Cyrus


On Fri, Apr 20, 2018 at 11:47 AM, Anjo Weichbrodt  wrote:

> Hi,
>
>  I would like  to delete some resource models in the Arches designer.
> Clicking on  --->   would take away initially the resource
> model from the list, but up on refreshing it would come back again.
> What am I missing?
>
> Thanks,
> Anjo
>
> --
> -- 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] Issues uploading packages to Arches

2018-04-20 Thread Cyrus Hiatt
Hi Chantelle -

Just a couple more questions.

I'm guessing that you are running the load package command with your
project's manage.py file rather than with the one in the arches directory (
ENV/lib/site-packages/arches), correct?  I'm guessing the the answer is
yes, but this is an error that I would expect if the command was running
from within arches.
What version of ES are you running?
Is upgrading to 4.1 possible? There were a lot of improvements between 4.0
and 4.1 and there's a very good chance an upgrade would solve this issue.

Thanks,

Cyrus





On Fri, Apr 20, 2018 at 2:43 AM, Chantelle Smith <
chantelle.sm...@historicengland.org.uk> wrote:

> Hi Cyrus,
>
> Thanks for getting back to me.
>
> I'm running Arches 4.0.1 on Windows 7 OS
>
> I've downloaded zip files from the following repos:
> https://github.com/archesproject/lincoln_release
> https://github.com/archesproject/v4_demo_pkg
>
> The zip files are being referenced from my Downloads folder
>
>
> I've used the statement (including the -db true argument) and I'm still
> getting the 'maximum recursion depth exceeded' error returned.
>
>
> Thanks,
>
> Chantelle
>
>
> On Thursday, April 19, 2018 at 7:28:58 PM UTC+1, Cyrus Hiatt wrote:
>>
>> Hi Chantelle -
>>
>> Great that you are got things installed and are ready to load a package.
>> Just a couple of questions to help narrow down your issue:
>>
>> Which version of arches are you running?
>> What is the repository url you used to get your package?
>>
>> Also, you may want to add the `-db true` argument in order to rebuild
>> your database when you load the package, like so:
>>
>> python manage.py packages -o load_package -s [zip file path] -db true
>>
>> Thanks,
>>
>> Cyrus
>>
>>
>>
>> On Thu, Apr 19, 2018 at 9:16 AM, Chantelle Smith <
>> chantel...@historicengland.org.uk> wrote:
>>
>>> Good afternoon everyone,
>>>
>>> I'm just getting to grip with Arches and I'm trying to upload a package
>>> to my local installation so I can see what the application looks like with
>>> stuff in it.
>>>
>>> I'm using the following command line command to try to load packages
>>> downloaded as zip files:
>>>
>>> python manage.py packages -o load_package -s [zip file path]
>>>
>>>
>>> When I do so the following runtime error occurs:
>>>
>>>
>>> <https://lh3.googleusercontent.com/-Sgg6Gnt48bk/Wti_Ni4zT9I/AAM/pWovSjBK-yk5FOdyUPDqAXBbDY31GcHeQCEwYBhgL/s1600/arches_Runtime_error.png>
>>>
>>> I am running ElasticSearch while doing the upload (just in case it has any 
>>> effect).  I've tried to upload zip files from two separate repositories 
>>> with the same result.
>>>
>>> Am I missing something obvious here that I haven't done?
>>>
>>> Many thanks,
>>>
>>> Chantelle
>>>
>>> --
>>> -- 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 
"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] Issues uploading packages to Arches

2018-04-19 Thread Cyrus Hiatt
Hi Chantelle -

Great that you are got things installed and are ready to load a package.
Just a couple of questions to help narrow down your issue:

Which version of arches are you running?
What is the repository url you used to get your package?

Also, you may want to add the `-db true` argument in order to rebuild your
database when you load the package, like so:

python manage.py packages -o load_package -s [zip file path] -db true

Thanks,

Cyrus



On Thu, Apr 19, 2018 at 9:16 AM, Chantelle Smith <
chantelle.sm...@historicengland.org.uk> wrote:

> Good afternoon everyone,
>
> I'm just getting to grip with Arches and I'm trying to upload a package to
> my local installation so I can see what the application looks like with
> stuff in it.
>
> I'm using the following command line command to try to load packages
> downloaded as zip files:
>
> python manage.py packages -o load_package -s [zip file path]
>
>
> When I do so the following runtime error occurs:
>
>
> 
>
> I am running ElasticSearch while doing the upload (just in case it has any 
> effect).  I've tried to upload zip files from two separate repositories with 
> the same result.
>
> Am I missing something obvious here that I haven't done?
>
> Many thanks,
>
> Chantelle
>
> --
> -- 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] Re: Location Filter - Issues with Buffer

2018-04-16 Thread Cyrus Hiatt
My apologies - I misinformed Dennis about our use of turf in v3. However,
he is correct that older versions of turf poorly calculated buffers.  In V3
we actually calculate the buffer using GEOS.  Looking at the code it
appears the buffer calculation is done with SRID 3857. It may help to
change that projection, but what is used to replace 3857 would depend on
the project's size and location.

- Cyrus

On Mon, Apr 16, 2018 at 4:37 PM, Adam Cox  wrote:

> Hi Dennis, I know a lot of people are still using v3 of Arches. What would
> be the best way to update their installations so the buffer tool is
> accurate? Do you know what version of turf.js fixed the issue?
>
> Adam
>
> On Mon, Apr 16, 2018 at 5:59 PM, Dennis Wuthrich 
> wrote:
>
>> Hi Carrie,
>>
>> Arches uses Turf.js (http://turfjs.org/) to calculate buffers on
>> geometries.  It turns out that the version of Turf used in v3 incorrectly
>> calculated buffers.  We've updated the Turf library in Arches v4, which has
>> resolved the problem.
>>
>> Cheers,
>>
>> Dennis
>>
>>
>> On Saturday, April 14, 2018 at 6:56:27 AM UTC-7,
>> carrie...@preservescapes.com wrote:
>>>
>>> We use an application of Version 3 and recently discovered that the
>>> buffer measurements in the location filter are not accurate. For example,
>>> if I define a buffer of 2,640 ft, the buffer it creates is actually 2,400
>>> ft. We have checked this on other Arches applications, and it seems to be a
>>> problem across the board and not just with our application.
>>> Has anyone else noticed this issue, and if so, has it been resolved?
>>> Thanks,
>>> Carrie
>>>
>>> --
>> -- 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] Adding Tileserver Layers

2018-03-26 Thread Cyrus Hiatt
Hi David -

Is it possible your virtualenv is not activated?

- Cyrus



On Thu, Mar 22, 2018 at 9:08 AM, David Lopes  wrote:

> Hi Rob,
>
> It's me again.
> I've tried the command “add_mapbox_layer“ but I keep getting the
> following message:
>
> *Traceback (most recent call last):*
> *  File "manage.py", line 22, in *
> *from django.core.management import execute_from_command_line*
> *ImportError: No module named django.core.management*
>
>
> Can you tell me what's wrong?
>
> Thank you, regards
>
>
>
> terça-feira, 30 de Janeiro de 2018 às 00:05:14 UTC, Rob Gaston escreveu:
>>
>> Hi David,
>>
>> Just to add to what Adam said: the JSON that Adam sent in his previous
>> message is an example of how you might use Arches’s built-in tileserver to
>> create a vector tile service using a table in PostgreSQL and add that
>> service as an overlay to Arches.
>>
>> I see in your original message that you had some GeoJSON embedded in your
>> tileserver layer JSON.  If you just want to add a static GeoJSON layer (for
>> example, one like this: http://bl.ocks.org/d/ef5
>> 2412364feacb59192efe73045068d) then you can create a GeoJSON source and
>> bypass the tileserver entirely.  To do this, you will instead be using the “
>> add_mapbox_layer“ command.This is especially useful if you have a small
>> dataset (like the one that your provided) and don’t need any of PostGIS’s
>> spatial processing capabilities (such as the clustering functions we use
>> for resource layers by default).
>>
>> Here is a link to an example of how you might add such a static GeoJSON
>> layer: https://gist.github.com/robgaston/d0e3db6b966837be65031d2300a0801d
>>
>> You’re probably best off just:
>> 1) downloading the JSON file in the gist,
>> 2) putting that file in the same folder as your project’s manage.py file
>> 3) scraping the content of add-example-points-layer.sh and running that
>> manually at a command line from your project’s folder.
>>
>> I hope that helps!
>> - Rob
>>
>>
>> On Jan 29, 2018, at 9:22 AM, Adam Cox  wrote:
>>
>> Hi David, you're correct that this is a JSON syntax error. I used this
>> handy tool https://jsonlint.com/ to test it. It also formats the code in
>> a way that makes it easier to visualize JSON syntax.
>>
>> Ultimately, the change that needs to happen is moving the ] that is near
>> the very end to a position right before the "config" section and adding a ,
>> after it. So the following is valid JSON:
>>
>> {
>> "type": "FeatureCollection",
>> "features": [{
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_I3",
>> "KML_FOLDER": "Arcos de Valdevez"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.450217, 41.938804]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_M",
>> "KML_FOLDER": "Arcos de Valdevez"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.343963, 41.870299]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_M",
>> "KML_FOLDER": "Arcos de Valdevez"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.389271, 41.868684]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_I1",
>> "KML_FOLDER": "Caminha"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.832159, 41.873065]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_M0",
>> "KML_FOLDER": "Caminha"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.838441, 41.801253]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_M0",
>> "KML_FOLDER": "Caminha"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.841388, 41.809651]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_M0",
>> "KML_FOLDER": "Caminha"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.787310, 41.906306]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_M0",
>> "KML_FOLDER": "Caminha"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.850757, 41.809936]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_V1",
>> "KML_FOLDER": "Melgaço"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.098310, 42.070975]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_M1",
>> "KML_FOLDER": "Melgaço"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.279876, 42.092524]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_M1",
>> "KML_FOLDER": "Monção"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.452002, 42.027202]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_V0",
>> "KML_FOLDER": "Ponte da Barca"
>> },
>> "geometry": {
>> "type": "Point",
>> "coordinates": [-8.251466, 41.840543]
>> }
>> },
>> {
>> "type": "Feature",
>> "properties": {
>> "KML_STYLE": "msn_I2",
>> "KML_FOLDER": "Paredes de 

Re: [Arches] Arches 4: Error running setup_db script

2018-02-06 Thread Cyrus Hiatt
Hi Brett -

That error is due to a conflict between two versions of a django model
within an early migration file. There is an issue with modifying that
migration file, so we haven't made the necessary change to handle for that
error. It's not of any consequence, so you can safely ignore it.

- Cyrus

On Mon, Feb 5, 2018 at 2:46 PM, Brett Ferguson  wrote:

> I've almost got my environment setup, but I'm getting the following error
> when running the database setup script
> (python manage.py packages -o setup_db):
>
> ...
>   Applying models.0003_40b4...deleting index : hria_project_resource
> operation: import_graphs
> column "isrequired" of relation "nodes" does not exist
> LINE 1: ...'::uuid, "config" = NULL, "issearchable" = false, "isrequire...
> ...
>
> Has anyone else seen this problem?
>
> I'm running on CentOS7, and running pip list | grep arches returns arches
> (4.1).
>
> Thanks!
>
> Brett
>
> --
> -- 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] Load package without settings override prompt?

2018-01-30 Thread Cyrus Hiatt
Hi Adam -

I think we definitely want to allow users to load a package using default
values where users are prompted for input. As for the error that you are
seeing when you try to load the DISCO package - I've seen that as well on
Ubuntu, but not on MacOS. It seems that the html tags aren't getting
properly escaped on some systems which is a problem when loading tile data
saved from the rich text editor.

I'll create tickets for both of these issues.

Cyrus

On Tue, Jan 30, 2018 at 10:32 AM, Adam Cox  wrote:

> I'm trying to run the load_package command without user input, but (I
> think) it fails when it gets to the user input prompt for loading system
> settings from the package. I see here  https://github.com/
> archesproject/arches/blob/master/arches/management/
> commands/packages.py#L266 that there is no way to pass a "force" argument
> into that method. (There's a chance that in fact it is continuing past this
> point, but failing on the unescaped character error that I mentioned in my
> other post.) Can anyone confirm what is going on there? I can modify the
> load_package command to work without user input on my own separate branch
> for my current needs, but I'm wondering if that's something that would be
> good to have in core arches.
>
> Adam
>
> --
> -- 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] Disallowed host

2017-11-22 Thread Cyrus Hiatt
That's great to know. Thanks Vincent!

- Cyrus

On Wed, Nov 22, 2017 at 9:19 AM, Vincent Meijer 
wrote:

> For future reference (but not yet directly relevant for Andy's use case):
>
> If you run AWS EC2 instances behind an Elastic Load Balancer, you also
> need to add the EC2 instance's private IP (and potentially its public
> hostname) to the ALLOWED_HOSTS setting.
> This is because the load balancer uses the private IP to address your EC2
> instances for health checks, instead of the hostname you chose.
>
> Here is how to do that. Simply add this to your settings.py:
>
> # Fix for AWS ELB returning false bad health: ELB contacts EC2 instances
> through their private ip.
> # An AWS service is called to get this private IP of the current EC2 node.
> Then the IP is added to ALLOWS_HOSTS so that Django answers to it.
> EC2_PRIVATE_IP = None
> try:
> EC2_PRIVATE_IP = requests.get('http://169.254.169.254/latest/meta-data/
> local-ipv4', timeout=0.01).text
> except requests.exceptions.RequestException:
> pass
> if EC2_PRIVATE_IP:
> ALLOWED_HOSTS.append(EC2_PRIVATE_IP)
> EC2_PUBLIC_HOSTNAME = None
> try:
> EC2_PUBLIC_HOSTNAME = requests.get('http://169.254.
> 169.254/latest/meta-data/public-hostname', timeout=0.01).text
> except requests.exceptions.RequestException:
> pass
> if EC2_PUBLIC_HOSTNAME:
> ALLOWED_HOSTS.append(EC2_PUBLIC_HOSTNAME)
>
>
>
> On Wednesday, 8 November 2017 12:42:58 UTC-5, Adam Cox wrote:
>>
>> Hey Andy, that's great, glad to hear it's working well. Good note about
>> the Projects folder too. It is a small detail, but could trip someone up
>> for a minute if they are looking for an exact replica of the installation
>> instructions.
>>
>> Adam
>>
>> On Wed, Nov 8, 2017 at 10:53 AM, Andy Graham  wrote:
>>
>>> Thanks much Adam, very helpful.
>>>
>>> The AMI worked great and didn't have any issues once I updated.  Only
>>> thing I would point out is that the AMI doesn't nest the arches and ENV
>>> folder in a Projects folder as recommended in the installation
>>> instructions.  Not that big of a deal, just thought I would point it out.
>>> Once again, thanks for the help.
>>>
>>> Andy
>>>
>>> On Tuesday, November 7, 2017 at 4:26:38 PM UTC-8, Adam Cox wrote:

 Hey Andy, great question. ALLOWED_HOSTS is actually a variable that you
 can define in your settings.py or settings_local.py file. It should be a
 list, so something like

 ALLOWED_HOSTS = ["12.34.56.78","arches4.andygraham.com"]

 would be a valid entry. You can also use ["*"] to allow all hosts. Not
 recommended for production of course, but could get past a the problem in a
 pinch if you ip or domain is changing a lot...

 I am glad to hear you were able to use that AMI. I made it a while ago,
 so it could probably stand some updates. Let me know if you find any
 problems with dependencies and such.

 Adam

 On Nov 7, 2017 4:53 PM, "Andy Graham"  wrote:

> Attempted to install Arch V4 to test out some of the features.  Set up
> an instance on AWS, downloaded the Arches 4 community instance that I 
> think
> Adam put up there a while ago.  Once that was set up I went through and 
> and
> followed the Developer Installation instruction to make sure everything 
> was
> up to date and set up correctly.  I then ran the runsever command, went to
> the website (public IP:8000) and got an error page that said
> "DisallowedHost at /Invalid HTTP_HOST header: 'xx.xx.xx.xx.:8000'. You
> may need to add u'xx.xx.xx.xx' to ALLOWED_HOSTS.", with the xx as my 
> public
> IP.  Based on additional information I went to the request.py file in
> ENV/lib/python2.7/site-packages/django/http and edited the
> "allowed_hosts" on line 102 to include my IP.  Everything worked fine 
> after
> that but I am guessing that this isn't standard protocol.  Any suggestions
> on what I did wrong and how to fix it so I don't have to add that info 
> when
> spin up another instance?  Thanks.
>
> Andy
>
> --
> -- 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 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
>>> 

Re: [Arches] Re: Arches v4 on Windows 10 running issue

2017-10-19 Thread Cyrus Hiatt
Hi Riccardo -

Have you confirmed that the files that are not loading properly are
actually in your 'bower_components' directory?  When you ran
'arches-project create', did you notice any errors related to bower?  If
your media/bower_components directory is missing or empty, cd the directory
in your project with `bower.json` and try running `bower install` manually.

Hope that helps,

Cyrus


On Thu, Oct 19, 2017 at 5:08 AM, Riccardo Giovanelli <
riccardogiovanelli.m...@gmail.com> wrote:

> I get this from the server:
>
> [19/Oct/2017 07:07:25] "GET /media/plugins/revolution-
> slider/rs-plugin/assets/loader.gif HTTP/1.1" 304 0
> [19/Oct/2017 07:07:39] "GET /graph/ HTTP/1.1" 200 53793
> [19/Oct/2017 07:07:39] "GET /media/css/arches.css HTTP/1.1" 304 0
> [19/Oct/2017 07:07:39] "GET /media/bower_components/requirejs/require.js
> HTTP/1.1" 404 1836
> [19/Oct/2017 07:07:39] "GET /media/img/arches_logo_light.png HTTP/1.1"
> 304 0
> [19/Oct/2017 07:07:39] "GET /media/bower_components/
> bootstrap/dist/css/bootstrap.min.css HTTP/1.1" 404 1884
> [19/Oct/2017 07:07:39] "GET /media/bower_components/
> bootstrap3-datetimepicker/build/css/bootstrap-datetimepicker.min.css
> HTTP/1.1" 404 1980
> [19/Oct/2017 07:07:39] "GET /media/bower_components/fonts/openSans.css
> HTTP/1.1" 404 1830
> [19/Oct/2017 07:07:39] "GET /media/bower_components/
> bootstrap-colorpicker/dist/css/bootstrap-colorpicker.min.css HTTP/1.1"
> 404 1956
> [19/Oct/2017 07:07:39] "GET /media/css/nifty.min.css HTTP/1.1" 304 0
> [19/Oct/2017 07:07:39] "GET /media/bower_components/font-
> awesome/css/font-awesome.min.css HTTP/1.1" 404 1887
> [19/Oct/2017 07:07:39] "GET 
> /media/bower_components/ionicons/css/ionicons.min.css
> HTTP/1.1" 404 1863
> [19/Oct/2017 07:07:39] "GET /media/plugins/themify-icons/themify-icons.min.css
> HTTP/1.1" 304 0
> [19/Oct/2017 07:07:39] "GET /media/css/plugins/select2/select2.min.css
> HTTP/1.1" 304 0
> [19/Oct/2017 07:07:39] "GET 
> /media/css/plugins/select2/select2-bootstrap.min.css
> HTTP/1.1" 304 0
> [19/Oct/2017 07:07:39] "GET /media/bower_components/mapbox-gl/mapbox-gl.css
> HTTP/1.1" 404 1845
> [19/Oct/2017 07:07:39] "GET /media/plugins/chosen.min.css HTTP/1.1" 304 0
> [19/Oct/2017 07:07:39] "GET 
> /media/bower_components/nouislider/distribute/nouislider.min.css
> HTTP/1.1" 404 1896
> [19/Oct/2017 07:07:39] "GET 
> /media/bower_components/codemirror/lib/codemirror.css
> HTTP/1.1" 404 1863
> [19/Oct/2017 07:07:39] "GET 
> /media/bower_components/codemirror/theme/monokai.css
> HTTP/1.1" 404 1860
> [19/Oct/2017 07:07:39] "GET /media/bower_components/
> datatables.net-responsive-bs/css/responsive.bootstrap.min.css HTTP/1.1"
> 404 1959
> [19/Oct/2017 07:07:39] "GET 
> /media/bower_components/datatables.net-bs/css/dataTables.bootstrap.min.css
> HTTP/1.1" 404 1926
> [19/Oct/2017 07:07:39] "GET /media/bower_components/leaflet/dist/leaflet.css
> HTTP/1.1" 404 1848
> [19/Oct/2017 07:07:39] "GET /media/bower_components/
> leaflet-draw/dist/leaflet.draw.css HTTP/1.1" 404 1878
> [19/Oct/2017 07:07:39] "GET /media/bower_components/nvd3/build/nv.d3.min.css
> HTTP/1.1" 404 1848
> [19/Oct/2017 07:07:39] "GET /media/img/help/card-designer-panes.png
> HTTP/1.1" 304 0
> [19/Oct/2017 07:07:39] "GET /media/img/help/resource-model-diagram-1.png
> HTTP/1.1" 304 0
> [19/Oct/2017 07:07:39] "GET /media/img/help/branch-diagram.png HTTP/1.1"
> 304 0
>
>
> Il giorno lunedì 16 ottobre 2017 20:58:00 UTC+2, Riccardo Giovanelli ha
> scritto:
>
>> Good Evening,
>> I followed the installation guide step by step and after multiple errors
>> I've got to get through to the final stage.
>> Unfortunately, Step 8 stops me, with a final error of "autentication
>> password failed for user "postgres".
>> And I can't get though this.
>> Can somebody help me? Thanx
>>
>>
>> (ENV) C:\Projects\arches>python manage.py runserver
>> Performing system checks...
>>
>> System check identified no issues (0 silenced).
>> Unhandled exception in thread started by > 0x04F177B8>
>> Traceback (most recent call last):
>>   File "C:\Projects\ENV\lib\site-packages\django\utils\autoreload.py",
>> line 226, in wrapper
>> fn(*args, **kwargs)
>>   File 
>> "C:\Projects\ENV\lib\site-packages\django\core\management\commands\runserver.py",
>> line 117, in inner_run
>> self.check_migrations()
>>   File 
>> "C:\Projects\ENV\lib\site-packages\django\core\management\commands\runserver.py",
>> line 163, in check_migrations
>> executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
>>   File "C:\Projects\ENV\lib\site-packages\django\db\migrations\executor.py",
>> line 20, in __init__
>> self.loader = MigrationLoader(self.connection)
>>   File "C:\Projects\ENV\lib\site-packages\django\db\migrations\loader.py",
>> line 49, in __init__
>> self.build_graph()
>>   File "C:\Projects\ENV\lib\site-packages\django\db\migrations\loader.py",
>> line 176, in build_graph
>> self.applied_migrations = recorder.applied_migrations()
>>   File 

Re: [Arches] Issues running setup_db (Arches 4.0)

2017-09-22 Thread Cyrus Hiatt
Hi Duncan,

Very glad to hear that helped and also that the networkx fix was successful.

Cheers,

Cyrus

On Fri, Sep 22, 2017 at 8:26 AM, Duncan Reddish <duncanredd...@gmail.com>
wrote:

> Cyrus,
>
> Thank you so much for responding so quickly -- it was indeed as simple as
> that.
>
> I have since downgraded my networkx components to 1.11 to restore
> the nodes_iter() method ($ pip install networkx==1.11)
> and installed postgis scripts for 9.5 ($ sudo apt-get install
> postgresql-9.5-postgis-scripts) and now have a working dev server.
>
> I think I'll leave Apache integration for another day ;-)
>
> Many thanks again for your help - amazing!
> Duncan
>
> On Friday, 22 September 2017 14:01:41 UTC+1, Cyrus Hiatt wrote:
>>
>> Hi Duncan -
>>
>> Just a guess, but you may need to uncomment your DATABASES setting in
>> settings_local.py and change your password there.
>>
>> Hope that helps,
>>
>> Cyrus
>>
>> On Fri, Sep 22, 2017 at 5:39 AM, Duncan Reddish <duncan...@gmail.com>
>> wrote:
>>
>>> Newbie question!
>>>
>>> I have hit a brick wall installing Arches 4.0 on Ubuntu 16.04.
>>> After running the Ubuntu dependencies script available on Github and
>>> following the online documentation from the Arches site, I am stuck
>>> creating the database for the sample 'my_project'.
>>>
>>> Running 'python manage.py packages -o setup_db' prompts for 'Password
>>> for user postgres:'.
>>>
>>> I have changed both the Unix and PSQL passwords for user 'postgres' to a
>>> known phrase, but after authenticating, the script fails with, 'FATAL:
>>>  password authentication failed for user "postgres"'.
>>>
>>> I am not experienced with Postgres, so hoping this is a simple one
>>> someone can point me in the right direction with.
>>>
>>> Thanks!
>>>
>>> Duncan
>>>
>>> --
>>> -- 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 
"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] networkx DiGraph error when running setup_db

2017-09-21 Thread Cyrus Hiatt
Hi All - 

If you have recently installed Arches v4.0 using pip, you might get the 
following error while running setup_db:

AttributeError: 'DiGraph' object has no attribute 'nodes_iter'


If that's the case, it is probably due to a recent change in the networkx 
library hosted on pypi. Fortunately, you can easily get around this issue 
by downgrading the networkx installation in your virtual environment. With 
your virtual environment activated, simply run: 

pip uninstall networkx
pip install networkx==1.11

This issue has been resolved in the soon to be released arches upgrade.

Thanks,

Cyrus

-- 
-- 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] Can't enter system setting in site admin after login

2017-09-15 Thread Cyrus Hiatt
Hi Yuval -

I was able to reproduce this problem by deleting my Elasticsearch indices
and freshly installing Arches. I found a work around by creating a new
resource model and saving a card to the model.

I'll create a ticket for this issue and try to resolve it soon.

Thanks,

Cyrus



On Fri, Sep 15, 2017 at 5:31 AM, Yuval Shafriri 
wrote:

> Hi
> After installing arches 4 i have logged in, but when clicking system
> setting to configure map, i get the login page again and cannot enter.
>   (After, when opening new localhost:8000 page i am still in, no need to
> login, but not for 'setting'  )
> Thanks.
>   (nice new look and feel :)
> Yuval
>
> --
> -- 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 v4 Windows Installation with pip

2017-04-26 Thread Cyrus Hiatt
Hi Susan -

I think the installation will proceed despite Error 1.

Regarding Error 2 - Did you install the dependencies using the OSGeo4W
installer? If so, is 'C:\OSGeo4W64\bin' added to your systems PATH
environment variable?

If your PATH is correct, perhaps the issue is with the Shapely installation
itself?  It looks like you need to install that prior to installing Arches
on Windows.  If you didn't catch it in the docs, there is a short section
on installing Shapely for Windows: https://github.com/
archesproject/arches/wiki/Installing-Dependencies-on-Windows

- Cyrus




On Wed, Apr 26, 2017 at 3:56 PM, Susan Penacho  wrote:

> Hi,
> After I ran into issues trying to install arches on my windows 10 machine
> with the repository, I switched to the pip installation using the online
> documentation (https://arches4.readthedocs.io/en/latest/installation/#
> installing-arches).
>
> Using the pip installation steps on the installation documentation I was
> able to do steps 1 to 3 and create the virtual environment. When I tried to
> install arches in step 4 I got back two errors:
>
> Error 1:
>
>   Requirement already up-to-date: six>=1.6.0 in 
> c:\projects\env\lib\site-packages
> (from setuptools)
>
>   Requirement already up-to-date: pyparsing in 
> c:\projects\env\lib\site-packages
> (from packaging>=16.8->setuptools)
>
>   Could not open requirements file: [Errno 2] No such file or directory:
> 'c:\\projects\\env\\Lib\\site-packages\\arches\\install\\requirements.txt'
>
>   error: [Errno 2] No such file or directory:
> 'c:\\projects\\env\\Lib\\site-packages\\arches\\install\\
> django_overrides\\admin.py'
>
>   
>
>   Failed building wheel for arches
>
>   Running setup.py clean for arches
>
> Failed to build arches
>
> Installing collected packages: arches
>
>   Running setup.py install for arches ... /
>
>
> Error2:
>
> Collecting tilestache (from -r c:\projects\env\Lib\site-
> packages\arches\install\requirements.txt (line 12))
>
>   Using cached TileStache-1.51.6-py2-none-any.whl
>
> Collecting shapely (from -r c:\projects\env\Lib\site-
> packages\arches\install\requirements.txt (line 13))
>
>   Downloading Shapely-1.5.17.tar.gz (180kB)
>
> Complete output from command python setup.py egg_info:
>
> Traceback (most recent call last):
>
>   File "", line 1, in 
>
>   File 
> "c:\projects\env\Lib\site-packages\arches\tmp\shapely\setup.py",
> line 38, in 
>
> from shapely._buildcfg import geos_version_string,
> geos_version, \
>
>   File "shapely\_buildcfg.py", line 200, in 
>
> lgeos = CDLL("geos.dll")
>
>   File "c:\python27\Lib\ctypes\__init__.py", line 362, in __init__
>
> self._handle = _dlopen(self._name, mode)
>
> WindowsError: [Error 126] The specified module could not be found
>
>
>
> 
>
> Command "python setup.py egg_info" failed with error code 1 in
> c:\projects\env\Lib\site-packages\arches\tmp\shapely\
>
> error: [Errno 2] No such file or directory:
> 'c:\\projects\\env\\Lib\\site-packages\\django\\contrib\\auth'
>
>
>
> 
>
> Command "c:\projects\env\scripts\python.exe -u -c "import setuptools,
> tokenize;__file__='c:\\users\\susanp~1\\appdata\\local\\
> temp\\pip-build-xmr2ko\\arches\\setup.py';f=getattr(tokenize, 'open',
> open)(__file__);code=f.read().replace('\r\n',
> '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record
> c:\users\susanp~1\appdata\local\temp\pip-dokxbf-record\install-record.txt
> --single-version-externally-managed --compile --install-headers
> c:\projects\env\include\site\python2.7\arches" failed with error code 1
> in c:\users\susanp~1\appdata\local\temp\pip-build-xmr2ko\arches\
>
> --
> -- 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 v4 Installation Windows 10

2017-04-07 Thread Cyrus Hiatt
Hi Susan -

Try running:

python manage.py packages -o setup_db

That should create your database if it's missing.

Cheers,

Cyrus


On Fri, Apr 7, 2017 at 3:41 PM, Susan Penacho  wrote:

> Hi,
> I am working on installing Arches v4 on Windows 10 using the same
> instructions under the Arches installation v4 for Windows 7 with Scott. We
> have run into two problems:
> 1. When running the script Adam provided, no ENV folder was appearing
> within the ArchesProjects directory. We worked around this by creating a
> virtual environment using the virtualenv ENV command and then ran the
> script again and that seemed to work with no obvious errors. However,
> 2. When trying to run the Django server I get the following error:
> django.db.utils.OperationalError: FATAL:  database "arches" does not exist
> Here's the full text:
>
> (ENV) C:\ArchesProjects\arches>python manage.py runserver
>
> Performing system checks...
>
>
>
> System check identified no issues (0 silenced).
>
> Unhandled exception in thread started by  0x03F3E6D8>
>
> Traceback (most recent call last):
>
>   File "C:\ArchesProjects\ENV\lib\site-packages\django\utils\autoreload.py",
> line 226, in wrapper
>
> fn(*args, **kwargs)
>
>   File "C:\ArchesProjects\ENV\lib\site-packages\django\core\
> management\commands\runserver.py", line 117, in inner_run
>
> self.check_migrations()
>
>   File "C:\ArchesProjects\ENV\lib\site-packages\django\core\
> management\commands\runserver.py", line 163, in check_migrations
>
> executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\migrations\executor.py",
> line 20, in __init__
>
> self.loader = MigrationLoader(self.connection)
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\migrations\loader.py",
> line 49, in __init__
>
> self.build_graph()
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\migrations\loader.py",
> line 176, in build_graph
>
> self.applied_migrations = recorder.applied_migrations()
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\migrations\recorder.py",
> line 65, in applied_migrations
>
> self.ensure_schema()
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\migrations\recorder.py",
> line 52, in ensure_schema
>
> if self.Migration._meta.db_table in self.connection.introspection.
> table_names(self.connection.cursor()):
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\backends\base\base.py",
> line 231, in cursor
>
> cursor = self.make_debug_cursor(self._cursor())
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\backends\base\base.py",
> line 204, in _cursor
>
> self.ensure_connection()
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\backends\base\base.py",
> line 199, in ensure_connection
>
> self.connect()
>
>   File "C:\ArchesProjects\ENV\lib\site-packages\django\db\utils.py", line
> 95, in __exit__
>
> six.reraise(dj_exc_type, dj_exc_value, traceback)
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\backends\base\base.py",
> line 199, in ensure_connection
>
> self.connect()
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\backends\base\base.py",
> line 171, in connect
>
> self.connection = self.get_new_connection(conn_params)
>
>   File 
> "C:\ArchesProjects\ENV\lib\site-packages\django\db\backends\postgresql\base.py",
> line 175, in get_new_connection
>
> connection = Database.connect(**conn_params)
>
>   File "C:\ArchesProjects\ENV\lib\site-packages\psycopg2\__init__.py",
> line 164, in connect
>
> conn = _connect(dsn, connection_factory=connection_factory,
> async=async)
>
> django.db.utils.OperationalError: FATAL:  database "arches" does not exist
>
>
> Can you take a look and see if there is an issue with the script or have
> you run into a similar problem on Arches v4 with Windows 10.
>
>
> Thank you,
>
> Susan ASOR CHI
>
> --
> -- 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.

Re: [Arches] Re: Installing Arches-HIP: Creating Database Error: ImportError: No module named resource

2015-08-23 Thread Cyrus Hiatt
Hi Asmaa -

Are you using the default user ('postgres') and password ('postgis') for
your postgres connection?  If so, does the name of your postgis template
database match what's in your Django database settings (probably
'template_postgis_20'?

Cheers,

Cyrus

On Sun, Aug 23, 2015 at 6:36 AM, 'Asmaa Ayman' via Arches Project 
archesproject@googlegroups.com wrote:

 Dear Adam,

 Yes, we are using a virtual Environment and it was active, my colleague
 followed the exact steps in the link you provided and still the error
 remained unchanged.


 Your advice is highly appreciated!

 



 On Wed, Aug 19, 2015 at 12:05 PM, Asmaa Ayman aay...@aucegypt.edu wrote:

 Dear Mai,

 Kindly check the reply of Arches' Support. Can you please re-install
 Arches again following the instructions sent

 Server: 10.2.2.33
 username: django
 pwd: AUC$123

 directory: /usr/share/sandboxes/egyarch

 you can download PuTTY from here: http://www.putty.org/


 Many thanks for your invaluable help and continuous support!

 Asmaa

 --
 Stay Focused. Stay Productive!

 On Mon, Aug 17, 2015 at 8:38 PM, Adam Cox mr.adam...@gmail.com wrote:

 HI Asmaa, are you using a virtual environment?  It looks like you are
 using the default python installation.  You should make a virtual
 environment, activate it, and then install arches-hip there.  Here's more
 information on that:
 https://arches-hip.readthedocs.org/en/latest/getting-started/#installating-arches-hip
 .

 Good luck!


 On Sunday, August 16, 2015 at 10:59:07 AM UTC-5, aay...@aucegypt.edu
 wrote:

 Dear All,

 I am trying to install Arches-HIP and I am getting an error at the last
 step before running arches: *(ENV)$ python manage.py packages -o
 install*

 I tried it on Centos 7 and on ubuntu, using the install dependencies
 script; yet both give me the same error.

 *Centos 7*
 VACUUM
 deleting index : concept_labels
 deleting index : term
 Traceback (most recent call last):
   File manage.py, line 28, in module
 execute_from_command_line(sys.argv)
   File
 /usr/lib/python2.7/site-packages/django/core/management/__init__.py, line
 399, in execute_from_command_line
 utility.execute()
   File
 /usr/lib/python2.7/site-packages/django/core/management/__init__.py, line
 392, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File
 /usr/lib/python2.7/site-packages/django/core/management/base.py, line
 242, in run_from_argv
 self.execute(*args, **options.__dict__)
   File
 /usr/lib/python2.7/site-packages/django/core/management/base.py, line
 285, in execute
 output = self.handle(*args, **options)
   File
 /usr/lib/python2.7/site-packages/arches/management/commands/packages.py,
 line 67, in handle
 self.install(package_name)
   File
 /usr/lib/python2.7/site-packages/arches/management/commands/packages.py,
 line 114, in install
 install()
   File /usr/share/sandboxes/Projects/my_hip_app/my_hip_app/setup.py,
 line 6, in install
 setup.install()
   File /usr/lib/python2.7/site-packages/arches_hip/setup.py, line 22,
 in install
 Resource().prepare_term_index(create=True)
   File
 /usr/lib/python2.7/site-packages/arches/app/models/resource.py, line 53,
 in __new__
 mod = __import__(modulename, globals(), locals(), [classname], -1)
 ImportError: No module named resource


 *Ubuntu *
 VACUUM
 deleting index : concept_labels
 deleting index : term
 Traceback (most recent call last):
   File manage.py, line 28, in module
 execute_from_command_line(sys.argv)
   File
 /usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py,
 line 338, in execute_from_command_line
 utility.execute()
   File
 /usr/local/lib/python2.7/dist-packages/django/core/management/__init__.py,
 line 330, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File
 /usr/local/lib/python2.7/dist-packages/django/core/management/base.py,
 line 393, in run_from_argv
 self.execute(*args, **cmd_options)
   File
 /usr/local/lib/python2.7/dist-packages/django/core/management/base.py,
 line 444, in execute
 output = self.handle(*args, **options)
   File
 /usr/local/lib/python2.7/dist-packages/arches/management/commands/packages.py,
 line 67, in handle
 self.install(package_name)
   File
 /usr/local/lib/python2.7/dist-packages/arches/management/commands/packages.py,
 line 114, in install
 install()
   File /usr/share/sandboxes/Projects/my_hip_app/my_hip_app/setup.py,
 line 6, in install
 setup.install()
   File /usr/local/lib/python2.7/dist-packages/arches_hip/setup.py,
 line 22, in install
 Resource().prepare_term_index(create=True)
   File
 /usr/local/lib/python2.7/dist-packages/arches/app/models/resource.py,
 line 53, in __new__
 mod = __import__(modulename, globals(), locals(), [classname], -1)
 ImportError: No module named resource
 (ENV)arches@mediathread:/usr/share/sandboxes/Projects/my_hip_app$


 and I couldn't find the database arches_my_hip_app

 Can you please help me out with that? I will be 

Re: [Arches] featured searches icons

2015-07-07 Thread Cyrus Hiatt
Hi David -

Those are font-awesome icons included in the font-awesome library that is
loaded into arches. You just need to change the 'fa fa-iconname' class
between the i elements in the html to the class that you want.

You can find an extensive list of possible icons on the font awesome docs:
http://fortawesome.github.io/Font-Awesome/icons/

Cheers,

Cyrus


On Tue, Jul 7, 2015 at 11:20 AM, David Lopes cim...@gmail.com wrote:

 Hi,
 Can someone please tell me where can I find altternative icons to the ones
 used in the example sites ( right below the featured searches in the index
 page).

 Meaning how do I customize those icons and where can I find the
 corresponding names and corresponding files linked.

 Thanks.

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


[Arches] Re: ImportError: Cannot import name DataSource

2015-06-29 Thread Cyrus Hiatt
Hi Mohamed - 

I don't see the error below your message.  Could you try posting it again? 

Thanks,

Cyrus

On Monday, June 29, 2015 at 2:05:13 PM UTC-7, Mohamed Zamdin wrote:

 Hi Everyone,

 I am installing Arches-HIP and I'm stuck at step 6, setting up 
 elasticseach.

 #6. Install ElasticSearch

 Navigate to the directory containing manage.py:

 (ENV)$ cd my_hip_app/
 (ENV)$ python manage.py packages -o setup_elasticsearch

 The below is the error that I am getting, any help would be grateful.

  


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

2015-06-25 Thread Cyrus Hiatt
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

2015-06-24 Thread Cyrus Hiatt
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] Missing file: resource_export_mappings.json

2015-06-09 Thread Cyrus Hiatt
Hi Hannes -

I think that the issue is that the EXPORT_CONFIG setting is not commented
out in hip (this will be corrected in the next release).  Because of this,
your application is not using the default EXPORT_CONFIG.  You should be
able to fix this by changing the EXPORT_CONFIG setting in your
application's settings.py file to an empty string like this:

EXPORT_CONFIG = ''

If you need to customize your export configs, there is an example in the
hip documentation.

Hope that helps,

Cyrus

On Tue, Jun 9, 2015 at 1:16 PM, H Pirker hpr...@gmail.com wrote:

 Dear all,

 when trying to save search results, the command fails with:

 http://127.0.0.2:8000/search/export?export=csv ...

 [Errno 2] No such file or directory:
 '/opt/arches3/Projects/ENV/local/lib/python2.7/site-packages/arches_hip/source_data/resource_export_mappings.json'

 Obviously no resource_export_mappings.json is provided in the pip
 packages.

 Is this a bug or a feature? (I kow that one is supposed to design his/her
 own export mappings, but wouldn't it  be nice to provide at least an
 example file?  )

 all the best

 Hannes

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


[Arches] Re: ElasticSearch installation

2015-05-20 Thread Cyrus Hiatt
Hi Azadeh - 

If you haven't already, you might try adding gdal to the settings.py file 
in your project like this:

GDAL_LIBRARY_PATH = “C:/OSGeo4W/bin/gdalxxx.dll” 

Make sure this path is correct and points to the actual dll (it could be 
different on your system), and be sure to use forward slashes.

Cheers,

Cyrus


On Wednesday, May 20, 2015 at 7:09:18 AM UTC-7, Azadeh Vafadari wrote:

 Hello all,

 First, a big congrats to the Arches team for the release of V.3! 

 I am trying to download the V.3 and have a problem with ElasticSearch 
 (step 6 in the installation guide) installation.

 Below is a copy of the error message I get (last line) after running this 
 command:  (ENV)$ python manage.py packages -o setup_elasticsearch

 (ENV) C:\Projects\my_hip_app 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 
 C:\Projects\ENV\lib\site-packages\django\core\management\__init__.py, l
 ine 399, in execute_from_command_line
 utility.execute()
   File 
 C:\Projects\ENV\lib\site-packages\django\core\management\__init__.py, l
 ine 392, in execute
 self.fetch_command(subcommand).run_from_argv(self.argv)
   File 
 C:\Projects\ENV\lib\site-packages\django\core\management\__init__.py, l
 ine 272, in fetch_command
 klass = load_command_class(app_name, subcommand)
   File 
 C:\Projects\ENV\lib\site-packages\django\core\management\__init__.py, l
 ine 75, in load_command_class
 module = import_module('%s.management.commands.%s' % (app_name, name))
   File C:\Projects\ENV\lib\site-packages\django\utils\importlib.py, line 
 40, i
 n import_module
 __import__(name)
   File 
 C:\Projects\ENV\lib\site-packages\arches\management\commands\packages.py
 , line 28, in module
 from arches.app.utils.data_management.resources.importer import 
 ResourceLoad
 er
   File 
 C:\Projects\ENV\lib\site-packages\arches\app\utils\data_management\resou
 rces\importer.py, line 20, in module
 from formats.shpfile import ShapeReader
   File 
 C:\Projects\ENV\lib\site-packages\arches\app\utils\data_management\resou
 rces\formats\shpfile.py, line 5, in module
 from django.contrib.gis.gdal import DataSource
 ImportError: cannot import name DataSource


 I appreciate any thoughts/solutions. Sorry that I'm back with questions on 
 the installation again! 

 Thanks,
 Azadeh



-- 
-- 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] Error during CDS package install

2014-10-31 Thread Cyrus Hiatt
Hi Jared - 

I ran through the build process and got an empty database and the same 
error that you were getting (Django.db.utils.ProgrammingError: more than 
one row returned by a subquery used as an expression).

I just pushed a fix the issue, so if you follow the steps Alexei outlined, 
your install should be okay.

Hope that helps,

Cyrus


On Friday, October 31, 2014 11:46:20 AM UTC-7, Alexei Peters wrote:

 Hi Jared,
 Thanks for letting us know what's going on.
 Just so you know, the proper steps to build arches are:
 First, though, my assumptions are:

1. you've already run Install_dependencies.bat
2. you've already added 'cds' to your INSTALLED_PACKAGES setting in 
settings.py
3. you've downloaded the 'cds' package and put it in the 
archesproject/packages folder 
4. you've set the LOAD_TEST_DATA = True in settings.py

 So, the steps to build are:

1. Install_arches_db.bat
2. Runserver.bat (should open 2 windows, 1 for django's development 
web server, and 1 for Elasticsearch)
3. Install_packages.bat

 That's it.  You should be able to go to localhost:8000/Arches and see the 
 website with data.

 We're going to run through the steps you mention above to see if we can 
 reproduce the error (and then fix). 
 We'll let you know what we find out.  We'll try and get back to you by 
 Monday (11/3)
 Cheers,
 Alexei



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

 On Fri, Oct 31, 2014 at 9:30 AM, Jared Koller jmko...@bu.edu 
 javascript: wrote:

 Hello,

 I have been working with Scott Branting, a contributor to the forum, to 
 create an Arches project on a remote server.  We have run into some 
 difficulties and would appreciate your help.  We have had no problem 
 installing and opening the database.  Zoom and navigation are working 
 fine.  However when we attempt to install the CDS package, we run into 
 issues.  The map comes up along with an initializing bar that runs on a 
 loop.  We are using the same data source data that both Scott and I have 
 been able to use on our local machines during a test run.  Here is the 
 workflow:

 Prior to installing the CDS Package:

 *After PostgreSQL, Java, Python, GEOS, Django, and elasticsearch download 
 and install.*

 *1. Elasticsearch.bat*  (C:\arches-web\arches-arches-
 0fa28331b4fc\archesproject\arches\Search\engines\elasticsearch-1.1.1\bin)


 *2. Install_dependencies.bat* (C:\arches-web\arches-arches-
 0fa28331b4fc\archesproject\install)

  

 *3. Runserver.bat* (C:\arches-web\arches-arches-0fa28331b4fc)

  

 *4. Install_arches_db.bat* (C:\arches-web\arches-arches-
 0fa28331b4fc\archesproject\build)

  

 *5. Build.bat* (C:\arches-web\arches-arches-0fa28331b4fc\archesproject\
 build)

  

 When I check the browser, everything is working fine with no data 
 showing.  So next we:

  

 1. Turn off the server

  

 *2. Install_arches_db.bat* (C:\arches-web\arches-arches-
 0fa28331b4fc\archesproject\build)

  

 *3. Runserver.bat* (C:\arches-web\arches-arches-0fa28331b4fc)

  

 *4. Build.bat* (C:\arches-web\arches-arches-0fa28331b4fc\
 archesproject\build)

  

 5. In *settings.py* (C:\arches-web\arches-arches-
 0fa28331b4fc\archesproject)

 Change:

 INSTALLED_PACKAGES = (

 # entries here should correspond to folders within the packages 
 directory

 'cds',

 #'fileupload',

 )

  

 6. In *settings.py* (C:\arches-web\arches-arches-
 0fa28331b4fc\archesproject\packages\cds)

 Change: 

 LOAD_TEST_DATA = False

  

 *7. Install_packages.bat* (C:\arches-web\arches-arches-
 0fa28331b4fc\archesproject\build)


 It is at this point that I receive an error:

 *Django.db.utils.ProgrammingError: more than one row returned by a 
 subquery used as an expression*

  

 From here, when I open up the browser , I just get the initializing loop.


 What does everyone think?

 Jared

 -- 
 -- To post, send email to arches...@googlegroups.com javascript:. To 
 unsubscribe, send email to archesprojec...@googlegroups.com javascript:. 
 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 javascript:.
 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] Re: Problem with loading Arches with own data

2014-10-30 Thread Cyrus Hiatt
Hi Eloise - 

Could you copy the console output from your build steps? It will probably 
be too long to post here, so feel free to save them to a file and email 
them to me (chi...@fargeo.com). 

Thanks,

Cyrus

On Thursday, October 30, 2014 8:19:39 AM UTC-7, Eloise Stancioff wrote:

 Hi Again,

 So in pgadmin- the following are completely empty: 
 'entities' and 'entity_types' under Schemas  data
 'concepts' and 'values' under Schemas  concepts 
 'mappings' under Schemas  ontology

 So, we checked using psql - we saw that the database arches was created.

  When we load the CDS package- the following line is run:

 *C:\Temp\arches-web\archesproject\buildinstall_packages.bat*

 *C:\Temp\arches-web\archesproject\buildcd 
 C:\Temp\arches-web\archesproject\build*
 *\..*

 *C:\Temp\arches-web\archesprojectcall 
 virtualenv/ENV/Scripts/activate.bat*
 *operation: install*
 *Press any key to continue . . .*

 Then when we open Arches- it is still completely blank.

 Thanks
 Eloise

 C:\Temp\arches-web\archesproject

 On Thursday, October 30, 2014 12:36:08 PM UTC+1, Eloise Stancioff wrote:

 Hi Cyrus,

 Thanks for getting back to me. All of the tables are empty, except 
 Concepts which has four rows filled. 

 Have a nice day
 Eloise

 On Wednesday, October 29, 2014 7:04:05 PM UTC+1, Cyrus Hiatt wrote:

 Hi Eloise - 

 I think the next step is to see if any data was actually loaded into 
 your database.  Could you open up your 'arches' database in PgAdmin and 
 inspect a few of the tables?  

 Take a look at the following tables:

 'entities' and 'entity_types' under Schemas  data.  
 'app_config' and 'maplayers' under Schemas  app_metadata.
 'concepts' and 'values' under Schemas  concepts 
 'mappings' under Schemas  ontology 

 Are any of those tables empty? 

 Thanks,

 Cyrus





 On Wednesday, October 29, 2014 3:33:12 AM UTC-7, Eloise Stancioff wrote:

 Thanks for the help Cyrus! I have tried loading the sample data again 
 but it still appears completely blank. Only the map and menu bar are 
 visible, but there is no way to add resources, or view other information. 
 Sincerely,
 Eloise

 On Tuesday, October 28, 2014 10:21:27 PM UTC+1, Cyrus Hiatt wrote:

 Hi Eloise -

 Adam asked me if I might be able to help you. To answer your question 
 about the map_config settings, you should probably be able to find them 
 in 
 the app.js file located here: 
 /archesproject/arches/Media/js/debug/config. Just update the LatLong 
 values in the center property of the MapConfig object.

 Regarding your data load, do you still have the unedited data? I think 
 a good place to start would be to try to test the data load without any 
 edits to the data.  If it's successful, then we can assume that the issue 
 is associated with the data modifications, otherwise we will have to look 
 at other things that might be wrong.

 Kind Regards,

 Cyrus



 On Tuesday, October 28, 2014 3:22:28 AM UTC-7, Eloise Stancioff wrote:

 Hi

 I hope this message finds you well. I think that I have followed the 
 procedure correctly to load Arches with my own data. I used the sample 
 data 
 set up that I was sent by Adam and then modified only the administrative 
 subdivision document and values. csv files. I ran the server and built 
 Arches with no error. But- when I go into Arches- it is as if there is 
 absolutely no data, no drop down menus. It is completely blank- just 
 gives 
 me the map and the menu bar.  Is there something that I have missed?

 Also- in a previous email, I was told to change the map_config 
 settings so that the  map layer would open to my specific region rather 
 than the  UK. Could you tell me where that file is? 


 The files that I edited are as follows:

 C:\Temp\archesproject\packages\cds\source_data\resource_info,csv

 C:\Temp\archesproject\packages\cds\source_data\concepts\authority_files\Administrative
  
 Subdivision Authority document.csv
 C:\Temp\archesproject\packages\cds\source_data\concepts\authority_files\Administrative
  
 Subdivision Authority values.csv


 Thanks in advance for any advice or help
 Eloise



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