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

Attempting to run script leads to thread panic. #3

Closed
mauricioquintela opened this issue Feb 20, 2023 · 7 comments
Closed

Attempting to run script leads to thread panic. #3

mauricioquintela opened this issue Feb 20, 2023 · 7 comments

Comments

@mauricioquintela
Copy link

Just discovered this script, currently trying to test it out on Arch. After carefully following the README, running the main process of ixwindow (wether through polybar or not) results in the main thread panicking and the script crashing. In attachment I included the full rust backtrace of the panic.
backtrace.txt

@andreykaere
Copy link
Owner

Hi! Thank you for bringing it up! It seems, something is wrong with detection generate-icon file. Can you, please, provide your installation profile for i3?

@mauricioquintela
Copy link
Author

Hey, no worries. i3 version returns i3 version 4.22 (2023-01-02). I'm not sure what the "installation profile" for i3 is? Is it the config file?

@andreykaere
Copy link
Owner

When you install, you have profiles folder, where you can modify files bspwm.toml and i3.toml. Did you modify the latter? If so, kindly send it, so that I can reproduce the issue.

If you didn't modify, then check if there is file generate-icon in ~/.config/polybar/scripts/ixwindow folder. If it's not there, and you didn't change installation profile (i3.toml), than it's weird. It would be helpful if you could find it (you can do it for example with find . -name "generate-icon"). If it will find it, please, tell me the location. If not, let me know that it's just not on your system.

@mauricioquintela
Copy link
Author

Oh, those profile files. I did not touch them when installing.

There is indeed a generate-icon file in ~/.config/polybar/scripts/ixwindow, as expected.

@andreykaere
Copy link
Owner

andreykaere commented Feb 20, 2023

Okay, I found what's causing the problem. Will deliver a patch for it with next commit! Thank you again for drawing my attention to it!

@mauricioquintela
Copy link
Author

Thank you for your help as well. Looking forward to testing the script myself :)

@andreykaere
Copy link
Owner

Let me know how it works out for you!:)

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