Description of problem:
Installing F28/x86_64/MATE from kickstart, anaconda crashes (with message as below)
when there are non-ascii characters in kickstart file, at least on places:
- --gecos item in user/root directive
- somewhere in comment line
Error from syslog (similar is displayed on screen):
org.fedoraproject.Anaconda.Boss:ERROR:pydbus.registration:Exception while handling org.fedoraproject.Anaconda.Boss.Anaconda.SplitKickstart()
org.fedoraproject.Anaconda.Boss:Traceback (most recent call last):
org.fedoraproject.Anaconda.Boss: File "/usr/lib/python3.6/site-packages/pydbus/registration.py", line 82, in call_method
org.fedoraproject.Anaconda.Boss: result = method(*parameters, **kwargs)
org.fedoraproject.Anaconda.Boss: File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/boss/boss_interface.py", line 67, in SplitKickstart
org.fedoraproject.Anaconda.Boss: File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/boss/boss.py", line 117, in split_kickstart
org.fedoraproject.Anaconda.Boss: File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/boss/kickstart_manager/kickstart_manager.py", line 71, in split
org.fedoraproject.Anaconda.Boss: result = ksparser.split(path)
org.fedoraproject.Anaconda.Boss: File "/usr/lib64/python3.6/site-packages/pyanaconda/modules/boss/kickstart_manager/parser.py", line 134, in split
org.fedoraproject.Anaconda.Boss: kickstart = f.read()
org.fedoraproject.Anaconda.Boss: File "/usr/lib64/python3.6/encodings/ascii.py", line 26, in decode
org.fedoraproject.Anaconda.Boss: return codecs.ascii_decode(input, self.errors)
org.fedoraproject.Anaconda.Boss:UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 778: ordinal not in range(128)
Version-Release number of selected component (if applicable):
- In my case this occur when I was using UTF-8 chars belonging to ISO8859-2
charset (accented ascii, e.g. 'user --name=pdwfh --gecos="Řóňěžíč Šúďíš"')
- this error was not in previous Fedora releases (at least in F25 - F27)
Could you please provide us logs from the failed installation as plain text files? You can find them in /tmp .
I have exactly the same problem.
Created attachment 1436811 [details]
Thanks for the logs Yuriy. We will look into this issue.
For some unknown case I cannot add attachment. But in my case,
position 778 is position (decimal; 778==0x30A) from beginning of kickstart file,
"codec can't decode byte 0xc5" - at this position was (in comment line) character "ř" (0xC5 0x99 in UTF-8), and it was first occurence of non-ascii char in ks
Fixed in a pull request: https://github.com/rhinstaller/anaconda/pull/1484
*** Bug 1585073 has been marked as a duplicate of this bug. ***
*** Bug 1608330 has been marked as a duplicate of this bug. ***
This message is a reminder that Fedora 28 is nearing its end of life.
On 2019-May-28 Fedora will stop maintaining and issuing updates for
Fedora 28. It is Fedora's policy to close all bug reports from releases
that are no longer maintained. At that time this bug will be closed as
EOL if it remains open with a Fedora 'version' of '28'.
Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, simply change the 'version'
to a later Fedora version.
Thank you for reporting this issue and we are sorry that we were not
able to fix it before Fedora 28 is end of life. If you would still like
to see this bug fixed and are able to reproduce it against a later version
of Fedora, you are encouraged change the 'version' to a later Fedora
version prior this bug is closed as described in the policy above.
Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.
Fedora 28 changed to end-of-life (EOL) status on 2019-05-28. Fedora 28 is
no longer maintained, which means that it will not receive any further
security or bug fix updates. As a result we are closing this bug.
If you can reproduce this bug against a currently maintained version of
Fedora please feel free to reopen this bug against that version. If you
are unable to reopen this bug, please file a new report against the
current release. If you experience problems, please add a comment to this
Thank you for reporting this bug and we are sorry it could not be fixed.