Error occurred final step of setup wizard…
Please go through image.
Traceback (most recent call last):
File "/home/medipta/frappe-bench/apps/frappe/frappe/app.py", line 55, in application
response = frappe.handler.handle()
File "/home/medipta/frappe-bench/apps/frappe/frappe/handler.py", line 19, in handle
execute_cmd(cmd)
File "/home/medipta/frappe-bench/apps/frappe/frappe/handler.py", line 36, in execute_cmd
ret = frappe.call(method, **frappe.form_dict)
File "/home/medipta/frappe-bench/apps/frappe/frappe/__init__.py", line 879, in call
return fn(*args, **newargs)
File "/home/medipta/frappe-bench/apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 34, in setup_complete
update_user_name(args)
File "/home/medipta/frappe-bench/apps/frappe/frappe/desk/page/setup_wizard/setup_wizard.py", line 91, in update_user_name
doc.insert()
File "/home/medipta/frappe-bench/apps/frappe/frappe/model/document.py", line 231, in insert
self.run_post_save_methods()
File "/home/medipta/frappe-bench/apps/frappe/frappe/model/document.py", line 728, in run_post_save_methods
self.run_method("on_update")
File "/home/medipta/frappe-bench/apps/frappe/frappe/model/document.py", line 661, in run_method
return Document.hook(fn)(self, *args, **kwargs)
File "/home/medipta/frappe-bench/apps/frappe/frappe/model/document.py", line 839, in composer
return composed(self, method, *args, **kwargs)
File "/home/medipta/frappe-bench/apps/frappe/frappe/model/document.py", line 824, in runner
add_to_return_value(self, f(self, method, *args, **kwargs))
File "/home/medipta/frappe-bench/apps/phr/phr/templates/pages/profile.py", line 37, in create_qr
code = pyqrcode.create(doc.profile_id)
File "/home/medipta/frappe-bench/env/local/lib/python2.7/site-packages/pyqrcode/__init__.py", line 111, in create
return QRCode(content, error, version, mode, encoding)
File "/home/medipta/frappe-bench/env/local/lib/python2.7/site-packages/pyqrcode/__init__.py", line 137, in __init__
guessed_content_type, encoding = self._detect_content_type(content, encoding)
File "/home/medipta/frappe-bench/env/local/lib/python2.7/site-packages/pyqrcode/__init__.py", line 307, in _detect_content_type
c = content.encode('shiftjis')
AttributeError: 'NoneType' object has no attribute 'encode'
Report this issue