Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Talleyrand333/dc03ed0cfc4dfefc56656e22ee216263 to your computer and use it in GitHub Desktop.
Save Talleyrand333/dc03ed0cfc4dfefc56656e22ee216263 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/home/frappe/frappe-bench/apps/frappe/frappe/www/desk.py", line 22, in get_context
boot = frappe.sessions.get()
File "/home/frappe/frappe-bench/apps/frappe/frappe/sessions.py", line 128, in get
bootinfo = get_bootinfo()
File "/home/frappe/frappe-bench/apps/frappe/frappe/boot.py", line 52, in get_bootinfo
load_translations(bootinfo)
File "/home/frappe/frappe-bench/apps/frappe/frappe/boot.py", line 181, in load_translations
messages = frappe.get_lang_dict("boot")
File "/home/frappe/frappe-bench/apps/frappe/frappe/__init__.py", line 90, in get_lang_dict
return get_dict(fortype, name)
File "/home/frappe/frappe-bench/apps/frappe/frappe/translate.py", line 114, in get_dict
messages = get_messages_from_include_files()
File "/home/frappe/frappe-bench/apps/frappe/frappe/translate.py", line 472, in get_messages_from_include_files
messages.extend(get_messages_from_file(os.path.join(frappe.local.sites_path, file)))
File "/home/frappe/frappe-bench/apps/frappe/frappe/translate.py", line 500, in get_messages_from_file
message) for pos, message in extract_messages_from_code(sourcefile.read(), path.endswith(".py"))]
File "/home/frappe/frappe-bench/env/lib/python3.5/encodings/ascii.py", line 26, in decode
return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 681987: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment