Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Running Errors in windows10 #126

Open
macchan21 opened this issue Aug 31, 2020 · 1 comment
Open

Running Errors in windows10 #126

macchan21 opened this issue Aug 31, 2020 · 1 comment

Comments

@macchan21
Copy link

macchan21 commented Aug 31, 2020

Hi!

Describe the bug
I tried to run covid19mode and installed docker and rstuduio but I couldn't run yet.

To Reproduce
Steps to reproduce the behavior:

  1. Download covid19mode codes and unpacked in my PC. The OS is windows10 Pro.

  2. When I write this command in Anaconda3 PowerShell, it output Error(2).
    docker build -f docker/Dockerfile -t covid19model:latest .

  3. These commands output Error(3) after "[1] "Netherlands has 71 days of data"":
    docker run --rm -v ${pwd}:/var/model harrisonzhu5080/covid19model:latest
    docker run covid19model

  4. See error

Error(2)
docker build -f docker/Dockerfile -t covid19model:latest .

Sending build context to Docker daemon 115.1MB
Step 1/20 : FROM rocker/r-base
---> 41ea053322a7
Step 2/20 : RUN apt-get update
---> Running in 05f99bce1c93
Err:1 http://deb.debian.org/debian testing InRelease
Temporary failure resolving 'deb.debian.org'
Err:2 http://http.debian.net/debian sid InRelease
Temporary failure resolving 'http.debian.net'
Reading package lists...
W: Failed to fetch http://deb.debian.org/debian/dists/testing/InRelease Temporary failure resolving 'deb.debian.org'
W: Failed to fetch http://http.debian.net/debian/dists/sid/InRelease Temporary failure resolving 'http.debian.net'
W: Some index files failed to download. They have been ignored, or old ones used instead.
The command '/bin/sh -c apt-get update' returned a non-zero code: 4294967295: failed to shutdown container: container 05f99bce1c937b90cb2254a27f4fbde2dfd201d37b2f9d4592720e34241bf231 encountered an error during hcsshim::System::waitBackground: failure in a Windows system call: The virtual machine or container with the specified identifier is not running. (0xc0370110): subsequent terminate failed container 05f99bce1c937b90cb2254a27f4fbde2dfd201d37b2f9d4592720e34241bf231 encountered an error during hcsshim::System::waitBackground: failure in a Windows system call: The virtual machine or container with the specified identifier is not running. (0xc0370110)

Error(3)
Error in compileCode(f, code, language = language, verbose = verbose) :
Compilation ERROR, function(s)/method(s) not created! file671a604a5.cpp:6:9: warning: ISO C++11 requires whitespace after the macro name
6 | #define STAN__SERVICES__COMMAND_HPP#include <boost/integer/integer_log2.hpp>
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
In file included from /usr/lib/R/site-library/RcppEigen/include/Eigen/Core:392,
from /usr/lib/R/site-library/RcppEigen/include/Eigen/Dense:1,
from /usr/lib/R/site-library/StanHeaders/include/stan/math/prim/mat/fun/Eigen.hpp:13,
from :
/usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:60:39: warning: ignoring attributes on template argument ‘__m128’ {aka ‘__vector(4) float’} [-Wignored-attributes]
60 | template<> struct is_arithmetic<__m128> { enum { value = true }; };
| ^
/usr/lib/R/site-library/RcppEigen/include/Eigen/src/Core/arch/SSE/PacketMath.h:61:40: warning: ig
Calls: stan_model ... cxxfunctionplus -> -> cxxfunction -> compileCode
In addition: Warning message:
In system(cmd, intern = !verbose) :
running command '/usr/lib/R/bin/R CMD SHLIB file671a604a5.cpp 2> file671a604a5.cpp.err.txt' had status 1
Error in sink(type = "output") : invalid connection
Calls: stan_model -> cxxfunctionplus -> sink
Execution halted

Expected behavior
I want to be able to run the covid19model in anyway and to modify it.

Desktop (please complete the following information):

  • OS: windows10 Pro
  • Version 1903

Anyone know how to solve the problem?
Thank you in advance

@jeanimal
Copy link

Failures to download would seem to be errors on your side-- bad internet connection?
I just confirmed this URL exists: http://deb.debian.org/debian

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants