Re: [Arches] Re: Internal server error (500) Non-valid UUID error

2020-08-19 Thread anais....@gmail.com
-3158cdd8671b'): , 
UUID('83074827-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074828-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074829-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307482a-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307482b-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307482c-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307482d-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('830747fc-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307482e-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307482f-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('830747ff-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074830-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074802-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074805-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074831-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074832-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074833-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074834-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074835-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074808-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074836-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074837-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307480b-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307480e-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074838-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074811-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074839-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307483a-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307483b-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307483c-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307483d-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307483e-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307483f-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074840-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074841-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074842-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074843-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074844-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074814-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074817-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307481a-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307481d-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074820-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074845-e225-11ea-b3d8-3158cdd8671b'): }

ontology_id

  e6e8db47-2ccf-11e6-927e-b8f6b115d7dd

root

  Node object (83074823-e225-11ea-b3d8-3158cdd8671b)

slug

  None

subtitle

  

temp_node_name

  New Node

template_id

  5000----0001

version

  

widgets

  {UUID('83074848-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074849-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307484a-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074846-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074847-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307484d-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307484b-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307484c-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307484e-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('8307484f-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074850-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074851-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074852-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074853-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074854-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074855-e225-11ea-b3d8-3158cdd8671b'): , 
UUID('83074856-e225-11ea-b3d8-3158cdd8671b'): }


Any insight will be greatly appreciated. Thanks in advance
A.
Le jeudi 13 août 2020 à 20:34:16 UTC-7, anais@gmail.com a écrit :

> Thanks Adam, yes it helps a lot. 
> Once the permissions changed, I tried the show migration command, I get an 
> error and all the list is checked:
>  ***
>
> (ENV) *ubuntu@ip-172-31-72-128*:*~/Projects/hpm*$ python3 manage.py 
> showmigrations
>
> 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'
>
> ***
>
> (ENV) *ubuntu@ip-172-31-72-128*:*~/Projects/hpm*$ python3 manage.py 
> migrate
>
> 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'
>
> *Operations to perform:*
>
> *  Apply all migrations: *admin, auth, contenttypes, 
> django_celery_results, guardian, models, oauth2_provider, sessions
>
> *Running migrations:*
>
>   No migrations to apply.
>
> *** 
>
> Any idea the arches settings local is not recognized? 
>
>
> Le jeudi 13 août 2020 à 19:51:46 UTC-7, mr.ad...@gmail.com a écrit :
>
>> Hi Anaïs, yes, the arches.log permissions are something that need to be 
>> handled.
>>
>> Briefly, that file needs 

[Arches] Re: Internal server error (500) Non-valid UUID error

2020-08-13 Thread anais....@gmail.com
Hi Angela, 
Thanks a lot for your answer, yes it is the same error.
When I run the python manage.py showmigrations command, I get the following 
error:

(ENV) *ubuntu@ip-172-31-72-128*:*~/Projects/hpm*$ python3 manage.py 
showmigrations

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'

Traceback (most recent call last):

  File "/usr/lib/python3.8/logging/config.py", line 563, in configure

handler = self.configure_handler(handlers[name])

  File "/usr/lib/python3.8/logging/config.py", line 744, in 
configure_handler

result = factory(**kwargs)

  File "/usr/lib/python3.8/logging/__init__.py", line 1143, in __init__

StreamHandler.__init__(self, self._open())

  File "/usr/lib/python3.8/logging/__init__.py", line 1172, in _open

return open(self.baseFilename, self.mode, encoding=self.encoding)

PermissionError: [Errno 13] Permission denied: 
'/home/ubuntu/Projects/hpm/hpm/arches.log'


The above exception was the direct cause of the following exception:


Traceback (most recent call last):

  File "manage.py", line 30, in 

execute_from_command_line(sys.argv)

  File 
"/home/ubuntu/Projects/ENV/lib/python3.8/site-packages/django/core/management/__init__.py",
 
line 381, in execute_from_command_line

utility.execute()

  File 
"/home/ubuntu/Projects/ENV/lib/python3.8/site-packages/django/core/management/__init__.py",
 
line 357, in execute

django.setup()

  File 
"/home/ubuntu/Projects/ENV/lib/python3.8/site-packages/django/__init__.py", 
line 19, in setup

configure_logging(settings.LOGGING_CONFIG, settings.LOGGING)

  File 
"/home/ubuntu/Projects/ENV/lib/python3.8/site-packages/django/utils/log.py", 
line 76, in configure_logging

logging_config_func(logging_settings)

  File "/usr/lib/python3.8/logging/config.py", line 808, in dictConfig

dictConfigClass(config).configure()

  File "/usr/lib/python3.8/logging/config.py", line 570, in configure

raise ValueError('Unable to configure handler '

ValueError: Unable to configure handler 'file'



And when I check the permissions of the arches.log file it is:

 -rwxr-xr-x 1 root root  22322 Aug 11 14:29 *arches.log*

In the arches.log there is no recent log as to be expected. How should I 
change the permissions for this file?


Thanks again for any answer,

best

A.
Le mardi 11 août 2020 à 12:10:04 UTC-7, ala...@gmail.com a écrit :

> Hi Anais,
>
> Dale reported a similar error in version 4: 
> https://groups.google.com/d/msg/archesproject/gYnmrToi8eE/PUJ-6ys-AQAJ
>
> I'm not sure if the same troubleshooting would apply for v5, but do you 
> have pending migrations to run as Cyrus suggested in that thread? 
>
> 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/b182dfff-77b7-47fa-98ae-3e072e32d091n%40googlegroups.com.