Hi,
I am using CentOS7 in VirtualBox and installed using the automated script. I see the setup wizard but always see an error when trying to “Complete Setup”.
The message that pops up is this:
Adding System Manager to this User as there must be atleast one System Manager
Setting this Address Template as default as there is no other default
Server Error: Please check your server logs or contact tech support.
There were errors.
Traceback (most recent call last):
File “/home/arsyad/frappe-bench/apps/frappe/frappe/app.py”, line 56, in application
response = frappe.handler.handle()
File “/home/arsyad/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/home/arsyad/frappe-bench/apps/frappe/frappe/handler.py”, line 42, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/home/arsyad/frappe-bench/apps/frappe/frappe/init.py”, line 907, in call
return fn(*args, **newargs)
File “/home/arsyad/frappe-bench/apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py”, line 38, in setup_complete
frappe.get_attr(method)(args)
File “/home/arsyad/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/setup_wizard.py”, line 23, in setup_complete
install_fixtures.install(args.get(“country”))
File “/home/arsyad/frappe-bench/apps/erpnext/erpnext/setup/setup_wizard/install_fixtures.py”, line 220, in install
doc.insert(ignore_permissions=True)
File “/home/arsyad/frappe-bench/apps/frappe/frappe/model/document.py”, line 193, in insert
self.run_before_save_methods()
File “/home/arsyad/frappe-bench/apps/frappe/frappe/model/document.py”, line 772, in run_before_save_methods
self.run_method(“validate”)
File “/home/arsyad/frappe-bench/apps/frappe/frappe/model/document.py”, line 667, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/arsyad/frappe-bench/apps/frappe/frappe/model/document.py”, line 892, in composer
return composed(self, method, *args, **kwargs)
File “/home/arsyad/frappe-bench/apps/frappe/frappe/model/document.py”, line 875, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/arsyad/frappe-bench/apps/frappe/frappe/model/document.py”, line 661, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/arsyad/frappe-bench/apps/frappe/frappe/email/doctype/email_account/email_account.py”, line 64, in validate
if self.password or self.smtp_server in (‘127.0.0.1’ or ‘localhost’):
TypeError: coercing to Unicode: need string or buffer, NoneType found
What could be wrong?