Erpnext v9.0.3 file manager upload error

use “file manager”, upload a file ,no success! error information:

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/”, line 109, in uploadfile
ret = frappe.utils.file_manager.upload()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 35, in upload
file_doc = get_file_doc()
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 66, in get_file_doc
file_doc = save_uploaded(dt, dn, folder, is_private)
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 75, in save_uploaded
return save_file(fname.encode(‘utf-8’), content, dt, dn, folder, is_private=is_private);
File “/home/frappe/frappe-bench/apps/frappe/frappe/utils/”, line 148, in save_file
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 218, in insert
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 809, in run_before_save_methods
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 702, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 924, in composer
return composed(self, method, *args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 907, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/frappe/frappe-bench/apps/frappe/frappe/model/”, line 696, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/file/”, line 72, in validate
File “/home/frappe/frappe-bench/apps/frappe/frappe/core/doctype/file/”, line 141, in validate_file
if not os.path.exists(get_files_path(frappe.as_unicode(self.file_name.lstrip(“/”)))):
File “/home/frappe/frappe-bench/env/lib/python2.7/”, line 18, in exists
UnicodeEncodeError: ‘ascii’ codec can’t encode characters in position 26-34: ordinal not in range(128)

help me ,please?

Dear Cloudsunsky, that error was also disturbing but I solved it very easily. You must first save the Document or the form your dealing with before you upload any file. Hope this helps you