Error on creating report


i just got this error

File “/home/sigma/frappe-bench/apps/frappe/frappe/”, line 49, in application
response = frappe.handler.handle()
File “/home/sigma/frappe-bench/apps/frappe/frappe/”, line 66, in handle
File “/home/sigma/frappe-bench/apps/frappe/frappe/”, line 89, in execute_cmd
ret =, **frappe.form_dict)
File “/home/sigma/frappe-bench/apps/frappe/frappe/”, line 531, in call
return fn(*args, **newargs)
File “/home/sigma/frappe-bench/apps/frappe/frappe/widgets/”, line 87, in run
columns, result = frappe.get_attr(method_name)(frappe.dict(filters))
File “/home/sigma/frappe-bench/apps/erpnext/erpnext/manufacturing/report/production_cost_analytics/”, line 9, in execute
columns = get_columns()
File “/home/sigma/frappe-bench/apps/erpnext/erpnext/manufacturing/report/production_cost_analytics/”, line 30, in get_columns
return [“Production time:Date:100”, “Production:Data:200”, “To Be Produced:Int:100”, “Produced:Int:100”, “Total Bahan:Float:100”,“Total Produksi:Float:100”,“Total Est Cost:Float:100”,“Cost Production:Float:100”,“Cost Monthly:Float:100”]
NameError: global name '
’ is not defined

i didnt find the “_” in my script butits said that _ is not defined

please advise


Add somewhere on the top

from frappe import _

Its still the same the error is not changed