health
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Health] installing Error on Raspbian 9 Strech


From: Parviz HomayunNezhad
Subject: [Health] installing Error on Raspbian 9 Strech
Date: Thu, 8 Feb 2018 18:43:18 +0330

address@hidden:~/gnuhealth-3.2.9 $ ./gnuhealth-setup install
2018-02-08 14:27:35 [INFO] Starting GNU Health 3.2.9 installation...
2018-02-08 14:27:35 [INFO] Checking requirements
 -> Looking for wget... wget is /usr/bin/wget
 -> Looking for 2to3... 2to3 is /usr/bin/2to3
 -> Looking for patch... patch is /usr/bin/patch
 -> Looking for the Python Interpreter command... python is /usr/bin/python
2018-02-08 14:27:35 [INFO] Found Python 3.5.3
 -> Looking for PIP command...
2018-02-08 14:27:35 [INFO] Running on GNU/LINUX
 -> Looking for lsb_release ... lsb_release is /usr/bin/lsb_release
2018-02-08 14:27:36 [INFO] GNU / Linux distro: Raspbian
2018-02-08 14:27:36 [INFO] OK.
2018-02-08 14:27:36 [INFO] Creating temporary directory...
2018-02-08 14:27:36 [INFO] OK.
2018-02-08 14:27:36 [INFO] Creating destination directories...
2018-02-08 14:27:36 [INFO] OK.
2018-02-08 14:27:36 [INFO] Updating Python dependencies...
2018-02-08 14:27:36 [INFO] Checking requirements
 -> Looking for wget... wget is /usr/bin/wget
 -> Looking for 2to3... 2to3 is /usr/bin/2to3
 -> Looking for patch... patch is /usr/bin/patch
 -> Looking for the Python Interpreter command... python is /usr/bin/python
2018-02-08 14:27:36 [INFO] Found Python 3.5.3
 -> Looking for PIP command...
2018-02-08 14:27:36 [INFO] Running on GNU/LINUX
 -> Looking for lsb_release ... lsb_release is /usr/bin/lsb_release
2018-02-08 14:27:36 [INFO] GNU / Linux distro: Raspbian
2018-02-08 14:27:36 [INFO] OK.
2018-02-08 14:27:49 [WARNING] Skipping local PYTHON-LDAP installation. Please refer to the Wikibook to install it
2018-02-08 14:27:49 [INFO] Installing python dependencies with pip-9.0.1 ...
Collecting pytz
  Downloading pytz-2017.3-py2.py3-none-any.whl (511kB)
    100% |████████████████████████████████| 512kB 561kB/s 
Installing collected packages: pytz
Successfully installed pytz-2017.3
Collecting wrapt
  Downloading https://www.piwheels.hostedpi.com/simple/wrapt/wrapt-1.10.11-cp35-cp35m-linux_armv7l.whl (64kB)
    100% |████████████████████████████████| 71kB 231kB/s 
Installing collected packages: wrapt
Successfully installed wrapt-1.10.11
Collecting werkzeug
  Downloading Werkzeug-0.14.1-py2.py3-none-any.whl (322kB)
    100% |████████████████████████████████| 327kB 80kB/s 
Installing collected packages: werkzeug
Successfully installed werkzeug-0.14.1
Collecting six
  Downloading six-1.11.0-py2.py3-none-any.whl
Installing collected packages: six
Successfully installed six-1.11.0
Collecting lxml
  Downloading https://www.piwheels.hostedpi.com/simple/lxml/lxml-4.1.1-cp35-cp35m-linux_armv7l.whl (4.9MB)
    100% |████████████████████████████████| 4.9MB 39kB/s 
Installing collected packages: lxml
Successfully installed lxml-4.1.1
Collecting relatorio
  Downloading relatorio-0.8.0-py3-none-any.whl (287kB)
    100% |████████████████████████████████| 296kB 111kB/s 
Collecting Genshi>=0.5 (from relatorio)
  Downloading https://www.piwheels.hostedpi.com/simple/genshi/Genshi-0.7-cp35-cp35m-linux_armv7l.whl (177kB)
    100% |████████████████████████████████| 184kB 266kB/s 
Collecting lxml>=2.0 (from relatorio)
  Using cached https://www.piwheels.hostedpi.com/simple/lxml/lxml-4.1.1-cp35-cp35m-linux_armv7l.whl
Installing collected packages: Genshi, lxml, relatorio
Successfully installed Genshi-0.7 lxml-4.1.1 relatorio-0.8.0
Collecting python-dateutil
  Downloading python_dateutil-2.6.1-py2.py3-none-any.whl (194kB)
    100% |████████████████████████████████| 194kB 512kB/s 
Collecting six>=1.5 (from python-dateutil)
  Using cached six-1.11.0-py2.py3-none-any.whl
Installing collected packages: six, python-dateutil
Successfully installed python-dateutil-2.6.1 six-1.11.0
Collecting psycopg2
  Downloading https://www.piwheels.hostedpi.com/simple/psycopg2/psycopg2-2.7.3.2-cp35-cp35m-linux_armv7l.whl (462kB)
    100% |████████████████████████████████| 471kB 241kB/s 
Installing collected packages: psycopg2
Successfully installed psycopg2-2.7.3.2
Collecting vobject
  Downloading https://www.piwheels.hostedpi.com/simple/vobject/vobject-0.9.5-py3-none-any.whl (44kB)
    100% |████████████████████████████████| 51kB 139kB/s 
Collecting python-dateutil>=2.4.0 (from vobject)
  Using cached python_dateutil-2.6.1-py2.py3-none-any.whl
Collecting six>=1.5 (from python-dateutil>=2.4.0->vobject)
  Using cached six-1.11.0-py2.py3-none-any.whl
Installing collected packages: six, python-dateutil, vobject
Successfully installed python-dateutil-2.6.1 six-1.11.0 vobject-0.9.5
Collecting qrcode
  Downloading qrcode-5.3-py2.py3-none-any.whl
Collecting six (from qrcode)
  Using cached six-1.11.0-py2.py3-none-any.whl
Installing collected packages: six, qrcode
Successfully installed qrcode-5.3 six-1.11.0
Collecting pybarcode
  Downloading https://www.piwheels.hostedpi.com/simple/pybarcode/pyBarcode-0.7-py3-none-any.whl (209kB)
    100% |████████████████████████████████| 215kB 323kB/s 
Installing collected packages: pybarcode
Successfully installed pybarcode-0.7
Collecting Pillow
  Downloading https://www.piwheels.hostedpi.com/simple/pillow/Pillow-5.0.0-cp35-cp35m-linux_armv7l.whl (1.0MB)
    100% |████████████████████████████████| 1.0MB 191kB/s 
Installing collected packages: Pillow
Successfully installed Pillow-5.0.0
Collecting caldav
  Downloading https://www.piwheels.hostedpi.com/simple/caldav/caldav-0.5.0-py3-none-any.whl
Collecting lxml (from caldav)
  Using cached https://www.piwheels.hostedpi.com/simple/lxml/lxml-4.1.1-cp35-cp35m-linux_armv7l.whl
Collecting nose (from caldav)
Exception:
Traceback (most recent call last):
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 594, in urlopen
    chunked=chunked)
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 391, in _make_request
    six.raise_from(e, None)
  File "<string>", line 2, in raise_from
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 387, in _make_request
    httplib_response = conn.getresponse()
  File "/usr/lib/python3.5/http/client.py", line 1198, in getresponse
    response.begin()
  File "/usr/lib/python3.5/http/client.py", line 297, in begin
    version, status, reason = self._read_status()
  File "/usr/lib/python3.5/http/client.py", line 266, in _read_status
    raise RemoteDisconnected("Remote end closed connection without"
http.client.RemoteDisconnected: Remote end closed connection without response

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/lib/python3/dist-packages/pip/basecommand.py", line 215, in main
    status = self.run(options, args)
  File "/usr/lib/python3/dist-packages/pip/commands/install.py", line 353, in run
    wb.build(autobuilding=True)
  File "/usr/lib/python3/dist-packages/pip/wheel.py", line 749, in build
    self.requirement_set.prepare_files(self.finder)
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 380, in prepare_files
    ignore_dependencies=self.ignore_dependencies))
  File "/usr/lib/python3/dist-packages/pip/req/req_set.py", line 554, in _prepare_file
    require_hashes
  File "/usr/lib/python3/dist-packages/pip/req/req_install.py", line 278, in populate_link
    self.link = finder.find_requirement(self, upgrade)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 465, in find_requirement
    all_candidates = self.find_all_candidates(req.name)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 423, in find_all_candidates
    for page in self._get_pages(url_locations, project_name):
  File "/usr/lib/python3/dist-packages/pip/index.py", line 568, in _get_pages
    page = self._get_page(location)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 683, in _get_page
    return HTMLPage.get_page(link, session=self.session)
  File "/usr/lib/python3/dist-packages/pip/index.py", line 792, in get_page
    "Cache-Control": "max-age=600",
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 501, in get
    return self.request('GET', url, **kwargs)
  File "/usr/lib/python3/dist-packages/pip/download.py", line 386, in request
    return super(PipSession, self).request(method, url, *args, **kwargs)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 488, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/sessions.py", line 609, in send
    r = adapter.send(request, **kwargs)
  File "/usr/share/python-wheels/CacheControl-0.11.7-py2.py3-none-any.whl/cachecontrol/adapter.py", line 47, in send
    resp = super(CacheControlAdapter, self).send(request, **kw)
  File "/usr/share/python-wheels/requests-2.12.4-py2.py3-none-any.whl/requests/adapters.py", line 423, in send
    timeout=timeout
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/connectionpool.py", line 643, in urlopen
    _stacktrace=sys.exc_info()[2])
  File "/usr/share/python-wheels/urllib3-1.19.1-py2.py3-none-any.whl/urllib3/util/retry.py", line 315, in increment
    total -= 1
TypeError: unsupported operand type(s) for -=: 'Retry' and 'int'
2018-02-08 14:32:21 [INFO] Bailing out !
2018-02-08 14:32:21 [INFO] Cleaning up temp directories at /tmp/gnuhealth_installer
2018-02-08 14:32:21 [INFO] removing base dir at /home/health/gnuhealth
address@hidden:~/gnuhealth-3.2.9 $

reply via email to

[Prev in Thread] Current Thread [Next in Thread]