Script Reports and Server Scripts do not execute at all — not even basic frappe.msgprint()
or frappe.throw()
. No logs, no output, no errors. It’s as if the execute()
function is silently skipped
Things I’ve Already Verified:
server_script_enabled = 1
in bothcommon_site_config.json
andsite_config.json
- Developer mode is ON (
developer_mode = 1
) - App is listed in
apps.txt
and installed - Script Report created via both GUI and
bench new-report
- Report is saved, not prepared, and marked as Script Report
- Tried
frappe.msgprint()
,frappe.throw()
,frappe.log_error()
— none of them run - Even tried
with open("/tmp/log.txt", "w") as f: f.write("hello")
— nothing is written - Ran
bench clear-cache
,clear-website-cache
,migrate
,restart
,build
- Tried accessing the report in Incognito and different browsers
- No entries are made to
error.log