-
Notifications
You must be signed in to change notification settings - Fork 94
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
Can not install #20
Comments
This seems to be stemming from csf_tz app that is a dependency. For version-14, there is an update coming out that removes the need to have education module installed. While not related it is for some other customization in CSF_TZ that is unnecessary |
do you know when the update will be available? |
Can I ask what is your goal? I have interest in collaborating in porting this app to version 14 and adding functionality! |
I manually installed the missing dependency werkzeug==2.3.3 still no success in installing... will try to remove the url_fix(..) function from the bank_api.py file replacing it with custom function. reference for functionality is this https://werkzeug.palletsprojects.com/en/2.3.x/urls/#werkzeug.urls.url_fix |
i have the same issue: `Installing csf_tz... The above exception was the direct cause of the following exception: Traceback (most recent call last): |
a temporary solution is to remove the import of url_fix from werkzeug in File "apps/csf_tz/csf_tz/bank_api.py" and change the usage in line 14. remove the url_fix(...) and just use the replace function. then do bench migrate this will get it up and running... then later you can test this in the running system and write your own function. have not gone into detail but i bet url_fix(...) removes Spaces and special characters from an URL. Should be simple... although takes some time to do it correctly. in the csf_tz repository on github i created a pull request for our problem. |
Trying to install the App on
Ubuntu 20.04
ERPNext: v14.4.0 (version-14)
Frappe Framework: v14.13.0 (version-14)
Payments: v0.0.1 (develop)
get the following error... looks like a dependency error with the installed 'werkzeug' version:
Traceback (most recent call last):
File "apps/frappe/frappe/commands/site.py", line 413, in install_app
_install_app(app, verbose=context.verbose, force=force)
File "apps/frappe/frappe/installer.py", line 290, in install_app
sync_for(name, force=force, reset_permissions=True)
File "apps/frappe/frappe/model/sync.py", line 80, in sync_for
import_file_by_path(
File "apps/frappe/frappe/modules/import_file.py", line 145, in import_file_by_path
import_doc(
File "apps/frappe/frappe/modules/import_file.py", line 242, in import_doc
doc.insert()
File "apps/frappe/frappe/model/document.py", line 283, in insert
self.run_post_save_methods()
File "apps/frappe/frappe/model/document.py", line 1093, in run_post_save_methods
self.run_method("on_update")
File "apps/frappe/frappe/model/document.py", line 930, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1277, in composer
return composed(self, method, *args, **kwargs)
File "apps/frappe/frappe/model/document.py", line 1259, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File "apps/frappe/frappe/model/document.py", line 927, in fn
return method_object(*args, **kwargs)
File "apps/frappe/frappe/core/doctype/doctype/doctype.py", line 404, in on_update
self.run_module_method("on_doctype_update")
File "apps/frappe/frappe/core/doctype/doctype/doctype.py", line 489, in run_module_method
module = load_doctype_module(self.name, self.module)
File "apps/frappe/frappe/modules/utils.py", line 244, in load_doctype_module
raise ImportError(msg) from e
ImportError: Module import failed for Student Applicant Fees, the DocType you're trying to open might be deleted.
Error: cannot import name 'url_fix' from 'werkzeug' (env/lib/python3.10/site-packages/werkzeug/init.py)
The text was updated successfully, but these errors were encountered: