[INFO] ArcoLinux Tweak Tool - invalid literal for int()

Post Reply
User avatar
fennec
Ensign
Posts: 189
Joined: Wed Dec 28, 2022 9:54 pm
Location: UK
Contact:

If you see this message show up in the console, when launching att.

Code: Select all

invalid literal for int() with base 10: '"20"\n'
It means the tool is trying to convert the following str "20" into a int.

File: /etc/default/grub

Code: Select all

GRUB_TIMEOUT="20"
This is the line of code which tries to change the type: https://github.com/arcolinux/archlinux- ... ol.py#L799

Remove the "" around 20 or whatever you have the timeout set to above so it reads

Code: Select all

GRUB_TIMEOUT=20
Then run

Code: Select all

grub-mkconfig -o /boot/grub/grub.cfg
If you run att again, the message is gone.

It turns out if you use a tool like grub-customizer to modify GRUB then it automatically adds the "" marks around the GRUB_TIMEOUT value.
Post Reply

Return to “Tips and Tricks”