You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I tried to clone agriculture app on my local server i got following error with this command: bench get-app agriculture
furqan@root:~/frappe-bench-dev/apps$ bench get-app agriculture
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
ERROR:
Traceback (most recent call last):
File "/home/furqan/.local/lib/python3.8/site-packages/bench/utils/__init__.py", line 416, in fetch_details_from_tag
org, repo = org_repo
ValueError: not enough values to unpack (expected 2, got 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/home/furqan/.local/bin/bench", line 8, in <module>
sys.exit(cli())
File "/home/furqan/.local/lib/python3.8/site-packages/bench/cli.py", line 121, in cli
raise e
File "/home/furqan/.local/lib/python3.8/site-packages/bench/cli.py", line 111, in cli
bench_command()
File "/home/furqan/.local/lib/python3.8/site-packages/click/core.py", line 1128, in __call__
return self.main(*args, **kwargs)
File "/home/furqan/.local/lib/python3.8/site-packages/click/core.py", line 1053, in main
rv = self.invoke(ctx)
File "/home/furqan/.local/lib/python3.8/site-packages/click/core.py", line 1659, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/furqan/.local/lib/python3.8/site-packages/click/core.py", line 1395, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/furqan/.local/lib/python3.8/site-packages/click/core.py", line 754, in invoke
return __callback(*args, **kwargs)
File "/home/furqan/.local/lib/python3.8/site-packages/bench/commands/make.py", line 142, in get_app
get_app(
File "/home/furqan/.local/lib/python3.8/site-packages/bench/app.py", line 308, in get_app
app = App(git_url, branch=branch, bench=bench)
File "/home/furqan/.local/lib/python3.8/site-packages/bench/app.py", line 148, in __init__
super().__init__(name, branch, *args, **kwargs)
File "/home/furqan/.local/lib/python3.8/site-packages/bench/app.py", line 65, in __init__
self.setup_details()
File "/home/furqan/.local/lib/python3.8/site-packages/bench/app.py", line 91, in setup_details
self._setup_details_from_name_tag()
File "/home/furqan/.local/lib/python3.8/site-packages/bench/app.py", line 97, in _setup_details_from_name_tag
self.org, self.repo, self.tag = fetch_details_from_tag(self.name)
File "/home/furqan/.local/lib/python3.8/site-packages/bench/utils/__init__.py", line 418, in fetch_details_from_tag
org, repo = find_org(org_repo)
File "/home/furqan/.local/lib/python3.8/site-packages/bench/utils/__init__.py", line 400, in find_org
raise InvalidRemoteException
bench.exceptions.InvalidRemoteException
furqan@root:~/frappe-bench-dev/apps$ bench --site site.local-dev install-app agriculture
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
Could not find app "agriculture"
furqan@root:~/frappe-bench-dev/apps$ bench get-app https://github.com/frappe/agriculture
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
Getting agriculture
$ git clone https://github.com/frappe/agriculture --depth 1 --origin upstream
Cloning into 'agriculture'...
remote: Enumerating objects: 125, done.
remote: Counting objects: 100% (125/125), done.
remote: Compressing objects: 100% (92/92), done.
remote: Total 125 (delta 36), reused 75 (delta 27), pack-reused 0
Receiving objects: 100% (125/125), 46.03 KiB | 596.00 KiB/s, done.
Resolving deltas: 100% (36/36), done.
Installing agriculture
$ /home/furqan/frappe-bench-dev/env/bin/python -m pip install --quiet --upgrade -e /home/furqan/frappe-bench-dev/apps/agriculture
$ bench build --app agriculture
✔ Application Assets Linked
yarn run v1.22.17
$ node esbuild --production --apps agriculture --run-build-command
File Size
DONE Total Build Time: 472.804ms
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
clean: postcss.plugin was deprecated. Migration guide:
https://evilmartians.com/chronicles/postcss-8-plugin-migration
WARN Cannot connect to redis_cache to update assets_json
WARN Cannot connect to redis_cache to update assets_json
WARN Cannot connect to redis_cache to update assets_json
Done in 17.65s.
But again got Error while installing app on site: bench --site site.local-dev install-app agriculture
furqan@root:~/frappe-bench-dev/apps$ bench --site site.local-dev install-app agriculture
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
An error occurred while installing agriculture:
Traceback (most recent call last):
File "apps/frappe/frappe/installer.py", line 173, in fetch_details_from_tag
org, repo = org_repo
ValueError: not enough values to unpack (expected 2, got 1)
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 344, in install_app
_install_app(app, verbose=context.verbose)
File "apps/frappe/frappe/installer.py", line 223, in install_app
name = parse_app_name(name)
File "apps/frappe/frappe/installer.py", line 203, in parse_app_name
_, repo, _ = fetch_details_from_tag(name)
File "apps/frappe/frappe/installer.py", line 175, in fetch_details_from_tag
org, repo = find_org(org_repo[0])
File "apps/frappe/frappe/installer.py", line 149, in find_org
raise InvalidRemoteException
frappe.exceptions.InvalidRemoteException
Bench Version
furqan@root:~/frappe-bench-dev/apps$ bench --version
5.7.6
INFO: A newer version of bench is available: 5.7.6 → 5.8.1
Apps Version
furqan@root:~/frappe-bench-dev/apps$ bench version
WARN: bench is installed in editable mode!
This is not the recommended mode of installation for production. Instead, install the package from PyPI with: `pip install frappe-bench`
agriculture 0.0.1
erpnext 13.x.x-develop
frappe 14.x.x-develop
The text was updated successfully, but these errors were encountered:
When I tried to clone agriculture app on my local server i got following error with this command: bench get-app agriculture
Cloned successfully VIA this : bench get-app https://github.com/frappe/agriculture
But again got Error while installing app on site: bench --site site.local-dev install-app agriculture
Bench Version
Apps Version
The text was updated successfully, but these errors were encountered: