You are not logged in.

#1 2020-08-21 18:40:43

retrodot
Member
Registered: 2020-08-21
Posts: 7

[SOLVED] conky and conky-manager giving Syntax error output

EDIT: issue fixed, here is the solution:

seth wrote:

The autoconvert seems (perhaps "accidentally") broken, use https://github.com/brndnmtthws/conky/ra … onvert.lua to convert the file to the new syntax.

installed both conky and conky-manager and both give me output:

conky: Syntax error (/home/retro/.conky/Conky MIUI/miui:2: unexpected symbol near '#') while reading config file.
conky: Assuming it's in old syntax and attempting conversion.
conky: [string "..."]:159: attempt to call a nil value (global 'loadstring')

any suggestions on how to fix this?

btw im new to the forums/bbs

Last edited by retrodot (2020-08-21 19:39:27)

Offline

#2 2020-08-21 19:03:09

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: [SOLVED] conky and conky-manager giving Syntax error output

The autoconvert seems (perhaps "accidentally") broken, use https://github.com/brndnmtthws/conky/ra … onvert.lua to convert the file to the new syntax.

Offline

#3 2020-08-21 19:24:36

d_fajardo
Member
Registered: 2017-07-28
Posts: 1,571

Re: [SOLVED] conky and conky-manager giving Syntax error output

@retrodot It might be a good idea to post your config file so we can have a look in case the autoconvert still flags errors.

Offline

#4 2020-08-21 19:26:03

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: [SOLVED] conky and conky-manager giving Syntax error output

Offline

#5 2020-08-21 19:26:18

retrodot
Member
Registered: 2020-08-21
Posts: 7

Re: [SOLVED] conky and conky-manager giving Syntax error output

seth wrote:

The autoconvert seems (perhaps "accidentally") broken, use https://github.com/brndnmtthws/conky/ra … onvert.lua to convert the file to the new syntax.

getting this output from the lua:

convert.lua: line 3: local: can only be used in a function
convert.lua: line 4: Usage:: command not found
convert.lua: line 6: Tries: command not found
convert.lua: line 8: Keep: command not found
convert.lua: line 9: with: command not found
convert.lua: line 10: should: command not found
convert.lua: line 12: Although: command not found
convert.lua: line 26: unexpected EOF while looking for matching `"'
convert.lua: line 161: syntax error: unexpected end of file.

am i missing some programs?

Offline

#6 2020-08-21 19:28:53

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: [SOLVED] conky and conky-manager giving Syntax error output

What file do you try that on?

Offline

#7 2020-08-21 19:30:18

retrodot
Member
Registered: 2020-08-21
Posts: 7

Re: [SOLVED] conky and conky-manager giving Syntax error output

i used sh instead of chmoding the script and then ./convert.lua. Oops!

EDIT: it works btw

Last edited by retrodot (2020-08-21 19:30:57)

Offline

#8 2020-08-21 19:31:15

2ManyDogs
Forum Fellow
Registered: 2012-01-15
Posts: 4,645

Re: [SOLVED] conky and conky-manager giving Syntax error output

Moving to Newbie Corner.

Offline

#9 2020-08-21 19:32:15

seth
Member
Registered: 2012-09-03
Posts: 51,739

Re: [SOLVED] conky and conky-manager giving Syntax error output

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

Offline

#10 2020-08-21 19:39:46

retrodot
Member
Registered: 2020-08-21
Posts: 7

Re: [SOLVED] conky and conky-manager giving Syntax error output

seth wrote:

Please always remember to mark resolved threads by editing your initial posts subject - so others will know that there's no task left, but maybe a solution to find.
Thanks.

did that rn

Offline

#11 2021-09-07 21:09:00

kalsan
Member
Registered: 2011-10-10
Posts: 119

Re: [SOLVED] conky and conky-manager giving Syntax error output

Offline

Board footer

Powered by FluxBB