Advertisement
Guest User

Untitled

a guest
Feb 18th, 2020
150
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 19.83 KB | None | 0 0
  1. pi@raspberrypi:~ $ 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:12:06-- 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.114.4
  20. Connecting to github.com (github.com)|140.82.114.4|: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:12:06-- 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 7.91MB/s in 0.3s
  31.  
  32. 2020-02-18 21:12:06 (7.91 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. + grep -q buster
  142. + sudo cat /etc/os-release
  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-ZgVXwp
  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-W0BYHz/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. \\| | "For a quart of ale is a dish for a king."
  202. `| | -- William Shakespeare, "A Winter's Tale"
  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 : Checking/installing virtualenv "kegbot-server.venv"...
  211. su: warning: cannot change directory to /home/kegbot: No such file or directory
  212. usage: virtualenv [--version] [--with-traceback] [-v | -q] [--discovery {builtin}] [-p py] [--creator {builtin,cpython2-posix}] [--seeder {app-data,pip}] [--no-seed] [--activators comma_separated_list] [--clear] [--system-site-packages]
  213. [--symlinks | --copies] [--download | --no-download] [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip] [--no-setuptools] [--no-wheel] [--clear-app-data] [--symlink-app-data]
  214. [--prompt prompt] [-h]
  215. dest
  216. virtualenv: error: argument dest: the destination . is not write-able at /home
  217.  
  218.  
  219. ERROR : Command returned error:
  220. ERROR : Command: sudo su -l kegbot -c "if [ ! -e /home/kegbot/kegbot-server.venv ]; then /usr/local/bin/virtualenv /home/kegbot/kegbot-server.venv; fi"
  221. ERROR : Return code: 2
  222. Traceback (most recent call last):
  223. File "/usr/local/bin/kegberry", line 7, in <module>
  224. app.run()
  225. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 210, in run
  226. command_fn(*args)
  227. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 278, in install
  228. run_as_kegberry('if [ ! -e {} ]; then {} {}; fi'.format(virtualenv, venv_cmd, virtualenv))
  229. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 148, in run_as_kegberry
  230. return run_command(wrapped, **kwargs)
  231. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 142, in run_command
  232. raise e
  233. subprocess.CalledProcessError: Command 'sudo su -l kegbot -c "if [ ! -e /home/kegbot/kegbot-server.venv ]; then /usr/local/bin/virtualenv /home/kegbot/kegbot-server.venv; fi"' returned non-zero exit status 2
  234.  
  235. oOOOOOo
  236. ,| oO Kegberry v2.1.1 - http://kegberry.com
  237. //| |
  238. \\| | "Beer. Now there's a temporary solution."
  239. `| | -- Homer Simpson
  240. `-----`
  241.  
  242. INFO : Updating package list ...
  243. INFO : Installing required packages ...
  244. INFO : Cleaning up ...
  245. INFO : Checking if database exists ...
  246. INFO : Installing MySQL timezones ...
  247. INFO : Checking/installing virtualenv "kegbot-server.venv"...
  248. su: warning: cannot change directory to /home/kegbot: No such file or directory
  249. usage: virtualenv [--version] [--with-traceback] [-v | -q] [--discovery {builtin}] [-p py] [--creator {builtin,cpython2-posix}] [--seeder {app-data,pip}] [--no-seed] [--activators comma_separated_list] [--clear] [--system-site-packages]
  250. [--symlinks | --copies] [--download | --no-download] [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip] [--no-setuptools] [--no-wheel] [--clear-app-data] [--symlink-app-data]
  251. [--prompt prompt] [-h]
  252. dest
  253. virtualenv: error: argument dest: the destination . is not write-able at /home
  254.  
  255.  
  256. ERROR : Command returned error:
  257. ERROR : Command: sudo su -l kegbot -c "if [ ! -e /home/kegbot/kegbot-server.venv ]; then /usr/local/bin/virtualenv /home/kegbot/kegbot-server.venv; fi"
  258. ERROR : Return code: 2
  259. Traceback (most recent call last):
  260. File "/usr/local/bin/kegberry", line 7, in <module>
  261. app.run()
  262. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 210, in run
  263. command_fn(*args)
  264. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 278, in install
  265. run_as_kegberry('if [ ! -e {} ]; then {} {}; fi'.format(virtualenv, venv_cmd, virtualenv))
  266. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 148, in run_as_kegberry
  267. return run_command(wrapped, **kwargs)
  268. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 142, in run_command
  269. raise e
  270. subprocess.CalledProcessError: Command 'sudo su -l kegbot -c "if [ ! -e /home/kegbot/kegbot-server.venv ]; then /usr/local/bin/virtualenv /home/kegbot/kegbot-server.venv; fi"' returned non-zero exit status 2
  271. + sudo su -l kegbot -c '. /home/kegbot/kegbot-pycore.venv/bin/activate && pip install '\''git+https://github.com/johnnyruz/kegbot-pyutils.git@latest'\'''
  272. su: warning: cannot change directory to /home/kegbot: No such file or directory
  273. -bash: /home/kegbot/kegbot-pycore.venv/bin/activate: No such file or directory
  274.  
  275. oOOOOOo
  276. ,| oO Kegberry v2.1.1 - http://kegberry.com
  277. //| |
  278. \\| | "Beer: So much more than just a breakfast drink."
  279. `| | -- Homer Simpson
  280. `-----`
  281.  
  282. INFO : Updating package list ...
  283. INFO : Installing required packages ...
  284. INFO : Cleaning up ...
  285. INFO : Checking if database exists ...
  286. INFO : Installing MySQL timezones ...
  287. INFO : Checking/installing virtualenv "kegbot-server.venv"...
  288. su: warning: cannot change directory to /home/kegbot: No such file or directory
  289. usage: virtualenv [--version] [--with-traceback] [-v | -q] [--discovery {builtin}] [-p py] [--creator {builtin,cpython2-posix}] [--seeder {app-data,pip}] [--no-seed] [--activators comma_separated_list] [--clear] [--system-site-packages]
  290. [--symlinks | --copies] [--download | --no-download] [--extra-search-dir d [d ...]] [--pip version] [--setuptools version] [--wheel version] [--no-pip] [--no-setuptools] [--no-wheel] [--clear-app-data] [--symlink-app-data]
  291. [--prompt prompt] [-h]
  292. dest
  293. virtualenv: error: argument dest: the destination . is not write-able at /home
  294.  
  295.  
  296. ERROR : Command returned error:
  297. ERROR : Command: sudo su -l kegbot -c "if [ ! -e /home/kegbot/kegbot-server.venv ]; then /usr/local/bin/virtualenv /home/kegbot/kegbot-server.venv; fi"
  298. ERROR : Return code: 2
  299. Traceback (most recent call last):
  300. File "/usr/local/bin/kegberry", line 7, in <module>
  301. app.run()
  302. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 210, in run
  303. command_fn(*args)
  304. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 278, in install
  305. run_as_kegberry('if [ ! -e {} ]; then {} {}; fi'.format(virtualenv, venv_cmd, virtualenv))
  306. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 148, in run_as_kegberry
  307. return run_command(wrapped, **kwargs)
  308. File "/usr/local/lib/python2.7/dist-packages/kegberry/app.py", line 142, in run_command
  309. raise e
  310. subprocess.CalledProcessError: Command 'sudo su -l kegbot -c "if [ ! -e /home/kegbot/kegbot-server.venv ]; then /usr/local/bin/virtualenv /home/kegbot/kegbot-server.venv; fi"' returned non-zero exit status 2
  311. sed: can't read /home/kegbot/.kegbot/pycore-flags.txt: No such file or directory
  312. pi@raspberrypi:~ $
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement