broot icon indicating copy to clipboard operation
broot copied to clipboard

Broot still running in background (looking for reproduction)

Open Erimus-Koo opened this issue 2 years ago • 11 comments

image

Sometimes broot still runs in the background and burns my computer.

Maybe because I ran broot start at $HOME path, and there were too many files need to be scanned, and Ctrl+Q hadn't broken all tasks?

Erimus-Koo avatar Jun 19 '23 10:06 Erimus-Koo

Can you find out a reproduction sequence then execute it with debug log enabled then post the log ?

Canop avatar Jun 19 '23 10:06 Canop

Can you find out a reproduction sequence then execute it with debug log enabled then post the log ?

I can have a try.

And I've opened the log and there is broot.log in every folder where I started broot, can I set a specific folder or file for the log file?

Erimus-Koo avatar Jun 19 '23 18:06 Erimus-Koo

And I've opened the log and there is broot.log in every folder where I started broot, can I set a specific folder or file for the log file?

Right now you can't set the log location but you're not supposed to log every time, only when reproducing a problem for analysis. Even me, I don't often enable this log. If your shell allows it, you can run BROOT_LOG=debug br on the precise time you want the log to be enabled.

Canop avatar Jun 19 '23 18:06 Canop

I've tried, but I can't reproduce it every time. I'll keep watching for a few days.

Erimus-Koo avatar Jun 20 '23 03:06 Erimus-Koo

image

It's a bit difficult to reproduce.

And a folder has been removed after Stage. I'm not sure if I staged too many files curse some problem, or selected that folder mistakenly.

Still not log file, sigh. I don't want the broot.log to appear in my folders randomly.

Erimus-Koo avatar Jul 02 '23 17:07 Erimus-Koo

Dit it happen again ?

Canop avatar Sep 23 '23 09:09 Canop

Yeah, several times, but not so often, and the reason is also not clear.

Erimus-Koo avatar Sep 23 '23 11:09 Erimus-Koo

You don't have to close the issue just because it's hard to reproduce. I'd rather have it stay open. Even if you don't manage to reproduce, others may have the problem too and may find the issue.

Canop avatar Sep 23 '23 12:09 Canop

Fine, I'll update if there's something new.

Erimus-Koo avatar Sep 23 '23 12:09 Erimus-Koo

Maybe rename to "Broot still running in background" to get more attention?

BlueskyFR avatar Oct 02 '23 09:10 BlueskyFR

Right. Done.

Canop avatar Oct 02 '23 10:10 Canop