Thanks Luis! The suggestion worked. However, now I'm fighting with gsettings. I've added GSETTINGS_SCHEMA_DIR to wrap-program, but that didn't help. Here's the error message as well as updated patch: $ /gnu/store/gdpv6p3flxnmsb1aziwhsci1c37fwj5q-bottles-2022.4.14/bin/bottles Traceback (most recent call last): File "/gnu/store/gdpv6p3flxnmsb1aziwhsci1c37fwj5q-bottles-2022.4.14/share/bottles/bottles/main.py", line 171, in do_command_line self.do_activate() File "/gnu/store/gdpv6p3flxnmsb1aziwhsci1c37fwj5q-bottles-2022.4.14/share/bottles/bottles/main.py", line 206, in do_activate user_theme = subprocess.check_output([ File "/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/subprocess.py", line 424, in check_output return run(*popenargs, stdout=PIPE, timeout=timeout, check=True, File "/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/subprocess.py", line 505, in run with Popen(*popenargs, **kwargs) as process: File "/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/subprocess.py", line 951, in __init__ self._execute_child(args, executable, preexec_fn, close_fds, File "/gnu/store/papscspynmdi5ljmngw5x5wbi9ijc1xj-python-3.9.9/lib/python3.9/subprocess.py", line 1821, in _execute_child raise child_exception_type(errno_num, err_msg, err_filename) FileNotFoundError: [Errno 2] No such file or directory: 'gsettings' Kind regards, Petr Sent with ProtonMail secure email. ------- Original Message ------- On Monday, April 25th, 2022 at 1:33 PM, phodina via wrote: > Hi, > > could I ask for help packaging Bottles? Patch provided below. > > When I attempt to run the binary I get this message: > > /gnu/store/a9h7l5g0zcvfsx8vi7yq3wc4k72i3i49-bottles-2022.4.14/bin/bottles > Traceback (most recent call last): > File "/gnu/store/a9h7l5g0zcvfsx8vi7yq3wc4k72i3i49-bottles-2022.4.14/bin/.bottles-real", line 42, in > > from bottles import main > File "/gnu/store/a9h7l5g0zcvfsx8vi7yq3wc4k72i3i49-bottles-2022.4.14/share/bottles/bottles/main.py", line 28, in > > gi.require_version('WebKit2', '4.0') > File "/gnu/store/li6pai7xjn0xwc99rvdz29mx25ifznac-python-pygobject-3.40.1/lib/python3.9/site-packages/gi/init.py", line 129, in require_version > raise ValueError('Namespace %s not available for version %s' %ValueError: Namespace WebKit2 not available for version 4.0 > > How should I wrap the binary to fix this error? > > ---- > Petr