Hi,
I have been trying to create (in Fedora 42) a Fedora Live spin (I have done
this for a while) using livecd-creator but I have been getting a python related
error.
So, I decided to copy the kickstart files for the LXDE spin (and its
associated) files but get:
sudo livecd-creator --config=fedora-live-lxde.ks --releasever=42 --cache=cache
--tmpdir=tmp --fslabel=Fedora-LXDE --logfile=livecd.log
Traceback (most recent call last):
File "/usr/bin/livecd-creator", line 265, in <module>
sys.exit(main())
~~~~^^
File "/usr/bin/livecd-creator", line 195, in main
ks = imgcreate.read_kickstart(options.kscfg)
File "/usr/lib/python3.13/site-packages/imgcreate/kickstart.py", line 54, in
read_kickstart
ksfile = urlgrabber.urlgrab(path, filename=tmpks)
File "/usr/lib/python3.13/site-packages/urlgrabber/grabber.py", line 808, in
urlgrab
return default_grabber.urlgrab(url, filename, **kwargs)
~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/urlgrabber/grabber.py", line 1205, in
urlgrab
(url,parts) = opts.urlparser.parse(url, opts)
~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^
File "/usr/lib/python3.13/site-packages/urlgrabber/grabber.py", line 873, in
parse
pathname = pathname2url(url)
File "/usr/lib64/python3.13/urllib/request.py", line 1679, in pathname2url
return quote(pathname, encoding=encoding, errors=errors)
File "/usr/lib64/python3.13/urllib/parse.py", line 924, in quote
raise TypeError("quote() doesn't support 'encoding' for bytes")
TypeError: quote() doesn't support 'encoding' for bytes
pathname = pathname2url(url)
File "/usr/lib64/python3.13/urllib/request.py", line 1679, in pathname2url
return quote(pathname, encoding=encoding, errors=errors)
File "/usr/lib64/python3.13/urllib/parse.py", line 924, in quote
raise TypeError("quote() doesn't support 'encoding' for bytes")
TypeError: quote() doesn't support 'encoding' for bytes
What is wrong here? I got these kickstart files by using:
git clone ssh://[email protected]/fedora-kickstarts.git fedora-kickstarts
Many thanks in advance for any suggestions that you can provide, and my very
best wishes,
Ranjan
--
_______________________________________________
users mailing list -- [email protected]
To unsubscribe send an email to [email protected]
Fedora Code of Conduct:
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives:
https://lists.fedoraproject.org/archives/list/[email protected]
Do not reply to spam, report it:
https://pagure.io/fedora-infrastructure/new_issue