Closed BoundaryValueProblems closed 6 years ago
@sglyon , the above might be my specific problem. In my MacBook Pro, I have my own ~/.bashrc
that contains the line: OSTYPE = `uname`
. Hence uname
returns the value Darwin
. That's the reason. If I don't specify OSTYPE
in my .bashrc
, then the value of OSTYPE
is darwin15
in my case. So, the original orca
script works. However, it is a bit dangerous to assume that people do not modify OSTYPE
. Hence, it would be best if Line 2 of orca
can handle both darwin
and Darwin
.
Thanks!
Thanks for digging in and reporting
It does sound like this is an issue with your particular setup, but I agree it should be fixed.
The problem actually resides in the plotly/orca repo as this is something defined over there. Would you be willing to open this issue over there?
@sglyon , I mistakenly opened this issue as https://github.com/sglyon/PlotlyJS.jl/issues/228; so I'll close it. I just realized it's not PlotlyJS.jl issue, but rather plotly/orca. I just searched it and opened the question there: https://github.com/plotly/orca/issues/132.
@sglyon , when I installed ORCA on my MacBook Pro (OS X 10.11.6), and ran
using ORCA
, it complained:So, I took a look at deps/bin/orga:
So, I thought this was correct. But, when I checked the environmental variable
OSTYPE
on Mac's Terminal, it saidDarwin
, notdarwin
. So, if I changed Line 2 fromdarwin
toDarwin
, then orca didn't complain anymore. I'm not sure whether the other versions of Mac OSX or macOS setsOSTYPE
asdarwin
orDarwin
though.