bench --site edudemo.test install-app education
An error occurred while installing education:
Traceback with variables (most recent call last):
File “apps/frappe/frappe/commands/site.py”, line 445, in install_app
_install_app(app, verbose=context.verbose, force=force)
context = {‘sites’: [‘edudemo.test’], ‘force’: False, ‘verbose’: False, ‘profile’: False}
apps = (‘education’,)
force = False
_install_app = <function install_app at 0x7fccfb370e50>
filelock = <function filelock at 0x7fccfb370af0>
exit_code = 0
site = ‘edudemo.test’
app = ‘education’
err = InvalidRemoteException()
File “apps/frappe/frappe/installer.py”, line 272, in install_app
required_app = parse_app_name(app)
name = ‘education’
verbose = False
set_as_patched = True
force = False
sync_jobs = <function sync_jobs at 0x7fccf9d7edd0>
sync_for = <function sync_for at 0x7fccf9d7f7f0>
sync_customizations = <function sync_customizations at 0x7fccfb4e7370>
sync_fixtures = <function sync_fixtures at 0x7fccf9d7fa30>
app_hooks = {‘accounting_dimension_doctypes’: [‘Fee Schedule’, ‘Fee Structure’, ‘Fees’], ‘after_install’: [‘education.install.after_install’], ‘app_color’: [‘grey’], ‘app_description’: [‘Education’], ‘app_email’: [‘hello@frappe.io’], ‘app_icon’: [‘octicon octicon-file-directory’], ‘app_include_js’: [‘education.bundle.js’], ‘app_license’: [‘GNU GPL V3’], ‘app_name’: [‘education’], ‘app_publisher’: [‘Frappe Technologies Pvt. Ltd.’], ‘app_title’: [‘Education’], ‘app_version’: [‘15.0.0’], ‘calendars’: [‘Course Schedule’], ‘default_roles’: [{‘role’: ‘Student’, ‘doctype’: ‘Student’, ‘email_field’: ‘student_email_id’}], ‘domains’: {‘Education’: [‘education.education.setup’]}, ‘global_search_doctypes’: {‘Education’: [{‘doctype’: ‘Article’, ‘index’: 1}, {‘doctype’: ‘Video’, ‘index’: 2}, {‘doctype’: ‘Topic’, ‘index’: 3}, {‘doctype’: ‘Course’, ‘index’: 4}, {‘doctype’: ‘Program’, ‘index’: 5}, {‘doctype’: ‘Quiz’, ‘index’: 6}, {‘doctype’: ‘Question’, ‘index’: 7}, {‘doctype’: ‘Fee Schedule’, ‘index’: 8}, {'docty…
installed_apps = [‘frappe’, ‘erpnext’, ‘hrms’]
app = ‘erpnext’
File “apps/frappe/frappe/installer.py”, line 252, in parse_app_name
_, repo, _ = fetch_details_from_tag(name)
name = ‘erpnext’
File “apps/frappe/frappe/installer.py”, line 224, in fetch_details_from_tag
org, repo = find_org(org_repo[0])
_tag = ‘erpnext’
app_tag = [‘erpnext’]
org_repo = [‘erpnext’]
repo = ‘erpnext’
tag = None
File “apps/frappe/frappe/installer.py”, line 198, in find_org
raise InvalidRemoteException
org_repo = ‘erpnext’
requests = <module ‘requests’ from ‘env/lib/python3.10/site-packages/requests/init.py’>
InvalidRemoteException = <class ‘frappe.exceptions.InvalidRemoteException’>
org = ‘erpnext’
response = <Response [403]>
frappe.exceptions.InvalidRemoteException:
Hi,
May we know the output of: bench version
, and bench --site edudemo.test list-apps
?
Try: bench update
to bring the education and other apps to their latest versions and see if the education app will install to the site.