Dear All,
I’m a newbie in ERPNext, I have created a VM on google cloud, and installed ERPNext using cloud launcher, when I tried to configure the email account, it show me this problem, I’m using Gmail.
Anyone can help?
App Versions
{
“erpnext”: “7.0.0-beta”,
“frappe”: “7.0.0-beta”
}
Route
Form/Email Account/Notifications
Error Report
Traceback (most recent call last):
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 20, in savedocs
doc.save()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/document.py”, line 250, in save
self._validate()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/document.py”, line 369, in _validate
self._save_passwords()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/base_document.py”, line 582, in _save_passwords
set_encrypted_password(self.doctype, self.name, new_password, df.fieldname)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/password.py”, line 25, in set_encrypted_password
{ ‘doctype’: doctype, ‘name’: name, ‘fieldname’: fieldname, ‘pwd’: encrypt(pwd) })
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/password.py”, line 95, in encrypt
cipher_suite = Fernet(encode(get_encryption_key()))
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/password.py”, line 109, in get_encryption_key
update_site_config(‘encryption_key’, encryption_key)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/installer.py”, line 276, in update_site_config
with open(get_site_config_path(), “w”) as f:
IOError: [Errno 13] Permission denied: u’./erpnext/site_config.json’
Traceback (most recent call last):
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/app.py”, line 58, in application
response = frappe.handler.handle()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/handler.py”, line 19, in handle
execute_cmd(cmd)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/handler.py”, line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/init.py”, line 875, in call
return fn(*args, **newargs)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/desk/form/save.py”, line 20, in savedocs
doc.save()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/document.py”, line 250, in save
self._validate()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/document.py”, line 369, in _validate
self._save_passwords()
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/model/base_document.py”, line 582, in _save_passwords
set_encrypted_password(self.doctype, self.name, new_password, df.fieldname)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/password.py”, line 25, in set_encrypted_password
{ ‘doctype’: doctype, ‘name’: name, ‘fieldname’: fieldname, ‘pwd’: encrypt(pwd) })
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/password.py”, line 95, in encrypt
cipher_suite = Fernet(encode(get_encryption_key()))
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/utils/password.py”, line 109, in get_encryption_key
update_site_config(‘encryption_key’, encryption_key)
File “/opt/bitnami/apps/erpnext/htdocs/frappe-bench/apps/frappe/frappe/installer.py”, line 276, in update_site_config
with open(get_site_config_path(), “w”) as f:
IOError: [Errno 13] Permission denied: u’./erpnext/site_config.json’
Request Data
{
“type”: “POST”,
“args”: {
“doc”: “{"default_outgoing":1,"email_id":"admin@cefideas.com","creation":"2016-10-20 17:36:06.937268","doctype":"Email Account","unreplied_for_mins":30,"use_imap":0,"owner":"Administrator","use_ssl":1,"always_use_account_email_id_as_sender":0,"default_incoming":0,"modified_by":"Administrator","service":"GMail","use_tls":1,"enable_incoming":0,"attachment_limit":1,"docstatus":0,"enable_auto_reply":0,"enable_outgoing":1,"add_signature":0,"email_account_name":"Notifications","name":"Notifications","idx":0,"modified":"2016-10-20 17:36:06.937268","login_id_is_different":0,"notify_if_unreplied":0,"__last_sync_on":"2016-11-29T10:35:10.719Z","__unsaved":1,"email_server":"pop.gmail.com","smtp_server":"smtp.gmail.com","smtp_port":587,"password":"*****"}”,
“action”: “Save”,
“cmd”: “frappe.desk.form.save.savedocs”
},
“btn”: {},
“freeze”: true,
“freeze_message”: “Saving”,
“url”: “/”
}
Response JSON
{
“_server_messages”: “["{\"message\": \"Did not save\"}"]”
}