[Arches] Re: Arches 4.4.2 released

2019-07-02 Thread Joel Aldor
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 
>
> 
>
> 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/5786eee6-cb14-49f7-9597-6c4de8e2968e%40googlegroups.com.


Re: [Arches] ImportError: No module named oauth2_provider

2019-07-02 Thread Martha S
Thanks, Adam,

I'll give that a shot once I can get back on the server. I had tried both 
deleting the old and renaming it, but didn't succeed with either.

Martha

On Tuesday, July 2, 2019 at 2:43:35 PM UTC-7, Adam Cox wrote:
>
> Hi Martha, as for that first chunk of errors, they are all related to 
> yarn/npm. However, I have a feeling that you can ignore them, I feel like 
> the unmet dependencies messages, for example, are things I've seen before 
> and it hasn't caused any problems.
>
> As for the real error, the oauth2_provider, it sounds like that python 
> package is not getting installed correctly. I just tested this locally and 
> I found that with a new virtual environment I was able to create and run 
> setup_db on a new project without any issue.
>
> Here were my steps:
> virtualenv env
> env\Scripts\activate
> (pip was already upgraded)
> pip install arches --no-binary :all:
> (this ran a little while and completed without errors)
> python env\Scripts\arches-project create newproject
> (here is where I got all of those renaming errors, and the ones that you 
> posted, but it seemed to complete fine)
> cd newproject
> python manage.py packages -o setup_db
> (this worked fine for me, though as you'll see in the deprecation message, 
> we've introduced a new command to replace this one, which is just python 
> manage.py setup_db)
>
> I also just tried out installing arches 4.4.1 in a virtual environment and 
> then running pip --upgrade arches on it. After doing so I was able to 
> make another new project and run setup_db without errors. So I would just 
> recommend creating a brand new virtual environment and starting from 
> scratch. If that doesn't work, it would be helpful if you reply with some 
> screenshots.
>
> Adam
>
> On Tue, Jul 2, 2019 at 4:00 PM Martha S > 
> wrote:
>
>> Having a bad day here. I am trying to do a complete re-install of arches, 
>> which is now trying to install 4.4.2. We had a 4.4.1 install prior to this.
>>
>> I have remembered to upgrade pip inside my environment, so that's not an 
>> issue.
>>
>> I am getting a lot of warnings with my arches-project create, though it 
>> appears to complete successfully. Most of the warnings are renames, but the 
>> following also appear:
>> warning package.json: No license field
>> warning arches: No license field
>> warning @mapbox/mapbox-gl-draw > @mapbox/geojsonhint > jsonlint-lines > 
>> nomnom@1.8.1: Package no longer supported. Contact sup...@npmjs.com 
>>  for more info.
>> [3/4] Linking dependencies...
>> warning " > @mapbox/mapbox-gl-draw@1.0.8" has incorrect peer dependency 
>> "mapbox-gl@>=0.27.0 <=0.45.0".
>> warning " > eonasdan-bootstrap-datetimepicker@4.17.47" has unmet peer 
>> dependency "moment-timezone@^0.4.0".
>>
>> I have ElasticSearch 5.3.3 running as a service, so I've skipped that 
>> part of the install, which could be part of the problem. Once inside my 
>> project, I try python manage.py packages -o setup_db and get:
>>
>> Traceback (most recent call last):
>>   File "manage.py", line 29, in 
>> execute_from_command_line(sys.argv)
>>   File 
>> "/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
>>  
>> line 364, in execute_from_command_line
>> utility.execute()
>>   File 
>> "/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
>>  
>> line 338, in execute
>> django.setup()
>>   File 
>> "/Projects/ENV/local/lib/python2.7/site-packages/django/__init__.py", line 
>> 27, in setup
>> apps.populate(settings.INSTALLED_APPS)
>>   File 
>> "/Projects/ENV/local/lib/python2.7/site-packages/django/apps/registry.py", 
>> line 85, in populate
>> app_config = AppConfig.create(entry)
>>   File 
>> "/Projects/ENV/local/lib/python2.7/site-packages/django/apps/config.py", 
>> line 94, in create
>> module = import_module(entry)
>>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in 
>> import_module
>> __import__(name)
>> ImportError: No module named oauth2_provider
>>
>> Is there some way around this or is there some sort of complete system 
>> cleanup I need to do before restarting?
>>
>> Thanks,
>> Martha
>>
>>
>> -- 
>> -- 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/6d0111e9-d859-46c3-8632-ffbb0d7585c1%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
-- To post, send email to 

Re: [Arches] ImportError: No module named oauth2_provider

2019-07-02 Thread Adam Cox
Hi Martha, as for that first chunk of errors, they are all related to
yarn/npm. However, I have a feeling that you can ignore them, I feel like
the unmet dependencies messages, for example, are things I've seen before
and it hasn't caused any problems.

As for the real error, the oauth2_provider, it sounds like that python
package is not getting installed correctly. I just tested this locally and
I found that with a new virtual environment I was able to create and run
setup_db on a new project without any issue.

Here were my steps:
virtualenv env
env\Scripts\activate
(pip was already upgraded)
pip install arches --no-binary :all:
(this ran a little while and completed without errors)
python env\Scripts\arches-project create newproject
(here is where I got all of those renaming errors, and the ones that you
posted, but it seemed to complete fine)
cd newproject
python manage.py packages -o setup_db
(this worked fine for me, though as you'll see in the deprecation message,
we've introduced a new command to replace this one, which is just python
manage.py setup_db)

I also just tried out installing arches 4.4.1 in a virtual environment and
then running pip --upgrade arches on it. After doing so I was able to make
another new project and run setup_db without errors. So I would just
recommend creating a brand new virtual environment and starting from
scratch. If that doesn't work, it would be helpful if you reply with some
screenshots.

Adam

On Tue, Jul 2, 2019 at 4:00 PM Martha S  wrote:

> Having a bad day here. I am trying to do a complete re-install of arches,
> which is now trying to install 4.4.2. We had a 4.4.1 install prior to this.
>
> I have remembered to upgrade pip inside my environment, so that's not an
> issue.
>
> I am getting a lot of warnings with my arches-project create, though it
> appears to complete successfully. Most of the warnings are renames, but the
> following also appear:
> warning package.json: No license field
> warning arches: No license field
> warning @mapbox/mapbox-gl-draw > @mapbox/geojsonhint > jsonlint-lines >
> nomnom@1.8.1: Package no longer supported. Contact supp...@npmjs.com for
> more info.
> [3/4] Linking dependencies...
> warning " > @mapbox/mapbox-gl-draw@1.0.8" has incorrect peer dependency
> "mapbox-gl@>=0.27.0 <=0.45.0".
> warning " > eonasdan-bootstrap-datetimepicker@4.17.47" has unmet peer
> dependency "moment-timezone@^0.4.0".
>
> I have ElasticSearch 5.3.3 running as a service, so I've skipped that part
> of the install, which could be part of the problem. Once inside my project,
> I try python manage.py packages -o setup_db and get:
>
> Traceback (most recent call last):
>   File "manage.py", line 29, in 
> execute_from_command_line(sys.argv)
>   File
> "/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
> line 364, in execute_from_command_line
> utility.execute()
>   File
> "/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
> line 338, in execute
> django.setup()
>   File
> "/Projects/ENV/local/lib/python2.7/site-packages/django/__init__.py", line
> 27, in setup
> apps.populate(settings.INSTALLED_APPS)
>   File
> "/Projects/ENV/local/lib/python2.7/site-packages/django/apps/registry.py",
> line 85, in populate
> app_config = AppConfig.create(entry)
>   File
> "/Projects/ENV/local/lib/python2.7/site-packages/django/apps/config.py",
> line 94, in create
> module = import_module(entry)
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
> __import__(name)
> ImportError: No module named oauth2_provider
>
> Is there some way around this or is there some sort of complete system
> cleanup I need to do before restarting?
>
> Thanks,
> Martha
>
>
> --
> -- 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/6d0111e9-d859-46c3-8632-ffbb0d7585c1%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 

[Arches] ImportError: No module named oauth2_provider

2019-07-02 Thread Martha S
Having a bad day here. I am trying to do a complete re-install of arches, 
which is now trying to install 4.4.2. We had a 4.4.1 install prior to this.

I have remembered to upgrade pip inside my environment, so that's not an 
issue.

I am getting a lot of warnings with my arches-project create, though it 
appears to complete successfully. Most of the warnings are renames, but the 
following also appear:
warning package.json: No license field
warning arches: No license field
warning @mapbox/mapbox-gl-draw > @mapbox/geojsonhint > jsonlint-lines > 
nomnom@1.8.1: Package no longer supported. Contact supp...@npmjs.com for 
more info.
[3/4] Linking dependencies...
warning " > @mapbox/mapbox-gl-draw@1.0.8" has incorrect peer dependency 
"mapbox-gl@>=0.27.0 <=0.45.0".
warning " > eonasdan-bootstrap-datetimepicker@4.17.47" has unmet peer 
dependency "moment-timezone@^0.4.0".

I have ElasticSearch 5.3.3 running as a service, so I've skipped that part 
of the install, which could be part of the problem. Once inside my project, 
I try python manage.py packages -o setup_db and get:

Traceback (most recent call last):
  File "manage.py", line 29, in 
execute_from_command_line(sys.argv)
  File 
"/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
 
line 364, in execute_from_command_line
utility.execute()
  File 
"/Projects/ENV/local/lib/python2.7/site-packages/django/core/management/__init__.py",
 
line 338, in execute
django.setup()
  File 
"/Projects/ENV/local/lib/python2.7/site-packages/django/__init__.py", line 
27, in setup
apps.populate(settings.INSTALLED_APPS)
  File 
"/Projects/ENV/local/lib/python2.7/site-packages/django/apps/registry.py", 
line 85, in populate
app_config = AppConfig.create(entry)
  File 
"/Projects/ENV/local/lib/python2.7/site-packages/django/apps/config.py", 
line 94, in create
module = import_module(entry)
  File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
__import__(name)
ImportError: No module named oauth2_provider

Is there some way around this or is there some sort of complete system 
cleanup I need to do before restarting?

Thanks,
Martha


-- 
-- 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/6d0111e9-d859-46c3-8632-ffbb0d7585c1%40googlegroups.com.


[Arches] Re: Signing in

2019-07-02 Thread Alina Myklebust
Welcome to the Arches Community Forum, Lindsey!  We are excited you joined 
the Arches Project team and look forward to working with you on new 
projects. 

Cheers,

Alina 

On Monday, June 24, 2019 at 3:04:26 PM UTC-7, Lindsey Gant wrote:
>
> Hello everyone!
>
> My name is Lindsey Gant and I am the newest member of the Arches Project 
> team at the GCI. As the Data Specialist for Arches, I plan to be actively 
> involved with the Open Source community and look forward to learning and 
> implementing Arches alongside those in the cultural heritage and 
> conservation science fields. I am especially excited to expand upon Arches 
> with the development of DISCO 
>  
> in the coming years. As a member of the GCI, I am happy to say I have a 
> beautiful scenic view outside my window at the Getty in Los Angeles, while 
> surrounded by many fascinating people devoted to the protection and 
> management of cultural resources.
>
> On Thursday, August 22, 2013 at 8:29:37 AM UTC-7, Edmund Lee wrote:
>>
>> Hello all, ... and welcome in particular to those who have joined the 
>> Arches Discussion Forum recently.
>>
>> This online group was initially set up for the project team, and has just 
>> recently been opened up as the public, so some of us haven't met before. 
>> How about we all share a bit of background, just like we would if we were 
>> meeting in the real world? If that sounds good to you, reply to this thread 
>> and share with the group some or all of the following:
>>
>>- what is your interest in Arches?
>>
>>
>>- where in the world are you working?
>>
>> and, just to make it a bit more fun,
>>
>>- what can you see out of the window? Is there any heritage in your 
>>view?
>>
>> I look forward to getting to know everyone a bit better!
>>
>>
>> Ed
>>
>

-- 
-- 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/b53c896a-ef17-4b4c-975c-35bbecfda4f0%40googlegroups.com.


[Arches] Re: Best way to load an ESRI Shapefile as a TileStash vector overlay

2019-07-02 Thread Brett Ferguson
Thanks Adam & Rob for the info -

I was hoping to just link the shapefile file itself, but it sounds like it 
is much better to load it into postgis database so I'll do that first, and 
give it a go. Understood that it's a large file so I'll do an extract first 
to get the process right and then go from there.

On Monday, July 1, 2019 at 11:08:46 AM UTC-7, Adam Cox wrote:
>
> Ok, I just reread your original post, and 1gb is a pretty large shapefile! 
> I strongly recocommend working through the entire workflow with a cut out 
> of maybe 50 features from that shapefile. It's very time-consuming to make 
> mistakes when processing such large files.
>
> On Monday, July 1, 2019 at 1:02:43 PM UTC-5, Adam Cox wrote:
>>
>> Hi Brett, if your ultimate goal is a "selectable layer" as we have 
>> documented here: 
>> https://arches.readthedocs.io/en/stable/creating-new-map-layers/#making-selectable-vector-layers,
>>  
>> I see that one of the recommended sources for that selectable layer is 
>> "...a tile server layer serving vector features from PostGIS". To do this, 
>> you would basically prepare your shapefile as described in those docs (add 
>> the geojson field, etc.) and then load it into postgres/postgis as it's own 
>> new table.
>>
>> There are a couple of ways to load a shapefile into postgres/postgis, so 
>> it will depend on what you are most comfortable with. For example, you can 
>> use QGIS to connection to your postgres database, and then load the 
>> shapefile in from there (QGIS makes this quite straightforward, I believe 
>> you need to use the DB manager panel). Alternatively, you could use the 
>> command line tool shp2pgsql which comes with postgis (you should already 
>> have it).
>>
>> Once you have loaded the shapefile into postgres/postgis, you can just 
>> follow along the "rivers" example in the arches4 geo examples repo to make 
>> a layer from your table.
>>
>> You'll be stringing together a few complex operations, so I'd recommend 
>> taking good notes along the way, and be ready to start back at the 
>> beginning if you get to a point where you realize something went wrong a 
>> few steps back.
>>
>> Looking forward to hearing how it goes!
>>
>> Adam
>>
>> On Wednesday, June 19, 2019 at 10:49:47 AM UTC-5, Brett Ferguson wrote:
>>>
>>> I'm struggling to make an ESRI Shapefile available as vector layer 
>>> (eventually selectable). I was hoping to make it available from the .shp 
>>> file itself on the server, but at this point I'd be happy to get it in any 
>>> way possible as a TileStash overlay. It is a fairly large file (1GB). I 
>>> feel like I've fallen into a documentation hole between Arches and 
>>> TileStash to get the configuration right.
>>>
>>> I've seen the arches4-geo-examples but the only tileserver shapefile 
>>> example I can see uses mapnik which we haven't installed (if that is the 
>>> recommended way we can). Does anyone have an example of this, or have a 
>>> suggestion w/ examples of a better way to do it (via geojson, etc)?
>>>
>>> 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.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/d21e789c-bcdf-4262-9260-39679d2525e0%40googlegroups.com.