Script Report not creating files

Hi All,

I was trying to create a script report but it is not creating any folder/files with the name of the report.

I appreciate if anyone can let me know what could be the cause for the same?

Regards
Ruchin Sharma

Apart from that when I try to run this report by clicking “Show Report” button it gives me the following error:

Traceback (most recent call last):
File “/home/vishnu/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/vishnu/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/vishnu/frappe-bench/apps/frappe/frappe/handler.py”, line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/vishnu/frappe-bench/apps/frappe/frappe/init.py”, line 879, in call
return fn(*args, **newargs)
File “/home/vishnu/frappe-bench/apps/frappe/frappe/desk/query_report.py”, line 88, in run
res = frappe.get_attr(method_name)(frappe._dict(filters))
File “/home/vishnu/frappe-bench/apps/frappe/frappe/init.py”, line 859, in get_attr
return getattr(get_module(modulename), methodname)
File “/home/vishnu/frappe-bench/apps/frappe/frappe/init.py”, line 643, in get_module
return importlib.import_module(modulename)
File “/usr/lib/python2.7/importlib/init.py”, line 37, in import_module
import(name)
ImportError: No module named dailytimesheet_summary.dailytimesheet_summary

Regards
Ruchin Sharma

Please take a look at this link

Also, if you have written any py or js files related to the report, review them for errors.

Oh, so in this case I cannot create the script report since I am not in the developer mode right?

Regards
Ruchin Sharma

1 Like

Yes, Develop Mode has to be on for this to work.

2 Likes

@KanchanChauhan
@Pawan
Thanks for your quick response and help.

Regards
Ruchin Sharma