Advertisement
Guest User

Frappev5.0

a guest
Nov 17th, 2014
304
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.12 KB | None | 0 0
  1. frappe@ERPNEXTV5:~/frappe-bench$ ./env/bin/pip uninstall shopping_cart
  2. Uninstalling shopping-cart:
  3. /home/frappe/frappe-bench/env/lib/python2.7/site-packages/shopping-cart.egg-li
  4. nk
  5. Proceed (y/n)? y
  6. Successfully uninstalled shopping-cart
  7. frappe@ERPNEXTV5:~/frappe-bench$ rm -rf apps/shopping_cart
  8. frappe@ERPNEXTV5:~/frappe-bench$ ls
  9. apps config config.json env logs Procfile sites
  10. frappe@ERPNEXTV5:~/frappe-bench$ cd apps/frappe/ && git checkout V5 && cd -
  11. error: pathspec 'V5' did not match any file(s) known to git.
  12. frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ cd apps/frappe/ && git checkout v5
  13. && cd -
  14. -bash: cd: apps/frappe/: No such file or directory
  15. frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ cd apps/frappe/ && git checkout v5.
  16. 0 && cd -
  17. -bash: cd: apps/frappe/: No such file or directory
  18. frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ cd ..
  19. frappe@ERPNEXTV5:~/frappe-bench/apps$ ls
  20. erpnext frappe
  21. frappe@ERPNEXTV5:~/frappe-bench/apps$ cd ..
  22. frappe@ERPNEXTV5:~/frappe-bench$ cd apps/frappe/ && git checkout v5 && cd -
  23. error: pathspec 'v5' did not match any file(s) known to git.
  24. frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ cd apps/frappe/ && git checkout v5
  25. && cd -
  26. -bash: cd: apps/frappe/: No such file or directory
  27. frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ git checkout v5.0
  28. Branch v5.0 set up to track remote branch v5.0 from upstream.
  29. Switched to a new branch 'v5.0'
  30. frappe@ERPNEXTV5:~/frappe-bench/apps/frappe$ cd -
  31. /home/frappe/frappe-bench
  32. frappe@ERPNEXTV5:~/frappe-bench$ cd apps/erpnext/ && git checkout v5.0 && cd -
  33. Branch v5.0 set up to track remote branch v5.0 from upstream.
  34. Switched to a new branch 'v5.0'
  35. /home/frappe/frappe-bench
  36. frappe@ERPNEXTV5:~/frappe-bench$ bench update
  37. Already up-to-date.
  38. restarting
  39. From https://github.com/frappe/frappe
  40. * branch v5.0 -> FETCH_HEAD
  41. Already up-to-date.
  42. From https://github.com/frappe/erpnext
  43. * branch v5.0 -> FETCH_HEAD
  44. Already up-to-date.
  45. database backup taken - ./site1.local/private/backups/20141117_70933919_database
  46. .sql.gz - on 2014-11-17 11:45:38.584154
  47.  
  48. Running latest for site1.local
  49. --------------------------------------------------
  50. Traceback (most recent call last):
  51. File "/home/frappe/frappe-bench/env/bin/frappe", line 9, in <module>
  52. load_entry_point('frappe==4.5.6', 'console_scripts', 'frappe')()
  53. File "/home/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 39, in main
  54. ret = run(fn, args)
  55. File "/home/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 83, in run
  56. out = globals().get(fn)(**args)
  57. File "/home/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
  58. return fn(*args, **new_kwargs)
  59. File "/home/frappe/frappe-bench/apps/frappe/frappe/cli.py", line 435, in lates
  60. t
  61. frappe.modules.patch_handler.run_all()
  62. File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py",
  63. line 23, in run_all
  64. for patch in get_all_patches():
  65. File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py",
  66. line 35, in get_all_patches
  67. patches.extend(frappe.get_file_items(frappe.get_pymodule_path(app, "patches.
  68. txt")))
  69. File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 399, in
  70. get_pymodule_path
  71. return os.path.join(os.path.dirname(get_module(scrub(modulename)).__file__),
  72. *joins)
  73. File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 379, in
  74. get_module
  75. return importlib.import_module(modulename)
  76. File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
  77. __import__(name)
  78. ImportError: No module named shopping_cart
  79. Error: None
  80. Traceback (most recent call last):
  81. File "/usr/local/bin/bench", line 9, in <module>
  82. load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  83. File "/home/frappe/bench-repo/bench/cli.py", line 35, in cli
  84. return bench()
  85. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __ca
  86. ll__
  87. return self.main(*args, **kwargs)
  88. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in main
  89. rv = self.invoke(ctx)
  90. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in invo
  91. ke
  92. return _process_result(sub_ctx.command.invoke(sub_ctx))
  93. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invo
  94. ke
  95. return ctx.invoke(self.callback, **ctx.params)
  96. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invo
  97. ke
  98. return callback(*args, **kwargs)
  99. File "/home/frappe/bench-repo/bench/cli.py", line 166, in update
  100. patch_sites()
  101. File "/home/frappe/bench-repo/bench/utils.py", line 90, in patch_sites
  102. exec_cmd("{frappe} --latest all".format(frappe=get_frappe(bench=bench)), cwd
  103. =os.path.join(bench, 'sites'))
  104. File "/home/frappe/bench-repo/bench/utils.py", line 61, in exec_cmd
  105. subprocess.check_call(cmd, cwd=cwd, shell=True)
  106. File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
  107. raise CalledProcessError(retcode, cmd)
  108. subprocess.CalledProcessError: Command '/home/frappe/frappe-bench/env/bin/frappe
  109. --latest all' returned non-zero exit status 1
  110. frappe@ERPNEXTV5:~/frappe-bench$
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement