| 30 Jan 2024 |
Jan Tojnar | In reply to @giangnh:matrix.org I noticed that Google Chrome on NixOS with GNOME does not use GNOME keyring, does that means it uses some kind of built-in keyring on NixOS (if so, what is it?) or are my passwords stored in plaintext? Not sure about Chrome, would not be surprised if it just stored passwords in the cloud. But in Chromium, there should be autodetection – maybe something is broken in the package. | 08:02:51 |
| @adam:robins.wtf joined the room. | 15:45:45 |
| 31 Jan 2024 |
| diamond (it/its) changed their display name from diamondburned to Diamond (it/she). | 03:20:04 |
| @federicodschonborn:matrix.org changed their profile picture. | 03:36:48 |
| @federicodschonborn:matrix.org changed their profile picture. | 06:22:22 |
| @ashvith:matrix.org left the room. | 14:37:49 |
| @chocolatestrawberry:matrix.org changed their profile picture. | 19:02:49 |
| @chocolatestrawberry:matrix.org changed their profile picture. | 19:03:28 |
| 1 Feb 2024 |
| @ashvith:matrix.org joined the room. | 09:03:47 |
@ashvith:matrix.org | Would this be a right place to ask about GTK issues on foreign distro? I am not able to run Setzer on Guix System - here's the issue I've created on Github. | 09:05:04 |
@ashvith:matrix.org | Interestingly, this app works only when I run it as root, but then, I cannot access the fonts I want to use. | 09:05:55 |
@ashvith:matrix.org | I suspect that this could be either some issue related to PyGObject or WebKit. | 09:09:06 |
Jan Tojnar | In reply to @ashvith:matrix.org Would this be a right place to ask about GTK issues on foreign distro? I am not able to run Setzer on Guix System - here's the issue I've created on Github. Sounds like environment inconsistency. Please clarify where is setzer coming from and what the dev environment is. | 13:16:54 |
@ashvith:matrix.org | In reply to @jtojnar:matrix.org Sounds like environment inconsistency. Please clarify where is setzer coming from and what the dev environment is. I'm using Nix flakes to access the application. My configuration looks something like this:
{
inputs.nixpkgs.url = "github:NixOS/nixpkgs/nixos-23.11";
outputs = inputs@{ flake-parts, ... }:
flake-parts.lib.mkFlake { inherit inputs; } {
systems = [
"x86_64-linux" "x86_64-darwin"
"aarch64-linux" "aarch64-darwin"
];
perSystem = { config, self', inputs', pkgs, system, ... }: {
devShells.default = with pkgs; mkShell {
buildInputs = [
nodejs_20 setzer
nodePackages.pnpm
(pkgs.texlive.combine {
inherit (pkgs.texlive)
scheme-small enumitem nopageno
pbox tokcycle censor multirow
subfiles adjustbox ccicons
chronosys colophon titlesec;
})
];
};
};
};
}
This was working fine on a Nix system, which is no longer accessible, as my main laptop is broken, but it won't work properly on a Guix system that I am currently using.
| 13:19:59 |
@ashvith:matrix.org | Here's how it used to work: I would run nix develop, and then access the setzer app from there. | 13:20:44 |
Jan Tojnar | That looks fine. Maybe the environment contamination comes from ambient environment then. | 13:25:45 |
Jan Tojnar | Or it is some other issue. | 13:26:01 |
@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 | 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 | 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 | However, adding python310Packages.pycairo to build input did not fix this issue. | 13:31:31 |
@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 |
Jan Tojnar | Looking at the error some more, it indeed appears to be contamination. It tries to load libs from guix store | 13:32:47 |
| @abmantis:abcosta.com left the room. | 23:35:35 |
| 2 Feb 2024 |
| Specx joined the room. | 07:11:02 |
@ashvith:matrix.org | In reply to @jtojnar:matrix.org Looking at the error some more, it indeed appears to be contamination. It tries to load libs from guix store Looks like the store was installing itself in the home directory and not the root location at /nix/var/nix/profiles/per-user/. | 07:46:42 |
@ashvith:matrix.org | I'm still not able to make it work properly because I messed up the Guix profile now. | 07:47:09 |
| Tanja (Old; I'm now @tanja:catgirl.cloud) joined the room. | 17:48:06 |
| 3 Feb 2024 |
@ashvith:matrix.org | In reply to @jtojnar:matrix.org Looking at the error some more, it indeed appears to be contamination. It tries to load libs from guix store Looks like this was the reason all along. Well, I tried adding libcxx to flakes, but it still does not fix this issue? | 03:11:12 |
| sandptel joined the room. | 06:04:43 |