Guest User

Untitled

a guest
Jun 1st, 2019
77
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.30 KB | None | 0 0
  1. Installing frappe...
  2. Updating DocTypes for frappe : [== ]Traceback (most recent call last):
  3. File "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main
  4. "__main__", fname, loader, pkg_name)
  5. File "/usr/lib/python2.7/runpy.py", line 72, in _run_code
  6. exec code in run_globals
  7. File "/opt/bench/erpnext/apps/frappe/frappe/utils/bench_helper.py", line 97, in <module>
  8. main()
  9. File "/opt/bench/erpnext/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
  10. click.Group(commands=commands)(prog_name='bench')
  11. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 764, in __call__
  12. return self.main(*args, **kwargs)
  13. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 717, in main
  14. rv = self.invoke(ctx)
  15. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
  16. return _process_result(sub_ctx.command.invoke(sub_ctx))
  17. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
  18. return _process_result(sub_ctx.command.invoke(sub_ctx))
  19. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 956, in invoke
  20. return ctx.invoke(self.callback, **ctx.params)
  21. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/click/core.py", line 555, in invoke
  22. return callback(*args, **kwargs)
  23. File "/opt/bench/erpnext/apps/frappe/frappe/commands/site.py", line 33, in new_site
  24. db_type = db_type)
  25. File "/opt/bench/erpnext/apps/frappe/frappe/commands/site.py", line 70, in _new_site
  26. _install_app(app, verbose=verbose, set_as_patched=not source_sql)
  27. File "/opt/bench/erpnext/apps/frappe/frappe/installer.py", line 84, in install_app
  28. sync_for(name, force=True, sync_everything=True, verbose=verbose, reset_permissions=True)
  29. File "/opt/bench/erpnext/apps/frappe/frappe/model/sync.py", line 56, in sync_for
  30. reset_permissions=reset_permissions, for_sync=True)
  31. File "/opt/bench/erpnext/apps/frappe/frappe/modules/import_file.py", line 66, in import_file_by_path
  32. ignore_version=ignore_version, reset_permissions=reset_permissions)
  33. File "/opt/bench/erpnext/apps/frappe/frappe/modules/import_file.py", line 141, in import_doc
  34. doc.insert()
  35. File "/opt/bench/erpnext/apps/frappe/frappe/model/document.py", line 258, in insert
  36. self.run_post_save_methods()
  37. File "/opt/bench/erpnext/apps/frappe/frappe/model/document.py", line 917, in run_post_save_methods
  38. self.run_method("on_update")
  39. File "/opt/bench/erpnext/apps/frappe/frappe/model/document.py", line 786, in run_method
  40. out = Document.hook(fn)(self, *args, **kwargs)
  41. File "/opt/bench/erpnext/apps/frappe/frappe/model/document.py", line 1055, in composer
  42. return composed(self, method, *args, **kwargs)
  43. File "/opt/bench/erpnext/apps/frappe/frappe/model/document.py", line 1038, in runner
  44. add_to_return_value(self, fn(self, *args, **kwargs))
  45. File "/opt/bench/erpnext/apps/frappe/frappe/model/document.py", line 780, in <lambda>
  46. fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
  47. File "/opt/bench/erpnext/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 279, in on_update
  48. self.run_module_method("on_doctype_update")
  49. File "/opt/bench/erpnext/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 348, in run_module_method
  50. getattr(module, method)()
  51. File "/opt/bench/erpnext/apps/frappe/frappe/core/doctype/communication/communication.py", line 289, in on_doctype_update
  52. frappe.db.add_index("Communication Link", ["link_doctype", "link_name"])
  53. File "/opt/bench/erpnext/apps/frappe/frappe/database/mariadb/database.py", line 253, in add_index
  54. if not self.has_index(table_name, index_name):
  55. File "/opt/bench/erpnext/apps/frappe/frappe/database/mariadb/database.py", line 245, in has_index
  56. index_name=index_name
  57. File "/opt/bench/erpnext/apps/frappe/frappe/database/database.py", line 171, in sql
  58. self._cursor.execute(query)
  59. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/cursors.py", line 170, in execute
  60. result = self._query(query)
  61. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/cursors.py", line 328, in _query
  62. conn.query(q)
  63. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 517, in query
  64. self._affected_rows = self._read_query_result(unbuffered=unbuffered)
  65. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 732, in _read_query_result
  66. result.read()
  67. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 1075, in read
  68. first_packet = self.connection._read_packet()
  69. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/connections.py", line 684, in _read_packet
  70. packet.check_error()
  71. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/protocol.py", line 220, in check_error
  72. err.raise_mysql_exception(self._data)
  73. File "/opt/bench/erpnext/env/local/lib/python2.7/site-packages/pymysql/err.py", line 109, in raise_mysql_exception
  74. raise errorclass(errno, errval)
  75. pymysql.err.ProgrammingError: (1146, u"Table '_1bd3e0294da19198.tabCommunication Link' doesn't exist")
Add Comment
Please, Sign In to add comment