You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Try to run: web-greeter --no-sandbox
And get 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
Hmm, I didn't expect and even didn't know about these methods throwing an error before. I just added a try-catch around these methods, so it should be fixed now. However, it's weird how this is happening.
Also, I can't reproduce the issue with the Additional info when doing LANG=ru_RU.utf8 web-greeter --debug --no-sandbox; actually, it works fine as you can see here:
Does this happen only with custom layouts in /etc/lightdm/web-greeter.yml? If so, which layouts are you trying to set? Also, does this occur with other lightdm greeters?
Does this happen only with custom layouts in /etc/lightdm/web-greeter.yml? If so, which layouts are you trying to set?
It happens with default layouts in /etc/lightdm/web-greeter.yml. Try leave only us and set another combinations - have no effect.
Also, does this occur with other lightdm greeters?
Before I use gtk-greeter, then switch to webkit2 - all works fine.
Hmm, I didn't expect and even didn't know about these methods throwing an error before. I just added a try-catch around these methods, so it should be fixed now. However, it's weird how this is happening.
Thanks, it should be fixed now. However, cause stay unknown.
Environment
Bug description
Try to run:
web-greeter --no-sandbox
And get exception:
Fast workaround to fix issue
Edit file:
/usr/lib/web-greeter/bridge/__init__.py
Additional info
Make some tests.
Get exception on
my phonetic
andcustom
layouts if run withru_RU.utf8
locale.So if run
LANG=en_US.utf8 web-greeter
it works fine.The text was updated successfully, but these errors were encountered: