hi
same is happening me too here. got this server error after unchecked the private button.
Traceback (most recent call last):
File “/home/next/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 259, in save
return self._save(*args, **kwargs)
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 295, in save
self.run_before_save_methods()
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 885, in run_before_save_methods
self.run_method(“validate”)
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 780, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 1058, in composer
return composed(self, method, *args, **kwargs)
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 1041, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 774, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/next/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py”, line 98, in validate
self.validate_file()
File “/home/next/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py”, line 179, in validate_file
frappe.throw((“File {0} does not exist”).format(self.file_url), IOError)
File “/home/next/frappe-bench/apps/frappe/frappe/init.py”, line 339, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/next/frappe-bench/apps/frappe/frappe/init.py”, line 325, in msgprint
_raise_exception()
File “/home/next/frappe-bench/apps/frappe/frappe/init.py”, line 298, in _raise_exception
raise raise_exception(msg)
IOError: File /private/files/Supplier.xlsx does not exist
Traceback (most recent call last):
File “/home/next/frappe-bench/apps/frappe/frappe/app.py”, line 55, in application
response = frappe.handler.handle()
File “/home/next/frappe-bench/apps/frappe/frappe/handler.py”, line 20, in handle
data = execute_cmd(cmd)
File “/home/next/frappe-bench/apps/frappe/frappe/handler.py”, line 55, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/next/frappe-bench/apps/frappe/frappe/init.py”, line 1007, in call
return fn(*args, **newargs)
File “/home/next/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 22, in savedocs
doc.save()
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 259, in save
return self._save(*args, **kwargs)
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 295, in save
self.run_before_save_methods()
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 885, in run_before_save_methods
self.run_method(“validate”)
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 780, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 1058, in composer
return composed(self, method, *args, **kwargs)
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 1041, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/next/frappe-bench/apps/frappe/frappe/model/document.py”, line 774, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/next/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py”, line 98, in validate
self.validate_file()
File “/home/next/frappe-bench/apps/frappe/frappe/core/doctype/file/file.py”, line 179, in validate_file
frappe.throw((“File {0} does not exist”).format(self.file_url), IOError)
File “/home/next/frappe-bench/apps/frappe/frappe/init.py”, line 339, in throw
msgprint(msg, raise_exception=exc, title=title, indicator=‘red’)
File “/home/next/frappe-bench/apps/frappe/frappe/init.py”, line 325, in msgprint
_raise_exception()
File “/home/next/frappe-bench/apps/frappe/frappe/init.py”, line 298, in _raise_exception
raise raise_exception(msg)
IOError: File /private/files/Supplier.xlsx does not exist