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 <[email protected]> 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/<arches-id> > > [Errno 13] Permission denied: 'thumb_<filename>.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 [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/dabd40d0-bd53-4863-8a0f-8ca6fb1a4501%40googlegroups.com > <https://groups.google.com/d/msgid/archesproject/dabd40d0-bd53-4863-8a0f-8ca6fb1a4501%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/CAHVjc3Xwt2VRQPqb_dmu%2BWfS2dn6jnaGSmKRp4a5P%3DH_-BTYMw%40mail.gmail.com.
