Hello,
I encounter issues while installing the “Press” app on my Frappe setup. Here are the details:
-
Environment:
- Frappe Version: v14
- Python Version: 3.10
- Bench Version: 5.22.9
- Operating System: AWS Ubunt VM
-
Problem Description:
When attempting to install the “Press” app using the command:bench --site erp.skfinancial.com install-app press
I encounter the following error:
cannot import the name 'Data' from 'frappe.model.document' (/home/ubuntu/frappe-bench-new/apps/frappe/frappe/model/document.py)
Additionally, after running the installation command, the “Press” app does not appear in the list of installed apps:
bench --site erp.skfinancial.com list-apps
-
Steps Taken:
- I have tried reinstalling the app using:
bench get-app press https://github.com/frappe/press.git
- Re-run the install command:
bench --site erp.skfinancial.com install-app press
- Verified the app directory:
ls ~/frappe-bench/apps/
- I have tried reinstalling the app using:
-
Logs and Errors:
- The detailed error log indicates:
ImportError: cannot import name 'Data' from 'frappe.model.document' (apps/frappe/frappe/model/document.py)
- The detailed error log indicates:
I would appreciate any assistance or guidance on resolving this issue.
Thank you!
Kamran Butt