-
-
Notifications
You must be signed in to change notification settings - Fork 14.3k
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
matplotlib is missing GSettings #25351
Comments
Reading #24880 I tried adding to the buildInputs |
Any news on this issue? |
Nothing new: It's still happening. Also the package probably has to be wrapped for #65399 . |
I've just solved this error in an end user application - #84449 The solution is to use
To solve this issue in the context of using matplotlib is somewhat challenging because matplotlib is a library - what exactly would we wrap? #83321 is exactly what we need. |
@doronbehar Sadly there is no way, yet. The situation will hopefully change once structured attributes are enabled in nixpkgs and declarative wrappers are implemented. See this issue #72074.
Yes, I tried implementing a temporary solution with #83321 because this will take a while before it's usable. It needs some feedback and a lot of testing but it should be working. |
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. |
Still an issue.
…On Oct 4 2020, at 7:25 pm, stale[bot] ***@***.***> wrote:
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 (https://git-scm.com/docs/git-blame) or GitHub's web interface (https://docs.github.com/en/github/managing-files-in-a-repository/tracking-changes-in-a-file) on the relevant files to find them.
Lastly, you can always ask for help at our Discourse Forum (https://discourse.nixos.org/) or at #nixos' IRC channel (https://webchat.freenode.net/#nixos).
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub (#25351 (comment)), or unsubscribe (https://github.com/notifications/unsubscribe-auth/ACT5IM2JBIHEXHRFMHH5ZILSJCOWRANCNFSM4DJSM7HA).
|
I marked this as stale due to inactivity. → More info |
Still an issue. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/jupyter-breaks-matplotlib/15468/2 |
I marked this as stale due to inactivity. → More info |
Still an issue, sadly. |
Is this blocked by RFC 0075? |
Not really, it's possible to fix these issues without a unified wrapping mechanism. See #102949 (comment) |
some patching to make XDG_DATA_DIRS contain schemas before https://github.com/matplotlib/matplotlib/blob/a861b8af82cc4618e0a631e5eac5b4030b3f04a1/lib/matplotlib/backends/backend_gtk3.py#L340 could help |
I think the simplest solution would be hardcoding the schema path in GTK itself. We now have semi-automated patch generating tooling (see evolution-data-server package for an example), I just have not gotten around to applying it to GTK yet. |
This issue has been mentioned on NixOS Discourse. There might be relevant details there: https://discourse.nixos.org/t/error-when-trying-to-use-pyqt5-backend-of-matplotlib/46065/4 |
Issue description
When opening the file picker of a matplotlib (gtk3 backend) window the process crashes with this error:
GLib-GIO-ERROR **: No GSettings schemas are installed on the system
I think it needs wrapGAppsHook but I'm not really sure how that works.
Steps to reproduce
Technical details
NixOS version: 17.09pre106117.c90998d5cf
The text was updated successfully, but these errors were encountered: