-
-
Notifications
You must be signed in to change notification settings - Fork 14.7k
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
Tracking issue for wrapQtAppsHook #65399
Comments
@ttuegel: Can you please clarify this. In the manual you linked to the example expression starts with
and the text says
This confuse me, since in this comment you seem to say the correct fix is to use
This also confuse me:
|
I'm sorry for being unclear. What I mean is, you should write
and call the package with
The prior version of the manual is still on the NixOS website. The recommended way to write expressions for Qt applications has not changed. I updated the manual to include information about |
I think the lxqt desktop may have been broken. lxqt-session complains that it can't find the "xcb" plugin in "", which probably means its platform plugin path is wrong or not set. My NixOS xserver config in case it's relevant:
|
@Thra11 It appears that all of the expressions for lxqt use Edit: PR incoming to fix this. |
Hmmm, I'm hitting some weirdness on master right now, from a nixos-19.03 system. Tell me if it's not related.
The fact that it works with What's peculiar is that from not too far back, it worked, so I'm bisecting.
The bad commit being the merge of the good to master. (Though I cannot test using cool-retro-term for bisecting.) EDIT: it started after #64598. (The first commit itself won't build, but the second commit will. The parent commit is fine.) This regression seems to coincide with, if not come from, the upgrade to 5.12.3. |
It seems like there is some part of Qt 5.12.0 (0x50c00) is sticking around after the upgrade to Qt 5.12.3 (0x50c03), but I'm at a complete loss as to what. I do not think this is related to |
The reason I think it may be related, is that when clearing the environment with Digging more, now that I have slept, I think I traced the issue.
(Following up in another comment for the other impurity.) |
(Ensure you're not on a fresh Without the input method impurity, I have multimc, and cool-retro-term somehow loading from the system path.
I have unset Though, unsetting Quoting myself from #44047
The current wrapper does not handle adding components to PATH so they will be searched. |
This is intentional: we don't want for users to rebuild the world to change input methods. 🙁
Searching |
I figured, sorry if it seemed to imply otherwise, I was just stating the fact. Though I think the impurity is not "the input method is giving a full path to use as a library", but instead that it has to be resolved with the libraries path the software is given to work with. Sorry if that sentence is hard to parse, I'm still testing one final thing related to this.
Yeah, I understand, but in real world use, it is part of the main issue, having mismatched Qt versions in the (overall) environment will break Qt apps. After my test is done building, I'll share a, hopefully, good fix for the problem. |
#65526 is likely to solve the mismatched minor versions for good. |
Fixes NixOS#65514, related to NixOS#65399.
Fixes NixOS#65514, related to NixOS#65399.
Regression introduced in NixOS#54525, tracked in NixOS#65399.
#65543 fix qt5ct |
I've tried 2 things to make the problem disappear with wireshark but I still have the issue I have 2 other questions:
I believe fcitx might be the culprit; strace log https://transfer.sh/EsQHH/log , rebuilding... |
seems like it got fixed with my changes and that PR #65526 |
Version bump, also fixes the common qt xcb plugin error (cherry picked from commit 83616f1) This contains a fix for issue NixOS#65399.
Hello, I'm a bot and I thank you in the name of the community for opening this issue. To help our human contributors focus on the most-relevant reports, I check up on old issues to see if they're still relevant. This issue has had no activity for 180 days, and so I marked it as stale, but you can rest assured it will never be closed by a non-human. The community would appreciate your effort in checking if the issue is still valid. If it isn't, please close it. If the issue persists, and you'd like to remove the stale label, you simply need to leave a comment. Your comment can be as simple as "still important to me". If you'd like it to get more attention, you can ask for help by searching for maintainers and people that previously touched related code and @ mention them in a comment. You can use Git blame or GitHub's web interface on the relevant files to find them. Lastly, you can always ask for help at our Discourse Forum or at #nixos' IRC channel. |
I believe this is like 99% no longer an issue. |
I'm encountering this with plover on NixOS 20.09: $ nix-env -iA nixos.plover.dev
installing 'python3.6-plover-4.0.0.dev8'
these paths will be fetched (26.60 MiB download, 149.08 MiB unpacked):
/nix/store/1c86mzzxdn1gh3zsr8m48pf31vqwk92p-python3.6-PyQt5.sip-4.19.24
/nix/store/1yzd3q817p1kznaxh5nqwgbqqk24pdhc-python3.6-dbus-python-1.2.16
/nix/store/50bbqdln7l97b36awlw019r25bl3f8xw-python3.6-appdirs-1.4.4
/nix/store/6j31qc3nv1znmp98bvbcrydy5bikrpwc-python3.6-pytz-2020.1
/nix/store/9hw5qi4q2gsw7gjyb1z9mz0qa4szf20f-python3.6-six-1.15.0
/nix/store/bb47dgrdx1qgyw5zjvlmy503g2yj6b0b-python3.6-pyserial-3.4
/nix/store/bjncdzcpgvv52sbq0qr8c6aa3lk1basa-python3.6-xlib-0.25
/nix/store/bl7cj3fxgr43qwy48w96xrbxrqgi89a3-python3.6-dbus-python-1.2.16-dev
/nix/store/d3lxh9n89rsf28v5zyn8pbghbc0cwqmg-python3.6-PyQt5-5.15.1
/nix/store/hss1wvb697a1wwnakbxsqm6q14wd2pb5-python3.6-plover-4.0.0.dev8
/nix/store/im3nhrxmbmdszffm56p64d938hvhl7im-python3.6-wcwidth-0.2.5
/nix/store/iswawhahkrdvwcwkr9qkkf36v7rxgfm4-python3.6-PyQt5-5.15.1-dev
/nix/store/l0pzd5jxgg6hj23si7kf3cp9cpkj3r96-python3-3.6.12
/nix/store/whxcnpcdi8rvwgx1cg794ximylvf38rr-python3.6-setuptools-47.3.1
/nix/store/x6fxich0cyszdiq34zh7jwl2470xk57k-python3.6-Babel-2.7.0
copying path '/nix/store/l0pzd5jxgg6hj23si7kf3cp9cpkj3r96-python3-3.6.12' from 'https://cache.nixos.org'...
copying path '/nix/store/1yzd3q817p1kznaxh5nqwgbqqk24pdhc-python3.6-dbus-python-1.2.16' from 'https://cache.nixos.org'...
copying path '/nix/store/50bbqdln7l97b36awlw019r25bl3f8xw-python3.6-appdirs-1.4.4' from 'https://cache.nixos.org'...
copying path '/nix/store/bb47dgrdx1qgyw5zjvlmy503g2yj6b0b-python3.6-pyserial-3.4' from 'https://cache.nixos.org'...
copying path '/nix/store/whxcnpcdi8rvwgx1cg794ximylvf38rr-python3.6-setuptools-47.3.1' from 'https://cache.nixos.org'...
copying path '/nix/store/6j31qc3nv1znmp98bvbcrydy5bikrpwc-python3.6-pytz-2020.1' from 'https://cache.nixos.org'...
copying path '/nix/store/9hw5qi4q2gsw7gjyb1z9mz0qa4szf20f-python3.6-six-1.15.0' from 'https://cache.nixos.org'...
copying path '/nix/store/bl7cj3fxgr43qwy48w96xrbxrqgi89a3-python3.6-dbus-python-1.2.16-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/1c86mzzxdn1gh3zsr8m48pf31vqwk92p-python3.6-PyQt5.sip-4.19.24' from 'https://cache.nixos.org'...
copying path '/nix/store/bjncdzcpgvv52sbq0qr8c6aa3lk1basa-python3.6-xlib-0.25' from 'https://cache.nixos.org'...
copying path '/nix/store/x6fxich0cyszdiq34zh7jwl2470xk57k-python3.6-Babel-2.7.0' from 'https://cache.nixos.org'...
copying path '/nix/store/d3lxh9n89rsf28v5zyn8pbghbc0cwqmg-python3.6-PyQt5-5.15.1' from 'https://cache.nixos.org'...
copying path '/nix/store/im3nhrxmbmdszffm56p64d938hvhl7im-python3.6-wcwidth-0.2.5' from 'https://cache.nixos.org'...
copying path '/nix/store/iswawhahkrdvwcwkr9qkkf36v7rxgfm4-python3.6-PyQt5-5.15.1-dev' from 'https://cache.nixos.org'...
copying path '/nix/store/hss1wvb697a1wwnakbxsqm6q14wd2pb5-python3.6-plover-4.0.0.dev8' from 'https://cache.nixos.org'...
building '/nix/store/lyy5m5m81iygkxcmh9vgb74sk8ai2jkf-user-environment.drv'...
created 2252 symlinks in user environment
$ plover
qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though it was found.
This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.
Available platform plugins are: wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, xcb.
fish: “plover” terminated by signal SIGABRT (Abort) |
Issue report: NixOS#65399 (comment) Similar issues in NixOS#98067. Plover seems to work fine with Qt > 5.14 so this is an easy way to fix the problem (as opposed to keeping the pinning and making it work with PyQt).
Issue report: #65399 (comment) Similar issues in #98067. Plover seems to work fine with Qt > 5.14 so this is an easy way to fix the problem (as opposed to keeping the pinning and making it work with PyQt).
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/streamdeck-ui-on-unstable-getting-qt-error/27996/1 |
|
This issue is to track the open pull requests for Qt applications broken by the addition of
wrapQtAppsHook
.Maintainers, please refer to the manual for instructions to update your packages. Packages that conformed to the prior version of the manual should not need to be updated.
Pull requests
The text was updated successfully, but these errors were encountered: