[Arches] Pre-populating text widget with username

2020-01-15 Thread Angela Labrador
Hi everyone,

I have a node, let's call it  (datatype string), which uses the 
default text widget. When users are completing the relevant form, I would 
like to autofill  with the {{user.username}} value (but to still 
allow users to change the value). 

I've been trying to avoid writing a new widget to handle this scenario and 
instead use the existing text widget viewmodel and template. I'm 
successfully able to target the correct node by using knockout if/ifnot 
bindings
e.g.:


...






However, each attempt I make at the custom input fails (using either value 
or textInput data-binds). It's seemingly easy to make the correct username 
appear in the form field when the card loads (by setting params.value to 
{{user.username}}) but every time I click Add on the form, the tile save 
function fails validation (500 error), so I'm not actually passing the 
value correctly or it's getting set/unset at the wrong times or in the 
wrong order. As a sanity check I've also tried a simple 
data-bind="textInput: userName..." in the template and then this.userName = 
ko.observable('abc'); in the textwidget viewmodel, but while abc appears in 
the field, I get the same 500 error upon submit. Even when I manually 
delete the field and type something new, the form fails. I should note that 
the card has multiple text widgets on it.

I'm fairly new to knockout, so I could be attacking this all wrong or 
missing something fundamental. Any ideas for how this could be done? 
(Trying to avoid editing the resource model...but maybe that can't be 
avoided).

Thanks!
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/3d81849c-4ae3-494c-8b85-9235b6f9ea5d%40googlegroups.com.


Re: [Arches] Arches installation

2020-01-15 Thread Rob Gaston
Hi Elishai,

Sorry, I got mixed up with another thread.  I’m assuming the issue is not with 
“python" on your path, but with “pip”.

If “python” in fact points to your python3 binary, then you can install using 
the python binary directly (instead of “pip”) by running:

python -m pip install arches

I know in some cases, python 3 is given it’s own alias “python3”, which might 
also be worth a try...

- Rob


> On Jan 15, 2020, at 12:14 PM, Elishai Cohen  wrote:
> 
> Hi Rob,
> 
> I'm using a hosted cloud server (with ubuntu 18.04)
> 
> 
>   SelectionPathPriority   Status
> 
>   0/usr/bin/python3.7   2 auto mode
>   1/usr/bin/python3.6   1 manual mode
> * 2/usr/bin/python3.7   2 manual mode
> 
> 
> Best regards,
> Elishai Cohen
> 
> 
> On Wed, 15 Jan 2020 at 22:02, Rob Gaston  > wrote:
> Hi Elishai,
> 
> I’m no Windows expert, but it sounds like “pip” on your path still points to 
> your old python 2.7 install. I’m unsure what "change python priority as 
> expected” means, but Arches will simply use whichever binary you specify (ie 
> whichever binary you use to run the command).
> 
> I’m not sure how to fix your path on Windows (perhaps a Windows user can 
> chime in here), but (if you know where python 3 is installed) you could also 
> just use your python 3 binary directly instead of modifying your path.
> 
> - Rob
> 
> 
>> On Jan 15, 2020, at 11:53 AM, Elishai Cohen > > wrote:
>> 
>> Hi Rob,
>> 
>> Thanks for your answer.
>> I installed a new version of python and change python priority as expected.
>> 
>> I'm not sure why but Arches installation still uses Python 2.7 version.
>> 
>> 
>> Best,
>> Elishai
>> 
>> 
>> On Wed, 15 Jan 2020 at 20:20, Rob Gaston > > wrote:
>> Hi Elishai,
>> 
>> It appears from the output that you posted that you are trying to install 
>> Arches 5 on Python 2.7.
>> 
>> Arches 5 requires Python 3.7 as per here: 
>> https://arches.readthedocs.io/en/stable/requirements-and-dependencies/#software-dependencies
>>  
>> 
>> 
>> I hope that helps!
>> - Rob
>> 
>>> On Jan 15, 2020, at 6:41 AM, Elishai Cohen >> > wrote:
>>> 
>>> Hi all,
>>> 
>>> My name is Elishai Cohen, I just joined the Israel Antiquities Authority 
>>> team.
>>> 
>>> I'm using a cloud virtual machine, operation system - ubuntu 18.04 and I'm 
>>> trying to download Arches.
>>> 
>>> I used the sh file for software dependencies.
>>> while I'm trying to install Arches I'm getting the next error message:
>>> 
>>> "
>>> Collecting arches
>>>   Using cached 
>>> https://files.pythonhosted.org/packages/35/fc/38c4427db6f4ffea5aeb33f4595f627af5129b724b51c48f6bd349269cab/arches-5.0.tar.gz
>>>  
>>> 
>>>   Installing build dependencies ... done
>>>   Getting requirements to build wheel ... error
>>>   ERROR: Command errored out with exit status 1:
>>>command: /tmp/Projects/ENV/bin/python 
>>> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
>>>  get_requires_for_build_wheel /tmp/tmpenPZ7I
>>>cwd: /tmp/pip-install-g7Ovpw/arches
>>>   Complete output (22 lines):
>>>   Traceback (most recent call last):
>>> File 
>>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>>>  line 257, in 
>>>   main()
>>> File 
>>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>>>  line 240, in main
>>>   json_out['return_val'] = hook(**hook_input['kwargs'])
>>> File 
>>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>>>  line 91, in get_requires_for_build_wheel
>>>   return hook(config_settings)
>>> File 
>>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>>>  line 146, in get_requires_for_build_wheel
>>>   return self._get_build_requires(config_settings, 
>>> requirements=['wheel'])
>>> File 
>>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>>>  line 127, in _get_build_requires
>>>   self.run_setup()
>>> File 
>>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>>>  line 237, in run_setup
>>>   self).run_setup(setup_script=setup_script)
>>> File 
>>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>>>  line 142, in run_setup
>>>   exec(compile(code, __file__, 'exec'), locals())
>>> File "setup.py", line 18, in 
>>>   version = __import__("arches").__version__
>>> File "/tmp/pip-install-g7Ovpw/arches/arches/__init__.py"

Re: [Arches] Arches installation

2020-01-15 Thread Elishai Cohen
Hi Rob,

I'm using a hosted cloud server (with ubuntu 18.04)


  SelectionPathPriority   Status

  0/usr/bin/python3.7   2 auto mode
  1/usr/bin/python3.6   1 manual mode

** 2/usr/bin/python3.7   2 manual mode*


Best regards,
Elishai Cohen


On Wed, 15 Jan 2020 at 22:02, Rob Gaston  wrote:

> Hi Elishai,
>
> I’m no Windows expert, but it sounds like “pip” on your path still points
> to your old python 2.7 install. I’m unsure what "change python priority as
> expected” means, but Arches will simply use whichever binary you specify
> (ie whichever binary you use to run the command).
>
> I’m not sure how to fix your path on Windows (perhaps a Windows user can
> chime in here), but (if you know where python 3 is installed) you could
> also just use your python 3 binary directly instead of modifying your path.
>
> - Rob
>
>
> On Jan 15, 2020, at 11:53 AM, Elishai Cohen 
> wrote:
>
> Hi Rob,
>
> Thanks for your answer.
> I installed a new version of python and change python priority as expected.
>
> I'm not sure why but Arches installation still uses Python 2.7 version.
>
>
> Best,
> Elishai
>
>
> On Wed, 15 Jan 2020 at 20:20, Rob Gaston  wrote:
>
>> Hi Elishai,
>>
>> It appears from the output that you posted that you are trying to install
>> Arches 5 on Python 2.7.
>>
>> Arches 5 requires Python 3.7 as per here:
>> https://arches.readthedocs.io/en/stable/requirements-and-dependencies/#software-dependencies
>>
>> I hope that helps!
>> - Rob
>>
>> On Jan 15, 2020, at 6:41 AM, Elishai Cohen 
>> wrote:
>>
>> Hi all,
>>
>> My name is Elishai Cohen, I just joined the Israel Antiquities Authority
>> team.
>>
>> I'm using a cloud virtual machine, operation system - ubuntu 18.04 and
>> I'm trying to download Arches.
>>
>> I used the sh file for software dependencies.
>> while I'm trying to install Arches I'm getting the next error message:
>>
>> "
>> *Collecting arches*
>> *  Using cached
>> https://files.pythonhosted.org/packages/35/fc/38c4427db6f4ffea5aeb33f4595f627af5129b724b51c48f6bd349269cab/arches-5.0.tar.gz
>> *
>> *  Installing build dependencies ... done*
>> *  Getting requirements to build wheel ... error*
>> *  ERROR: Command errored out with exit status 1:*
>> *   command: /tmp/Projects/ENV/bin/python
>> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
>> get_requires_for_build_wheel /tmp/tmpenPZ7I*
>> *   cwd: /tmp/pip-install-g7Ovpw/arches*
>> *  Complete output (22 lines):*
>> *  Traceback (most recent call last):*
>> *File
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>> line 257, in *
>> *  main()*
>> *File
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>> line 240, in main*
>> *  json_out['return_val'] = hook(**hook_input['kwargs'])*
>> *File
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>> line 91, in get_requires_for_build_wheel*
>> *  return hook(config_settings)*
>> *File
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>> line 146, in get_requires_for_build_wheel*
>> *  return self._get_build_requires(config_settings,
>> requirements=['wheel'])*
>> *File
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>> line 127, in _get_build_requires*
>> *  self.run_setup()*
>> *File
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>> line 237, in run_setup*
>> *  self).run_setup(setup_script=setup_script)*
>> *File
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>> line 142, in run_setup*
>> *  exec(compile(code, __file__, 'exec'), locals())*
>> *File "setup.py", line 18, in *
>> *  version = __import__("arches").__version__*
>> *File "/tmp/pip-install-g7Ovpw/arches/arches/__init__.py", line 2, in
>> *
>> *  from arches.setup import get_version*
>> *File "/tmp/pip-install-g7Ovpw/arches/arches/setup.py", line 5, in
>> *
>> *  import urllib.request, urllib.error, urllib.parse*
>> *  ImportError: No module named request*
>> *  *
>> *ERROR: Command errored out with exit status 1:
>> /tmp/Projects/ENV/bin/python
>> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
>> get_requires_for_build_wheel /tmp/tmpenPZ7I Check the logs for full command
>> output*."
>>
>> I installed requet/requets module.
>>
>> I appreciate it if you could advise me.
>>
>> Best regards,
>> Elishai Cohen
>>
>> --
>> -- To post, send email to archesproject@googlegroups.com. To
>> unsubscribe, send email to archesproje

Re: [Arches] Arches installation

2020-01-15 Thread Rob Gaston
Hi Elishai,

I’m no Windows expert, but it sounds like “pip” on your path still points to 
your old python 2.7 install. I’m unsure what "change python priority as 
expected” means, but Arches will simply use whichever binary you specify (ie 
whichever binary you use to run the command).

I’m not sure how to fix your path on Windows (perhaps a Windows user can chime 
in here), but (if you know where python 3 is installed) you could also just use 
your python 3 binary directly instead of modifying your path.

- Rob


> On Jan 15, 2020, at 11:53 AM, Elishai Cohen  wrote:
> 
> Hi Rob,
> 
> Thanks for your answer.
> I installed a new version of python and change python priority as expected.
> 
> I'm not sure why but Arches installation still uses Python 2.7 version.
> 
> 
> Best,
> Elishai
> 
> 
> On Wed, 15 Jan 2020 at 20:20, Rob Gaston  > wrote:
> Hi Elishai,
> 
> It appears from the output that you posted that you are trying to install 
> Arches 5 on Python 2.7.
> 
> Arches 5 requires Python 3.7 as per here: 
> https://arches.readthedocs.io/en/stable/requirements-and-dependencies/#software-dependencies
>  
> 
> 
> I hope that helps!
> - Rob
> 
>> On Jan 15, 2020, at 6:41 AM, Elishai Cohen > > wrote:
>> 
>> Hi all,
>> 
>> My name is Elishai Cohen, I just joined the Israel Antiquities Authority 
>> team.
>> 
>> I'm using a cloud virtual machine, operation system - ubuntu 18.04 and I'm 
>> trying to download Arches.
>> 
>> I used the sh file for software dependencies.
>> while I'm trying to install Arches I'm getting the next error message:
>> 
>> "
>> Collecting arches
>>   Using cached 
>> https://files.pythonhosted.org/packages/35/fc/38c4427db6f4ffea5aeb33f4595f627af5129b724b51c48f6bd349269cab/arches-5.0.tar.gz
>>  
>> 
>>   Installing build dependencies ... done
>>   Getting requirements to build wheel ... error
>>   ERROR: Command errored out with exit status 1:
>>command: /tmp/Projects/ENV/bin/python 
>> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
>>  get_requires_for_build_wheel /tmp/tmpenPZ7I
>>cwd: /tmp/pip-install-g7Ovpw/arches
>>   Complete output (22 lines):
>>   Traceback (most recent call last):
>> File 
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>>  line 257, in 
>>   main()
>> File 
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>>  line 240, in main
>>   json_out['return_val'] = hook(**hook_input['kwargs'])
>> File 
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>>  line 91, in get_requires_for_build_wheel
>>   return hook(config_settings)
>> File 
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>>  line 146, in get_requires_for_build_wheel
>>   return self._get_build_requires(config_settings, 
>> requirements=['wheel'])
>> File 
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>>  line 127, in _get_build_requires
>>   self.run_setup()
>> File 
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>>  line 237, in run_setup
>>   self).run_setup(setup_script=setup_script)
>> File 
>> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>>  line 142, in run_setup
>>   exec(compile(code, __file__, 'exec'), locals())
>> File "setup.py", line 18, in 
>>   version = __import__("arches").__version__
>> File "/tmp/pip-install-g7Ovpw/arches/arches/__init__.py", line 2, in 
>> 
>>   from arches.setup import get_version
>> File "/tmp/pip-install-g7Ovpw/arches/arches/setup.py", line 5, in 
>> 
>>   import urllib.request, urllib.error, urllib.parse
>>   ImportError: No module named request
>>   
>> ERROR: Command errored out with exit status 1: /tmp/Projects/ENV/bin/python 
>> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
>>  get_requires_for_build_wheel /tmp/tmpenPZ7I Check the logs for full command 
>> output."
>> 
>> I installed requet/requets module.
>> 
>> I appreciate it if you could advise me.
>> 
>> Best regards,
>> Elishai Cohen
>> 
>> -- 
>> -- 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 bec

Re: [Arches] Arches installation

2020-01-15 Thread Elishai Cohen
Hi Rob,

Thanks for your answer.
I installed a new version of python and change python priority as expected.

I'm not sure why but Arches installation still uses Python 2.7 version.


Best,
Elishai


On Wed, 15 Jan 2020 at 20:20, Rob Gaston  wrote:

> Hi Elishai,
>
> It appears from the output that you posted that you are trying to install
> Arches 5 on Python 2.7.
>
> Arches 5 requires Python 3.7 as per here:
> https://arches.readthedocs.io/en/stable/requirements-and-dependencies/#software-dependencies
>
> I hope that helps!
> - Rob
>
> On Jan 15, 2020, at 6:41 AM, Elishai Cohen  wrote:
>
> Hi all,
>
> My name is Elishai Cohen, I just joined the Israel Antiquities Authority
> team.
>
> I'm using a cloud virtual machine, operation system - ubuntu 18.04 and I'm
> trying to download Arches.
>
> I used the sh file for software dependencies.
> while I'm trying to install Arches I'm getting the next error message:
>
> "
> *Collecting arches*
> *  Using cached
> https://files.pythonhosted.org/packages/35/fc/38c4427db6f4ffea5aeb33f4595f627af5129b724b51c48f6bd349269cab/arches-5.0.tar.gz
> *
> *  Installing build dependencies ... done*
> *  Getting requirements to build wheel ... error*
> *  ERROR: Command errored out with exit status 1:*
> *   command: /tmp/Projects/ENV/bin/python
> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
> get_requires_for_build_wheel /tmp/tmpenPZ7I*
> *   cwd: /tmp/pip-install-g7Ovpw/arches*
> *  Complete output (22 lines):*
> *  Traceback (most recent call last):*
> *File
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
> line 257, in *
> *  main()*
> *File
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
> line 240, in main*
> *  json_out['return_val'] = hook(**hook_input['kwargs'])*
> *File
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
> line 91, in get_requires_for_build_wheel*
> *  return hook(config_settings)*
> *File
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
> line 146, in get_requires_for_build_wheel*
> *  return self._get_build_requires(config_settings,
> requirements=['wheel'])*
> *File
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
> line 127, in _get_build_requires*
> *  self.run_setup()*
> *File
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
> line 237, in run_setup*
> *  self).run_setup(setup_script=setup_script)*
> *File
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
> line 142, in run_setup*
> *  exec(compile(code, __file__, 'exec'), locals())*
> *File "setup.py", line 18, in *
> *  version = __import__("arches").__version__*
> *File "/tmp/pip-install-g7Ovpw/arches/arches/__init__.py", line 2, in
> *
> *  from arches.setup import get_version*
> *File "/tmp/pip-install-g7Ovpw/arches/arches/setup.py", line 5, in
> *
> *  import urllib.request, urllib.error, urllib.parse*
> *  ImportError: No module named request*
> *  *
> *ERROR: Command errored out with exit status 1:
> /tmp/Projects/ENV/bin/python
> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
> get_requires_for_build_wheel /tmp/tmpenPZ7I Check the logs for full command
> output*."
>
> I installed requet/requets module.
>
> I appreciate it if you could advise me.
>
> Best regards,
> Elishai Cohen
>
> --
> -- 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/bf7193ac-6088-498c-8b33-3aac880c397d%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 vi

Re: [Arches] Arches installation

2020-01-15 Thread Rob Gaston
Hi Elishai,

It appears from the output that you posted that you are trying to install 
Arches 5 on Python 2.7.

Arches 5 requires Python 3.7 as per here: 
https://arches.readthedocs.io/en/stable/requirements-and-dependencies/#software-dependencies
 


I hope that helps!
- Rob

> On Jan 15, 2020, at 6:41 AM, Elishai Cohen  wrote:
> 
> Hi all,
> 
> My name is Elishai Cohen, I just joined the Israel Antiquities Authority team.
> 
> I'm using a cloud virtual machine, operation system - ubuntu 18.04 and I'm 
> trying to download Arches.
> 
> I used the sh file for software dependencies.
> while I'm trying to install Arches I'm getting the next error message:
> 
> "
> Collecting arches
>   Using cached 
> https://files.pythonhosted.org/packages/35/fc/38c4427db6f4ffea5aeb33f4595f627af5129b724b51c48f6bd349269cab/arches-5.0.tar.gz
>   Installing build dependencies ... done
>   Getting requirements to build wheel ... error
>   ERROR: Command errored out with exit status 1:
>command: /tmp/Projects/ENV/bin/python 
> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
>  get_requires_for_build_wheel /tmp/tmpenPZ7I
>cwd: /tmp/pip-install-g7Ovpw/arches
>   Complete output (22 lines):
>   Traceback (most recent call last):
> File 
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>  line 257, in 
>   main()
> File 
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>  line 240, in main
>   json_out['return_val'] = hook(**hook_input['kwargs'])
> File 
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
>  line 91, in get_requires_for_build_wheel
>   return hook(config_settings)
> File 
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>  line 146, in get_requires_for_build_wheel
>   return self._get_build_requires(config_settings, requirements=['wheel'])
> File 
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>  line 127, in _get_build_requires
>   self.run_setup()
> File 
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>  line 237, in run_setup
>   self).run_setup(setup_script=setup_script)
> File 
> "/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py",
>  line 142, in run_setup
>   exec(compile(code, __file__, 'exec'), locals())
> File "setup.py", line 18, in 
>   version = __import__("arches").__version__
> File "/tmp/pip-install-g7Ovpw/arches/arches/__init__.py", line 2, in 
> 
>   from arches.setup import get_version
> File "/tmp/pip-install-g7Ovpw/arches/arches/setup.py", line 5, in 
>   import urllib.request, urllib.error, urllib.parse
>   ImportError: No module named request
>   
> ERROR: Command errored out with exit status 1: /tmp/Projects/ENV/bin/python 
> /tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
>  get_requires_for_build_wheel /tmp/tmpenPZ7I Check the logs for full command 
> output."
> 
> I installed requet/requets module.
> 
> I appreciate it if you could advise me.
> 
> Best regards,
> Elishai Cohen
> 
> -- 
> -- 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/bf7193ac-6088-498c-8b33-3aac880c397d%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/8FF105F6-F99E-42C5-82D0-2C4427203DA3%40fargeo.com.


[Arches] Arches installation

2020-01-15 Thread Elishai Cohen
Hi all,

My name is Elishai Cohen, I just joined the Israel Antiquities Authority 
team.

I'm using a cloud virtual machine, operation system - ubuntu 18.04 and I'm 
trying to download Arches.

I used the sh file for software dependencies.
while I'm trying to install Arches I'm getting the next error message:

"
*Collecting arches*
*  Using cached 
https://files.pythonhosted.org/packages/35/fc/38c4427db6f4ffea5aeb33f4595f627af5129b724b51c48f6bd349269cab/arches-5.0.tar.gz*
*  Installing build dependencies ... done*
*  Getting requirements to build wheel ... error*
*  ERROR: Command errored out with exit status 1:*
*   command: /tmp/Projects/ENV/bin/python 
/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
 
get_requires_for_build_wheel /tmp/tmpenPZ7I*
*   cwd: /tmp/pip-install-g7Ovpw/arches*
*  Complete output (22 lines):*
*  Traceback (most recent call last):*
*File 
"/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
 
line 257, in *
*  main()*
*File 
"/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
 
line 240, in main*
*  json_out['return_val'] = hook(**hook_input['kwargs'])*
*File 
"/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py",
 
line 91, in get_requires_for_build_wheel*
*  return hook(config_settings)*
*File 
"/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py", 
line 146, in get_requires_for_build_wheel*
*  return self._get_build_requires(config_settings, 
requirements=['wheel'])*
*File 
"/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py", 
line 127, in _get_build_requires*
*  self.run_setup()*
*File 
"/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py", 
line 237, in run_setup*
*  self).run_setup(setup_script=setup_script)*
*File 
"/tmp/Projects/ENV/local/lib/python2.7/site-packages/setuptools/build_meta.py", 
line 142, in run_setup*
*  exec(compile(code, __file__, 'exec'), locals())*
*File "setup.py", line 18, in *
*  version = __import__("arches").__version__*
*File "/tmp/pip-install-g7Ovpw/arches/arches/__init__.py", line 2, in 
*
*  from arches.setup import get_version*
*File "/tmp/pip-install-g7Ovpw/arches/arches/setup.py", line 5, in 
*
*  import urllib.request, urllib.error, urllib.parse*
*  ImportError: No module named request*
*  *
*ERROR: Command errored out with exit status 1: 
/tmp/Projects/ENV/bin/python 
/tmp/Projects/ENV/local/lib/python2.7/site-packages/pip/_vendor/pep517/_in_process.py
 
get_requires_for_build_wheel /tmp/tmpenPZ7I Check the logs for full command 
output*."

I installed requet/requets module.

I appreciate it if you could advise me.

Best regards,
Elishai Cohen

-- 
-- 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/bf7193ac-6088-498c-8b33-3aac880c397d%40googlegroups.com.