Hi,

As an update, I was able to finally get livemedia-creator to work, and that 
worked on these (and my) kickstarts. So, perhaps there is a problem with 
livecd-creator which I understand is scheduled to go away anyway.

Best wishes,
Ranjan

On Wed Jun11'25 11:17:16AM, Community Support for Fedora Users wrote:
> From: Ranjan Maitra via users <[email protected]>
> Date: Wed, 11 Jun 2025 11:17:16 -0500
> To: Community Support for Fedora Users <[email protected]>
> Cc: Ranjan Maitra <[email protected]>
> Reply-To: Community support for Fedora users <[email protected]>
> Subject: error in creating Fedora 42 remix using livecd-creator
> 
> 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
-- 
_______________________________________________
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

Reply via email to