Hi Team,
I managed to get erpnext running on a ubuntu vm and now im trying to get another site running where I would like to build my own app using frappe. I have the sites working but cannot install the app I just created into the new site I created.
getting this error:
hemant@ubuntu:~/frappe-bench$ bench --site rounds install-app rounds
Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 162, in _run_module_as_main
“main”, fname, loader, pkg_name)
File “/usr/lib/python2.7/runpy.py”, line 72, in _run_code
exec code in run_globals
File “/home/hemant/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 77, in
main()
File “/home/hemant/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 14, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/hemant/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 664, in call
return self.main(*args, **kwargs)
File “/home/hemant/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 644, in main
rv = self.invoke(ctx)
File “/home/hemant/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/hemant/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 991, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File “/home/hemant/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 837, in invoke
return ctx.invoke(self.callback, **ctx.params)
File “/home/hemant/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 464, in invoke
return callback(*args, **kwargs)
File “/home/hemant/frappe-bench/apps/frappe/frappe/commands.py”, line 28, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/hemant/frappe-bench/apps/frappe/frappe/commands.py”, line 163, in install_app
_install_app(app, verbose=context.verbose)
File “/home/hemant/frappe-bench/apps/frappe/frappe/installer.py”, line 93, in install_app
app_hooks = frappe.get_hooks(app_name=name)
File “/home/hemant/frappe-bench/apps/frappe/frappe/init.py”, line 671, in get_hooks
hooks = _dict(load_app_hooks(app_name))
File “/home/hemant/frappe-bench/apps/frappe/frappe/init.py”, line 644, in load_app_hooks
app_hooks = get_module(app + “.hooks”)
File “/home/hemant/frappe-bench/apps/frappe/frappe/init.py”, line 564, in get_module
return importlib.import_module(modulename)
File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module
import(name)
ImportError: No module named rounds.hooks
hemant@ubuntu:~/frappe-bench$
Am I missing something?
I have run bench config dns_multitenant on
and have site1.local which is the default site
Please assist in getting the app installed so I can contnue with the tutorial for frappe.
Thanks
regards
Hemant