ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Ruslandh <ruslandh@gmail.com>
To: devel@lists.altlinux.org
Subject: Re: [devel] Что-то не хватает пакету для сборки lightdm-webkit2-greeter-buildroot
Date: Sun, 15 May 2022 19:12:16 +0300
Message-ID: <3e5ead1b-6199-f0f3-f670-538708543775@gmail.com> (raw)
In-Reply-To: <97ae4a58b64beefc5c1b1f4e08637a40ab2d3f36.camel@altlinux.org>


[-- Attachment #1.1.1: Type: text/plain, Size: 6042 bytes --]

14.05.2022 22:39, Yuri Sedunov пишет:
> В Сб, 14/05/2022 в 21:57 +0300, Ruslandh пишет:
>> 14.05.2022 19:01, Ruslandh пишет:
>>> 14.05.2022 18:29, Yuri Sedunov пишет:
>>>
>>>
>>>> BuildRequires: rpm-build-gir
>>>>
>>>>
>>>
>>> Спасибо, сейчас попробую ;-
>>
>> Не помогло.
>>
> 
> 
> @@ -19,12 +19,8 @@
>   Patch2: lightdm-webkit2-greeter-3.4.1-opt.patch
>   
>   
> -%add_python3_path   %_libdir/web-greeter/bridge/__init__.py
> -%add_python3_path   %_bindir/web-greeter
> -
> -%add_findprov_skiplist %_libdir/web-greeter/*.py
> -%add_findreq_skiplist %_libdir/web-greeter/*.py
> -
> +%add_python3_path   %_libdir/web-greeter
> +%add_python3_req_skip gi.repository.GLib
>   
>   BuildRequires(pre): rpm-build-python3 rpm-build-gir
>   
> @@ -50,6 +46,8 @@
>   
>   %prep
>   %setup
> +sed -i 's|\(#\!/usr/bin/env python\)$|\13|' src/bridge/*.py
> +
>   %make clean
>   %patch -p1
>   %patch1 -p1
> 
> 
> 

О, что-то "зафурычило", во всяком случае не выпадает:


# web-greeter --debug
2022-05-15 18:49:21 [ ERROR ] acpi - acpi.py:20 : __init__ | ACPI: 
acpi_listen does not exists
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
'/tmp/.private/root/runtime-root'
2022-05-15 18:49:24 [ DEBUG ] screensaver - screensaver.py:57 : 
set_screensaver | Screensaver timeout set
2022-05-15 18:49:24 [ DEBUG ] browser - browser.py:194 : init | 
Initializing Browser Window
[5115:5115:0515/184926.422770:ERROR:zygote_host_impl_linux.cc(90)] 
Running as root without --no-sandbox is not supported. See 
https://crbug.com/638180.

# web-greeter --debug --no-sandbox
2022-05-15 18:52:00 [ ERROR ] acpi - acpi.py:20 : __init__ | ACPI: 
acpi_listen does not exists
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
'/tmp/.private/root/runtime-root'
2022-05-15 18:52:03 [ DEBUG ] screensaver - screensaver.py:57 : 
set_screensaver | Screensaver timeout set
2022-05-15 18:52:03 [ DEBUG ] browser - browser.py:194 : init | 
Initializing Browser Window

DevTools listening on 
ws://127.0.0.1:12345/devtools/browser/7470d3d2-180d-4341-9453-f9cef1e686df
2022-05-15 18:52:13 [ DEBUG ] browser - browser.py:280 : 
_initialize_devtools | DevTools initialized
2022-05-15 18:52:16 [ DEBUG ] browser - browser.py:250 : init | Browser 
Window created
2022-05-15 18:52:16 [ ERROR ] Greeter - Greeter.py:98 : __init__ | 
lightdm_greeter_error: Unable to determine socket to daemon (1)
Remote debugging server started successfully. Try pointing a 
Chromium-based browser to http://127.0.0.1:12345
[root@localhost ~]# web-greeter --debug --no-sandbo

2022-05-15 18:55:11 [ ERROR ] acpi - acpi.py:20 : __init__ | ACPI: 
acpi_listen does not exists
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to 
'/tmp/.private/root/runtime-root'
2022-05-15 18:55:15 [ DEBUG ] screensaver - screensaver.py:57 : 
set_screensaver | Screensaver timeout set
2022-05-15 18:55:15 [ DEBUG ] browser - browser.py:194 : init | 
Initializing Browser Window

DevTools listening on 
ws://127.0.0.1:12345/devtools/browser/57f375b6-035e-4a30-9d65-7bb775e6cb99
2022-05-15 18:55:27 [ DEBUG ] browser - browser.py:280 : 
_initialize_devtools | DevTools initialized
2022-05-15 18:55:30 [ DEBUG ] browser - browser.py:250 : init | Browser 
Window created
2022-05-15 18:55:30 [ ERROR ] Greeter - Greeter.py:98 : __init__ | 
lightdm_greeter_error: Unable to determine socket to daemon (1)
Remote debugging server started successfully. Try pointing a 
Chromium-based browser to http://127.0.0.1:12345

** (process:5621): WARNING **: 18:56:04.450: Error getting user list 
from org.freedesktop.Accounts: 
GDBus.Error:org.freedesktop.DBus.Error.ServiceUnknown: The name 
org.freedesktop.Accounts was not provided by any .service files

** (process:5621): CRITICAL **: 18:56:08.439: 
lightdm_greeter_ensure_shared_data_dir_sync: assertion 'priv->connected' 
failed
2022-05-15 18:56:08 [ DEBUG ] Greeter - Greeter.py:116 : __init__ | 
LightDM API connected
2022-05-15 18:56:10 [ DEBUG ] browser - browser.py:474 : load_theme | 
Theme loaded
2022-05-15 18:56:14 [ DEBUG ] browser - browser.py:171 : show | Window 
is ready
2022-05-15 18:56:14 [ DEBUG ] browser - browser.py:175 : run | Web 
Greeter started
2022-05-15 18:56:18 [ ERROR ] 
devtools://devtools/bundled/screencast/screencast.js 761: Uncaught (in 
promise) TypeError: Cannot read property 'url' of undefined
2022-05-15 18:56:29 [ DEBUG ] browser - browser.py:474 : load_theme | 
Theme loaded
[5621:5621:0515/185629.294460:ERROR:CONSOLE(761)] "Uncaught (in promise) 
TypeError: Cannot read property 'url' of undefined", source: 
devtools://devtools/bundled/screencast/screencast.js (761)
2022-05-15 18:56:32 [ ERROR ] 
devtools://devtools/bundled/screencast/screencast.js 761: Uncaught (in 
promise) TypeError: Cannot read property 'url' of undefined
2022-05-15 18:57:00 [ DEBUG ] browser - browser.py:474 : load_theme | 
Theme loaded
[5621:5621:0515/185700.893891:ERROR:CONSOLE(761)] "Uncaught (in promise) 
TypeError: Cannot read property 'url' of undefined", source: 
devtools://devtools/bundled/screencast/screencast.js (761)
Traceback (most recent call last):
   File "/usr/lib64/web-greeter/bridge/Greeter.py", line 259, in layouts
     return [layout_to_dict(layout) for layout in LightDM.get_layouts()]
   File "/usr/lib64/web-greeter/bridge/Greeter.py", line 259, in <listcomp>
     return [layout_to_dict(layout) for layout in LightDM.get_layouts()]
   File "/usr/lib64/web-greeter/bridge/__init__.py", line 47, in 
layout_to_dict
     "short_description": layout.get_short_description()
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 8: 
unexpected end of data
/usr/bin/web-greeter: строка 2:  5621 Аварийный останов         python3 
/usr/lib64/web-greeter $@


Пока не разобрался, как должно работать ;-)

[-- Attachment #1.1.2: OpenPGP public key --]
[-- Type: application/pgp-keys, Size: 657 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 236 bytes --]

  reply	other threads:[~2022-05-15 16:12 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-05-09 20:06 Ruslandh
2022-05-10 23:55 ` Ilya Mashkin
2022-05-11  2:32   ` P X
2022-05-14 15:00     ` P X
2022-05-14 15:13       ` Ruslandh
2022-05-14 15:29         ` Yuri Sedunov
2022-05-14 16:01           ` Ruslandh
2022-05-14 18:57             ` Ruslandh
2022-05-14 19:39               ` Yuri Sedunov
2022-05-15 16:12                 ` Ruslandh [this message]
2022-05-16  8:34                   ` Sergey V Turchin
2022-05-16 10:05                     ` Ruslandh
2022-05-11  6:59 ` Ivan A. Melnikov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=3e5ead1b-6199-f0f3-f670-538708543775@gmail.com \
    --to=ruslandh@gmail.com \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git