Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
249
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 46.20 KB | None | 0 0
  1. bash <(wget -qO- https://raw.githubusercontent.com/johnnyruz/kegbot-server/add_my_pkgs_to_github/install_latest.sh)
  2. Hit:1 http://archive.raspberrypi.org/debian buster InRelease
  3. Hit:2 http://raspbian.raspberrypi.org/raspbian buster InRelease
  4. Reading package lists... Done
  5. Reading package lists... Done
  6. Building dependency tree
  7. Reading state information... Done
  8. Calculating upgrade... Done
  9. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  10. Reading package lists... Done
  11. Building dependency tree
  12. Reading state information... Done
  13. curl is already the newest version (7.64.0-4).
  14. git is already the newest version (1:2.20.1-2+deb10u1).
  15. unzip is already the newest version (6.0-23+deb10u1).
  16. wget is already the newest version (1.20.1-1.1).
  17. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  18. --2020-02-18 21:40:39-- https://github.com/johnnyruz/kegbot-server/raw/add_my_pkgs_to_github/my_kegbot_packages_latest.zip
  19. Resolving github.com (github.com)... 140.82.113.3
  20. Connecting to github.com (github.com)|140.82.113.3|:443... connected.
  21. HTTP request sent, awaiting response... 302 Found
  22. Location: https://raw.githubusercontent.com/johnnyruz/kegbot-server/add_my_pkgs_to_github/my_kegbot_packages_latest.zip [following]
  23. --2020-02-18 21:40:40-- https://raw.githubusercontent.com/johnnyruz/kegbot-server/add_my_pkgs_to_github/my_kegbot_packages_latest.zip
  24. Resolving raw.githubusercontent.com (raw.githubusercontent.com)... 151.101.184.133
  25. Connecting to raw.githubusercontent.com (raw.githubusercontent.com)|151.101.184.133|:443... connected.
  26. HTTP request sent, awaiting response... 200 OK
  27. Length: 2453855 (2.3M) [application/zip]
  28. Saving to: ‘my_kegbot_packages_latest.zip’
  29.  
  30. my_kegbot_packages_latest.zip 100%[========================================================================================================================================>] 2.34M 8.11MB/s in 0.3s
  31.  
  32. 2020-02-18 21:40:40 (8.11 MB/s) - ‘my_kegbot_packages_latest.zip’ saved [2453855/2453855]
  33.  
  34. Archive: /home/pi/my_kegbot_packages_latest.zip
  35. creating: mypkgs/
  36. creating: mypkgs/MySQLdb_Raspbian/
  37. creating: mypkgs/MySQLdb_Raspbian/MySQLdb/
  38. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/cursors.py
  39. creating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/
  40. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/FLAG.py
  41. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/REFRESH.py
  42. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/FLAG.pyc
  43. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/__init__.pyc
  44. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/CLIENT.pyc
  45. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/CLIENT.py
  46. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/CR.py
  47. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/FIELD_TYPE.py
  48. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/CR.pyc
  49. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/ER.pyc
  50. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/FIELD_TYPE.pyc
  51. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/REFRESH.pyc
  52. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/__init__.py
  53. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/constants/ER.py
  54. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/__init__.pyc
  55. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/connections.py
  56. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/release.pyc
  57. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/release.py
  58. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/times.py
  59. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/cursors.pyc
  60. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/connections.pyc
  61. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/times.pyc
  62. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/converters.py
  63. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/converters.pyc
  64. inflating: mypkgs/MySQLdb_Raspbian/MySQLdb/__init__.py
  65. inflating: mypkgs/MySQLdb_Raspbian/libmariadbclient.so.18.0.0
  66. inflating: mypkgs/MySQLdb_Raspbian/_mysql.so
  67. inflating: mypkgs/MySQLdb_Raspbian/_mysql_exceptions.py
  68. inflating: mypkgs/NEW_buster_app.py
  69. inflating: mypkgs/install_part2.sh
  70. inflating: mypkgs/NEW_stretch_app.py
  71. inflating: mypkgs/NEW_app.py
  72. inflating: mypkgs/install_part2_arm.sh
  73. inflating: mypkgs/install_part1.sh
  74. inflating: mypkgs/NEW-50-server.cnf
  75. creating: mypkgs/MySQLdb_Debian/
  76. creating: mypkgs/MySQLdb_Debian/MySQLdb/
  77. inflating: mypkgs/MySQLdb_Debian/MySQLdb/cursors.py
  78. creating: mypkgs/MySQLdb_Debian/MySQLdb/constants/
  79. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/FLAG.py
  80. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/REFRESH.py
  81. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/FLAG.pyc
  82. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/__init__.pyc
  83. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/CLIENT.pyc
  84. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/CLIENT.py
  85. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/CR.py
  86. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/FIELD_TYPE.py
  87. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/CR.pyc
  88. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/ER.pyc
  89. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/FIELD_TYPE.pyc
  90. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/REFRESH.pyc
  91. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/__init__.py
  92. inflating: mypkgs/MySQLdb_Debian/MySQLdb/constants/ER.py
  93. inflating: mypkgs/MySQLdb_Debian/MySQLdb/__init__.pyc
  94. inflating: mypkgs/MySQLdb_Debian/MySQLdb/connections.py
  95. creating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/
  96. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/cursors.py
  97. creating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/
  98. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/FLAG.py
  99. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/REFRESH.py
  100. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/FLAG.pyc
  101. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/__init__.pyc
  102. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/CLIENT.pyc
  103. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/CLIENT.py
  104. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/CR.py
  105. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/FIELD_TYPE.py
  106. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/CR.pyc
  107. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/ER.pyc
  108. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/FIELD_TYPE.pyc
  109. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/REFRESH.pyc
  110. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/__init__.py
  111. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/constants/ER.py
  112. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/__init__.pyc
  113. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/connections.py
  114. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/release.pyc
  115. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/release.py
  116. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/times.py
  117. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/cursors.pyc
  118. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/connections.pyc
  119. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/times.pyc
  120. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/converters.py
  121. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/converters.pyc
  122. inflating: mypkgs/MySQLdb_Debian/MySQLdb/MySQLdb/__init__.py
  123. inflating: mypkgs/MySQLdb_Debian/MySQLdb/release.pyc
  124. inflating: mypkgs/MySQLdb_Debian/MySQLdb/release.py
  125. inflating: mypkgs/MySQLdb_Debian/MySQLdb/times.py
  126. inflating: mypkgs/MySQLdb_Debian/MySQLdb/cursors.pyc
  127. inflating: mypkgs/MySQLdb_Debian/MySQLdb/connections.pyc
  128. inflating: mypkgs/MySQLdb_Debian/MySQLdb/times.pyc
  129. inflating: mypkgs/MySQLdb_Debian/MySQLdb/converters.py
  130. inflating: mypkgs/MySQLdb_Debian/MySQLdb/converters.pyc
  131. inflating: mypkgs/MySQLdb_Debian/MySQLdb/__init__.py
  132. inflating: mypkgs/MySQLdb_Debian/libmariadbclient.so.18.0.0
  133. inflating: mypkgs/MySQLdb_Debian/_mysql.so
  134. inflating: mypkgs/MySQLdb_Debian/_mysql_exceptions.py
  135. + sudo bash -c 'DEBIAN_FRONTEND=noninteractive apt-get -yq install python-setuptools'
  136. Reading package lists...
  137. Building dependency tree...
  138. Reading state information...
  139. python-setuptools is already the newest version (40.8.0-1).
  140. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  141. + sudo cat /etc/os-release
  142. + grep -q buster
  143. + sudo apt-get install -y python-pip
  144. Reading package lists... Done
  145. Building dependency tree
  146. Reading state information... Done
  147. python-pip is already the newest version (18.1-5+rpt1).
  148. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  149. + sudo pip install six
  150. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  151. Requirement already satisfied: six in /usr/lib/python2.7/dist-packages (1.12.0)
  152. + sudo pip install -U virtualenv
  153. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  154. Collecting virtualenv
  155. Using cached https://files.pythonhosted.org/packages/a3/dd/e43866ac0d25cd1ecbde0814f6cd7372ea257fbdf443dc9f0a01740da93d/virtualenv-20.0.4-py2.py3-none-any.whl
  156. Collecting appdirs<2,>=1.4.3 (from virtualenv)
  157. Using cached https://files.pythonhosted.org/packages/56/eb/810e700ed1349edde4cbdc1b2a21e28cdf115f9faf263f6bbf8447c1abf3/appdirs-1.4.3-py2.py3-none-any.whl
  158. Collecting importlib-metadata<2,>=0.12; python_version < "3.8" (from virtualenv)
  159. Using cached https://files.pythonhosted.org/packages/8b/03/a00d504808808912751e64ccf414be53c29cad620e3de2421135fcae3025/importlib_metadata-1.5.0-py2.py3-none-any.whl
  160. Requirement already satisfied, skipping upgrade: six<2,>=1.9.0 in /usr/lib/python2.7/dist-packages (from virtualenv) (1.12.0)
  161. Collecting filelock<4,>=3.0.0 (from virtualenv)
  162. Collecting importlib-resources<2,>=1.0; python_version < "3.7" (from virtualenv)
  163. Using cached https://files.pythonhosted.org/packages/2f/f7/b4aa02cdd3ee7ebba375969d77c00826aa15c5db84247d23c89522dccbfa/importlib_resources-1.0.2-py2.py3-none-any.whl
  164. Collecting distlib<1,>=0.3.0 (from virtualenv)
  165. Collecting contextlib2<1,>=0.6.0; python_version < "3.3" (from virtualenv)
  166. Using cached https://files.pythonhosted.org/packages/85/60/370352f7ef6aa96c52fb001831622f50f923c1d575427d021b8ab3311236/contextlib2-0.6.0.post1-py2.py3-none-any.whl
  167. Collecting pathlib2<3,>=2.3.3; python_version < "3.4" and sys_platform != "win32" (from virtualenv)
  168. Using cached https://files.pythonhosted.org/packages/e9/45/9c82d3666af4ef9f221cbb954e1d77ddbb513faf552aea6df5f37f1a4859/pathlib2-2.3.5-py2.py3-none-any.whl
  169. Collecting configparser>=3.5; python_version < "3" (from importlib-metadata<2,>=0.12; python_version < "3.8"->virtualenv)
  170. Using cached https://files.pythonhosted.org/packages/7a/2a/95ed0501cf5d8709490b1d3a3f9b5cf340da6c433f896bbe9ce08dbe6785/configparser-4.0.2-py2.py3-none-any.whl
  171. Collecting zipp>=0.5 (from importlib-metadata<2,>=0.12; python_version < "3.8"->virtualenv)
  172. Using cached https://files.pythonhosted.org/packages/96/0a/67556e9b7782df7118c1f49bdc494da5e5e429c93aa77965f33e81287c8c/zipp-1.2.0-py2.py3-none-any.whl
  173. Collecting typing; python_version < "3.5" (from importlib-resources<2,>=1.0; python_version < "3.7"->virtualenv)
  174. Using cached https://files.pythonhosted.org/packages/22/30/64ca29543375759dc589ade14a6cd36382abf2bec17d67de8481bc9814d7/typing-3.7.4.1-py2-none-any.whl
  175. Collecting scandir; python_version < "3.5" (from pathlib2<3,>=2.3.3; python_version < "3.4" and sys_platform != "win32"->virtualenv)
  176. Installing collected packages: appdirs, configparser, contextlib2, scandir, pathlib2, zipp, importlib-metadata, filelock, typing, importlib-resources, distlib, virtualenv
  177. Found existing installation: configparser 3.5.0b2
  178. Not uninstalling configparser at /usr/lib/python2.7/dist-packages, outside environment /usr
  179. Can't uninstall 'configparser'. No files were found to uninstall.
  180. Successfully installed appdirs-1.4.3 configparser-4.0.2 contextlib2-0.6.0.post1 distlib-0.3.0 filelock-3.0.12 importlib-metadata-1.5.0 importlib-resources-1.0.2 pathlib2-2.3.5 scandir-1.10.0 typing-3.7.4.1 virtualenv-20.0.4 zipp-1.2.0
  181. + sudo cat /etc/os-release
  182. + grep -q buster
  183. + sudo pip install -U git+https://github.com/johnnyruz/kegberry.git@latest_buster
  184. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  185. Collecting git+https://github.com/johnnyruz/kegberry.git@latest_buster
  186. Cloning https://github.com/johnnyruz/kegberry.git (to revision latest_buster) to /tmp/pip-req-build-CGvLaW
  187. Branch 'latest_buster' set up to track remote branch 'latest_buster' from 'origin'.
  188. Switched to a new branch 'latest_buster'
  189. Collecting python-gflags (from kegberry==2.1.1)
  190. Building wheels for collected packages: kegberry
  191. Running setup.py bdist_wheel for kegberry ... done
  192. Stored in directory: /tmp/pip-ephem-wheel-cache-8acLTr/wheels/3e/d9/2f/bacb4480fd36640c9e38f2aa6858a887e40f6f45e9373fab78
  193. Successfully built kegberry
  194. Installing collected packages: python-gflags, kegberry
  195. Successfully installed kegberry-2.1.1 python-gflags-3.1.2
  196. + kegberry install
  197.  
  198. oOOOOOo
  199. ,| oO Kegberry v2.1.1 - http://kegberry.com
  200. //| |
  201. \\| | "Work is the curse of the drinking classes."
  202. `| | -- Oscar Wilde
  203. `-----`
  204.  
  205. INFO : Updating package list ...
  206. INFO : Installing required packages ...
  207. INFO : Cleaning up ...
  208. INFO : Checking if database exists ...
  209. INFO : Installing MySQL timezones ...
  210. INFO : User "kegbot" does not exist, creating ...
  211. INFO : Checking/installing virtualenv "kegbot-server.venv"...
  212. INFO : Checking/installing virtualenv "kegbot-pycore.venv"...
  213. INFO : Installing python server packages, this may take a while ...
  214. INFO : Installing pycore packages, this may take a while ...
  215. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  216. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  217. Collecting git+https://github.com/johnnyruz/kegbot-pycore.git@latest
  218. Cloning https://github.com/johnnyruz/kegbot-pycore.git (to revision latest) to /tmp/pip-req-build-7u6zJr
  219. Running command git clone -q https://github.com/johnnyruz/kegbot-pycore.git /tmp/pip-req-build-7u6zJr
  220. Running command git checkout -b latest --track origin/latest
  221. Switched to a new branch 'latest'
  222. Branch 'latest' set up to track remote branch 'latest' from 'origin'.
  223. Processing ./.cache/pip/wheels/fc/ab/af/46a9f0ff7e8a0cb2241b8ae90f4681d4edc1239fc935b7b3f0/kegbot_pyutils-0.1.8-py2-none-any.whl
  224. Processing ./.cache/pip/wheels/4c/21/dd/2c2d4b07bc0f08f95ca3c8b436a2e8c3be942aa5f717a570ca/kegbot_api-1.1.0-py2-none-any.whl
  225. Collecting kegbot-kegboard==1.1.5
  226. Downloading kegbot-kegboard-1.1.5.tar.gz (11 kB)
  227. ERROR: Command errored out with exit status 1:
  228. command: /home/kegbot/kegbot-pycore.venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-rDRLV9/kegbot-kegboard/setup.py'"'"'; __file__='"'"'/tmp/pip-install-rDRLV9/kegbot-kegboard/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-rDRLV9/kegbot-kegboard/pip-egg-info
  229. cwd: /tmp/pip-install-rDRLV9/kegbot-kegboard/
  230. Complete output (26 lines):
  231. Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.12.tar.gz
  232. Traceback (most recent call last):
  233. File "<string>", line 1, in <module>
  234. File "/tmp/pip-install-rDRLV9/kegbot-kegboard/setup.py", line 48, in <module>
  235. setup_package()
  236. File "/tmp/pip-install-rDRLV9/kegbot-kegboard/setup.py", line 19, in setup_package
  237. use_setuptools()
  238. File "distribute_setup.py", line 145, in use_setuptools
  239. return _do_download(version, download_base, to_dir, download_delay)
  240. File "distribute_setup.py", line 124, in _do_download
  241. to_dir, download_delay)
  242. File "distribute_setup.py", line 193, in download_setuptools
  243. src = urlopen(url)
  244. File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
  245. return opener.open(url, data, timeout)
  246. File "/usr/lib/python2.7/urllib2.py", line 435, in open
  247. response = meth(req, response)
  248. File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
  249. 'http', request, response, code, msg, hdrs)
  250. File "/usr/lib/python2.7/urllib2.py", line 473, in error
  251. return self._call_chain(*args)
  252. File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
  253. result = func(*args)
  254. File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
  255. raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  256. urllib2.HTTPError: HTTP Error 403: SSL is required
  257. ----------------------------------------
  258. ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  259.  
  260.  
  261. ERROR : Command returned error:
  262. ERROR : Command: sudo su -l kegbot -c ". /home/kegbot/kegbot-pycore.venv/bin/activate && pip install git+https://github.com/johnnyruz/kegbot-pycore.git@latest"
  263. ERROR : Return code: 1
  264. Traceback (most recent call last):
  265. File "/usr/local/bin/kegberry", line 7, in <module>
  266. app.run()
  267. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 210, in run
  268. command_fn(*args)
  269. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 285, in install
  270. run_in_virtualenv(PYCORE_VENV, 'pip install {}'.format(FLAGS.kegbot_pycore_package))
  271. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 154, in run_in_virtualenv
  272. return run_as_kegberry(cmd, **kwargs)
  273. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 148, in run_as_kegberry
  274. return run_command(wrapped, **kwargs)
  275. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 142, in run_command
  276. raise e
  277. subprocess.CalledProcessError: Command 'sudo su -l kegbot -c ". /home/kegbot/kegbot-pycore.venv/bin/activate && pip install git+https://github.com/johnnyruz/kegbot-pycore.git@latest"' returned non-zero exit status 1
  278.  
  279. oOOOOOo
  280. ,| oO Kegberry v2.1.1 - http://kegberry.com
  281. //| |
  282. \\| | "Beer is made by men, wine by God."
  283. `| | -- Martin Luther
  284. `-----`
  285.  
  286. INFO : Updating package list ...
  287. INFO : Installing required packages ...
  288. INFO : Cleaning up ...
  289. INFO : Checking if database exists ...
  290. INFO : Installing MySQL timezones ...
  291. INFO : Checking/installing virtualenv "kegbot-server.venv"...
  292. INFO : Checking/installing virtualenv "kegbot-pycore.venv"...
  293. INFO : Installing python server packages, this may take a while ...
  294. INFO : Installing pycore packages, this may take a while ...
  295. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  296. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  297. Collecting git+https://github.com/johnnyruz/kegbot-pycore.git@latest
  298. Cloning https://github.com/johnnyruz/kegbot-pycore.git (to revision latest) to /tmp/pip-req-build-PoNHgM
  299. Running command git clone -q https://github.com/johnnyruz/kegbot-pycore.git /tmp/pip-req-build-PoNHgM
  300. Running command git checkout -b latest --track origin/latest
  301. Switched to a new branch 'latest'
  302. Branch 'latest' set up to track remote branch 'latest' from 'origin'.
  303. Processing ./.cache/pip/wheels/fc/ab/af/46a9f0ff7e8a0cb2241b8ae90f4681d4edc1239fc935b7b3f0/kegbot_pyutils-0.1.8-py2-none-any.whl
  304. Processing ./.cache/pip/wheels/4c/21/dd/2c2d4b07bc0f08f95ca3c8b436a2e8c3be942aa5f717a570ca/kegbot_api-1.1.0-py2-none-any.whl
  305. Collecting kegbot-kegboard==1.1.5
  306. Using cached kegbot-kegboard-1.1.5.tar.gz (11 kB)
  307. ERROR: Command errored out with exit status 1:
  308. command: /home/kegbot/kegbot-pycore.venv/bin/python -c 'import sys, setuptools, tokenize; sys.argv[0] = '"'"'/tmp/pip-install-WpOZ6R/kegbot-kegboard/setup.py'"'"'; __file__='"'"'/tmp/pip-install-WpOZ6R/kegbot-kegboard/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' egg_info --egg-base /tmp/pip-install-WpOZ6R/kegbot-kegboard/pip-egg-info
  309. cwd: /tmp/pip-install-WpOZ6R/kegbot-kegboard/
  310. Complete output (26 lines):
  311. Downloading http://pypi.python.org/packages/source/d/distribute/distribute-0.6.12.tar.gz
  312. Traceback (most recent call last):
  313. File "<string>", line 1, in <module>
  314. File "/tmp/pip-install-WpOZ6R/kegbot-kegboard/setup.py", line 48, in <module>
  315. setup_package()
  316. File "/tmp/pip-install-WpOZ6R/kegbot-kegboard/setup.py", line 19, in setup_package
  317. use_setuptools()
  318. File "distribute_setup.py", line 145, in use_setuptools
  319. return _do_download(version, download_base, to_dir, download_delay)
  320. File "distribute_setup.py", line 124, in _do_download
  321. to_dir, download_delay)
  322. File "distribute_setup.py", line 193, in download_setuptools
  323. src = urlopen(url)
  324. File "/usr/lib/python2.7/urllib2.py", line 154, in urlopen
  325. return opener.open(url, data, timeout)
  326. File "/usr/lib/python2.7/urllib2.py", line 435, in open
  327. response = meth(req, response)
  328. File "/usr/lib/python2.7/urllib2.py", line 548, in http_response
  329. 'http', request, response, code, msg, hdrs)
  330. File "/usr/lib/python2.7/urllib2.py", line 473, in error
  331. return self._call_chain(*args)
  332. File "/usr/lib/python2.7/urllib2.py", line 407, in _call_chain
  333. result = func(*args)
  334. File "/usr/lib/python2.7/urllib2.py", line 556, in http_error_default
  335. raise HTTPError(req.get_full_url(), code, msg, hdrs, fp)
  336. urllib2.HTTPError: HTTP Error 403: SSL is required
  337. ----------------------------------------
  338. ERROR: Command errored out with exit status 1: python setup.py egg_info Check the logs for full command output.
  339.  
  340.  
  341. ERROR : Command returned error:
  342. ERROR : Command: sudo su -l kegbot -c ". /home/kegbot/kegbot-pycore.venv/bin/activate && pip install git+https://github.com/johnnyruz/kegbot-pycore.git@latest"
  343. ERROR : Return code: 1
  344. Traceback (most recent call last):
  345. File "/usr/local/bin/kegberry", line 7, in <module>
  346. app.run()
  347. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 210, in run
  348. command_fn(*args)
  349. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 285, in install
  350. run_in_virtualenv(PYCORE_VENV, 'pip install {}'.format(FLAGS.kegbot_pycore_package))
  351. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 154, in run_in_virtualenv
  352. return run_as_kegberry(cmd, **kwargs)
  353. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 148, in run_as_kegberry
  354. return run_command(wrapped, **kwargs)
  355. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 142, in run_command
  356. raise e
  357. subprocess.CalledProcessError: Command 'sudo su -l kegbot -c ". /home/kegbot/kegbot-pycore.venv/bin/activate && pip install git+https://github.com/johnnyruz/kegbot-pycore.git@latest"' returned non-zero exit status 1
  358. + sudo su -l kegbot -c '. /home/kegbot/kegbot-pycore.venv/bin/activate && pip install '\''git+https://github.com/johnnyruz/kegbot-pyutils.git@latest'\'''
  359. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  360. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  361. Collecting git+https://github.com/johnnyruz/kegbot-pyutils.git@latest
  362. Cloning https://github.com/johnnyruz/kegbot-pyutils.git (to revision latest) to /tmp/pip-req-build-oXOdXx
  363. Running command git clone -q https://github.com/johnnyruz/kegbot-pyutils.git /tmp/pip-req-build-oXOdXx
  364. Running command git checkout -b latest --track origin/latest
  365. Switched to a new branch 'latest'
  366. Branch 'latest' set up to track remote branch 'latest' from 'origin'.
  367. Collecting isodate==0.4.9
  368. Downloading isodate-0.4.9.tar.gz (24 kB)
  369. WARNING: Retrying (Retry(total=4, connect=None, read=None, redirect=None, status=None)) after connection broken by 'ProtocolError('Connection aborted.', BadStatusLine('No status line received - the server has closed the connection',))': /simple/python-gflags/
  370. Collecting python-gflags>=1.8
  371. Downloading python-gflags-3.1.2.tar.gz (52 kB)
  372. |████████████████████████████████| 52 kB 15 kB/s
  373. Building wheels for collected packages: kegbot-pyutils, isodate, python-gflags
  374. Building wheel for kegbot-pyutils (setup.py) ... done
  375. Created wheel for kegbot-pyutils: filename=kegbot_pyutils-0.1.8-py2-none-any.whl size=20982 sha256=e636eeb36c8d1a9d2a2969ee01c199363190a44f907248ecf9823ca9f1bedb17
  376. Stored in directory: /tmp/pip-ephem-wheel-cache-s1Rmtn/wheels/c4/e4/e5/b0c8130a58d2739d589c1c9237aaacfa2d86738b6b31e39e1e
  377. Building wheel for isodate (setup.py) ... done
  378. Created wheel for isodate: filename=isodate-0.4.9-py2-none-any.whl size=38588 sha256=9197b363f93aa32a6730e0e3123ca30daacf327a8c37116245c61b6584ef6922
  379. Stored in directory: /home/kegbot/.cache/pip/wheels/c6/e5/17/5673240397d07b07742bb65ab0539c5c9fac40b74acb3050a5
  380. Building wheel for python-gflags (setup.py) ... done
  381. Created wheel for python-gflags: filename=python_gflags-3.1.2-py2-none-any.whl size=57365 sha256=98c5f3edda3304949b6c869d226ba971725bf2045c54a47d189e3b32d611ce07
  382. Stored in directory: /home/kegbot/.cache/pip/wheels/a1/93/91/0bf53a34442a2daa0a68c2afc0f83891f92aac373fb090b52c
  383. Successfully built kegbot-pyutils isodate python-gflags
  384. Installing collected packages: isodate, python-gflags, kegbot-pyutils
  385. Successfully installed isodate-0.4.9 kegbot-pyutils-0.1.8 python-gflags-3.1.2
  386. + sudo su -l kegbot -c '. /home/kegbot/kegbot-pycore.venv/bin/activate && pip install '\''git+https://github.com/johnnyruz/kegbot-api.git@latest#subdirectory=python'\'''
  387. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  388. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  389. Collecting git+https://github.com/johnnyruz/kegbot-api.git@latest#subdirectory=python
  390. Cloning https://github.com/johnnyruz/kegbot-api.git (to revision latest) to /tmp/pip-req-build-iGg7Vy
  391. Running command git clone -q https://github.com/johnnyruz/kegbot-api.git /tmp/pip-req-build-iGg7Vy
  392. Running command git checkout -b latest --track origin/latest
  393. Switched to a new branch 'latest'
  394. Branch 'latest' set up to track remote branch 'latest' from 'origin'.
  395. Requirement already satisfied: kegbot-pyutils>=0.1.4 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-api==1.1.0) (0.1.8)
  396. Requirement already satisfied: python-gflags>=1.8 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-api==1.1.0) (3.1.2)
  397. Collecting protobuf>=2.4.1
  398. Downloading protobuf-3.11.3-py2.py3-none-any.whl (434 kB)
  399. |████████████████████████████████| 434 kB 1.7 MB/s
  400. Collecting requests
  401. Downloading requests-2.22.0-py2.py3-none-any.whl (57 kB)
  402. |████████████████████████████████| 57 kB 117 kB/s
  403. Requirement already satisfied: isodate==0.4.9 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-pyutils>=0.1.4->kegbot-api==1.1.0) (0.4.9)
  404. Collecting six>=1.9
  405. Using cached six-1.14.0-py2.py3-none-any.whl (10 kB)
  406. Requirement already satisfied: setuptools in ./kegbot-pycore.venv/lib/python2.7/site-packages (from protobuf>=2.4.1->kegbot-api==1.1.0) (44.0.0)
  407. Collecting certifi>=2017.4.17
  408. Downloading certifi-2019.11.28-py2.py3-none-any.whl (156 kB)
  409. |████████████████████████████████| 156 kB 14.2 MB/s
  410. Collecting urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1
  411. Downloading urllib3-1.25.8-py2.py3-none-any.whl (125 kB)
  412. |████████████████████████████████| 125 kB 14.2 MB/s
  413. Collecting chardet<3.1.0,>=3.0.2
  414. Downloading chardet-3.0.4-py2.py3-none-any.whl (133 kB)
  415. |████████████████████████████████| 133 kB 8.9 MB/s
  416. Collecting idna<2.9,>=2.5
  417. Downloading idna-2.8-py2.py3-none-any.whl (58 kB)
  418. |████████████████████████████████| 58 kB 90 kB/s
  419. Building wheels for collected packages: kegbot-api
  420. Building wheel for kegbot-api (setup.py) ... done
  421. Created wheel for kegbot-api: filename=kegbot_api-1.1.0-py2-none-any.whl size=16605 sha256=2170f556e810b2b11cb6e54f6ae79ca045e8f5f2ddf2c7053f9443691fb84b12
  422. Stored in directory: /tmp/pip-ephem-wheel-cache-Uvr8ol/wheels/a3/4d/21/e268848643c56f951a7f00839684ea87ded570ef9b46592744
  423. Successfully built kegbot-api
  424. Installing collected packages: six, protobuf, certifi, urllib3, chardet, idna, requests, kegbot-api
  425. Successfully installed certifi-2019.11.28 chardet-3.0.4 idna-2.8 kegbot-api-1.1.0 protobuf-3.11.3 requests-2.22.0 six-1.14.0 urllib3-1.25.8
  426. + sudo su -l kegbot -c '. /home/kegbot/kegbot-pycore.venv/bin/activate && pip install '\''git+https://github.com/johnnyruz/kegboard.git@latest#subdirectory=python'\'''
  427. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  428. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  429. Collecting git+https://github.com/johnnyruz/kegboard.git@latest#subdirectory=python
  430. Cloning https://github.com/johnnyruz/kegboard.git (to revision latest) to /tmp/pip-req-build-bAoBes
  431. Running command git clone -q https://github.com/johnnyruz/kegboard.git /tmp/pip-req-build-bAoBes
  432. Running command git checkout -b latest --track origin/latest
  433. Switched to a new branch 'latest'
  434. Branch 'latest' set up to track remote branch 'latest' from 'origin'.
  435. Requirement already satisfied: kegbot-pyutils>=0.1.2 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-kegboard==1.1.5) (0.1.8)
  436. Requirement already satisfied: python-gflags in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-kegboard==1.1.5) (3.1.2)
  437. Collecting pyserial
  438. Downloading pyserial-3.4-py2.py3-none-any.whl (193 kB)
  439. |████████████████████████████████| 193 kB 1.7 MB/s
  440. Requirement already satisfied: isodate==0.4.9 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-pyutils>=0.1.2->kegbot-kegboard==1.1.5) (0.4.9)
  441. Building wheels for collected packages: kegbot-kegboard
  442. Building wheel for kegbot-kegboard (setup.py) ... done
  443. Created wheel for kegbot-kegboard: filename=kegbot_kegboard-1.1.5-py2-none-any.whl size=18914 sha256=240eb8d099d43f23cb755b31cb84132f572aca1752359111f2fecaf945a0a376
  444. Stored in directory: /tmp/pip-ephem-wheel-cache-dh4_O9/wheels/9c/cb/8c/7ddc79d3ff960a4d86c794dc10f9fc601aa4ece225762b622f
  445. Successfully built kegbot-kegboard
  446. Installing collected packages: pyserial, kegbot-kegboard
  447. Successfully installed kegbot-kegboard-1.1.5 pyserial-3.4
  448. + sudo su -l kegbot -c '. /home/kegbot/kegbot-pycore.venv/bin/activate && pip install '\''git+https://github.com/johnnyruz/kegbot-pycore.git@latest'\'''
  449. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  450. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  451. Collecting git+https://github.com/johnnyruz/kegbot-pycore.git@latest
  452. Cloning https://github.com/johnnyruz/kegbot-pycore.git (to revision latest) to /tmp/pip-req-build-9TcWKi
  453. Running command git clone -q https://github.com/johnnyruz/kegbot-pycore.git /tmp/pip-req-build-9TcWKi
  454. Running command git checkout -b latest --track origin/latest
  455. Switched to a new branch 'latest'
  456. Branch 'latest' set up to track remote branch 'latest' from 'origin'.
  457. Requirement already satisfied: kegbot-pyutils==0.1.8 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-pycore==1.2.1) (0.1.8)
  458. Requirement already satisfied: kegbot-api>=0.1.17 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-pycore==1.2.1) (1.1.0)
  459. Requirement already satisfied: kegbot-kegboard==1.1.5 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-pycore==1.2.1) (1.1.5)
  460. Collecting redis<3.0,>=2.9.1
  461. Downloading redis-2.10.6-py2.py3-none-any.whl (64 kB)
  462. |████████████████████████████████| 64 kB 52 kB/s
  463. Processing ./.cache/pip/wheels/77/5c/29/573608ea850d45a2efbc05f0a9a8fa7a528e60678ebb48f301/python_gflags-2.0-py2-none-any.whl
  464. Requirement already satisfied: isodate==0.4.9 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-pyutils==0.1.8->kegbot-pycore==1.2.1) (0.4.9)
  465. Requirement already satisfied: requests in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-api>=0.1.17->kegbot-pycore==1.2.1) (2.22.0)
  466. Requirement already satisfied: protobuf>=2.4.1 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-api>=0.1.17->kegbot-pycore==1.2.1) (3.11.3)
  467. Requirement already satisfied: pyserial in ./kegbot-pycore.venv/lib/python2.7/site-packages (from kegbot-kegboard==1.1.5->kegbot-pycore==1.2.1) (3.4)
  468. Requirement already satisfied: certifi>=2017.4.17 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from requests->kegbot-api>=0.1.17->kegbot-pycore==1.2.1) (2019.11.28)
  469. Requirement already satisfied: urllib3!=1.25.0,!=1.25.1,<1.26,>=1.21.1 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from requests->kegbot-api>=0.1.17->kegbot-pycore==1.2.1) (1.25.8)
  470. Requirement already satisfied: chardet<3.1.0,>=3.0.2 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from requests->kegbot-api>=0.1.17->kegbot-pycore==1.2.1) (3.0.4)
  471. Requirement already satisfied: idna<2.9,>=2.5 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from requests->kegbot-api>=0.1.17->kegbot-pycore==1.2.1) (2.8)
  472. Requirement already satisfied: six>=1.9 in ./kegbot-pycore.venv/lib/python2.7/site-packages (from protobuf>=2.4.1->kegbot-api>=0.1.17->kegbot-pycore==1.2.1) (1.14.0)
  473. Requirement already satisfied: setuptools in ./kegbot-pycore.venv/lib/python2.7/site-packages (from protobuf>=2.4.1->kegbot-api>=0.1.17->kegbot-pycore==1.2.1) (44.0.0)
  474. Building wheels for collected packages: kegbot-pycore
  475. Building wheel for kegbot-pycore (setup.py) ... done
  476. Created wheel for kegbot-pycore: filename=kegbot_pycore-1.2.1-py2-none-any.whl size=45433 sha256=4e2fd740d806aa6fbbffa60ea41896bb7fdf591d143b190f280e9e00bb40124e
  477. Stored in directory: /tmp/pip-ephem-wheel-cache-CBE2eL/wheels/5d/60/c6/9dbb099056469ee5e4083efac7f33ae0d3145c2ad0dac9352e
  478. Successfully built kegbot-pycore
  479. Installing collected packages: redis, python-gflags, kegbot-pycore
  480. Attempting uninstall: python-gflags
  481. Found existing installation: python-gflags 3.1.2
  482. Uninstalling python-gflags-3.1.2:
  483. Successfully uninstalled python-gflags-3.1.2
  484. Successfully installed kegbot-pycore-1.2.1 python-gflags-2.0 redis-2.10.6
  485. + sudo cat /etc/os-release
  486. + grep -q buster
  487. + echo 'APPLYING BUSTER CONFIGURATION - RASPBERRY PI'
  488. APPLYING BUSTER CONFIGURATION - RASPBERRY PI
  489. + sudo su -l kegbot -c '. /home/kegbot/kegbot-server.venv/bin/activate && pip install '\''git+https://github.com/johnnyruz/kegbot-server.git@latest_buster'\'''
  490. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  491. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  492. Collecting git+https://github.com/johnnyruz/kegbot-server.git@latest_buster
  493. Cloning https://github.com/johnnyruz/kegbot-server.git (to revision latest_buster) to /tmp/pip-req-build-KSblUW
  494. Running command git clone -q https://github.com/johnnyruz/kegbot-server.git /tmp/pip-req-build-KSblUW
  495. Running command git checkout -b latest_buster --track origin/latest_buster
  496. Switched to a new branch 'latest_buster'
  497. Branch 'latest_buster' set up to track remote branch 'latest_buster' from 'origin'.
  498. Requirement already satisfied (use --upgrade to upgrade): kegbot==1.2.4 from git+https://github.com/johnnyruz/kegbot-server.git@latest_buster in ./kegbot-server.venv/lib/python2.7/site-packages
  499. Requirement already satisfied: kegbot-pyutils==0.1.8 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (0.1.8)
  500. Requirement already satisfied: kegbot-api==1.1.0 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (1.1.0)
  501. Requirement already satisfied: mock==2.0.0 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (2.0.0)
  502. Requirement already satisfied: Django<1.8,>=1.7 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (1.7.11)
  503. Requirement already satisfied: django-imagekit==3.1 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (3.1)
  504. Requirement already satisfied: django-registration==1.0 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (1.0)
  505. Requirement already satisfied: django-socialregistration==0.5.10 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (0.5.10)
  506. Requirement already satisfied: django-bootstrap-pagination==0.1.10 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (0.1.10)
  507. Requirement already satisfied: Celery==3.1.17 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (3.1.17)
  508. Requirement already satisfied: django-crispy-forms==1.2.8 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (1.2.8)
  509. Requirement already satisfied: foursquare==2014.04.10 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (2014.4.10)
  510. Requirement already satisfied: gunicorn==19.1.1 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (19.1.1)
  511. Requirement already satisfied: pillow==2.4.0 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (2.4.0)
  512. Requirement already satisfied: protobuf==2.5.0 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (2.5.0)
  513. Requirement already satisfied: python-gflags==2.0 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (2.0)
  514. Requirement already satisfied: django-redis==3.6.1 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (3.6.1)
  515. Requirement already satisfied: pytz in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (2019.3)
  516. Requirement already satisfied: redis==2.9.1 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (2.9.1)
  517. Requirement already satisfied: requests==2.2.1 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (2.2.1)
  518. Requirement already satisfied: tweepy==2.2 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (2.2)
  519. Requirement already satisfied: jsonfield==0.9.20 in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot==1.2.4) (0.9.20)
  520. Requirement already satisfied: isodate in ./kegbot-server.venv/lib/python2.7/site-packages (from kegbot-pyutils==0.1.8->kegbot==1.2.4) (0.6.0)
  521. Requirement already satisfied: six>=1.9 in ./kegbot-server.venv/lib/python2.7/site-packages (from mock==2.0.0->kegbot==1.2.4) (1.14.0)
  522. Requirement already satisfied: pbr>=0.11 in ./kegbot-server.venv/lib/python2.7/site-packages (from mock==2.0.0->kegbot==1.2.4) (5.4.4)
  523. Requirement already satisfied: funcsigs>=1; python_version < "3.3" in ./kegbot-server.venv/lib/python2.7/site-packages (from mock==2.0.0->kegbot==1.2.4) (1.0.2)
  524. Requirement already satisfied: django-appconf>=0.5 in ./kegbot-server.venv/lib/python2.7/site-packages (from django-imagekit==3.1->kegbot==1.2.4) (1.0.3)
  525. Requirement already satisfied: pilkit>=0.2.0 in ./kegbot-server.venv/lib/python2.7/site-packages (from django-imagekit==3.1->kegbot==1.2.4) (2.0)
  526. Requirement already satisfied: oauth2 in ./kegbot-server.venv/lib/python2.7/site-packages (from django-socialregistration==0.5.10->kegbot==1.2.4) (1.9.0.post1)
  527. Requirement already satisfied: python-openid in ./kegbot-server.venv/lib/python2.7/site-packages (from django-socialregistration==0.5.10->kegbot==1.2.4) (2.2.5)
  528. Requirement already satisfied: kombu<3.1,>=3.0.24 in ./kegbot-server.venv/lib/python2.7/site-packages (from Celery==3.1.17->kegbot==1.2.4) (3.0.37)
  529. Requirement already satisfied: billiard<3.4,>=3.3.0.19 in ./kegbot-server.venv/lib/python2.7/site-packages (from Celery==3.1.17->kegbot==1.2.4) (3.3.0.23)
  530. Requirement already satisfied: setuptools in ./kegbot-server.venv/lib/python2.7/site-packages (from protobuf==2.5.0->kegbot==1.2.4) (44.0.0)
  531. Requirement already satisfied: httplib2 in ./kegbot-server.venv/lib/python2.7/site-packages (from oauth2->django-socialregistration==0.5.10->kegbot==1.2.4) (0.17.0)
  532. Requirement already satisfied: amqp<2.0,>=1.4.9 in ./kegbot-server.venv/lib/python2.7/site-packages (from kombu<3.1,>=3.0.24->Celery==3.1.17->kegbot==1.2.4) (1.4.9)
  533. Requirement already satisfied: anyjson>=0.3.3 in ./kegbot-server.venv/lib/python2.7/site-packages (from kombu<3.1,>=3.0.24->Celery==3.1.17->kegbot==1.2.4) (0.3.3)
  534. Building wheels for collected packages: kegbot
  535. Building wheel for kegbot (setup.py) ... done
  536. Created wheel for kegbot: filename=kegbot-1.2.4-py2-none-any.whl size=3334166 sha256=3b75194ca42a21615bb179669870369c9b6c8793d9b69abcea5a983be2401a7b
  537. Stored in directory: /tmp/pip-ephem-wheel-cache-2Fj6rQ/wheels/5f/92/71/e243e770531fd9d7e675bcbbeb56b8a80d7798a6973295b351
  538. Successfully built kegbot
  539. + sudo cp -rf /home/pi/mypkgs/NEW_buster_app.py /usr/local/lib/python2.7/dist-packages/kegberry/app.py
  540. + sudo cp -rf /home/pi/mypkgs/MySQLdb_Raspbian/MySQLdb /home/kegbot/kegbot-server.venv/lib/python2.7/site-packages/MySQLdb
  541. + sudo cp -rf /home/pi/mypkgs/MySQLdb_Raspbian/_mysql_exceptions.py /home/kegbot/kegbot-server.venv/lib/python2.7/site-packages/_mysql_exceptions.py
  542. + sudo cp -rf /home/pi/mypkgs/MySQLdb_Raspbian/_mysql.so /home/kegbot/kegbot-server.venv/lib/python2.7/site-packages/_mysql.so
  543. + sudo cp -rf /home/pi/mypkgs/MySQLdb_Raspbian/libmariadbclient.so.18.0.0 /usr/lib/arm-linux-gnueabihf/libmariadbclient.so.18.0.0
  544. + sudo ln -s /usr/lib/arm-linux-gnueabihf/libmariadbclient.so.18.0.0 /usr/lib/arm-linux-gnueabihf/libmariadbclient.so.18
  545. ln: failed to create symbolic link '/usr/lib/arm-linux-gnueabihf/libmariadbclient.so.18': File exists
  546.  
  547. oOOOOOo
  548. ,| oO Kegberry v2.1.1 - http://kegberry.com
  549. //| |
  550. \\| | "He was a wise man who invented beer."
  551. `| | -- Plato
  552. `-----`
  553.  
  554. INFO : Updating package list ...
  555. INFO : Installing required packages ...
  556. INFO : Cleaning up ...
  557. INFO : Checking if database exists ...
  558. INFO : Installing MySQL timezones ...
  559. INFO : Checking/installing virtualenv "kegbot-server.venv"...
  560. INFO : Checking/installing virtualenv "kegbot-pycore.venv"...
  561. INFO : Installing python server packages, this may take a while ...
  562. DEPRECATION: Python 2.7 reached the end of its life on January 1st, 2020. Please upgrade your Python as Python 2.7 is no longer maintained. A future version of pip will drop support for Python 2.7. More details about Python 2 support in pip, can be found at https://pip.pypa.io/en/latest/development/release-process/#python-2-support
  563. Looking in indexes: https://pypi.org/simple, https://www.piwheels.org/simple
  564. Collecting git+https://github.com/johnnyruz/kegbot-server.git@latest_buster
  565. Cloning https://github.com/johnnyruz/kegbot-server.git (to revision latest_buster) to /tmp/pip-req-build-_YuA8E
  566. Running command git clone -q https://github.com/johnnyruz/kegbot-server.git /tmp/pip-req-build-_YuA8E
  567. fatal: unable to access 'https://github.com/johnnyruz/kegbot-server.git/': Could not resolve host: github.com
  568. ERROR: Command errored out with exit status 128: git clone -q https://github.com/johnnyruz/kegbot-server.git /tmp/pip-req-build-_YuA8E Check the logs for full command output.
  569.  
  570.  
  571. ERROR : Command returned error:
  572. ERROR : Command: sudo su -l kegbot -c ". /home/kegbot/kegbot-server.venv/bin/activate && pip install git+https://github.com/johnnyruz/kegbot-server.git@latest_buster"
  573. ERROR : Return code: 1
  574. Traceback (most recent call last):
  575. File "/usr/local/bin/kegberry", line 7, in <module>
  576. app.run()
  577. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 210, in run
  578. command_fn(*args)
  579. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 281, in install
  580. run_in_virtualenv(SERVER_VENV, 'pip install {}'.format(FLAGS.kegbot_server_package))
  581. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 154, in run_in_virtualenv
  582. return run_as_kegberry(cmd, **kwargs)
  583. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 148, in run_as_kegberry
  584. return run_command(wrapped, **kwargs)
  585. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 142, in run_command
  586. raise e
  587. subprocess.CalledProcessError: Command 'sudo su -l kegbot -c ". /home/kegbot/kegbot-server.venv/bin/activate && pip install git+https://github.com/johnnyruz/kegbot-server.git@latest_buster"' returned non-zero exit status 1
  588. sed: can't read /home/kegbot/.kegbot/pycore-flags.txt: No such file or directory
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement