@flexy2ky
i have this error after setting password for Administrator;
SUCCESS: Bench frappe-bench initialized
Bench installation complete!
Preparing for Production installation. This could take a minute... or two so please be patient.
Enter the site name (If you wish to install SSL later, please enter a FQDN): fsapp
Enter the Administrator password:
Confirm password:
Password confirmed
Now setting up your site. This might take a few minutes. Please wait...
--- Logging error ---
Traceback (most recent call last):
File "/usr/lib/python3.10/logging/__init__.py", line 1103, in emit
stream.write(msg + self.terminator)
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcc4' in position 59: surrogates not allowed
Call stack:
File "/usr/local/bin/bench", line 8, in <module>
sys.exit(cli())
File "/usr/local/lib/python3.10/dist-packages/bench/cli.py", line 81, in cli
logger.info(command)
Message: '/usr/local/bin/bench new-site \udcc4fsapp --db-root-password 12345 --admin-password 12345'
Arguments: ()
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.10/runpy.py", line 86, in _run_code
exec(code, run_globals)
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 114, in <module>
main()
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/utils/bench_helper.py", line 20, in main
click.Group(commands=commands)(prog_name="bench")
File "/home/frappeuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1157, in __call__
return self.main(*args, **kwargs)
File "/home/frappeuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1078, in main
rv = self.invoke(ctx)
File "/home/frappeuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/frappeuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1688, in invoke
return _process_result(sub_ctx.command.invoke(sub_ctx))
File "/home/frappeuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 1434, in invoke
return ctx.invoke(self.callback, **ctx.params)
File "/home/frappeuser/frappe-bench/env/lib/python3.10/site-packages/click/core.py", line 783, in invoke
return __callback(*args, **kwargs)
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/commands/site.py", line 66, in new_site
frappe.init(site=site, new_site=True)
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/__init__.py", line 313, in init
setup_module_map(include_all_apps=not (frappe.request or frappe.job or frappe.flags.in_migrate))
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/__init__.py", line 1686, in setup_module_map
apps = get_all_apps(with_internal_apps=True)
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/__init__.py", line 1551, in get_all_apps
for app in get_file_items(os.path.join(local.site_path, "apps.txt")):
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/__init__.py", line 1717, in get_file_items
content = read_file(path, raise_not_found=raise_not_found)
File "/home/frappeuser/frappe-bench/apps/frappe/frappe/__init__.py", line 1739, in read_file
path = path.encode("utf-8")
UnicodeEncodeError: 'utf-8' codec can't encode character '\udcc4' in position 2: surrogates not allowed
An error occurred on line 369 with exit status 0