conky icon indicating copy to clipboard operation
conky copied to clipboard

Error message doesn't say which script

Open Lowrida opened this issue 3 years ago • 5 comments

When there pops an error in xsession-errors it only says "conky: blabla warning error danger", but not which window/script is creating this error? I have about 45 conky scripts running and an aditional 40 bash scripts.. and it is a pain in the ass to find which script creates which error!

I tried own_window_class = with unique name own_window_type = with unique name own_window_name = with unique name

But none of them adds the name of the script to the error message. Is this actually possible? To add a windowname or scriptname or some kind of name in the message? If not, maybe an idea to use own_window_name for that?

OS: Mint 20.3 with kernel 5.14 Conky: 1.10.8

Lowrida avatar Jun 02 '22 11:06 Lowrida

Is this still alive?

Lowrida avatar Jun 04 '22 18:06 Lowrida

I guess this is a dead end...

Lowrida avatar Jul 01 '22 22:07 Lowrida

You can use "echo" to number each script to find out which script is failing

su8 avatar Jul 02 '22 15:07 su8

I don't get it. In which way do i use echo?

Lowrida avatar Jul 12 '22 06:07 Lowrida

I don't have an immediate solution but an indirect solution may be to add timestamped logs to each script and then check which ones create log messages; store the name of the file path too. And then deselect perhaps a batch of 5 and try anew.

Not the best solution but could help you find out which script is the faulty one.

A more direct solution may be to add this information to conky itself and recompile it.

I grepped for the error message you showed but could not find which file caused this. Was this the real error message?

rubyFeedback avatar Aug 02 '22 00:08 rubyFeedback

This issue is stale because it has been open 365 days with no activity. Remove stale label or comment, or this issue will be closed in 30 days.

github-actions[bot] avatar Aug 02 '23 01:08 github-actions[bot]

This issue was closed because it has been stalled for 30 days with no activity.

github-actions[bot] avatar Sep 02 '23 01:09 github-actions[bot]