Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- File "/home/aditya/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 936, in invoke
- return _process_result(sub_ctx.command.invoke(sub_ctx))
- File "/home/aditya/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 782, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File "/home/aditya/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 416, in invoke
- return callback(*args, **kwargs)
- File "/home/aditya/frappe-bench/apps/frappe/frappe/commands.py", line 28, in _func
- ret = f(frappe._dict(ctx.obj), *args, **kwargs)
- File "/home/aditya/frappe-bench/apps/frappe/frappe/commands.py", line 202, in migrate
- frappe.modules.patch_handler.run_all()
- File "/home/aditya/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 25, in run_all
- if not run_single(patchmodule = patch):
- File "/home/aditya/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 52, in run_single
- return execute_patch(patchmodule, method, methodargs)
- File "/home/aditya/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 68, in execute_patch
- frappe.get_attr(patchmodule.split()[0] + ".execute")()
- File "/home/aditya/frappe-bench/apps/frappe/frappe/patches/v5_0/convert_to_barracuda_and_utf8mb4.py", line 12, in execute
- frappe.db.sql_ddl("""alter table `{0}` CONVERT TO CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci""".format(table))
- File "/home/aditya/frappe-bench/apps/frappe/frappe/database.py", line 192, in sql_ddl
- self.sql(query)
- File "/home/aditya/frappe-bench/apps/frappe/frappe/database.py", line 140, in sql
- self._cursor.execute(query)
- File "/home/aditya/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/cursors.py", line 205, in execute
- self.errorhandler(self, exc, value)
- File "/home/aditya/frappe-bench/env/local/lib/python2.7/site-packages/MySQLdb/connections.py", line 36, in defaulterrorhandler
- raise errorclass, errorvalue
- _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.')
- Traceback (most recent call last):
- File "/usr/local/bin/bench", line 9, in <module>
- load_entry_point('bench==0.1', 'console_scripts', 'bench')()
- File "/home/aditya/bench-repo/bench/cli.py", line 55, in cli
- bench()
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 610, in __call__
- return self.main(*args, **kwargs)
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 590, in main
- rv = self.invoke(ctx)
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 936, in invoke
- return _process_result(sub_ctx.command.invoke(sub_ctx))
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 782, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File "/usr/local/lib/python2.7/dist-packages/click/core.py", line 416, in invoke
- return callback(*args, **kwargs)
- File "/home/aditya/bench-repo/bench/cli.py", line 244, in update
- patch_sites()
- File "/home/aditya/bench-repo/bench/utils.py", line 117, in patch_sites
- run_frappe_cmd('--site', 'all', 'migrate', bench=bench)
- File "/home/aditya/bench-repo/bench/utils.py", line 422, in run_frappe_cmd
- subprocess.check_call((f, '-m', 'frappe.utils.bench_helper', 'frappe') + args, cwd=sites_dir)
- File "/usr/lib/python2.7/subprocess.py", line 540, in check_call
- raise CalledProcessError(retcode, cmd)
- 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