Problem when make new site

Hi guys …
i have problem when make new site and this message is appear:

Traceback (most recent call last):
File “/usr/lib/python2.7/runpy.py”, line 174, 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/iferas93/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 79, in
main()
File “/home/iferas93/frappe-bench/apps/frappe/frappe/utils/bench_helper.py”, line 16, in main
click.Group(commands=commands)(prog_name=‘bench’)
File “/home/iferas93/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 722, in call
return self.main(*args, **kwargs)
File “/home/iferas93/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 697, in main
rv = self.invoke(ctx)
File “/home/iferas93/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))
File “/home/iferas93/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))
File “/home/iferas93/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/iferas93/frappe-bench/env/local/lib/python2.7/site-packages/click/core.py”, line 535, in invoke
return callback(*args, **kwargs)
File “/home/iferas93/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/iferas93/frappe-bench/apps/frappe/frappe/commands/init.py”, line 24, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File “/home/iferas93/frappe-bench/apps/frappe/frappe/commands/utils.py”, line 281, in mysql
frappe.init(site=site)
File “/home/iferas93/frappe-bench/apps/frappe/frappe/init.py”, line 155, in init
setup_module_map()
File “/home/iferas93/frappe-bench/apps/frappe/frappe/init.py”, line 840, in setup_module_map
for module in get_module_list(app):
File “/home/iferas93/frappe-bench/apps/frappe/frappe/init.py”, line 714, in get_module_list
return get_file_items(os.path.join(os.path.dirname(get_module(app_name).file), “modules.txt”))
File “/home/iferas93/frappe-bench/apps/frappe/frappe/init.py”, line 672, 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 meeting

what is the problem please.

note: i create first app and site and work perfect.

hi iFeras93,

delete meeting from sites/apps.txt

thank you man …
but how i can create new app and site ?!

@iFeras93, you are welcome :slight_smile:

you just have to create site: bench new-site (site-name) and then: bench new-app (app-name) then install your app in the site: bench --site (site-name) install-app (app-name)

read the manual here
https://frappe.github.io/frappe/user/en/tutorial/new-app

note: if you want delete any app use bench remove-app dont delete it from apps folder :wink:

2 Likes

Thank you a lot man :heart_eyes:

1 Like