Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash on interaction with in-bar flameshot mini-icon #6

Open
nullptr-deref opened this issue Feb 2, 2023 · 8 comments
Open

Crash on interaction with in-bar flameshot mini-icon #6

nullptr-deref opened this issue Feb 2, 2023 · 8 comments

Comments

@nullptr-deref
Copy link

When I try to use flameshot (screenshot utility), here goes some strange behavior.
Flameshot launches as usual, but when it finishes it's job, my status bar goes blank with the error:

image

Logs are empty as well.

When I relaunch i3, it starts working again.

@burik666
Copy link
Owner

burik666 commented Feb 2, 2023

After a restart, the log file will be cleared.

This can be avoided by using >> instead of >.

status_command exec ~/go/bin/yagostatus --config ~/.config/i3/yagostatus.yml 2>> /tmp/yagostatus.log

could you show the yagostatus config?

@nullptr-deref
Copy link
Author

Of course, here you go.

Log says the following:

2023/02/02 23:56:55 yagostatus.go:311: [yagostatus.yml#1] ERROR Widget done: read |0: file already closed

My config as simple as that:

widgets:
  - widget: wrapper
    command: /usr/bin/i3status -c ~/.config/i3status/config

  - widget: exec
    command: echo -e "$(xkblayout-state print %s)"
    output_format: text
    interval: 2

  - widget: clock
    format: Jan _2 Mon 15:04:05 # https://golang.org/pkg/time/#Time.Format
    templates: >
        [{
            "color": "#ffffff",
            "separator": true,
            "separator_block_width": 21
        }]

@nullptr-deref
Copy link
Author

P.S. Speaking of configs, I also have some issues with conky integration, despite the fact that I straightly follow your tutorial. I cannot determine clearly where the issue comes from - from conky or from the yagostatus itself. I wonder if we could discuss it somehow.

@burik666
Copy link
Owner

burik666 commented Feb 2, 2023

2023/02/02 23:56:55 yagostatus.go:311: [yagostatus.yml#1] ERROR Widget done: read |0: file already closed
This is a exit error message. (fixed in dev version)

I can't reproduce the error with flameshot.

@nullptr-deref
Copy link
Author

Probably I could gather some debug information about this error, if it'd be helpful.

@nullptr-deref
Copy link
Author

Moreover, when I lock my laptop (with, for example, dm-tool lock), it also quits unexpectedly.

@burik666
Copy link
Owner

burik666 commented Feb 3, 2023

try dev version.

@nullptr-deref
Copy link
Author

Same issues with dev.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants