Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- frappe@ERPNEXTV5:~/frappe-bench$ ./env/bin/pip uninstall shopping_cart
- Uninstalling shopping-cart:
- /home/frappe/frappe-bench/env/lib/python2.7/site-packages/shopping-cart.egg-li
- nk
- Proceed (y/n)? y
- Successfully uninstalled shopping-cart
- frappe@ERPNEXTV5:~/frappe-bench$ rm -rf apps/shopping_cart
- frappe@ERPNEXTV5:~/frappe-bench$ ls
- apps config config.json env logs Procfile sites
- frappe@ERPNEXTV5:~/frappe-bench$ cd apps/frappe/ && git checkout V5 && cd -
- error: pathspec 'V5' did not match any file(s) known to git.
- frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ cd apps/frappe/ && git checkout v5
- && cd -
- -bash: cd: apps/frappe/: No such file or directory
- frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ cd apps/frappe/ && git checkout v5.
- 0 && cd -
- -bash: cd: apps/frappe/: No such file or directory
- frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ cd ..
- frappe@ERPNEXTV5:~/frappe-bench/apps$ ls
- erpnext frappe
- frappe@ERPNEXTV5:~/frappe-bench/apps$ cd ..
- frappe@ERPNEXTV5:~/frappe-bench$ cd apps/frappe/ && git checkout v5 && cd -
- error: pathspec 'v5' did not match any file(s) known to git.
- frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ cd apps/frappe/ && git checkout v5
- && cd -
- -bash: cd: apps/frappe/: No such file or directory
- frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ git checkout v5.0
- Branch v5.0 set up to track remote branch v5.0 from upstream.
- Switched to a new branch 'v5.0'
- frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ cd -
- /home/frappe/frappe-bench
- frappe@ERPNEXTV5:~/frappe-bench$ cd apps/erpnext/ && git checkout v5.0 && cd -
- Branch v5.0 set up to track remote branch v5.0 from upstream.
- Switched to a new branch 'v5.0'
- /home/frappe/frappe-bench
- frappe@ERPNEXTV5:~/frappe-bench$ bench update
- Already up-to-date.
- restarting
- From https://github.com/frappe/frappe
- * branch v5.0 -> FETCH_HEAD
- Already up-to-date.
- From https://github.com/frappe/erpnext
- * branch v5.0 -> FETCH_HEAD
- Already up-to-date.
- database backup taken - ./site1.local/private/backups/20141117_70933919_database
- .sql.gz - on 2014-11-17 11:45:38.584154
- Running latest for site1.local
- --------------------------------------------------
- Traceback (most recent call last):
- File "/home/frappe/frappe-bench/env/bin/frappe", line 9, in <module>
- load_entry_point('frappe==4.5.6', 'console_scripts', 'frappe')()
- File "/home/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 39, in main
- ret = run(fn, args)
- File "/home/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 83, in run
- out = globals().get(fn)(**args)
- File "/home/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
- return fn(*args, **new_kwargs)
- File "/home/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 435, in lates
- t
- frappe.modules.patch_handler.run_all()
- File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py",
- line 23, in run_all
- for patch in get_all_patches():
- File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py",
- line 35, in get_all_patches
- patches.extend(frappe.get_file_items(frappe.get_pymodule_path(app, "patches.
- txt")))
- File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 399, in
- get_pymodule_path
- return os.path.join(os.path.dirname(get_module(scrub(modulename)).__file__),
- *joins)
- File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 379, in
- get_module
- return importlib.import_module(modulename)
- File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
- __import__(name)
- ImportError: No module named shopping_cart
- Error: None
- Traceback (most recent call last):
- File "/usr/local/bin/bench", line 9, in <module>
- load_entry_point('bench==0.1', 'console_scripts', 'bench')()
- File "/home/frappe/bench-repo/bench/cli.py", line 35, in cli
- return bench()
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __ca
- ll__
- return self.main(*args, **kwargs)
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in main
- rv = self.invoke(ctx)
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in invo
- ke
- return _process_result(sub_ctx.command.invoke(sub_ctx))
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invo
- ke
- return ctx.invoke(self.callback, **ctx.params)
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invo
- ke
- return callback(*args, **kwargs)
- File "/home/frappe/bench-repo/bench/cli.py", line 166, in update
- patch_sites()
- File "/home/frappe/bench-repo/bench/utils.py", line 90, in patch_sites
- exec_cmd("{frappe} --latest all".format(frappe=get_frappe(bench=bench)), cwd
- =os.path.join(bench, 'sites'))
- File "/home/frappe/bench-repo/bench/utils.py", line 61, in exec_cmd
- subprocess.check_call(cmd, cwd=cwd, shell=True)
- File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
- raise CalledProcessError(retcode, cmd)
- subprocess.CalledProcessError: Command '/home/frappe/frappe-bench/env/bin/frappe
- --latest all' returned non-zero exit status 1
- frappe@ERPNEXTV5:~/frappe-bench$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement