preflight: init at 1.1.0#522441
Conversation
23720eb to
2d0530f
Compare
|
|
I just tried using preflight locally on my own machine. It starts up fine, but as soon as I attempt to open a file chooser, it crashes with the error |
|
I get a similar issue too Possibly related:
Regardless, looks like a new version got released yesterday so I will be rebuilding later today to see if anything has changed. Edit: looks like the new release breaks some patches, will have to come back to this later |
|
|
Yeah I was able to reproduce the |
|
Build is working now again on 1.1.0, still the same issue with the file picker, going to build on top of #507455 and see if that fixes it |
|
I am pretty sure the issue has something to do with wrapGappsHook3 not applying to the For example when inspecting the sfwbar binary I get And indeed if you just inspect the But this note is not present in the Edit: In the build logs for sfwbar, there is a line specifically calling out the binary being wrapped as part of fixupPhase: This is missing from the preflight logs It seems to work fine on prusa-slicer for some reason, which this derivation is based on |
|
I'm not quite why the PR requested a review from me. |
Apologies for the ping, moving it back to draft for now while I figure this out. Is there something in the docs you're specifically referring to? Everything I've found including just reading |
|
So after putting some log statements into
Trying to build again with |
Review dismissed automatically
|
So I can confirm that with As for why this doesn't cause an issue for other prusa-slicer derivatives, it seems like the hook just happens to run on the non-debug outputs first? Not clear how this ordering happens. |
|
Looks like the CI failure is just GitHub being flaky rather than an actual issue, I don't seem to have permissions to restart it without pushing a new commit though |
|
|
Just tried it again with the latest changes and can confirm that opening files now works as expected. Thanks for taking the time to get this right :D |
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.