joshprk / komotray

Simple and lightweight tray icon that shows the current workspace for the Komorebi window manager.
MIT License
12 stars 0 forks source link

Exits with 101 #1

Open 0xjairo opened 1 month ago

0xjairo commented 1 month ago

First of all, thanks for making this!

I tried to build and run it on my machine and I'm having issues.

Output:

$ cargo run
# ...
     Running `target\x86_64-pc-windows-gnu\debug\komotray.exe`
error: process didn't exit successfully: `target\x86_64-pc-windows-gnu\debug\komotray.exe` (exit code: 101)

I tried modifying src/main.rs to print out text with dbg!() and println!() and I'm not able to see any output either. I'm wondering if there is something in my setup? Perhaps I just don't know how tokio works, or how to see output when running an async main with flavor = "current_thread".

Any ideas what may be happening?

joshprk commented 1 month ago

Not sure, is it possible if you could run it with RUST_BACKTRACE=1 and send the output? Thanks for reporting the issue by the way.

0xjairo commented 1 month ago

There's no output, unfortunately. I get the same output/behavior on PowerShell and CMD. Might be worth noting that I"m on Windows 11.

> cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 8.67s
     Running `target\x86_64-pc-windows-gnu\debug\komotray.exe`
error: process didn't exit successfully: `target\x86_64-pc-windows-gnu\debug\komotray.exe` (exit code: 101)

Setting the env variable

> $env:RUST_BACKTRACE=1
> cargo run
    Finished `dev` profile [unoptimized + debuginfo] target(s) in 0.42s
     Running `target\x86_64-pc-windows-gnu\debug\komotray.exe`
error: process didn't exit successfully: `target\x86_64-pc-windows-gnu\debug\komotray.exe` (exit code: 101)