pixi icon indicating copy to clipboard operation
pixi copied to clipboard

Run failure

Open RedNekoderr opened this issue 10 months ago • 4 comments

Actions:

git clone [email protected]:foxnne/pixi.git zig build run Got:

thread 6651 panic: error: FileNotFound
/home/kira/.cache/zig/p/1220843439075c711575d222c20577106449a5ede322a4a51361f1ac7d359fa3145a/src/module.zig:670:90: 0x1195091 in run__anon_14202 (pixi)
                        .error_union => @call(.auto, f, args) catch |err| std.debug.panic("error: {s}", .{@errorName(err)}),
                                                                                         ^
/home/kira/.cache/zig/p/1220843439075c711575d222c20577106449a5ede322a4a51361f1ac7d359fa3145a/src/module.zig:629:40: 0x118e66a in run__anon_10525 (pixi)
                            callMod.run(callFn);
                                       ^
/home/kira/Documents/Zig/pixi/src/pixi.zig:96:20: 0x118d790 in main (pixi)
    application.run(.main);
                   ^
/home/kira/.zm/versions/0.14.0-dev.2577+271452d22/lib/std/start.zig:656:37: 0x118ea6e in main (pixi)
            const result = root.main() catch |err| {
                                    ^
???:?:?: 0x7f828a437d6d in ??? (libc.so.6)
Unwind information for `libc.so.6:0x7f828a437d6d` was not available, trace may be incomplete

run
└─ run pixi failure
error: the following command terminated unexpectedly:
/home/kira/Documents/Zig/pixi/zig-out/bin/pixi 
Build Summary: 12/14 steps succeeded; 1 failed
run transitive failure
└─ run pixi failure
error: the following build command failed with exit code 1:
/home/kira/Documents/Zig/pixi/.zig-cache/o/2e70d54931b2c25635ead7fcd281a19d/build /home/kira/.zm/versions/0.14.0-dev.2577+271452d22/zig /home/kira/.zm/versions/0.14.0-dev.2577+271452d22/lib /home/kira/Documents/Zig/pixi /home/kira/Documents/Zig/pixi/.zig-cache /home/kira/.cache/zig --seed 0x11b27585 -Zd61c957d3bbf413a run

Then

zig build run -Duse_sysgpu=true Got:

error: invalid option: -Duse_sysgpu
error:   access the help menu with 'zig build -h'
error: the following build command failed with exit code 1:
/home/kira/Documents/Zig/pixi/.zig-cache/o/2e70d54931b2c25635ead7fcd281a19d/build /home/kira/.zm/versions/0.14.0-dev.2577+271452d22/zig /home/kira/.zm/versions/0.14.0-dev.2577+271452d22/lib /home/kira/Documents/Zig/pixi /home/kira/Documents/Zig/pixi/.zig-cache /home/kira/.cache/zig --seed 0x3023b21 -Za6969481c492cb13 run -Duse_sysgpu=true

System info: Arch Linux w/ kernel 6.13.0-1-amd-drm-fixes-g7f2b5237e313 CPU: amd r7 8845hs GPU: amd radeon 780m

RedNekoderr avatar Jan 31 '25 23:01 RedNekoderr

Thank you for the issue, and apologies for the breakage, I've been making some big changes and currently I've been focusing on macOS, I do have a Linux machine now though and hopefully can test more thoroughly there soon.

foxnne avatar Feb 01 '25 14:02 foxnne

Okay, I think I understand whats going on, the project doesnt ship with settings.json or recents.json, these are created when the program first runs. But I had reworked the loading and I think it was failing to find those files and crashing. Please try the latest commit?

zig build run

foxnne avatar Feb 01 '25 14:02 foxnne

I will keep this open until I can confirm Linux is running as expected now, hopefully within the next week.

foxnne avatar Feb 07 '25 13:02 foxnne

I've confirmed at least that pixi builds and runs on PopOS. There are issues with resizing and other window related things.

foxnne avatar Feb 12 '25 21:02 foxnne

This is now exclusive to the mach branch of the editor, main has been rewritten.

foxnne avatar Sep 13 '25 20:09 foxnne