help-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Help: Packaging Bottles


From: phodina
Subject: Re: Help: Packaging Bottles
Date: Mon, 25 Apr 2022 20:32:29 +0000

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 <help-guix@gnu.org> 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 <module>
>
> from bottles import main
> File 
> "/gnu/store/a9h7l5g0zcvfsx8vi7yq3wc4k72i3i49-bottles-2022.4.14/share/bottles/bottles/main.py",
>  line 28, in <module>
>
> 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

Attachment: v2-0001-gnu-Add-bottles.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]