Advertisement
Guest User

Untitled

a guest
Mar 28th, 2015
393
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 3.69 KB | None | 0 0
  1. File "/home/aditya/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
  2. return _process_result(sub_ctx.command.invoke(sub_ctx))
  3. File "/home/aditya/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
  4. return ctx.invoke(self.callback, **ctx.params)
  5. File "/home/aditya/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
  6. return callback(*args, **kwargs)
  7. File "/home/aditya/frappe-bench/apps/frappe/frappe/commands.py", line 28, in _func
  8. ret = f(frappe._dict(ctx.obj), *args, **kwargs)
  9. File "/home/aditya/frappe-bench/apps/frappe/frappe/commands.py", line 202, in migrate
  10. frappe.modules.patch_handler.run_all()
  11. File "/home/aditya/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 25, in run_all
  12. if not run_single(patchmodule = patch):
  13. File "/home/aditya/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 52, in run_single
  14. return execute_patch(patchmodule, method, methodargs)
  15. File "/home/aditya/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 68, in execute_patch
  16. frappe.get_attr(patchmodule.split()[0] + ".execute")()
  17. File "/home/aditya/frappe-bench/apps/frappe/frappe/patches/v5_0/convert_to_barracuda_and_utf8mb4.py", line 12, in execute
  18. frappe.db.sql_ddl("""alter table `{0}` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci""".format(table))
  19. File "/home/aditya/frappe-bench/apps/frappe/frappe/database.py", line 192, in sql_ddl
  20. self.sql(query)
  21. File "/home/aditya/frappe-bench/apps/frappe/frappe/database.py", line 140, in sql
  22. self._cursor.execute(query)
  23. File "/home/aditya/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
  24. self.errorhandler(self, exc, value)
  25. File "/home/aditya/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
  26. raise errorclass, errorvalue
  27. _mysql_exceptions.OperationalError: (1118, 'Row size too large (> 8126). Changing some columns to TEXT or BLOB may help. In current row format, BLOB prefix of 0 bytes is stored inline.')
  28. Traceback (most recent call last):
  29. File "/usr/local/bin/bench", line 9, in <module>
  30. load_entry_point('bench==0.1', 'console_scripts', 'bench')()
  31. File "/home/aditya/bench-repo/bench/cli.py", line 55, in cli
  32. bench()
  33. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __call__
  34. return self.main(*args, **kwargs)
  35. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in main
  36. rv = self.invoke(ctx)
  37. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in invoke
  38. return _process_result(sub_ctx.command.invoke(sub_ctx))
  39. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invoke
  40. return ctx.invoke(self.callback, **ctx.params)
  41. File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invoke
  42. return callback(*args, **kwargs)
  43. File "/home/aditya/bench-repo/bench/cli.py", line 244, in update
  44. patch_sites()
  45. File "/home/aditya/bench-repo/bench/utils.py", line 117, in patch_sites
  46. run_frappe_cmd('--site', 'all', 'migrate', bench=bench)
  47. File "/home/aditya/bench-repo/bench/utils.py", line 422, in run_frappe_cmd
  48. subprocess.check_call((f, '-m', 'frappe.utils.bench_helper', 'frappe') + args, cwd=sites_dir)
  49. File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
  50. raise CalledProcessError(retcode, cmd)
  51. subprocess.CalledProcessError: Command '('/home/aditya/frappe-bench/env/bin/python', '-m', 'frappe.utils.bench_helper', 'frappe', '--site', 'all', 'migrate')' returned non-zero exit status 1
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement