FS#67557 - [conky] lua update breaks conky with old config

Attached to Project: Arch Linux
Opened by sczi (sczi) - Tuesday, 11 August 2020, 18:01 GMT
Last edited by Levente Polyak (anthraxx) - Sunday, 28 March 2021, 01:13 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Levente Polyak (anthraxx)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

conky updated their config format, and uses a lua script to convert from the old config, the lua script uses loadstring which was deprecated, so after the recent update I got the error:
conky: [string "..."]:159: attempt to call a nil value (global 'loadstring')


when trying to start conky.

I edited /usr/share/doc/conky-1.11.5_pre/convert.lua and changed loadstring to load, and could then convert my conky config to the new format and it worked fine.
This task depends upon

Closed by  Levente Polyak (anthraxx)
Sunday, 28 March 2021, 01:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  1.12.1-1
Comment by Louis Opter (lopter) - Thursday, 13 August 2020, 02:28 GMT
I ran into the same problem today and was able to convert my config using the script and modification you mentioned. Thank you.

Loading...