Problem:
Print designer form popup is visible, but after selecting a template and defining its name, print designer will just show a white screen (except for the header).
Environment:
- Docker Custom build
- Frappe: v15.33.3
- ERPNext: v15.29.2 prod
- Print Designer: v1.4.0 (current main branch)
My findings so far:
Assets are unable to load (404). Docker custom build does run without any issues though and other custom apps are working fine too… not sure if print designer is even compatible with custom docker builds?
Please note, docker images for production are built different:
You cannot build assets using bench build in running production containers. It will mess up the attached assets volume for the container in which the command was executed. It will cause problems in serving static assets. The asset building process is done during the image build. Images come pre-packaged with built assets and there is no need to build assets in production environment.
Source: How we could restart the erpnext docker containers
There are similar reports I found: Introducing Print Designer : A brand new way of designing print formats 🖨️ - #40 by Pirated