Guest User

Untitled

a guest
Nov 4th, 2016
63
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.62 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "/usr/lib64/python2.7/runpy.py", line 162, in _run_module_as_main
  3. "__main__", fname, loader, pkg_name)
  4. File "/usr/lib64/python2.7/runpy.py", line 72, in _run_code
  5. exec code in run_globals
  6. File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 79, in <module>
  7. main()
  8. File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
  9. click.Group(commands=commands)(prog_name='bench')
  10. File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 716, in __call__
  11. return self.main(*args, **kwargs)
  12. File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 696, in main
  13. rv = self.invoke(ctx)
  14. File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
  15. return _process_result(sub_ctx.command.invoke(sub_ctx))
  16. File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1060, in invoke
  17. return _process_result(sub_ctx.command.invoke(sub_ctx))
  18. File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 889, in invoke
  19. return ctx.invoke(self.callback, **ctx.params)
  20. File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 534, in invoke
  21. return callback(*args, **kwargs)
  22. File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
  23. return f(get_current_context(), *args, **kwargs)
  24. File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 24, in _func
  25. ret = f(frappe._dict(ctx.obj), *args, **kwargs)
  26. File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 209, in migrate
  27. migrate(context.verbose, rebuild_website=rebuild_website)
  28. File "/home/frappe/frappe-bench/apps/frappe/frappe/migrate.py", line 30, in migrate
  29. frappe.modules.patch_handler.run_all()
  30. File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 29, in run_all
  31. if not run_single(patchmodule = patch):
  32. File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 63, in run_single
  33. return execute_patch(patchmodule, method, methodargs)
  34. File "/home/frappe/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 83, in execute_patch
  35. frappe.get_attr(patchmodule.split()[0] + ".execute")()
  36. File "/home/frappe/frappe-bench/apps/frappe/frappe/patches/v7_1/rename_scheduler_log_to_error_log.py", line 5, in execute
  37. frappe.rename_doc('DocType', 'Scheduler Log', 'Error Log')
  38. File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 650, in rename_doc
  39. return rename_doc(doctype, old, new, force=force, merge=merge, ignore_permissions=ignore_permissions)
  40. File "/home/frappe/frappe-bench/apps/frappe/frappe/model/rename_doc.py", line 62, in rename_doc
  41. rename_password(doctype, old, new)
  42. File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/password.py", line 71, in rename_password
  43. { 'doctype': doctype, 'new_name': new_name, 'old_name': old_name })
  44. File "/home/frappe/frappe-bench/apps/frappe/frappe/database.py", line 137, in sql
  45. self._cursor.execute(query, values)
  46. File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
  47. self.errorhandler(self, exc, value)
  48. File "/home/frappe/frappe-bench/env/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
  49. raise errorclass, errorvalue
  50. _mysql_exceptions.OperationalError: (1054, "Unknown column 'doctype' in 'where clause'")
Add Comment
Please, Sign In to add comment