[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] Re: Confusion with initial setup of v4

2017-09-21 Thread Alexei Peters
Hi Darcy,
I agree with you when you say that your installation may be incorrect.
Those buttons you mention on the left doing nothing were removed before we
released v4 (although you're making me second guess myself now).
Did you pip install Arches or are you pulling from the repo?
Cheers,
Alexei


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

On Thu, Sep 21, 2017 at 6:30 AM, Vincent Meijer 
wrote:

> Hey Darcy,
>
> Using instance in the link you provided, I was able to go to System
> Settings and see the Mapbox API field: http://heritage.hku.hk/
> hongkong_v4/settings/#9cbea111-3cda-11e7-b374-c4b301baab9f
>
> What browser are you on? I am using Chrome without trouble (albeit your
> instance is a little slow).
>
>
> As for the bower_components 404 errors, could it be that your Arches
> custom app has an outdated bower.json ?
> Are the packages you see errors for present in your bower.json?
> See if this version differs from yours: https://github.com/
> archesproject/arches/blob/4.0.0/arches/install/arches-
> templates/project_name/bower.json
>
>
> Best,
> Vincent
>
>
> On Thursday, 21 September 2017 02:14:28 UTC-4, Darcy Christ wrote:
>>
>> Hi,
>>
>> I am still fumbling around trying to understand v4. After several
>> attempts to get it installed on both my dev machine (mac osx) and our
>> production (centos), I seem to have a working version. However, something
>> doesn't seem quite right. It may be a matter of me not understanding what I
>> am looking at.
>>
>> To begin with, I cannot for the life of me find Map Settings –> Mapbox
>> API, as stated in this documentation: https://arches4.readthedocs.io
>> /en/latest/initial-configuration/#map-settings
>>
>> I have logged on with admin/admin.
>>
>> So many of the icons on the left side do nothing, including 'Dashboard',
>> 'System Settings', 'Field Project Manager', 'Import/Export Manager' and
>> 'Profile Manager'. I suspect my installation is not good, but I am not sure
>> what is wrong or what to do about it.
>>
>> Here is an example of one version I have tried to configure:
>> http://heritage.hku.hk/hongkong_v4/
>>
>>
>> One last thing, which might point to an issue. Although I have installed
>> bower, when I access the search, I see this in the log:
>>
>> [21/Sep/2017 01:05:07] "GET /search HTTP/1.1" 200 143878
>> [21/Sep/2017 01:05:07] "GET /media/bower_components/nvd3/build/nv.d3.min.css
>> HTTP/1.1" 404 1848
>> [21/Sep/2017 01:05:07] "GET /media/bower_components/leaflet/dist/leaflet.css
>> HTTP/1.1" 404 1848
>> [21/Sep/2017 01:05:07] "GET 
>> /media/bower_components/leaflet-draw/dist/leaflet.draw.css
>> HTTP/1.1" 404 1878
>> [21/Sep/2017 01:05:08] "GET /media/bower_components/mapbox-gl-draw/index.js
>> HTTP/1.1" 404 1845
>>
>>
>> Any help is appreciated
>>
>>
>> Regards,
>> Darcy
>>
> --
> -- 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: Confusion with initial setup of v4

2017-09-21 Thread Vincent Meijer
Hey Darcy,

Using instance in the link you provided, I was able to go to System 
Settings and see the Mapbox API 
field: 
http://heritage.hku.hk/hongkong_v4/settings/#9cbea111-3cda-11e7-b374-c4b301baab9f
 

What browser are you on? I am using Chrome without trouble (albeit your 
instance is a little slow). 


As for the bower_components 404 errors, could it be that your Arches custom 
app has an outdated bower.json ? 
Are the packages you see errors for present in your bower.json? 
See if this version differs from 
yours: 
https://github.com/archesproject/arches/blob/4.0.0/arches/install/arches-templates/project_name/bower.json
 


Best,
Vincent


On Thursday, 21 September 2017 02:14:28 UTC-4, Darcy Christ wrote:
>
> Hi,
>
> I am still fumbling around trying to understand v4. After several attempts 
> to get it installed on both my dev machine (mac osx) and our production 
> (centos), I seem to have a working version. However, something doesn't seem 
> quite right. It may be a matter of me not understanding what I am looking 
> at.
>
> To begin with, I cannot for the life of me find Map Settings –> Mapbox 
> API, as stated in this documentation: 
> https://arches4.readthedocs.io/en/latest/initial-configuration/#map-settings
>
> I have logged on with admin/admin.
>
> So many of the icons on the left side do nothing, including 'Dashboard', 
> 'System Settings', 'Field Project Manager', 'Import/Export Manager' and 
> 'Profile Manager'. I suspect my installation is not good, but I am not sure 
> what is wrong or what to do about it.
>
> Here is an example of one version I have tried to configure: 
> http://heritage.hku.hk/hongkong_v4/
>
>
> One last thing, which might point to an issue. Although I have installed 
> bower, when I access the search, I see this in the log:
>
> [21/Sep/2017 01:05:07] "GET /search HTTP/1.1" 200 143878
> [21/Sep/2017 01:05:07] "GET 
> /media/bower_components/nvd3/build/nv.d3.min.css HTTP/1.1" 404 1848
> [21/Sep/2017 01:05:07] "GET 
> /media/bower_components/leaflet/dist/leaflet.css HTTP/1.1" 404 1848
> [21/Sep/2017 01:05:07] "GET 
> /media/bower_components/leaflet-draw/dist/leaflet.draw.css HTTP/1.1" 404 
> 1878
> [21/Sep/2017 01:05:08] "GET 
> /media/bower_components/mapbox-gl-draw/index.js HTTP/1.1" 404 1845
>
>
> Any help is appreciated
>
>
> Regards,
> Darcy
>

-- 
-- 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] Confusion with initial setup of v4

2017-09-21 Thread Darcy Christ
Hi,

I am still fumbling around trying to understand v4. After several attempts 
to get it installed on both my dev machine (mac osx) and our production 
(centos), I seem to have a working version. However, something doesn't seem 
quite right. It may be a matter of me not understanding what I am looking 
at.

To begin with, I cannot for the life of me find Map Settings –> Mapbox API, 
as stated in this documentation: 
https://arches4.readthedocs.io/en/latest/initial-configuration/#map-settings

I have logged on with admin/admin.

So many of the icons on the left side do nothing, including 'Dashboard', 
'System Settings', 'Field Project Manager', 'Import/Export Manager' and 
'Profile Manager'. I suspect my installation is not good, but I am not sure 
what is wrong or what to do about it.

Here is an example of one version I have tried to 
configure: http://heritage.hku.hk/hongkong_v4/


One last thing, which might point to an issue. Although I have installed 
bower, when I access the search, I see this in the log:

[21/Sep/2017 01:05:07] "GET /search HTTP/1.1" 200 143878
[21/Sep/2017 01:05:07] "GET 
/media/bower_components/nvd3/build/nv.d3.min.css HTTP/1.1" 404 1848
[21/Sep/2017 01:05:07] "GET 
/media/bower_components/leaflet/dist/leaflet.css HTTP/1.1" 404 1848
[21/Sep/2017 01:05:07] "GET 
/media/bower_components/leaflet-draw/dist/leaflet.draw.css HTTP/1.1" 404 
1878
[21/Sep/2017 01:05:08] "GET /media/bower_components/mapbox-gl-draw/index.js 
HTTP/1.1" 404 1845


Any help is appreciated


Regards,
Darcy

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