Bug 44832 - web-greeter thows an UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0 in position 8
Summary: web-greeter thows an UnicodeDecodeError: 'utf-8' codec can't decode byte 0xd0...
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: lightdm-webkit2-greeter (show other bugs)
Version: unstable
Hardware: x86_64 Linux
: P5 normal
Assignee: ruslandh
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-07 15:21 MSK by Sergey Markov
Modified: 2023-02-01 23:51 MSK (History)
1 user (show)

See Also:


Attachments
spec file (3.76 KB, text/x-rpm-spec)
2023-01-07 15:21 MSK, Sergey Markov
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Sergey Markov 2023-01-07 15:21:21 MSK
Created attachment 12218 [details]
spec file

web-greeter thows an exception:
Traceback (most recent call last):
  File "/usr/lib/web-greeter/bridge/Greeter.py", line 259, in layouts
    return [layout_to_dict(layout) for layout in LightDM.get_layouts()]
  File "/usr/lib/web-greeter/bridge/Greeter.py", line 259, in <listcomp>q
    return [layout_to_dict(layout) for layout in LightDM.get_layouts()]
  File "/usr/lib/web-greeter/bridge/__init__.py", line 48, 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

The issue is already fixed by owner (JezerM): https://github.com/JezerM/web-greeter/commit/10741cfb069c70ad62639bf6b6fb811612b05d22

So to continue to use web-greeter we need to update corrent 3.4.1 to 3.5.1 version.

But JezerM add usage of submodules for themes: https://github.com/JezerM/web-greeter-themes/tree/44283cafccece5366612301d927fe5628fe9eda1 
More over he add submodule inside thems: https://github.com/JezerM/nody-greeter-types/tree/4bf0196380384964984a52b6ef97b1e8f3161742
Aslo typescript is add so we need to add node-typescript as build requirement in the spec.

I've attach my versions of spec
Comment 1 ruslandh 2023-01-29 15:57:45 MSK
Привет, добрался до этого пакета ;-)

Если есть новые предложения , пишите, и можно по-русски, а то я школе нмецкий учил ;-)

Если срочно, можете мне и в телеграм стукнуть ;-)
Comment 2 Sergey Markov 2023-01-31 20:55:30 MSK
Проверить не могу версия фикса в кармане содержит не разрешимые зависимости для p10: lightdm-webkit2-greeter: Требует: python3.10-ABI(64bit) но пакет не может быть установлен

Мне то не срочно, так как я свой репозиторий создал, и собрал пакет для себя. Потому и такие подробности в обоих багах ))
Comment 3 Repository Robot 2023-02-01 23:51:18 MSK
lightdm-webkit2-greeter-3.5.2-alt1.1 -> sisyphus:

 Wed Feb 01 2023 Hihin Ruslan <ruslandh@altlinux.ru> 3.5.2-alt1.1
 - Close Bags (ALT #44832, #44833)