File "/home/erpnext/frappe-bench/apps/frappe/frappe/handler.py", line 47, in uploadfile
ret = frappe.utils.file_manager.upload()
File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/file_manager.py", line 33, in upload
filedata = save_uploaded(dt, dn)
File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/file_manager.py", line 52, in save_uploaded
return save_file(fname, content, dt, dn);
File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/file_manager.py", line 118, in save_file
fname = get_file_name(fname, content_hash[-6:])
File "/home/erpnext/frappe-bench/apps/frappe/frappe/utils/file_manager.py", line 254, in get_file_name
if len(n_records) > 0 or os.path.exists(get_files_path(fname)):
File "/home/erpnext/frappe-bench/env/lib/python2.7/genericpath.py", line 18, in exists
os.stat(path)
UnicodeEncodeError: 'ascii' codec can't encode characters in position 58-64: ordinal not in range(128)
–
Note:
If you are posting an issue,
- ERPNext is a free and open source software and support is given on this forum by a team (https://frappe.io/webnotes). So please consider donating if you find this forum useful (https://frappe.io/buy). Even a small amount would be helpful.
- We should be able to replicate it at our end. So please give us as much information as you can. Please see it from the point of view of the person receiving the communication.
- Paste your code at http://pastebin.com or http://gist.github.com and send only the URL via email
- For sending images, use http://imgur.com or other similar services. Do not send images as attachments. Links are good. Same goes for any file you are going to send.
End of Note
—
You received this message because you are subscribed to the Google Groups "ERPNext Developer Forum" group.
To unsubscribe from this group and stop receiving emails from it, send an email to erpnext-developer-forum+un…@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/erpnext-developer-forum/235fedf5-e614-4e62-b3d8-c8fd3893249e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.