22:31:22 (ERROR) Error while running async job: <bound method Manager.create_bottle of <bottles.backend.managers.manager.Manager object at 0x7fd99fad1840>>
Exception: a bytes-like object is required, not 'str'
File "/app/share/bottles/bottles/frontend/utils/threading.py", line 61, in __target
result = self.task_func(*args, **kwargs)
File "/app/share/bottles/bottles/backend/managers/manager.py", line 1239, in create_bottle
rk.apply_cmd_settings()
File "/app/share/bottles/bottles/backend/wine/regkeys.py", line 222, in apply_cmd_settings
self.reg.import_bundle({
File "/app/share/bottles/bottles/backend/wine/reg.py", line 125, in import_bundle
logging.info(res, )
File "/app/share/bottles/bottles/backend/logger.py", line 69, in info
self.root.info(self.__color("info", message), )
File "/app/share/bottles/bottles/backend/logger.py", line 48, in __color
if message is not None and "\n" in message:
Describe the bug
On a freshly installed Bottles (without any prior configuration), I am unable to create a new bottle, no matter the environment.
After creating the bottle for the first time in the stable branch, I can create bottles afterwards.
To Reproduce
~/.var/app/com.usebottles.bottles
, if it existsPackage
Flatpak from GitHub Artifacts
Distribution
Fedora 37 Silverblue
Debugging Information
Troubleshooting Logs
Additional context
First regression appeared on https://github.com/bottlesdevs/Bottles/pull/2505#issuecomment-1404523023.
I can reproduce it in a fresh Fedora 37 Kinoite install (VM).