Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- erp@-ERP:~/frappe-bench$ bench migrate
- Traceback (most recent call last):
- File "/usr/lib/python2.7/runpy.py", line 162, in runmodule_as_main
- "main", fname, loader, pkg_name)
- File "/usr/lib/python2.7/runpy.py", line 72, in runcode
- exec code in run_globals
- File "/home/erp-9t9/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 79, in
- main()
- File "/home/erp-9t9/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 16, in main
- click.Group(commands=commands)(prog_name='bench')
- File "/home/erp-9t9/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 722, in call
- return self.main(*args, **kwargs)
- File "/home/erp-9t9/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 697, in main
- rv = self.invoke(ctx)
- File "/home/erp-9t9/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
- return processresult(sub_ctx.command.invoke(sub_ctx))
- File "/home/erp-9t9/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke
- return processresult(sub_ctx.command.invoke(sub_ctx))
- File "/home/erp-9t9/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke
- return ctx.invoke(self.callback, **ctx.params)
- File "/home/erp-9t9/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke
- return callback(*args, **kwargs)
- File "/home/erp-9t9/frappe-bench/env/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func
- return f(get_current_context(), *args, **kwargs)
- File "/home/erp-9t9/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 24, in _func
- ret = f(frappe._dict(ctx.obj), *args, **kwargs)
- File "/home/erp-9t9/frappe-bench/apps/frappe/frappe/commands/site.py", line 204, in migrate
- for site in context.sites:
- TypeError: 'NoneType' object is not iterable
Add Comment
Please, Sign In to add comment