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://git@pagure.io/fedora-kickstarts.git fedora-kickstarts
Many thanks in advance for any suggestions that you can provide, and my very best wishes, Ranjan
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 users@lists.fedoraproject.org Date: Wed, 11 Jun 2025 11:17:16 -0500 To: Community Support for Fedora Users users@lists.fedoraproject.org Cc: Ranjan Maitra mlmaitra@gmx.com Reply-To: Community support for Fedora users users@lists.fedoraproject.org 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://git@pagure.io/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 -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue
One quick question, where in cmsh is the node specs set (like the amount of memory)? ________________________________ From: Ranjan Maitra via users users@lists.fedoraproject.org Sent: Thursday, June 12, 2025 10:34:31 AM To: Community support for Fedora users users@lists.fedoraproject.org Cc: Ranjan Maitra mlmaitra@gmx.com Subject: [EXT] Re: error in creating Fedora 42 remix using livecd-creator
PROCEED WITH CAUTION: Slow down and pay close attention to emails sent from outside the organization. If you receive an unsolicited email from an unknown sender or are suspicious of the tone, style, vocabulary or urgency of the email message, never click links or open attachments within it. When in doubt, you should either delete the email, verify its authenticity by contacting the sender using an alternative method not listed in the email, or submit it via the BlueFish button in Outlook for investigation. If you don't have the BlueFish button or are using a mobile device, forward the email as an attachment to phishtanktriage@ccf.org
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 users@lists.fedoraproject.org Date: Wed, 11 Jun 2025 11:17:16 -0500 To: Community Support for Fedora Users users@lists.fedoraproject.org Cc: Ranjan Maitra mlmaitra@gmx.com Reply-To: Community support for Fedora users users@lists.fedoraproject.org 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://git@pagure.io/fedora-kickstarts.git<ssh://git@pagure.io/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 -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/<https://docs.fedoraproject.org/en-US/project/code-of-conduct> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines<https://fedoraproject.org/wiki/Mailing_list_guidelines> List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org<https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue<https://pagure.io/fedora-infrastructure/new_issue>
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelineshttps://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issuehttps://pagure.io/fedora-infrastructure/new_issue
Please consider the environment before printing this e-mail
Cleveland Clinic is a nonprofit, multispecialty academic medical center that's recognized in the U.S. and throughout the world for its expertise and care. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you.
On Thu Jun12'25 03:06:32PM, Community Support for Fedora Users wrote:
From: "Weiner, Michael via users" users@lists.fedoraproject.org Date: Thu, 12 Jun 2025 15:06:32 +0000 To: Community support for Fedora users users@lists.fedoraproject.org Cc: Ranjan Maitra mlmaitra@gmx.com, "Weiner, Michael" weinerm@ccf.org Reply-To: Community support for Fedora users users@lists.fedoraproject.org Subject: Re: [EXT] Re: error in creating Fedora 42 remix using livecd-creator
One quick question, where in cmsh is the node specs set (like the amount of memory)?
Sorry, I do notknow the answer to your question. I only tried the following options, and for me they worked.
sudo livemedia-creator --ks=file.ks --no-virt --resultdir isos --project project name --make-iso --volid volume id --iso-only --iso-name name.iso --releasever 42
I had not been able to get this working earlier, but I found the following helpful:
https://fedoraproject.org/wiki/Livemedia-creator-_How_to_create_and_use_a_Li...)
HTH, Ranjan
From: Ranjan Maitra via users users@lists.fedoraproject.org Sent: Thursday, June 12, 2025 10:34:31 AM To: Community support for Fedora users users@lists.fedoraproject.org Cc: Ranjan Maitra mlmaitra@gmx.com Subject: [EXT] Re: error in creating Fedora 42 remix using livecd-creator
PROCEED WITH CAUTION: Slow down and pay close attention to emails sent from outside the organization. If you receive an unsolicited email from an unknown sender or are suspicious of the tone, style, vocabulary or urgency of the email message, never click links or open attachments within it. When in doubt, you should either delete the email, verify its authenticity by contacting the sender using an alternative method not listed in the email, or submit it via the BlueFish button in Outlook for investigation. If you don't have the BlueFish button or are using a mobile device, forward the email as an attachment to phishtanktriage@ccf.org
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 users@lists.fedoraproject.org Date: Wed, 11 Jun 2025 11:17:16 -0500 To: Community Support for Fedora Users users@lists.fedoraproject.org Cc: Ranjan Maitra mlmaitra@gmx.com Reply-To: Community support for Fedora users users@lists.fedoraproject.org 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://git@pagure.io/fedora-kickstarts.git<ssh://git@pagure.io/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 -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/<https://docs.fedoraproject.org/en-US/project/code-of-conduct> List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines<https://fedoraproject.org/wiki/Mailing_list_guidelines> List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org<https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org> Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue<https://pagure.io/fedora-infrastructure/new_issue>-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelineshttps://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.orghttps://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issuehttps://pagure.io/fedora-infrastructure/new_issue
Please consider the environment before printing this e-mail
Cleveland Clinic is a nonprofit, multispecialty academic medical center that's recognized in the U.S. and throughout the world for its expertise and care. Visit us online at http://www.clevelandclinic.org for a complete listing of our services, staff and locations. Confidentiality Note: This message is intended for use only by the individual or entity to which it is addressed and may contain information that is privileged, confidential, and exempt from disclosure under applicable law. If the reader of this message is not the intended recipient or the employee or agent responsible for delivering the message to the intended recipient, you are hereby notified that any dissemination, distribution or copying of this communication is strictly prohibited. If you have received this communication in error, please contact the sender immediately and destroy the material in its entirety, whether electronic or hard copy. Thank you.
-- _______________________________________________ users mailing list -- users@lists.fedoraproject.org To unsubscribe send an email to users-leave@lists.fedoraproject.org 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/users@lists.fedoraproject.org Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue