Lewis John McGibbney created CLIMATE-560:
--------------------------------------------
Summary: Incorrect assumption for installation directory within
easy-ocw/install-maxosx.sh
Key: CLIMATE-560
URL: https://issues.apache.org/jira/browse/CLIMATE-560
Project: Apache Open Climate Workbench
Issue Type: Bug
Components: easy-ocw
Affects Versions: 0.4, 0.5
Reporter: Lewis John McGibbney
Assignee: Lewis John McGibbney
Fix For: 1.0.0
I found an incorrect assumption when failing to successfully install OCW via
easy-ocw/install-osx.sh
The output message is as follows
{code}
lmcgibbn@LMC-032857 /usr/local/climate(master) $ ./easy-ocw/install-osx.sh -e
---------------------------------------------------------------------------
Welcome to Easy OCW
---------------------------------------------------------------------------
A number of dependencies for OCW will now be installed. Please check the wiki
for a complete list of dependencies. Additionally, please read the wiki for
useful installation guidelines and information that may be pertinent to your
situation. All of this can be found at http://s.apache.org/3p2
Press [ENTER] to begin installation ...
Checking for pip ...
Setting up a virtualenv ...
Checking for previously installed ocw virtual environment...
- Creating a new environment in ~/ocw...
./easy-ocw/install-osx.sh: line 161: install_log: Permission denied
./easy-ocw/install-osx.sh: line 162: install_log: Permission denied
done
Installing conda for package management ...
Error: conda appears to be already initalized in: //anaconda
Installing dependencies with conda ...
Error: cannot open file: ocw-conda-dependencies.txt
Installing additional Python packages
***POST INSTALLATION NOTE***
If you are familiar with virtualenv you should know that activating
the new 'ocw' environment is different because we use conda to install
packages. An example of the command you want to run is listed in the
alias below.
To make it easier to change into the 'ocw' virtualenv add the
following alias to your ~/.bash_profile
alias ocw='source ~/ocw/bin/activate ~/ocw/'
When you want to use ocw in the future, you just have to type 'ocw'
in your terminal.
{code}
It is the following code which bothers me
{code}
To make it easier to change into the 'ocw' virtualenv add the
following alias to your ~/.bash_profile
alias ocw='source ~/ocw/bin/activate ~/ocw/'
{code}
As per CLIMATE-548 I do not think that we should assume OCW is installed in
~/ocw/
We can discuss how best to address this issue. For the time being it is logged
and I will think about a solution myself. Comments welcome.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)