Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Internal Server Error ERROR: [Errno 39] Directory not empty: '/home/erp/frappe-bench/apps/mosaic' -> '/home/erp/frappe-bench/apps/ury_mosaic' #2

Open
Makbool1 opened this issue May 8, 2024 · 1 comment

Comments

@Makbool1
Copy link

Makbool1 commented May 8, 2024

after installing $bench get-app https://github.com/NagariaHussain/doppio and $ bench get-app ury_mosaic https://github.com/ury-erp/mosaic.git my server is not working.

error screenshot attached...
error

erp@ubuntu:~/frappe-bench$ bench --site anzir.possy.online clear-cache
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/erp/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 109, in
main()
File "/home/erp/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
click.Group(commands=commands)(prog_name="bench")
File "/home/erp/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1157, in call
return self.main(*args, **kwargs)
File "/home/erp/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/erp/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/erp/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/erp/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/erp/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/erp/frappe-bench/env/lib/python3.10/site-packages/click/decorators.py", line 33, in new_func
return f(get_current_context(), *args, **kwargs)
File "/home/erp/frappe-bench/apps/frappe/frappe/commands/init.py", line 29, in _func
ret = f(frappe._dict(ctx.obj), *args, **kwargs)
File "/home/erp/frappe-bench/apps/frappe/frappe/commands/utils.py", line 109, in clear_cache
frappe.connect(site)
File "/home/erp/frappe-bench/apps/frappe/frappe/init.py", line 273, in connect
init(site)
File "/home/erp/frappe-bench/apps/frappe/frappe/init.py", line 252, in init
setup_module_map()
File "/home/erp/frappe-bench/apps/frappe/frappe/init.py", line 1559, in setup_module_map
for module in get_module_list(app):
File "/home/erp/frappe-bench/apps/frappe/frappe/init.py", line 1399, in get_module_list
return get_file_items(os.path.join(os.path.dirname(get_module(app_name).file), "modules.txt"))
File "/home/erp/frappe-bench/apps/frappe/frappe/init.py", line 1348, in get_module
return importlib.import_module(modulename)
File "/usr/lib/python3.10/importlib/init.py", line 126, in import_module
return _bootstrap._gcd_import(name[level:], package, level)
File "", line 1050, in _gcd_import
File "", line 1027, in _find_and_load
File "", line 1004, in _find_and_load_unlocked
ModuleNotFoundError: No module named 'mosaic'

could you guide me how to rectify this issue

@Makbool1 Makbool1 changed the title Internal Server Error Internal Server Error ERROR: [Errno 39] Directory not empty: '/home/erp/frappe-bench/apps/mosaic' -> '/home/erp/frappe-bench/apps/ury_mosaic' May 8, 2024
@ajmaltridz
Copy link
Collaborator

ajmaltridz commented Dec 19, 2024

can you share with me the steps you followed? Share more context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants