Skip to content
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

error: value is null while a set was expected #78

Closed
1 task done
bashfulrobot opened this issue May 26, 2023 · 1 comment
Closed
1 task done

error: value is null while a set was expected #78

bashfulrobot opened this issue May 26, 2023 · 1 comment
Labels
bug Something isn't working

Comments

@bashfulrobot
Copy link

bashfulrobot commented May 26, 2023

Type of bug

Parsing error

Version

Version: 0.0.12

Did you test against master?

  • Certainly

Error message (if not timeout)

error: value is null while a set was expected

       at /nix/store/wsbsx34vh2qckb4hvgqgpr2zsg0hn0g8-source/modules/lib/gvariant.nix:132:41:

          131|       gvarElems = map mkValue elems;
          132|       tupleType = type.tupleOf (map (e: e.type) gvarElems);
             |                                         ^
          133|     in mkPrimitive tupleType gvarElems // {
(use '--show-trace' to show detailed location information)
error: Recipe `rebuild` failed on line 82 with exit code 1

DConf input

[com/raggesilver/BlackBox]
cursor-blink-mode=uint32 1
easy-copy-paste=true
floating-controls=false
font='DroidSansM Nerd Font 20'
headerbar-drag-area=false
headerbar-draw-line-single-tab=false
show-headerbar=true
terminal-padding=(uint32 20, uint32 20, uint32 20, uint32 20)
theme-dark='base16: Twilight (dark)'
window-height=uint32 560
window-width=uint32 936

Additional context

results in:

"com/raggesilver/BlackBox" = {
      cursor-blink-mode = mkUint32 1;
      easy-copy-paste = true;
      floating-controls = false;
      font = "DroidSansM Nerd Font 20";
      headerbar-drag-area = false;
      headerbar-draw-line-single-tab = false;
      show-headerbar = true;
      terminal-padding = mkTuple [ mkUint32 20 mkUint32 20 ];

The line that is causing the issue is the terminal-padding = mkTuple [ mkUint32 20 mkUint32 20 ];. If I remove that from the dconf.nix that was generated, I can run a rebuild without issue.

@bashfulrobot bashfulrobot added the bug Something isn't working label May 26, 2023
@jtojnar
Copy link
Contributor

jtojnar commented Apr 16, 2024

This was fixed in bcb1c60.

@jtojnar jtojnar closed this as completed Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants