sglyon / ORCA.jl

Julia interface to Plotly's ORCA image exporter app
3 stars 5 forks source link

Building failed because of the change of conda library. #42

Closed HaoxuanGuo closed 4 years ago

HaoxuanGuo commented 4 years ago

I got an error while building ORCA like below

(@v1.5) pkg> build ORCA
   Building Conda → `C:\Users\skyair\.julia\packages\Conda\3rPhK\deps\build.log`
   Building ORCA ─→ `C:\Users\skyair\.julia\packages\ORCA\fiEmb\deps\build.log`
┌ Error: Error building `ORCA`:
│ Warning: 'plotly' already in 'channels' list, moving to the top
│ Collecting package metadata (current_repodata.json): ...working... failed
│
│ CondaHTTPError: HTTP 000 CONNECTION FAILED for url <https://conda.anaconda.org/plotly/win-64/current_repodata.json>
│ Elapsed: -
│
│ An HTTP error occurred when trying to retrieve this URL.
│ HTTP errors are often intermittent, and a simple retry will get you on your way.
│ 'https://conda.anaconda.org/plotly/win-64'
│
│
│ [ Info: Running `conda config --add channels plotly --file 'C:\Users\skyair\.julia\conda\3\envs\_ORCA_jl_\condarc-julia.yml' --force` in _ORCA_jl_ environment
│ [ Info: Running `conda install -y plotly-orca` in _ORCA_jl_ environment
│ ERROR: LoadError: failed process: Process(setenv(`'C:\Users\skyair\.julia\conda\3\Scripts\conda.exe' install -y plotly-orca`,["PATH=C:\\Users\\skyair\\.julia\\conda\\3\\envs\\_ORCA_jl_\\Library\\bin;C:\\Program Files (x86)\\Common Files\\Oracle\\Java\\javapath;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\bin;C:\\Program Files\\NVIDIA GPU Computing Toolkit\\CUDA\\v11.0\\libnvvp;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\iCLS\\;C:\\Windows\\system32;C:\\Windows;C:\\Windows\\System32\\Wbem;C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\;C:\\Windows\\System32\\OpenSSH\\;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\DAL;C:\\Program Files (x86)\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\Program Files\\Intel\\Intel(R) Management Engine Components\\IPT;C:\\WINDOWS\\system32;C:\\WINDOWS;C:\\WINDOWS\\System32\\Wbem;C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\;C:\\WINDOWS\\System32\\OpenSSH\\;C:\\Program Files\\Microsoft SQL Server\\130\\Tools\\Binn\\;C:\\Program Files\\Microsoft SQL Server\\Client SDK\\ODBC\\170\\Tools\\Binn\\;C:\\Program Files\\Microsoft VS Code\\bin;C:\\Program Files\\Git\\cmd;D:\\Program External\\Geant4\\10.5.1.ogl.qt.release\\bin;C:\\Program Files\\CMake\\bin;C:\\COMPPROG\\Qt\\5.12.6\\msvc2017_64\\bin;C:\\COMPPROG\\Qt\\Tools\\QtCreator\\bin;C:\\Program Files (x86)\\Wolfram Research\\WolframScript\\;C:\\COMPPROG\\texlive\\2019\\bin\\win32;C:\\Program Files\\MATLAB\\R2019b\\runtime\\win64;C:\\Program Files\\MATLAB\\R2019b\\bin;C:\\COMPPROG\\nvm;C:\\Program Files\\nodejs;C:\\Program Files\\Python;C:\\Program Files\\Python\\Scripts;C:\\Program Files (x86)\\NVIDIA Corporation\\PhysX\\Common;C:\\Program Files\\NVIDIA Corporation\\NVIDIA NvDLISR;D:\\Program External\\NVIDIA\\TensorRT\\TensorRT-7.0.0.11\\lib;C:\\Program Files (x86)\\Graphviz2.38\\bin;C:\\Program Files\\dotnet\\;D:\\Program External\\opencv\\build\\x64\\vc15\\bin;D:\\Program External\\opencv\\build;C:\\Program Files\\Pandoc\\;C:\\Program Files\\NVIDIA Corporation\\Nsight Compute 2020.1.1\\;C:\\Program Files\\Microsoft VS Code Insiders\\bin;C:\\Program Files (x86)\\Gpg4win\\..\\GnuPG\\bin;C:\\Users\\skyair\\AppData\\Local\\Microsoft\\WindowsApps;C:\\Users\\skyair\\AppData\\Roaming\\Python\\Python37\\Scripts;C:\\Users\\skyair\\AppData\\Local\\Programs\\Julia 1.5.0\\bin", "USERDOMAIN_ROAMINGPROFILE=SWIFT", "WSLENV=WT_SESSION::WT_PROFILE_ID", "HOMEPATH=\\Users\\skyair", "PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH;.MSC;.CPL", "NVCUDASAMPLES11_0_ROOT=C:\\ProgramData\\NVIDIA Corporation\\CUDA Samples\\v11.0", "SYSTEMROOT=C:\\WINDOWS", "APPDATA=C:\\Users\\skyair\\AppData\\Roaming", "PSMODULEPATH=C:\\Users\\skyair\\Documents\\WindowsPowerShell\\Modules;C:\\Program Files\\WindowsPowerShell\\Modules;C:\\WINDOWS\\system32\\WindowsPowerShell\\v1.0\\Modules", "COMMONPROGRAMW6432=C:\\Program Files\\Common Files"  …  "PROGRAMFILES=C:\\Program Files", "LOGONSERVER=\\\\SWIFT", "DRIVERDATA=C:\\Windows\\System32\\Drivers\\DriverData", "CONDA_PREFIX=C:\\Users\\skyair\\.julia\\conda\\3\\envs\\_ORCA_jl_", "JULIA_LOAD_PATH=@;C:\\Users\\skyair\\AppData\\Local\\Temp\\jl_f1T8ZU", "SYSTEMDRIVE=C:", "G4ABLADATA=D:\\Program External\\Geant4\\Data.10.6\\G4ABLA3.1", "NVCUDASAMPLES_ROOT=C:\\ProgramData\\NVIDIA Corporation\\CUDA Samples\\v11.0", "PROCESSOR_ARCHITECTURE=AMD64", "OPENBLAS_MAIN_FREE=1"]), ProcessExited(1)) [1]
│
│ Stacktrace:
│  [1] pipeline_error at .\process.jl:525 [inlined]
│  [2] run(::Cmd; wait::Bool) at .\process.jl:440
│  [3] run at .\process.jl:438 [inlined]
│  [4] runconda(::Cmd, ::Symbol) at C:\Users\skyair\.julia\packages\Conda\3rPhK\src\Conda.jl:114
│  [5] add(::String, ::Symbol; channel::String) at C:\Users\skyair\.julia\packages\Conda\3rPhK\src\Conda.jl:188
│  [6] add(::String, ::Symbol) at C:\Users\skyair\.julia\packages\Conda\3rPhK\src\Conda.jl:187
│  [7] top-level scope at C:\Users\skyair\.julia\packages\ORCA\fiEmb\deps\build.jl:5
│  [8] include(::String) at .\client.jl:457
│  [9] top-level scope at none:5
│ in expression starting at C:\Users\skyair\.julia\packages\ORCA\fiEmb\deps\build.jl:5
└ @ Pkg.Operations D:\buildbot\worker\package_win64\build\usr\share\julia\stdlib\v1.5\Pkg\src\Operations.jl:942

I guess it is because the change of conda library. I tried to visit https://conda.anaconda.org/plotly/win-64/current_repodata.json by my browser and got an not found error "The page you are looking for does not exist."

sglyon commented 4 years ago

Thanks @HaoxuanGuo

Due to the problems with this package, we have decided to go another direction. The savefig functionality offered by this package has been superseded by new routines built in to PlotlyBase.jl (and thus PlotlyJS.jl) itself.

ORCA.jl is now deprecated and should not be used going forward.

Thank you