Bench and . frappe-bench path
are updated (I run bench update
)… and I tried to create a new site and get these:
I just download bench, use bench init frappe-bench
→ cd frappe-bench
→ bench new-site test.local
any thoughts?
Updating DocTypes for frappe : [======== ]Traceback (most recent call last):
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 97, in <module>
main()
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
click.Group(commands=commands)(prog_name='bench')
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 33, in new_site
db_type = db_type)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 70, in _new_site
_install_app(app, verbose=verbose, set_as_patched=not source_sql)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/installer.py", line 85, in install_app
sync_for(name, force=True, sync_everything=True, verbose=verbose, reset_permissions=True)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/sync.py", line 56, in sync_for
reset_permissions=reset_permissions, for_sync=True)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 65, in import_file_by_path
ignore_version=ignore_version, reset_permissions=reset_permissions)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 133, in import_doc
doc.insert()
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 248, in insert
self.run_post_save_methods()
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 915, in run_post_save_methods
self.run_method("on_update")
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 780, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1058, in composer
return composed(self, method, *args, **kwargs)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1041, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 774, in <lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 275, in on_update
self.run_module_method("on_doctype_update")
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 342, in run_module_method
module = load_doctype_module(self.name, self.module)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/modules/utils.py", line 186, in load_doctype_module
raise ImportError('Module import failed for {0} ({1})'.format(doctype, module_name + ' Error: ' + str(e)))
ImportError: Module import failed for Prepared Report (frappe.core.doctype.prepared_report.prepared_report Error: No module named file_manager)
Installing frappe...
Updating DocTypes for frappe : [======== ]Traceback (most recent call last):
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 174, in _run_module_as_main
"__main__", fname, loader, pkg_name)
File "/usr/local/Cellar/python@2/2.7.15_1/Frameworks/Python.framework/Versions/2.7/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 97, in <module>
main()
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
click.Group(commands=commands)(prog_name='bench')
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 764, in __call__
return self.main(*args, **kwargs)
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 717, in main
rv = self.invoke(ctx)
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 1137, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 956, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/Users/fellipeh/Developer/frappe/frappe-bench/env/lib/python2.7/site-packages/click/core.py", line 555, in invoke
return callback(*args, **kwargs)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 33, in new_site
db_type = db_type)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/commands/site.py", line 70, in _new_site
_install_app(app, verbose=verbose, set_as_patched=not source_sql)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/installer.py", line 85, in install_app
sync_for(name, force=True, sync_everything=True, verbose=verbose, reset_permissions=True)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/sync.py", line 56, in sync_for
reset_permissions=reset_permissions, for_sync=True)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 65, in import_file_by_path
ignore_version=ignore_version, reset_permissions=reset_permissions)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/modules/import_file.py", line 133, in import_doc
doc.insert()
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 248, in insert
self.run_post_save_methods()
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 915, in run_post_save_methods
self.run_method("on_update")
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 780, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1058, in composer
return composed(self, method, *args, **kwargs)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 1041, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/model/document.py", line 774, in <lambda>
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 275, in on_update
self.run_module_method("on_doctype_update")
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/core/doctype/doctype/doctype.py", line 342, in run_module_method
module = load_doctype_module(self.name, self.module)
File "/Users/fellipeh/Developer/frappe/frappe-bench/apps/frappe/frappe/modules/utils.py", line 186, in load_doctype_module
raise ImportError('Module import failed for {0} ({1})'.format(doctype, module_name + ' Error: ' + str(e)))
ImportError: Module import failed for Prepared Report (frappe.core.doctype.prepared_report.prepared_report Error: No module named file_manager)