HazyResearch/deepdive

error: curl: (23) Failed writing body (0 != 16360) and error: curl: (7) couldn't connect to host, when installing deepdive

hankniu01 opened this issue · 0 comments

When I install deepdive in my CentOS 6.5, and execute code " bash <(curl -fsSL git.io/getdeepdive)", these two kinds of errors always occur: "curl: (7) couldn't connect to host" and "curl: (23) Failed writing body (0 != 16360) ". Besides, I installed deepdive into my own folder, and iptables settings are all ACCEPT.
How to solve it? Dear friends.

Following is what my code performed:

1."curl: (23) Failed writing body (0 != 16360)"

/dev/fd/63: line 24: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/dev/fd/63: line 24: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
++ get-url https://github.com/HazyResearch/deepdive/raw/master/util/install.sh
++ curl -fsSL https://github.com/HazyResearch/deepdive/raw/master/util/install.sh
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/dev/fd/62: line 24: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/dev/fd/62: line 24: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

DeepDive installer for RedHat

  1. deepdive 5) jupyter_notebook
  2. deepdive_docker_sandbox 6) postgres
  3. deepdive_example_notebook 7) run_deepdive_tests
  4. deepdive_from_release 8) spouse_example

Install what (enter to repeat options, a to see all, q to quit, or a number)? 1

Starting installation for deepdive

Starting installation for deepdive_from_release

Installing DeepDive release v0.8-STABLE...

Press any key to select a different release or Enter to proceed...

Downloading https://github.com/HazyResearch/deepdive/releases/download/v0.8-STABLE/deepdive-v0.8-STABLE-Linux.tar.gz

  • type curl
  • curl -fLRo '' https://github.com/HazyResearch/deepdive/releases/download/v0.8-STABLE/deepdive-v0.8-STABLE-Linux.tar.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    0 98.6M 0 0 0 0 0 0 --:--:-- 0:00:02 --:--:-- 0Warning: Failed to create the file
    0 98.6M 0 16360 0 0 4889 0 5:52:33 0:00:03 5:52:30 17441
    curl: (23) Failed writing body (0 != 16360)
  • mkdir -p /home/niuhao/local
  • tar xzvf deepdive-v0.8-STABLE-Linux.tar.gz -C /home/niuhao/local
    tar (child): deepdive-v0.8-STABLE-Linux.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now

Failed installation for deepdive_from_release

Failed installation for deepdive

Install what (enter to repeat options, a to see all, q to quit, or a number)?

  1. "curl: (7) couldn't connect to host"

/dev/fd/63: line 24: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/dev/fd/63: line 24: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
++ get-url https://github.com/HazyResearch/deepdive/raw/master/util/install.sh
++ curl -fsSL https://github.com/HazyResearch/deepdive/raw/master/util/install.sh
bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/dev/fd/62: line 24: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
/dev/fd/62: line 24: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)

DeepDive installer for RedHat

  1. deepdive 5) jupyter_notebook
  2. deepdive_docker_sandbox 6) postgres
  3. deepdive_example_notebook 7) run_deepdive_tests
  4. deepdive_from_release 8) spouse_example

Install what (enter to repeat options, a to see all, q to quit, or a number)? 1

Starting installation for deepdive

Starting installation for deepdive_from_release

Installing DeepDive release v0.8-STABLE...

Press any key to select a different release or Enter to proceed...

Downloading https://github.com/HazyResearch/deepdive/releases/download/v0.8-STABLE/deepdive-v0.8-STABLE-Linux.tar.gz

  • type curl
  • curl -fLRo '' https://github.com/HazyResearch/deepdive/releases/download/v0.8-STABLE/deepdive-v0.8-STABLE-Linux.tar.gz
    % Total % Received % Xferd Average Speed Time Time Time Current
    Dload Upload Total Spent Left Speed
    103 623 0 623 0 0 471 0 --:--:-- 0:00:01 --:--:-- 1184
    curl: (7) couldn't connect to host
  • mkdir -p /home/niuhao/local
  • tar xzvf deepdive-v0.8-STABLE-Linux.tar.gz -C /home/niuhao/local
    tar (child): deepdive-v0.8-STABLE-Linux.tar.gz: Cannot open: No such file or directory
    tar (child): Error is not recoverable: exiting now
    tar: Child returned status 2
    tar: Error is not recoverable: exiting now

Failed installation for deepdive_from_release

Failed installation for deepdive

Install what (enter to repeat options, a to see all, q to quit, or a number)?