Fixed:
commit c54438859af767f51e1677990ccd3b9fceac675e
Author: Fabio Erculiani <lx...@sabayon.org>
Date:   Fri Aug 12 22:58:13 2016 +0200

    Decode the bytestring coming from pwquality to unicode before using it.

diff --git a/pyanaconda/ui/gui/spokes/lib/passphrase.py
b/pyanaconda/ui/gui/spokes/lib/passphrase.py
index c104194..377f6ed 100644
--- a/pyanaconda/ui/gui/spokes/lib/passphrase.py
+++ b/pyanaconda/ui/gui/spokes/lib/passphrase.py
@@ -21,6 +21,7 @@

 from gi.repository import Gtk

+import locale
 import pwquality

 from pyanaconda.ui.helpers import InputCheck
@@ -118,7 +119,7 @@ class PassphraseDialog(GUIObject, GUIInputCheckHandler):
         try:
             strength = self._pwq.check(passphrase, None, None)
         except pwquality.PWQError as e:
-            self._pwq_error = e.args[1]
+            self._pwq_error =
e.args[1].decode(locale.nl_langinfo(locale.CODESET))

         if strength < 50:
             val = 1


On Thu, Aug 11, 2016 at 2:25 PM, Ettore Di Giacinto <mud...@sabayonlinux.org
> wrote:

> Ok, that fixed the specific issue. I tested today the KDE-dev (2016-08-10)
> and i got another new issue (but it is the same bug looking at the
> stacktrace):
> I selected Manual partitioning -> checked encryption, and it appeared the
> window asking the encryption password, but as soon as i start typing few
> character, the bug window appear:
>
> stacktrace: https://pastebin.sabayon.org/pastie/17854
>
> screenshot: https://pastebin.sabayon.org/pastie/17855
>
>
>
>
> Il giorno dom 7 ago 2016 alle ore 17:36 Fabio Erculiani <
> fabio.erculi...@gmail.com> ha scritto:
>
>> Pushed commit d36eca97f529cad6ed98020cd8f80a8863eab9ef which should fix
>> the unicode issue
>>
>> On Sat, Aug 6, 2016 at 10:10 PM, Fabio Erculiani <
>> fabio.erculi...@gmail.com> wrote:
>>
>>> I'll take a look asap, sounds like the typical utf-8 issues with Python.
>>>
>>> On Fri, Aug 5, 2016 at 3:53 PM, Ettore Di Giacinto <
>>> mud...@sabayonlinux.org> wrote:
>>>
>>>> KDE-dev 2016-08-04:
>>>>
>>>> Selected IT language from boot.
>>>> After boot, double-clicked on the icon on the desktop, the anconda
>>>> screen was black for a long time, then i minimized-maximixed the windows,
>>>> and the anaconda bug report window showed up with this content:
>>>> https://pastebin.sabayon.org/pastie/17838, couldn't install so far (in
>>>> a virtualbox instance).  Locales was there, tried also to regenerate them
>>>> on-place but didn't worked. Screen: https://pastebin.
>>>> sabayon.org/pastie/17839
>>>>
>>>>
>>>> Il giorno ven 5 ago 2016 alle ore 08:34 Joost Ruis <
>>>> joost.r...@sabayon.org> ha scritto:
>>>>
>>>>> +1 for creating a (well designed!) welcome screen.
>>>>>
>>>>> On Fri, Aug 5, 2016 at 12:50 AM, Francesco Ferretti <
>>>>> skullbo...@sabayon.org> wrote:
>>>>>
>>>>>> I think the icons issue is caused by the fact that Gnome is no longer
>>>>>> designed to support icons on desktop. Even if we fix that we will have 
>>>>>> some
>>>>>> other troubles in future.
>>>>>> My proposal is to completely remove the icons and place instead a
>>>>>> welcome window like Fedora does on its live CD, so this will make
>>>>>> installation more immediate and even more understandable by the users.
>>>>>> So I found the script shipped with anaconda that create the welcome
>>>>>> window and I was planning to make it compatible with calamares but, since
>>>>>> we have replaced it with anaconda, I think is even more easy to make it
>>>>>> work on our distro.
>>>>>> Tomorrow I will test it on a daily image crossing my fingers.
>>>>>>
>>>>>> P.S.
>>>>>> Excuse me for my delay in my reply but I was really busy during this
>>>>>> days.
>>>>>>
>>>>>> On Thu, Aug 4, 2016 at 8:49 PM Joost Ruis <joost.r...@sabayon.org>
>>>>>> wrote:
>>>>>>
>>>>>>> Quick tested KDE dev spin (latest build from today) in Vbox.
>>>>>>> Installer worked, again the mouse theme changed just like on MATE
>>>>>>> spin, but everything installed it seems.
>>>>>>>
>>>>>>> When trying to reboot from live KDE spin, it simply logs into a
>>>>>>> fresh KDE live session again.
>>>>>>> After a reboot I notice SDDM being my DM and Kodi is selected as the
>>>>>>> default session.
>>>>>>> I select Plasma as my default session and it seems to load up fine.
>>>>>>>
>>>>>>> I will now try testing the same spin on a baremetal machine.
>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>> On Thu, Aug 4, 2016 at 7:50 PM, Ettore Di Giacinto <
>>>>>>> mud...@sabayonlinux.org> wrote:
>>>>>>>
>>>>>>>> Downloaded KDE, i'll try to test it later
>>>>>>>>
>>>>>>>> Il gio 4 ago 2016, 19:48 Joost Ruis <joost.r...@sabayon.org> ha
>>>>>>>> scritto:
>>>>>>>>
>>>>>>>>> Just tested MATE daily dev that was build today and it seems that
>>>>>>>>> everything works just fine. (Even Grub theme got installed).
>>>>>>>>> I'll try to find some time to test KDE spin
>>>>>>>>>
>>>>>>>>> On Mon, Aug 1, 2016 at 4:26 PM, Ettore Di Giacinto <
>>>>>>>>> mud...@sabayonlinux.org> wrote:
>>>>>>>>>
>>>>>>>>>> About cycle release, soon i'll open up another thread wrt cycle
>>>>>>>>>> release scheduling. Then main idea is to cut a stable release every 4
>>>>>>>>>> months.
>>>>>>>>>>
>>>>>>>>>> Il lun 1 ago 2016, 15:29 Ettore Di Giacinto <
>>>>>>>>>> mud...@sabayonlinux.org> ha scritto:
>>>>>>>>>>
>>>>>>>>>>> Indeed i blocked crons and holded monthly automatic releases, i
>>>>>>>>>>> think thats also the occasion to switch to a "less often" release 
>>>>>>>>>>> cycle for
>>>>>>>>>>> monthly and cutting stable releases instead of automatic ones.
>>>>>>>>>>>
>>>>>>>>>>> Dailies will still be there of course, giving us the ability to
>>>>>>>>>>> test better and having a good release everytime.
>>>>>>>>>>>
>>>>>>>>>>> KDE bug showed up since the plasma 5.6.7 bump, i suggest to give
>>>>>>>>>>> sddm another shot now thlhat we have the occasion (we decided to 
>>>>>>>>>>> not use it
>>>>>>>>>>> because was having major issues with ati video cards).
>>>>>>>>>>>
>>>>>>>>>>> For GNOME, Francesco was taking care of it, but he was proposing
>>>>>>>>>>> to remove icons at all and adding a welcome screen (like 
>>>>>>>>>>> fedora/ubuntu and
>>>>>>>>>>> so on) which is more user friendly than the current boot process.
>>>>>>>>>>> Francesco, can you make a proposal of changes, or write few lines 
>>>>>>>>>>> on what
>>>>>>>>>>> you was thinking of?
>>>>>>>>>>>
>>>>>>>>>>> Cheers
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>>
>>>>>>>>>>> Il lun 1 ago 2016, 15:17 Fabio Erculiani <
>>>>>>>>>>> fabio.erculi...@gmail.com> ha scritto:
>>>>>>>>>>>
>>>>>>>>>>>> First of all,
>>>>>>>>>>>> I think I fixed all outstanding anaconda issues (including the
>>>>>>>>>>>> grub splash) and I am pushing anaconda-22.5 right now.
>>>>>>>>>>>>
>>>>>>>>>>>> But I still see at least a couple of major issues with the
>>>>>>>>>>>> images I tested (GNOME and KDE):
>>>>>>>>>>>> - GNOME desktop icons are incorrectly positioned, they are one
>>>>>>>>>>>> above the other.
>>>>>>>>>>>> - KDE LightDM integration (after install) seems broken, X
>>>>>>>>>>>> starts at a very low resolution and there is no background (the 
>>>>>>>>>>>> background
>>>>>>>>>>>> is white).
>>>>>>>>>>>>
>>>>>>>>>>>> I think we should fix at least these two things before cutting
>>>>>>>>>>>> a new release.
>>>>>>>>>>>>
>>>>>>>>>>>>
>>>>>>>>>>>> --
>>>>>>>>>>>>  Fabio Erculiani
>>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>>
>>>>>>>>>>> Regards,
>>>>>>>>>>> Ettore Di Giacinto - Sabayon Project Lead
>>>>>>>>>>>
>>>>>>>>>>> --
>>>>>>>>>>
>>>>>>>>>> Regards,
>>>>>>>>>> Ettore Di Giacinto - Sabayon Project Lead
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>>
>>>>>>>>>
>>>>>>>>> --
>>>>>>>>
>>>>>>>> Regards,
>>>>>>>> Ettore Di Giacinto - Sabayon Project Lead
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>
>>>>> --
>>>>
>>>> Regards,
>>>> Ettore Di Giacinto - Sabayon Project Lead
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>> --
>>>  Fabio Erculiani
>>>
>>
>>
>>
>> --
>>  Fabio Erculiani
>>
> --
>
> Regards,
> Ettore Di Giacinto - Sabayon Project Lead
>
>
>
>
>


-- 
 Fabio Erculiani


Reply via email to