[
https://issues.apache.org/jira/browse/CLIMATE-548?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14192865#comment-14192865
]
Michael Joyce edited comment on CLIMATE-548 at 11/1/14 1:21 AM:
----------------------------------------------------------------
Ah this is annoying Lewis. Very sorry you ran into this. We need to move this
line to the VM [init
script|https://github.com/apache/climate/blob/master/ocw-vm/init-ocw-vm.sh] and
change the values in the easy-ocw script to default to the current user's home
directory. We need to use the current home directory in the following line as
well
export PATH="/home/vagrant/anaconda/bin:$PATH"
That should make it work I think. Very sorry those hard coded paths got left in
there like that =/
was (Author: mjoyce):
Ah this is annoying Lewis. Very sorry you ran into this. We need to move this
line to the VM (init
script)[https://github.com/apache/climate/blob/master/ocw-vm/init-ocw-vm.sh]
and change the values in the easy-ocw script to default to the current user's
home directory. We need to use the current home directory in the following line
as well
export PATH="/home/vagrant/anaconda/bin:$PATH"
That should make it work I think. Very sorry those hard coded paths got left in
there like that =/
> Vagrant references should not exist in easy-ocw ubuntu script
> -------------------------------------------------------------
>
> Key: CLIMATE-548
> URL: https://issues.apache.org/jira/browse/CLIMATE-548
> Project: Apache Open Climate Workbench
> Issue Type: Bug
> Components: easy-ocw
> Affects Versions: 0.4
> Reporter: Lewis John McGibbney
> Assignee: Lewis John McGibbney
> Fix For: 0.5
>
>
> I am having an issue with easy-ocw script when building on Ubuntu 14.04 LTS
> using the Ubuntu script. Yes I know that the script is intended for 12.04!!!
> The issue is in the following line (0) where vagrant is specifically
> mentioned!
> {code}
> echo "export
> PYTHONPATH=/home/vagrant/climate:/home/vagrant/climate/ocw/:/home/vagrant/climate/rcmet/src/main/python/rcmes"
> >> /home/vagrant/.bashrc
> {code}
> ... I get this
> {code}
> Updating PYTHONPATH ...
> ./easy-ocw/install-ubuntu-12_04.sh: line 188: /home/vagrant/.bashrc: No
> such file or directory
> done
> {code}
> (0)
> https://github.com/apache/climate/blob/master/easy-ocw/install-ubuntu-12_04.sh#L188
> Can we possibly agree on something else which can replace the /home/vagrant
> path?
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)