We are going to merge the Frappe’s v6 branch into develop on Monday, 17 August, 2015.
Frappe v6 includes Async operations and real-time updates. We haven’t done any breaking changes like change of fieldnames or doctypes, so this release should be very smooth.
When you do bench update you will be prompted to run bench update --upgrade as this is a major version change.
If issues do arise, we will be there to fix them right away.
Once v6 is out in the wild, we will be using these shiny new capabilities to improve ERPNext’s user experience with features like “Who is looking into this document”, “Real time notifications”, “List auto-refresh”, “Stale document”, etc.
We are planning to deploy v6 to our cloud customers during the next release, i.e. Wednesday, when v6.0.0 will be merged into master.
i got this result:
root@ssd:~# bench update --upgrade
Already up-to-date.
File “/home/frappe/bench-repo/bench/cli.py”, line 253, in update
validate_upgrade(version_upgrade[0], version_upgrade[1], bench=bench_path)
TypeError: ‘bool’ object has no attribute ‘getitem’
hemant@ubuntu:~/frappe-bench$ bench update --upgrade
Already up-to-date.
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/hemant/bench-repo/bench/cli.py”, line 60, in cli
bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 664, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 644, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 464, in invoke
return callback(*args, **kwargs)
File “/home/hemant/bench-repo/bench/cli.py”, line 240, in _update
update(pull, patch, build, bench, auto, restart_supervisor, requirements, no_backup, upgrade)
File “/home/hemant/bench-repo/bench/cli.py”, line 253, in update
validate_upgrade(version_upgrade[0], version_upgrade[1], bench=bench_path)
TypeError: ‘bool’ object has no attribute ‘getitem’
hemant@ubuntu:~/frappe-bench$
Im getting an error:
hemant@ubuntu:~/frappe-bench$ bench setup socketio
/bin/sh: 1: npm: not found
Traceback (most recent call last):
File “/usr/local/bin/bench”, line 9, in
load_entry_point(‘bench==0.1’, ‘console_scripts’, ‘bench’)()
File “/home/hemant/bench-repo/bench/cli.py”, line 60, in cli
bench()
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 664, in call
return self.main(*args, **kwargs)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 644, in main
rv = self.invoke(ctx)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/usr/local/lib/python2.7/dist-packages/click/core.py”, line 464, in invoke
return callback(*args, **kwargs)
File “/home/hemant/bench-repo/bench/cli.py”, line 478, in _setup_socketio
setup_socketio()
File “/home/hemant/bench-repo/bench/utils.py”, line 112, in setup_socketio
exec_cmd(“npm install nodemon socket.io redis express superagent cookie”, cwd=bench)
File “/home/hemant/bench-repo/bench/utils.py”, line 104, in exec_cmd
raise CommandFailedError(cmd)
bench.utils.CommandFailedError: npm install nodemon socket.io redis express superagent cookie
hemant@ubuntu:~/frappe-bench$
have you got a way to install just npm or must node also be installed?
npm is node package manager. So you need both node and npm. We have added a validation in the bench update script. You will need to install it using sudo apt-get install nodejs npm