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 <[email protected] <javascript:>> 
> 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 > 
>> [email protected]: Package no longer supported. Contact [email protected] 
>> <javascript:> for more info.
>> [3/4] Linking dependencies...
>> warning " > @mapbox/[email protected]" has incorrect peer dependency 
>> "mapbox-gl@>=0.27.0 <=0.45.0".
>> warning " > [email protected]" 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 <module>
>>     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 [email protected] <javascript:>. To 
>> unsubscribe, send email to [email protected] <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 [email protected] <javascript:>.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/archesproject/6d0111e9-d859-46c3-8632-ffbb0d7585c1%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/archesproject/6d0111e9-d859-46c3-8632-ffbb0d7585c1%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>>
>

-- 
-- To post, send email to [email protected]. To unsubscribe, send 
email to [email protected]. For more information, 
visit https://groups.google.com/d/forum/archesproject?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Arches Project" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/5249d718-75e3-404d-8340-a41f941552cb%40googlegroups.com.

Reply via email to