Re: [Arches] EnvironmentError: [Error 5] Access is Denied

2019-09-09 Thread Ryan Anderson
Hi Lindsey,

In researching this issue I came across this post from stackexchange: 
https://stackoverflow.com/questions/30604952/pip-default-behavior-conflicts-with-virtualenv
 


>From the log you posted it looks like you are activating your virtualenv so I 
>would maybe look at the answers further down. Particularly the pip.conf file. 
>Otherwise, it may be something to do with the modifications you made to your 
>system path to support pip. I would just make sure that those modifications 
>aren’t conflicting with your virtualenv.

Feel free to post any additional information you have on your 
deployment/configuration.


Regards,
Ryan



> On Sep 9, 2019, at 4:11 PM, Lindsey Gant  wrote:
> 
> Hi Alina- This issue is still open. Thanks!
> 
> On Monday, September 9, 2019 at 4:08:53 PM UTC-7, Alina Myklebust wrote:
> Hi Lindsey,
> 
>  
> Were you able to resolve the issue or are you still getting the same error? 
> 
>  
> Best,
> 
> Alina
> 
>  
>  
> From: > on behalf of Lindsey Gant 
> >
> Date: Thursday, September 5, 2019 at 9:51 AM
> To: Arches Project >
> Subject: [Arches] EnvironmentError: [Error 5] Access is Denied
> 
>  
> Hi all,
> 
>  
> I am getting stuck with the initial install of Arches (using the Arches 
> Development Environment 
> 
>  documentation). Please see attached images of my command line error:
> 
>  
> ERROR: Could not install packages due to an EnvironmentError: [Error 5] 
> Access is denied: 
> 'c:\\users\\lgant\\appdata\\local\\temp\\pip-unpack-do_4uq\\Django-1.11.15-py2.py3-none-any.whl'
> Consider using the `--user` option or check the permissions.
> 
>  
> I am using Python 2.7.13 (as recommended) and added the necessary variables 
> for pip to PATH (as I was previously having errors finding and using pip 
> install). I am installing in a virtual environment (ENV) in a Windows OS.
> 
>  
> Adam Cox recommended backslash instead of forward slash for the command 'pip 
> install -r arches\install\requirements.txt' but this resulted in the same 
> error.
> 
>  
> I also tried the following command: python -m pip install --user -r 
> arches\install\requirements.txt
> 
>  
> This resulted in the following error:
> 
>  
> ERROR: Can not perform a '--user' install. User site-packages are not visible 
> in this virtualenv.
> 
>  
> Any suggestions are welcome!
> 
>  
> Thanks,
> 
>  
> Lindsey
> 
>  
>  
> -- 
> -- 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/3fe142da-f750-4511-890c-8922074b40f5%40googlegroups.com
>  
> .
> 
>  
> CAUTION: This email originated from outside of the Getty. Do not click links 
> or open attachments unless you verify the sender and know the content is safe.
> 
> 
> 
> 
> 
> -- 
> -- 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/75296fd9-5874-4f70-a780-50f5bd04604b%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 view this discussion on the web visit 

Re: [Arches] EnvironmentError: [Error 5] Access is Denied

2019-09-09 Thread Lindsey Gant
Hi Alina- This issue is still open. Thanks!

On Monday, September 9, 2019 at 4:08:53 PM UTC-7, Alina Myklebust wrote:
>
> Hi Lindsey,
>
>  
>
> Were you able to resolve the issue or are you still getting the same 
> error?  
>
>  
>
> Best,
>
> Alina
>
>  
>
>  
>
> *From: *> on behalf of Lindsey 
> Gant >
> *Date: *Thursday, September 5, 2019 at 9:51 AM
> *To: *Arches Project >
> *Subject: *[Arches] EnvironmentError: [Error 5] Access is Denied
>
>  
>
> Hi all,
>
>  
>
> I am getting stuck with the initial install of Arches (using the Arches 
> Development 
> Environment 
> 
>  
> documentation). Please see attached images of my command line error:
>
>  
>
> ERROR: Could not install packages due to an EnvironmentError: [Error 5] 
> Access is denied: 
> 'c:\\users\\lgant\\appdata\\local\\temp\\pip-unpack-do_4uq\\Django-1.11.15-py2.py3-none-any.whl'
> Consider using the `--user` option or check the permissions.
>
>  
>
> I am using Python 2.7.13 (as recommended) and added the necessary 
> variables for pip to PATH (as I was previously having errors finding and 
> using pip install). I am installing in a virtual environment (ENV) in a 
> Windows OS.
>
>  
>
> Adam Cox recommended backslash instead of forward slash for the command 'pip 
> install -r arches\install\requirements.txt' but this resulted in the same 
> error.
>
>  
>
> I also tried the following command: python -m pip install --user -r 
> arches\install\requirements.txt
>
>  
>
> This resulted in the following error:
>
>  
>
> ERROR: Can not perform a '--user' install. User site-packages are not 
> visible in this virtualenv.
>
>  
>
> Any suggestions are welcome!
>
>  
>
> Thanks,
>
>  
>
> Lindsey
>
>  
>
>  
>
> -- 
> -- 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/3fe142da-f750-4511-890c-8922074b40f5%40googlegroups.com
>  
> 
> .
>
>  
>
> *CAUTION: This email originated from outside of the Getty. Do not click 
> links or open attachments unless you verify the sender and know the content 
> is safe.*
>
>
>
>

-- 
-- 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/75296fd9-5874-4f70-a780-50f5bd04604b%40googlegroups.com.


Re: [Arches] EnvironmentError: [Error 5] Access is Denied

2019-09-09 Thread Alina Myklebust
Hi Lindsey,

Were you able to resolve the issue or are you still getting the same error?

Best,
Alina


From:  on behalf of Lindsey Gant 

Date: Thursday, September 5, 2019 at 9:51 AM
To: Arches Project 
Subject: [Arches] EnvironmentError: [Error 5] Access is Denied

Hi all,

I am getting stuck with the initial install of Arches (using the Arches 
Development 
Environment
 documentation). Please see attached images of my command line error:

ERROR: Could not install packages due to an EnvironmentError: [Error 5] Access 
is denied: 
'c:\\users\\lgant\\appdata\\local\\temp\\pip-unpack-do_4uq\\Django-1.11.15-py2.py3-none-any.whl'
Consider using the `--user` option or check the permissions.

I am using Python 2.7.13 (as recommended) and added the necessary variables for 
pip to PATH (as I was previously having errors finding and using pip install). 
I am installing in a virtual environment (ENV) in a Windows OS.

Adam Cox recommended backslash instead of forward slash for the command 'pip 
install -r arches\install\requirements.txt' but this resulted in the same error.

I also tried the following command: python -m pip install --user -r 
arches\install\requirements.txt

This resulted in the following error:

ERROR: Can not perform a '--user' install. User site-packages are not visible 
in this virtualenv.

Any suggestions are welcome!

Thanks,

Lindsey


--
-- 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/3fe142da-f750-4511-890c-8922074b40f5%40googlegroups.com.

CAUTION: This email originated from outside of the Getty. Do not click links or 
open attachments unless you verify the sender and know the content is safe.


-- 
-- 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/D38ADAD9-DCCB-4737-96A7-0F8D6F5447CF%40getty.edu.


Re: [Arches] Errno 13 Permission Denied for AWS S3 media file resulting in unindexed resources (Arches 3)

2019-09-09 Thread Cyrus Hiatt
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 
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/
>
> [Errno 13] Permission denied: 'thumb_.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 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/dabd40d0-bd53-4863-8a0f-8ca6fb1a4501%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 view this discussion on the web visit 
https://groups.google.com/d/msgid/archesproject/CAHVjc3Xwt2VRQPqb_dmu%2BWfS2dn6jnaGSmKRp4a5P%3DH_-BTYMw%40mail.gmail.com.


[Arches] Re: Digital Spatial Documentation of Heritage - Arches Newbie

2019-09-09 Thread Vincent Meijer
Hi Sarah and welcome,

With regards to using 3D viewers in Arches, have a look at my 
implementation here:
https://github.com/globaldigitalheritage/arches-3d

Perhaps this is a bit too 'head-first' (take your time to familiarize 
yourself with Arches), but if you want to implement 3D HOP into Arches, you 
can copy/paste the following code into your own implementation:

*Javascript:*
https://github.com/globaldigitalheritage/arches-3d/tree/master/arches_3d/arches_3d/media/js/reports/three-d-hop

*Html templates:*
https://github.com/globaldigitalheritage/arches-3d/blob/master/arches_3d/arches_3d/templates/views/report-templates/three-d-hop.htm
https://github.com/globaldigitalheritage/arches-3d/tree/master/arches_3d/arches_3d/templates/views/components/three-d-hop

*Css:*
https://github.com/globaldigitalheritage/arches-3d/blob/master/arches_3d/arches_3d/media/css/three-d-hop.css

*Migration to register the 3D HOP report template:*
https://github.com/globaldigitalheritage/arches-3d/blob/master/arches_3d/arches_3d/migrations/002_three_d_hop_report_template.py


Look in the same folders for implementations of e.g. Sketchfab and Potree 
as well.

See it in action *here* 

.

Let me know if I can help with anything!

All best,
Vincent


On Thursday, 5 September 2019 15:53:42 UTC+2, Sarah Schäfer wrote:
>
> Hi all, 
>
> I'm in the process of educating myself as much as I can about Arches 
> before I begin implementation and am finding this forum so valuable - thank 
> you!
>
> I’ve recently joined a small digital cultural heritage organisation based 
> at a university in Cape Town, South Africa, and am working with them in my 
> capacity as digital curator. The team does digital spatial documentation of 
> cultural heritage sites, and has an incredible archive of documentation 
> from the past 15 years. As a team, we are really excited about the 
> possibilities of using Arches, especially because of the GIS functionality 
> and viewers like 3D HOP and Sketchfab. The datasets that we have are 
> heterogenous, and our metadata is not where it should be. 
>
> I’ll be overseeing the implementation, and although I have a good 
> knowledge of and experience in digital cultural heritage and some very 
> basic developing in my background, it is quite an intimidating task! I’d 
> love to know if there is a resource (or some kind of support group :-/) 
> available for Arches newbies like me?
>
> Thanks, 
> Sarah
>

-- 
-- 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/4d5190a4-1c1c-4632-a56f-be273481b266%40googlegroups.com.