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

error in installing in v14 on local vm server #3

Open
SAMEH-ELSAMMAK opened this issue Dec 10, 2022 · 0 comments
Open

error in installing in v14 on local vm server #3

SAMEH-ELSAMMAK opened this issue Dec 10, 2022 · 0 comments

Comments

@SAMEH-ELSAMMAK
Copy link

ubuntu 22.10
erpnext 14

bench get-app https://github.com/Solufy-ERPNext-Apps/freight_management --resolve-deps
Following apps will be installed

  1. https://github.com/Solufy-ERPNext-Apps/freight_management
    Getting freight_management
    $ git clone https://github.com/Solufy-ERPNext-Apps/freight_management --depth 1 --origin upstream
    Cloning into 'freight_management'...
    remote: Enumerating objects: 78, done.
    remote: Counting objects: 100% (78/78), done.
    remote: Compressing objects: 100% (41/41), done.
    remote: Total 78 (delta 30), reused 62 (delta 29), pack-reused 0
    Receiving objects: 100% (78/78), 14.29 KiB | 1.19 MiB/s, done.
    Resolving deltas: 100% (30/30), done.
    Installing freight_management
    $ /home/frappe/frappe-bench/env/bin/python -m pip install --quiet --upgrade -e /home/frappe/frappe-bench/apps/freight_management
    $ bench build --app freight_management
    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/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 109, in
    main()
    File "/home/frappe/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 18, in main
    click.Group(commands=commands)(prog_name="bench")
    File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 829, in call
    return self.main(*args, **kwargs)
    File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 782, in main
    rv = self.invoke(ctx)
    File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1259, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1066, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File "/home/frappe/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 610, in invoke
    return callback(*args, **kwargs)
    File "/home/frappe/frappe-bench/apps/frappe/frappe/commands/utils.py", line 57, in build
    frappe.init("")
    File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 248, in init
    setup_module_map()
    File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 1518, in setup_module_map
    for module in get_module_list(app):
    File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 1370, in get_module_list
    return get_file_items(os.path.join(os.path.dirname(get_module(app_name).file), "modules.txt"))
    File "/home/frappe/frappe-bench/apps/frappe/frappe/init.py", line 1319, 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 'dsc_erpnext'
    ERROR:
    Traceback (most recent call last):
    File "/usr/local/bin/bench", line 8, in
    sys.exit(cli())
    File "/usr/local/lib/python3.10/dist-packages/bench/cli.py", line 127, in cli
    bench_command()
    File "/usr/lib/python3/dist-packages/click/core.py", line 1128, in call
    return self.main(*args, **kwargs)
    File "/usr/lib/python3/dist-packages/click/core.py", line 1053, in main
    rv = self.invoke(ctx)
    File "/usr/lib/python3/dist-packages/click/core.py", line 1659, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
    File "/usr/lib/python3/dist-packages/click/core.py", line 1395, in invoke
    return ctx.invoke(self.callback, **ctx.params)
    File "/usr/lib/python3/dist-packages/click/core.py", line 754, in invoke
    return __callback(*args, **kwargs)
    File "/usr/local/lib/python3.10/dist-packages/bench/commands/make.py", line 159, in get_app
    get_app(
    File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 412, in get_app
    install_resolved_deps(
    File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 514, in install_resolved_deps
    app.install_resolved_apps(skip_assets=skip_assets, verbose=verbose)
    File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
    return fn(*args, **kwargs)
    File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 255, in install_resolved_apps
    self.install(*args, **kwargs, resolved=True)
    File "/usr/local/lib/python3.10/dist-packages/bench/utils/render.py", line 126, in wrapper_fn
    return fn(*args, **kwargs)
    File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 242, in install
    install_app(
    File "/usr/local/lib/python3.10/dist-packages/bench/app.py", line 586, in install_app
    build_assets(bench_path=bench_path, app=app)
    File "/usr/local/lib/python3.10/dist-packages/bench/utils/bench.py", line 341, in build_assets
    exec_cmd(command, cwd=bench_path, env={"BENCH_DEVELOPER": "1"})
    File "/usr/local/lib/python3.10/dist-packages/bench/utils/init.py", line 158, in exec_cmd
    raise CommandFailedError
    bench.exceptions.CommandFailedError
    frappe@erpnext14:~/frappe-bench$
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

1 participant