Advertisement
Guest User

frappe migrate

a guest
Aug 6th, 2014
278
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.06 KB | None | 0 0
  1. Updating frappe : [========================================]
  2. Updating erpnext : [========================================]
  3. Updating shopping_cart : [========================================]
  4. Updating Pages : [========================================]
  5. Traceback (most recent call last):
  6. File "/root/frappe-bench/env/bin/frappe", line 9, in <module>
  7. load_entry_point('frappe==4.1.0', 'console_scripts', 'frappe')()
  8. File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 39, in main
  9. ret = run(fn, args)
  10. File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 83, in run
  11. out = globals().get(fn)(**args)
  12. File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
  13. return fn(*args, **new_kwargs)
  14. File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 429, in latest
  15. build_website()
  16. File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 67, in new_fn
  17. return fn(*args, **new_kwargs)
  18. File "/root/frappe-bench/apps/frappe/frappe/cli.py", line 566, in build_website
  19. frappe.website.sync.sync(verbose=verbose)
  20. File "/root/frappe-bench/apps/frappe/frappe/website/sync.py", line 38, in sync
  21. sync_generators(generators)
  22. File "/root/frappe-bench/apps/frappe/frappe/website/sync.py", line 71, in sync_generators
  23. doc.update_sitemap()
  24. File "/root/frappe-bench/apps/frappe/frappe/website/website_generator.py", line 67, in update_sitemap
  25. self.insert_route()
  26. File "/root/frappe-bench/apps/frappe/frappe/website/website_generator.py", line 115, in insert_route
  27. route.insert(ignore_permissions=True)
  28. File "/root/frappe-bench/apps/frappe/frappe/model/document.py", line 145, in insert
  29. self.db_insert()
  30. File "/root/frappe-bench/apps/frappe/frappe/model/base_document.py", line 202, in db_insert
  31. ), d.values())
  32. File "/root/frappe-bench/apps/frappe/frappe/database.py", line 107, in sql
  33. self._cursor.execute(query, values)
  34. File "/root/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
  35. self.errorhandler(self, exc, value)
  36. File "/root/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
  37. raise errorclass, errorvalue
  38. frappe.exceptions.NameError: (u'Website Route', u'acme-stones-pvt-ltd-home', IntegrityError(1062, "Duplicate entry 'acme-stones-pvt-ltd-home' for key 'PRIMARY'"))
  39. Error: None
  40. Traceback (most recent call last):
  41. File "/usr/local/bin/bench", line 9, in <module>
  42. load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  43. File "/home/erpnext/erpnext/bench-repo/bench/cli.py", line 26, in cli
  44. return bench()
  45. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 488, in __call__
  46. return self.main(*args, **kwargs)
  47. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 474, in main
  48. self.invoke(ctx)
  49. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 758, in invoke
  50. return self.invoke_subcommand(ctx, cmd, cmd_name, ctx.args[1:])
  51. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 767, in invoke_subcommand
  52. return cmd.invoke(cmd_ctx)
  53. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 659, in invoke
  54. ctx.invoke(self.callback, **ctx.params)
  55. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 325, in invoke
  56. return callback(*args, **kwargs)
  57. File "/home/erpnext/erpnext/bench-repo/bench/cli.py", line 96, in update
  58. patch_sites()
  59. File "/home/erpnext/erpnext/bench-repo/bench/utils.py", line 77, in patch_sites
  60. exec_cmd("{frappe} --latest all".format(frappe=get_frappe(bench=bench)), cwd=os.path.join(bench, 'sites'))
  61. File "/home/erpnext/erpnext/bench-repo/bench/utils.py", line 56, in exec_cmd
  62. subprocess.check_call(cmd, cwd=cwd, shell=True)
  63. File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
  64. raise CalledProcessError(retcode, cmd)
  65. subprocess.CalledProcessError: Command '/root/frappe-bench/env/bin/frappe --latest all' returned non-zero exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement