ERPNext Conference 2019* Blog

V12 File attachment issues


as we can see below multiple file upload doesn’t work

and also Arabic file name doesn’t upload ??

also issue has been created 6 days ago


console output

FileUploader.vue?rollup-plugin-vue=script.js:401 POST 500 (INTERNAL SERVER ERROR)

(anonymous) @ FileUploader.vue?rollup-plugin-vue=script.js:401
upload_file @ FileUploader.vue?rollup-plugin-vue=script.js:327
(anonymous) @ FileUploader.vue?rollup-plugin-vue=script.js:288
Promise.then (async)
(anonymous) @ dom.js:261
frappe.run_serially @ dom.js:259
upload_files @ FileUploader.vue?rollup-plugin-vue=script.js:285
upload_files @ index.js:50
primary_action @ index.js:66
(anonymous) @ dialog.js:142
dispatch @ jquery.min.js:3
r.handle @ jquery.min.js:3
request.js:352 Traceback (most recent call last):
File “/home/frappe/cilek-bench/apps/frappe/frappe/”, line 60, in application
response = frappe.api.handle()
File “/home/frappe/cilek-bench/apps/frappe/frappe/”, line 55, in handle
return frappe.handler.handle()
File “/home/frappe/cilek-bench/apps/frappe/frappe/”, line 21, in handle
data = execute_cmd(cmd)
File “/home/frappe/cilek-bench/apps/frappe/frappe/”, line 56, in execute_cmd
return, **frappe.form_dict)
File “/home/frappe/cilek-bench/apps/frappe/frappe/”, line 1036, in call
return fn(*args, **newargs)
File “/home/frappe/cilek-bench/apps/frappe/frappe/”, line 193, in upload_file
File “/home/frappe/cilek-bench/apps/frappe/frappe/model/”, line 271, in save
return self._save(*args, **kwargs)
File “/home/frappe/cilek-bench/apps/frappe/frappe/model/”, line 294, in _save
File “/home/frappe/cilek-bench/apps/frappe/frappe/model/”, line 252, in insert
File “/home/frappe/cilek-bench/apps/frappe/frappe/model/”, line 786, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/cilek-bench/apps/frappe/frappe/model/”, line 1056, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/cilek-bench/apps/frappe/frappe/model/”, line 1039, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/cilek-bench/apps/frappe/frappe/model/”, line 780, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/cilek-bench/apps/frappe/frappe/core/doctype/file/”, line 81, in after_insert
“file_url”: quote(self.file_url) if self.file_url else self.file_name,
File “/usr/lib/python2.7/”, line 1298, in quote
return ‘’.join(map(quoter, s))
KeyError: u’\u0645’


same issue with me in web form