* unbound variable @ 2022-11-01 18:25 Gottfried 2022-11-01 18:30 ` Felix Lechner via 0 siblings, 1 reply; 10+ messages in thread From: Gottfried @ 2022-11-01 18:25 UTC (permalink / raw) To: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 4736 bytes --] Hi Guixers, I installed Guix System on another laptop and made a mistake in my config.scm file but I don't know where. Could somebody have a look? Error unbound variable in cups... this is my config.scm file: ;; This is an operating system configuration generated ;; by the graphical installer. (use-modules (gnu)) (use-service-modules desktop networking ssh xorg) (operating-system (locale "de_AT.utf8") (timezone "Europe/Vienna") (keyboard-layout (keyboard-layout "at")) (host-name "akoya") (users (cons* (user-account (name "franz") (comment "Franz") (group "users") (home-directory "/home/franz") (supplementary-groups '("wheel" "netdev" "audio" "video"))) %base-user-accounts)) (packages (append (list (specification->package "dmenu") (specification->package "st") (specification->package "xterm") (specification->package "emacs") (specification->package "emacs-exwm") (specification->package "emacs-desktop-environment") (specification->package "nss-certs")) %base-packages)) (services (append (list (service xfce-desktop-service-type) (service mate-desktop-service-type) (service enlightenment-desktop-service-type) (service openssh-service-type) (service tor-service-type) (service cups-service-type (cups-configuration (web-interface? #t) (extensions (list cups-filters hplip)))) (set-xorg-configuration (xorg-configuration (keyboard-layout keyboard-layout)))) %desktop-services)) (bootloader (bootloader-configuration (bootloader grub-efi-bootloader) (targets (list "/boot/efi")) (keyboard-layout keyboard-layout))) (swap-devices (list (uuid "ef09b823-2b38-4528-84c2-b991d0af66f5"))) (file-systems (cons* (file-system (mount-point "/boot/efi") (device (uuid "795B-C6B8" 'fat32)) (type "vfat")) (file-system (mount-point "/") (device (uuid "ed1e2fdd-9a66-4a99-b3a3-c26e4c6fe50f" 'ext4)) (type "ext4")) %base-file-systems))) ------------------------------------------------------------------------- franz@akoya ~$ sudo guix system reconfigure /etc/config.scm hint: Consider installing the `glibc-locales' package and defining `GUIX_LOCPATH', along these lines: guix install glibc-locales export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" See the "Application Setup" section in the manual, for more info. guix system: warning: cannot determine provenance for current system Backtrace: 18 (primitive-load "/home/franz/.config/guix/current/bin/g…") In guix/ui.scm: 2263:7 17 (run-guix . _) 2226:10 16 (run-guix-command _ . _) In ice-9/boot-9.scm: 1752:10 15 (with-exception-handler _ _ #:unwind? _ # _) In guix/status.scm: 835:3 14 (_) 815:4 13 (call-with-status-report _ _) In guix/scripts/system.scm: 1281:4 12 (_) In ice-9/boot-9.scm: 1752:10 11 (with-exception-handler _ _ #:unwind? _ # _) In guix/store.scm: 661:37 10 (thunk) 1300:8 9 (call-with-build-handler #<procedure 7f08d0222810 at g…> …) 2170:25 8 (run-with-store #<store-connection 256.99 7f08d3902b40> …) In guix/scripts/system.scm: 847:2 7 (_ _) 724:8 6 (_ #<store-connection 256.99 7f08d3902b40>) In gnu/system.scm: 1286:19 5 (operating-system-derivation _) 806:11 4 (operating-system-services #<<operating-system> kernel:…>) 840:20 3 (services _) In /etc/config.scm: 38:21 2 (services #<<operating-system> kernel: #<package linux-…>) In ice-9/boot-9.scm: 1685:16 1 (raise-exception _ #:continuable? _) 1685:16 0 (raise-exception _ #:continuable? _) ice-9/boot-9.scm:1685:16: In procedure raise-exception: error: cups-service-type: unbound variable --------------------------------------------------------------- 2. question: hint: Consider installing the `glibc-locales' package and defining `GUIX_LOCPATH', along these lines: guix install glibc-locales export GUIX_LOCPATH="$HOME/.guix-profile/lib/locale" ------------------------------------------------------------ I did this twice, but this message comes again. What can I do? -- Kind regards Gottfried [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: unbound variable 2022-11-01 18:25 unbound variable Gottfried @ 2022-11-01 18:30 ` Felix Lechner via 2022-11-01 19:14 ` Gottfried 0 siblings, 1 reply; 10+ messages in thread From: Felix Lechner via @ 2022-11-01 18:30 UTC (permalink / raw) To: Gottfried; +Cc: help-guix Hi Gottfried On Tue, Nov 1, 2022 at 11:26 AM Gottfried <gottfried@posteo.de> wrote: > > Error unbound variable in cups... For question #1: Do you need (use-modules (gnu services cups)) ? Kind regards Felix Lechner ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: unbound variable 2022-11-01 18:30 ` Felix Lechner via @ 2022-11-01 19:14 ` Gottfried 2022-11-01 19:38 ` Felix Lechner via 0 siblings, 1 reply; 10+ messages in thread From: Gottfried @ 2022-11-01 19:14 UTC (permalink / raw) To: Felix Lechner; +Cc: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 460 bytes --] Hi Felix, thanks a lot, I added this service, but it didn't help. The same message appear in updating my config.scm file Am 01.11.22 um 19:30 schrieb Felix Lechner: > Hi Gottfried > > On Tue, Nov 1, 2022 at 11:26 AM Gottfried <gottfried@posteo.de> wrote: >> >> Error unbound variable in cups... > > For question #1: Do you need (use-modules (gnu services cups)) ? > > Kind regards > Felix Lechner -- Kind regards Gottfried [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: unbound variable 2022-11-01 19:14 ` Gottfried @ 2022-11-01 19:38 ` Felix Lechner via 2022-11-01 20:00 ` Gottfried 0 siblings, 1 reply; 10+ messages in thread From: Felix Lechner via @ 2022-11-01 19:38 UTC (permalink / raw) To: Gottfried; +Cc: help-guix Hi Gottfried, On Tue, Nov 1, 2022 at 12:14 PM Gottfried <gottfried@posteo.de> wrote: > > I added this service, but it didn't help. Please try it without hplip first. (service cups-service-type (cups-configuration (web-interface? #true))) Kind regards Felix Lechner ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: unbound variable 2022-11-01 19:38 ` Felix Lechner via @ 2022-11-01 20:00 ` Gottfried 2022-11-01 20:35 ` Felix Lechner via 0 siblings, 1 reply; 10+ messages in thread From: Gottfried @ 2022-11-01 20:00 UTC (permalink / raw) To: Felix Lechner; +Cc: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 477 bytes --] Hi Felix, I tried, it didn't help. the same error message. Am 01.11.22 um 20:38 schrieb Felix Lechner: > Hi Gottfried, > > On Tue, Nov 1, 2022 at 12:14 PM Gottfried <gottfried@posteo.de> wrote: >> >> I added this service, but it didn't help. > > Please try it without hplip first. > > (service cups-service-type > (cups-configuration > (web-interface? #true))) > > Kind regards > Felix Lechner -- Kind regards Gottfried [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: unbound variable 2022-11-01 20:00 ` Gottfried @ 2022-11-01 20:35 ` Felix Lechner via 2022-11-02 8:36 ` Gottfried 2022-11-02 12:50 ` Gottfried 0 siblings, 2 replies; 10+ messages in thread From: Felix Lechner via @ 2022-11-01 20:35 UTC (permalink / raw) To: Gottfried; +Cc: help-guix Hi Gottfried, On Tue, Nov 1, 2022 at 1:01 PM Gottfried <gottfried@posteo.de> wrote: > > I tried, it didn't help. > the same error message. Well, I do not mean to appear argumentative but I did not see (gnu service cups) at the top of the configuration you sent earlier in this thread. The variable cups-service-type is defined there [1] and also exported from there. [2] Hope this helps. Kind regards Felix Lechner [1] https://github.com/guix-mirror/guix/blob/d0917d778284ee7d70bc80b0538e3b4ae67870f4/gnu/services/cups.scm#L1026-L1060 [2] https://github.com/guix-mirror/guix/blob/d0917d778284ee7d70bc80b0538e3b4ae67870f4/gnu/services/cups.scm#L38 ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: unbound variable 2022-11-01 20:35 ` Felix Lechner via @ 2022-11-02 8:36 ` Gottfried 2022-11-02 12:50 ` Gottfried 1 sibling, 0 replies; 10+ messages in thread From: Gottfried @ 2022-11-02 8:36 UTC (permalink / raw) To: Felix Lechner; +Cc: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 1030 bytes --] Hi Felix, thanks very much for your help and efforts. This was the decisive point. Now it works. I am open for any hint and I don't mind to get hundreds of pieces of advice, because I am hacking on the basics. Kind regards Gottfried Am 01.11.22 um 21:35 schrieb Felix Lechner: > Hi Gottfried, > > On Tue, Nov 1, 2022 at 1:01 PM Gottfried <gottfried@posteo.de> wrote: >> >> I tried, it didn't help. >> the same error message. > > Well, I do not mean to appear argumentative but I did not see > (gnu service cups) > at the top of the configuration you sent earlier in this thread. > > The variable cups-service-type is defined there [1] and also exported > from there. [2] > > Hope this helps. > > Kind regards > Felix Lechner > > [1] https://github.com/guix-mirror/guix/blob/d0917d778284ee7d70bc80b0538e3b4ae67870f4/gnu/services/cups.scm#L1026-L1060 > [2] https://github.com/guix-mirror/guix/blob/d0917d778284ee7d70bc80b0538e3b4ae67870f4/gnu/services/cups.scm#L38 -- [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: unbound variable 2022-11-01 20:35 ` Felix Lechner via 2022-11-02 8:36 ` Gottfried @ 2022-11-02 12:50 ` Gottfried 2022-11-02 13:48 ` Felix Lechner via 1 sibling, 1 reply; 10+ messages in thread From: Gottfried @ 2022-11-02 12:50 UTC (permalink / raw) To: Felix Lechner; +Cc: help-guix [-- Attachment #1.1.1: Type: text/plain, Size: 612 bytes --] Hi Felix, I am not sure how can I understand those github sites? If e.g. I have a different printer (e.g. from an other company), and I want to install it, can I look up at those github pages how to add the necessary things in my config.scm? > [1] https://github.com/guix-mirror/guix/blob/d0917d778284ee7d70bc80b0538e3b4ae67870f4/gnu/services/cups.scm#L1026-L1060 > [2] https://github.com/guix-mirror/guix/blob/d0917d778284ee7d70bc80b0538e3b4ae67870f4/gnu/services/cups.scm#L38 By the way, my second problem seems to be solved through configunring cups. Kind regards Gottfried [-- Attachment #1.1.2: OpenPGP public key --] [-- Type: application/pgp-keys, Size: 3191 bytes --] [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 840 bytes --] ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: unbound variable 2022-11-02 12:50 ` Gottfried @ 2022-11-02 13:48 ` Felix Lechner via 2022-11-02 16:50 ` kiasoc5 0 siblings, 1 reply; 10+ messages in thread From: Felix Lechner via @ 2022-11-02 13:48 UTC (permalink / raw) To: Gottfried; +Cc: help-guix Hi Gottfried, On Wed, Nov 2, 2022 at 5:50 AM Gottfried <gottfried@posteo.de> wrote: > > If e.g. I have a different printer (e.g. from an other company), and I > want to install it, That is a CUPS question. As you can imagine, there are lots of printers. I usually look at which format the printer speaks, and how it likes to communicate. Basic formats are PCL and Postscript, with PCL being faster but less cool. My favorite communication for networked printers is Port 9100, which I think used to be called JetDirect, but there are others. There is also USB (and parallel, if your printer is really old). My own printer is reasonably well supported by CUPS alone, although I might find a more capable PPD via hplip. RIght now, it's not worth my time to go further. You, too, may be looking at a compromise. For printers with their own data format, you may need Gutenprint, which I believe is not packaged in Guix. More importantly, I believe there are significant hurdles to packaging because there are so many paths to replace. Hope that helps. Kind regards Felix Lechner ^ permalink raw reply [flat|nested] 10+ messages in thread
* Re: unbound variable 2022-11-02 13:48 ` Felix Lechner via @ 2022-11-02 16:50 ` kiasoc5 0 siblings, 0 replies; 10+ messages in thread From: kiasoc5 @ 2022-11-02 16:50 UTC (permalink / raw) To: Felix Lechner, Gottfried; +Cc: help-guix On 11/2/22 09:48, Felix Lechner via wrote: > Hi Gottfried, > > On Wed, Nov 2, 2022 at 5:50 AM Gottfried <gottfried@posteo.de> wrote: >> >> If e.g. I have a different printer (e.g. from an other company), and I >> want to install it, > > That is a CUPS question. As you can imagine, there are lots of > printers. I usually look at which format the printer speaks, and how > it likes to communicate. Basic formats are PCL and Postscript, with > PCL being faster but less cool. My favorite communication for > networked printers is Port 9100, which I think used to be called > JetDirect, but there are others. > > There is also USB (and parallel, if your printer is really old). > > My own printer is reasonably well supported by CUPS alone, although I > might find a more capable PPD via hplip. RIght now, it's not worth my > time to go further. You, too, may be looking at a compromise. > > For printers with their own data format, you may need Gutenprint, > which I believe is not packaged in Guix. More importantly, I believe > there are significant hurdles to packaging because there are so many > paths to replace. > > Hope that helps. > > Kind regards > Felix Lechner > You might not need a driver, if your printer is new enough. Printers made after 2010 should support IPP Everywhere, which prints without drivers. https://www.pwg.org/ipp/everywhere.html ^ permalink raw reply [flat|nested] 10+ messages in thread
end of thread, other threads:[~2022-11-02 16:51 UTC | newest] Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2022-11-01 18:25 unbound variable Gottfried 2022-11-01 18:30 ` Felix Lechner via 2022-11-01 19:14 ` Gottfried 2022-11-01 19:38 ` Felix Lechner via 2022-11-01 20:00 ` Gottfried 2022-11-01 20:35 ` Felix Lechner via 2022-11-02 8:36 ` Gottfried 2022-11-02 12:50 ` Gottfried 2022-11-02 13:48 ` Felix Lechner via 2022-11-02 16:50 ` kiasoc5
Code repositories for project(s) associated with this external index https://git.savannah.gnu.org/cgit/guix.git This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.