
Traceback (most recent call last):

 "setup.py", line 60, in <module>
setup(* *setup_args)

 "C:Python27libsite-packagescx_Freezedist.py", line 359, in setup
distutils.core.setup(**attrs)

 "C:Python27libdistutilscore.py", line 112, in setup
_setup_distribution = dist = klass(attrs)

 "C:Python27libsite-packagescx_Freezedist.py", line 23, in __init__
distutils.dist.Distribution.__init__(self, attrs)

 "C:Python27libdistutilsdist.py", line 241, in __init__
for (command, cmd_options) in options.items():
AttributeError: 'tuple' object has no attribute 'items'
Traceback (most recent call last):


 "/usr/lib/python2.7/runpy.py", line 174, in _run_module_as_main

"__main__", fname, loader, pkg_name)


 "/usr/lib/python2.7/runpy.py", line 72, in _run_code

exec code in run_globals


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 91, in <module>

main()


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 17, in main

click.Group(commands=commands)(prog_name='bench')


 "/home/tunde/PycharmProjects/bench/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 722, in __call__

return self.main(*args, **kwargs)


 "/home/tunde/PycharmProjects/bench/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 697, in main

rv = self.invoke(ctx)


 "/home/tunde/PycharmProjects/bench/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/tunde/PycharmProjects/bench/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 1066, in invoke

return _process_result(sub_ctx.command.invoke(sub_ctx))


 "/home/tunde/PycharmProjects/bench/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 895, in invoke

return ctx.invoke(self.callback, **ctx.params)


 "/home/tunde/PycharmProjects/bench/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py", line 535, in invoke

return callback(*args, **kwargs)


 "/home/tunde/PycharmProjects/bench/frappe-bench/env/local/lib/python2.7/site-packages/click/decorators.py", line 17, in new_func

return f(get_current_context(), *args, **kwargs)


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/frappe/frappe/commands/__init__.py", line 24, in _func

ret = f(frappe._dict(ctx.obj), *args, **kwargs)


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/frappe/frappe/commands/site.py", line 216, in migrate

migrate(context.verbose, rebuild_website=rebuild_website)


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/frappe/frappe/migrate.py", line 31, in migrate

frappe.modules.patch_handler.run_all()


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 29, in run_all

if not run_single(patchmodule = patch):


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 63, in run_single

return execute_patch(patchmodule, method, methodargs)


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/frappe/frappe/modules/patch_handler.py", line 83, in execute_patch

frappe.get_attr(patchmodule.split()[0] + ".execute")()


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/erpnext/erpnext/patches/v8_0/create_domain_docs.py", line 10, in execute

frappe.reload_doctype("Domain")


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/frappe/frappe/__init__.py", line 650, in reload_doctype

reload_doc(scrub(db.get_value("DocType", doctype, "module")), "doctype", scrub(doctype),


 "/home/tunde/PycharmProjects/bench/frappe-bench/apps/frappe/frappe/__init__.py", line 676, in scrub

return txt.replace(' ','_').replace('-', '_').lower()
AttributeError: 'NoneType' object has no attribute 'replace'
