!XQQVyIbcAcHFvzmcTl:nixos.org

NixOS GNOME

410 Members
A room for maintainers of GNOME & GNOME-Related desktop environments (xfce, cinnamon, pantheon...)90 Servers

You have reached the beginning of time (for this room).


SenderMessageTime
1 Feb 2024
@jtojnar:matrix.orgJan TojnarThat looks fine. Maybe the environment contamination comes from ambient environment then. 13:25:45
@jtojnar:matrix.orgJan TojnarOr it is some other issue. 13:26:01
@ashvith:matrix.org@ashvith:matrix.org * Here's how it used to work: I would run nix develop, and then access the setzer app from the CLI. 13:26:33
@ashvith:matrix.org@ashvith:matrix.org
In reply to @jtojnar:matrix.org
That looks fine. Maybe the environment contamination comes from ambient environment then.
Interestingly, gnome-latex seems to work fine. When I try adding python310Packages.pygobject3 to build input, the problem shifts to cairo having issues.
13:29:03
@ashvith:matrix.org@ashvith:matrix.org

Here's the log:

$ setzer 

(process:29915): Gtk-WARNING **: 19:00:13.081: Locale not supported by C library.
	Using the fallback 'C' locale.
Fontconfig error: Cannot load default config file: No such file: (null)
Traceback (most recent call last):
  File "/nix/store/g6l9y20628gridb0g2kypvn2n4m5rdfd-setzer-62/bin/..setzer-wrapped-wrapped", line 28, in <module>
    from setzer.workspace.workspace import Workspace
  File "/nix/store/g6l9y20628gridb0g2kypvn2n4m5rdfd-setzer-62/lib/python3.11/site-packages/setzer/workspace/workspace.py", line 26, in <module>
    import setzer.document.preview.preview as preview
  File "/nix/store/g6l9y20628gridb0g2kypvn2n4m5rdfd-setzer-62/lib/python3.11/site-packages/setzer/document/preview/preview.py", line 31, in <module>
    import setzer.document.preview.preview_presenter as preview_presenter
  File "/nix/store/g6l9y20628gridb0g2kypvn2n4m5rdfd-setzer-62/lib/python3.11/site-packages/setzer/document/preview/preview_presenter.py", line 21, in <module>
    import cairo
  File "/nix/store/m69f7w3q03ihr9a34ajbm872k2na5xr8-python3.10-pycairo-1.24.0/lib/python3.10/site-packages/cairo/__init__.py", line 1, in <module>
    from ._cairo import *  # noqa: F401,F403
    ^^^^^^^^^^^^^^^^^^^^^
ModuleNotFoundError: No module named 'cairo._cairo'
13:30:46
@ashvith:matrix.org@ashvith:matrix.org However, adding python310Packages.pycairo to build input did not fix this issue. 13:31:31
@ashvith:matrix.org@ashvith:matrix.org * However, adding python310Packages.pycairo to build input did not fix this issue. Setzer only works on root, but all the fonts are unavailable. 13:32:40
@jtojnar:matrix.orgJan TojnarLooking at the error some more, it indeed appears to be contamination. It tries to load libs from guix store13:32:47
@abmantis:abcosta.com@abmantis:abcosta.com left the room.23:35:35
2 Feb 2024
@shivayspec:matrix.orgSpecx joined the room.07:11:02

Show newer messages


Back to Room ListRoom Version: 6