New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
bench update error #5083
Comments
i try ti install pillow,but failed also |
This is a bug in pip: pypa/pip#3575. Try if an answer here helps: http://stackoverflow.com/questions/14547631/python-locale-error-unsupported-locale-setting |
yes. i fixed with |
`[root@123 ~]# bench update
when i input password here.
|
yes again, i solved to folow your previous code |
I am installing ERPNext on ubuntu 14.04 |
I'm getting this error while trying to update erpnext (version 8 and 9)frappe@erp-instance3:/root$ bench update |
my server in digitalocean:
ERPNext
1 GB Memory / 30 GB Disk / SGP1 - CentOS 6
1.i using
bench update
, and faced error,2.and i using
sudo yum install libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel
3.and i using
bench update
again, and still error happen.please check:
[root@123 ~]# bench update INFO:bench.utils:updating bench Already up-to-date. Traceback (most recent call last): File "./env/bin/pip", line 11, in <module> sys.exit(main()) File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/pip/__init__.py", line 215, in main locale.setlocale(locale.LC_ALL, '') File "/home/frappe/frappe-bench/env/lib64/python2.7/locale.py", line 547, in setlocale return _setlocale(category, locale) locale.Error: unsupported locale setting Please install these dependencies using the command: sudo yum install libtiff-devel libjpeg-devel libzip-devel freetype-devel lcms2-devel libwebp-devel tcl-devel tk-devel Traceback (most recent call last): File "/usr/bin/bench", line 9, in <module> load_entry_point('bench==0.1', 'console_scripts', 'bench')() File "/home/frappe/bench-repo/bench/cli.py", line 40, in cli bench_command() File "/usr/lib/python2.7/site-packages/click/core.py", line 664, in __call__ return self.main(*args, **kwargs) File "/usr/lib/python2.7/site-packages/click/core.py", line 644, in main rv = self.invoke(ctx) File "/usr/lib/python2.7/site-packages/click/core.py", line 991, in invoke return _process_result(sub_ctx.command.invoke(sub_ctx)) File "/usr/lib/python2.7/site-packages/click/core.py", line 837, in invoke return ctx.invoke(self.callback, **ctx.params) File "/usr/lib/python2.7/site-packages/click/core.py", line 464, in invoke return callback(*args, **kwargs) File "/home/frappe/bench-repo/bench/commands/update.py", line 60, in update _update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade, force=force) File "/home/frappe/bench-repo/bench/commands/update.py", line 73, in _update before_update(bench=bench_path, requirements=requirements) File "/home/frappe/bench-repo/bench/utils.py", line 583, in before_update validate_pillow_dependencies(bench, requirements) File "/home/frappe/bench-repo/bench/utils.py", line 591, in validate_pillow_dependencies exec_cmd("{pip} install Pillow".format(pip=pip)) File "/home/frappe/bench-repo/bench/utils.py", line 99, in exec_cmd raise CommandFailedError(cmd) bench.utils.CommandFailedError: ./env/bin/pip install Pillow [root@123 ~]#
The text was updated successfully, but these errors were encountered: