Advertisement
Guest User

Untitled

a guest
Jan 10th, 2020
520
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.37 KB | None | 0 0
  1.  
  2. bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
  3. root@ubu:/home/jannis# mc
  4.  
  5. root@ubu:/home/jannis# cd /def_user/frappe-bench
  6. bash: cd: /def_user/frappe-bench: No such file or directory
  7. root@ubu:/home/jannis# cd /def_user/frappe-bench
  8. bash: cd: /def_user/frappe-bench: No such file or directory
  9. root@ubu:/home/jannis# cd /home/def_user/frappe-bench
  10. root@ubu:/home/def_user/frappe-bench# bench update
  11. Traceback (most recent call last):
  12. File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
  13. "__main__", mod_spec)
  14. File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
  15. exec(code, run_globals)
  16. File "/home/def_user/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 97, in <module>
  17. main()
  18. File "/home/def_user/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
  19. click.Group(commands=commands)(prog_name='bench')
  20. File "/home/def_user/frappe-bench/env/lib/python3.6/site-packages/click/core.py", line 764, in __call__
  21. return self.main(*args, **kwargs)
  22. File "/home/def_user/frappe-bench/env/lib/python3.6/site-packages/click/core.py", line 696, in main
  23. _verify_python3_env()
  24. File "/home/def_user/frappe-bench/env/lib/python3.6/site-packages/click/_unicodefun.py", line 124, in _verify_python3_env
  25. ' mitigation steps.' + extra
  26. RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult https://click.palletsprojects.com/en/7.x/python3/ for mitigation steps.
  27.  
  28. This system supports the C.UTF-8 locale which is recommended.
  29. You might be able to resolve your issue by exporting the
  30. following environment variables:
  31.  
  32. export LC_ALL=C.UTF-8
  33. export LANG=C.UTF-8
  34.  
  35. Click discovered that you exported a UTF-8 locale
  36. but the locale system could not pick up from it because
  37. it does not exist. The exported locale is "en_US.UTF-8" but it
  38. is not supported
  39.  
  40. Traceback (most recent call last):
  41. File "/usr/local/bin/bench", line 11, in <module>
  42. load_entry_point('bench', 'console_scripts', 'bench')()
  43. File "/home/def_user/.bench/bench/cli.py", line 40, in cli
  44. bench_command()
  45. File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 764, in __call__
  46. return self.main(*args, **kwargs)
  47. File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 696, in main
  48. _verify_python3_env()
  49. File "/usr/local/lib/python3.6/dist-packages/click/_unicodefun.py", line 124, in _verify_python3_env
  50. ' mitigation steps.' + extra
  51. RuntimeError: Click will abort further execution because Python 3 was configured to use ASCII as encoding for the environment. Consult https://click.palletsprojects.com/en/7.x/python3/ for mitigation steps.
  52.  
  53. This system supports the C.UTF-8 locale which is recommended.
  54. You might be able to resolve your issue by exporting the
  55. following environment variables:
  56.  
  57. export LC_ALL=C.UTF-8
  58. export LANG=C.UTF-8
  59.  
  60. Click discovered that you exported a UTF-8 locale
  61. but the locale system could not pick up from it because
  62. it does not exist. The exported locale is "en_US.UTF-8" but it
  63. is not supported
  64. root@ubu:/home/def_user/frappe-bench# export LC_ALL=C.UTF-8
  65. root@ubu:/home/def_user/frappe-bench# bench update
  66. INFO:bench.utils:Updating bench
  67. INFO:bench.utils:git pull
  68. Already up to date.
  69. INFO:bench.utils:Bench Updated!
  70. INFO:bench.utils:./env/bin/pip install Pillow
  71. Requirement already satisfied: Pillow in ./env/lib/python3.6/site-packages (7.0.0)
  72. Backing up sites...
  73. INFO:bench.app:pulling frappe
  74. INFO:bench.utils:git pull upstream version-12
  75. From https://github.com/frappe/frappe
  76. * branch version-12 -> FETCH_HEAD
  77. Already up to date.
  78. INFO:bench.utils:find . -name "*.pyc" -delete
  79. INFO:bench.app:pulling erpnext
  80. INFO:bench.utils:git pull upstream version-12
  81. From https://github.com/frappe/erpnext
  82. * branch version-12 -> FETCH_HEAD
  83. Already up to date.
  84. INFO:bench.utils:find . -name "*.pyc" -delete
  85. Updating Python libraries...
  86. INFO:bench.utils:./env/bin/pip install -q -U pip
  87. INFO:bench.utils:/usr/local/bin/pip3 install --user -q -U -r /home/def_user/.bench/requirements.txt
  88. INFO:bench.app:installing frappe
  89. INFO:bench.utils:./env/bin/pip install -q -U -e ./apps/frappe
  90. INFO:bench.app:installing erpnext
  91. INFO:bench.utils:./env/bin/pip install -q -U -e ./apps/erpnext
  92. Updating node packages...
  93. INFO:bench.utils:yarn install
  94. yarn install v1.21.1
  95. [1/4] Resolving packages...
  96. [2/4] Fetching packages...
  97. [3/4] Linking dependencies...
  98. [4/4] Building fresh packages...
  99. Done in 275.99s.
  100. INFO:bench.utils:yarn install
  101. yarn install v1.21.1
  102. [1/4] Resolving packages...
  103. success Already up-to-date.
  104. Done in 0.78s.
  105. Patching sites...
  106. Migrating site1.local
  107. Updating DocTypes for frappe : [========================================]
  108. Updating DocTypes for erpnext : [========================================]
  109. Updating customizations for Address
  110. Generating Website Theme Files...
  111. Compiling Python Files...
  112. INFO:bench.utils:bench build
  113. yarn run v1.21.1
  114. $ FRAPPE_ENV=production node rollup/build.js
  115. Production mode
  116. ✔ Built js/moment-bundle.min.js
  117. ✔ Built js/libs.min.js
  118.  
  119. Building frappe assets...
  120.  
  121. ✔ Built js/checkout.min.js
  122. ✔ Built js/dialog.min.js
  123. ✔ Built js/modules.min.js
  124. ✔ Built js/social.min.js
  125. ✔ Built js/web_form.min.js
  126. ✔ Built css/frappe-rtl.css
  127. ✔ Built css/printview.css
  128. ✔ Built js/chat.js
  129. ✔ Built js/list.min.js
  130. ✔ Built css/form.min.css
  131. ✔ Built css/module.min.css
  132. ✔ Built css/report.min.css
  133. ✔ Built css/list.min.css
  134. ✔ Built frappe/css/email.css
  135. ✔ Built css/frappe-chat-web.css
  136. ✔ Built css/web_form.css
  137. ✔ Built css/desk.min.css
  138. ✔ Built js/desk.min.js
  139. ✔ Built js/frappe-web.min.js
  140. ✔ Built js/barcode_scanner.min.js
  141. ✔ Built js/frappe-recorder.min.js
  142. ✔ Built js/bootstrap-4-web.min.js
  143. ✔ Built js/control.min.js
  144. ✔ Built css/frappe-web-b4.css
  145. ✔ Built js/form.min.js
  146. ✔ Built js/data_import_tools.min.js
  147. ✔ Built js/report.min.js
  148. ✨ Done in 67.615s
  149.  
  150. Building erpnext assets...
  151.  
  152. ✔ Built js/erpnext-web.min.js
  153. ✔ Built css/marketplace.css
  154. ✔ Built css/erpnext.css
  155. ✔ Built js/item-dashboard.min.js
  156. ✔ Built js/erpnext.min.js
  157. ✔ Built css/erpnext-web.css
  158. ✔ Built js/marketplace.min.js
  159. ✨ Done in 15.429s
  160. Done in 84.59s.
  161. INFO:bench.utils:sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
  162. frappe-bench-workers:frappe-bench-frappe-schedule: stopped
  163. frappe-bench-workers:frappe-bench-frappe-default-worker-0: stopped
  164. frappe-bench-workers:frappe-bench-frappe-long-worker-0: stopped
  165. frappe-bench-workers:frappe-bench-frappe-short-worker-0: stopped
  166. frappe-bench-web:frappe-bench-node-socketio: stopped
  167. frappe-bench-web:frappe-bench-frappe-web: stopped
  168. frappe-bench-workers:frappe-bench-frappe-schedule: started
  169. frappe-bench-workers:frappe-bench-frappe-default-worker-0: started
  170. frappe-bench-workers:frappe-bench-frappe-long-worker-0: started
  171. frappe-bench-workers:frappe-bench-frappe-short-worker-0: started
  172. frappe-bench-web:frappe-bench-frappe-web: started
  173. frappe-bench-web:frappe-bench-node-socketio: started
  174. ________________________________________________________________________________
  175. Bench: Deployment tool for Frappe and ERPNext (https://erpnext.org).
  176. Open source depends on your contributions, so please contribute bug reports, patches, fixes or cash and be a part of the community
  177.  
  178. root@ubu:/home/def_user/frappe-bench#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement