Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- bash: warning: setlocale: LC_ALL: cannot change locale (en_US.UTF-8)
- root@ubu:/home/jannis# mc
- root@ubu:/home/jannis# cd /def_user/frappe-bench
- bash: cd: /def_user/frappe-bench: No such file or directory
- root@ubu:/home/jannis# cd /def_user/frappe-bench
- bash: cd: /def_user/frappe-bench: No such file or directory
- root@ubu:/home/jannis# cd /home/def_user/frappe-bench
- root@ubu:/home/def_user/frappe-bench# bench update
- Traceback (most recent call last):
- File "/usr/lib/python3.6/runpy.py", line 193, in _run_module_as_main
- "__main__", mod_spec)
- File "/usr/lib/python3.6/runpy.py", line 85, in _run_code
- exec(code, run_globals)
- File "/home/def_user/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 97, in <module>
- main()
- File "/home/def_user/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
- click.Group(commands=commands)(prog_name='bench')
- File "/home/def_user/frappe-bench/env/lib/python3.6/site-packages/click/core.py", line 764, in __call__
- return self.main(*args, **kwargs)
- File "/home/def_user/frappe-bench/env/lib/python3.6/site-packages/click/core.py", line 696, in main
- _verify_python3_env()
- File "/home/def_user/frappe-bench/env/lib/python3.6/site-packages/click/_unicodefun.py", line 124, in _verify_python3_env
- ' mitigation steps.' + extra
- 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.
- This system supports the C.UTF-8 locale which is recommended.
- You might be able to resolve your issue by exporting the
- following environment variables:
- export LC_ALL=C.UTF-8
- export LANG=C.UTF-8
- Click discovered that you exported a UTF-8 locale
- but the locale system could not pick up from it because
- it does not exist. The exported locale is "en_US.UTF-8" but it
- is not supported
- Traceback (most recent call last):
- File "/usr/local/bin/bench", line 11, in <module>
- load_entry_point('bench', 'console_scripts', 'bench')()
- File "/home/def_user/.bench/bench/cli.py", line 40, in cli
- bench_command()
- File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 764, in __call__
- return self.main(*args, **kwargs)
- File "/usr/local/lib/python3.6/dist-packages/click/core.py", line 696, in main
- _verify_python3_env()
- File "/usr/local/lib/python3.6/dist-packages/click/_unicodefun.py", line 124, in _verify_python3_env
- ' mitigation steps.' + extra
- 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.
- This system supports the C.UTF-8 locale which is recommended.
- You might be able to resolve your issue by exporting the
- following environment variables:
- export LC_ALL=C.UTF-8
- export LANG=C.UTF-8
- Click discovered that you exported a UTF-8 locale
- but the locale system could not pick up from it because
- it does not exist. The exported locale is "en_US.UTF-8" but it
- is not supported
- root@ubu:/home/def_user/frappe-bench# export LC_ALL=C.UTF-8
- root@ubu:/home/def_user/frappe-bench# bench update
- INFO:bench.utils:Updating bench
- INFO:bench.utils:git pull
- Already up to date.
- INFO:bench.utils:Bench Updated!
- INFO:bench.utils:./env/bin/pip install Pillow
- Requirement already satisfied: Pillow in ./env/lib/python3.6/site-packages (7.0.0)
- Backing up sites...
- INFO:bench.app:pulling frappe
- INFO:bench.utils:git pull upstream version-12
- From https://github.com/frappe/frappe
- * branch version-12 -> FETCH_HEAD
- Already up to date.
- INFO:bench.utils:find . -name "*.pyc" -delete
- INFO:bench.app:pulling erpnext
- INFO:bench.utils:git pull upstream version-12
- From https://github.com/frappe/erpnext
- * branch version-12 -> FETCH_HEAD
- Already up to date.
- INFO:bench.utils:find . -name "*.pyc" -delete
- Updating Python libraries...
- INFO:bench.utils:./env/bin/pip install -q -U pip
- INFO:bench.utils:/usr/local/bin/pip3 install --user -q -U -r /home/def_user/.bench/requirements.txt
- INFO:bench.app:installing frappe
- INFO:bench.utils:./env/bin/pip install -q -U -e ./apps/frappe
- INFO:bench.app:installing erpnext
- INFO:bench.utils:./env/bin/pip install -q -U -e ./apps/erpnext
- Updating node packages...
- INFO:bench.utils:yarn install
- yarn install v1.21.1
- [1/4] Resolving packages...
- [2/4] Fetching packages...
- [3/4] Linking dependencies...
- [4/4] Building fresh packages...
- Done in 275.99s.
- INFO:bench.utils:yarn install
- yarn install v1.21.1
- [1/4] Resolving packages...
- success Already up-to-date.
- Done in 0.78s.
- Patching sites...
- Migrating site1.local
- Updating DocTypes for frappe : [========================================]
- Updating DocTypes for erpnext : [========================================]
- Updating customizations for Address
- Generating Website Theme Files...
- Compiling Python Files...
- INFO:bench.utils:bench build
- yarn run v1.21.1
- $ FRAPPE_ENV=production node rollup/build.js
- Production mode
- ✔ Built js/moment-bundle.min.js
- ✔ Built js/libs.min.js
- Building frappe assets...
- ✔ Built js/checkout.min.js
- ✔ Built js/dialog.min.js
- ✔ Built js/modules.min.js
- ✔ Built js/social.min.js
- ✔ Built js/web_form.min.js
- ✔ Built css/frappe-rtl.css
- ✔ Built css/printview.css
- ✔ Built js/chat.js
- ✔ Built js/list.min.js
- ✔ Built css/form.min.css
- ✔ Built css/module.min.css
- ✔ Built css/report.min.css
- ✔ Built css/list.min.css
- ✔ Built frappe/css/email.css
- ✔ Built css/frappe-chat-web.css
- ✔ Built css/web_form.css
- ✔ Built css/desk.min.css
- ✔ Built js/desk.min.js
- ✔ Built js/frappe-web.min.js
- ✔ Built js/barcode_scanner.min.js
- ✔ Built js/frappe-recorder.min.js
- ✔ Built js/bootstrap-4-web.min.js
- ✔ Built js/control.min.js
- ✔ Built css/frappe-web-b4.css
- ✔ Built js/form.min.js
- ✔ Built js/data_import_tools.min.js
- ✔ Built js/report.min.js
- ✨ Done in 67.615s
- Building erpnext assets...
- ✔ Built js/erpnext-web.min.js
- ✔ Built css/marketplace.css
- ✔ Built css/erpnext.css
- ✔ Built js/item-dashboard.min.js
- ✔ Built js/erpnext.min.js
- ✔ Built css/erpnext-web.css
- ✔ Built js/marketplace.min.js
- ✨ Done in 15.429s
- Done in 84.59s.
- INFO:bench.utils:sudo supervisorctl restart frappe-bench-workers: frappe-bench-web:
- frappe-bench-workers:frappe-bench-frappe-schedule: stopped
- frappe-bench-workers:frappe-bench-frappe-default-worker-0: stopped
- frappe-bench-workers:frappe-bench-frappe-long-worker-0: stopped
- frappe-bench-workers:frappe-bench-frappe-short-worker-0: stopped
- frappe-bench-web:frappe-bench-node-socketio: stopped
- frappe-bench-web:frappe-bench-frappe-web: stopped
- frappe-bench-workers:frappe-bench-frappe-schedule: started
- frappe-bench-workers:frappe-bench-frappe-default-worker-0: started
- frappe-bench-workers:frappe-bench-frappe-long-worker-0: started
- frappe-bench-workers:frappe-bench-frappe-short-worker-0: started
- frappe-bench-web:frappe-bench-frappe-web: started
- frappe-bench-web:frappe-bench-node-socketio: started
- ________________________________________________________________________________
- Bench: Deployment tool for Frappe and ERPNext (https://erpnext.org).
- Open source depends on your contributions, so please contribute bug reports, patches, fixes or cash and be a part of the community
- root@ubu:/home/def_user/frappe-bench#
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement