all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* bug#31279: report problem: guile with ~/.guile file does not run from shell
@ 2018-04-27  3:19 Wensheng Xie
  2018-04-27 22:38 ` Mark H Weaver
  0 siblings, 1 reply; 4+ messages in thread
From: Wensheng Xie @ 2018-04-27  3:19 UTC (permalink / raw)
  To: 31279

[-- Attachment #1: Type: text/plain, Size: 1953 bytes --]

Dear guix:

Using guixSD, installed guile and try to run it from shell. I got the
following error:

------ start ------
~ $ cat .guile
(use-modules (ice-9 readline))

;; Enable completion at the REPL.
(activate-readline)

(use-modules (oop goops))~ $
~ $ guile
Backtrace:
          12 (apply-smob/1 #<catch-closure b14c20>)
In ice-9/boot-9.scm:
    705:2 11 (call-with-prompt ("prompt") #<procedure d5f420 at
ice-9/eval.scm:330:13 ()> #<procedure default-prompt-handler (k proc)>)
In ice-9/eval.scm:
    619:8 10 (_ #(#(#<directory (guile-user) bc1140>)))
In unknown file:
           9 (primitive-load "/home/wxie/.guile")
In ice-9/eval.scm:
   721:20  8 (primitive-eval (use-modules (ice-9 readline)))
In ice-9/psyntax.scm:
  1235:36  7 (expand-top-sequence ((use-modules (ice-9 readline))) _ _ #f e
(eval) (hygiene guile-user))
  1182:24  6 (parse _ (("placeholder" placeholder)) ((top) #(ribcage () ()
())) _ e (eval) (hygiene guile-user))
   285:10  5 (parse _ (("placeholder" placeholder)) (()) _ c&e (eval)
(hygiene guile-user))
In ice-9/boot-9.scm:
  3365:20  4 (process-use-modules _)
   222:17  3 (map1 (((ice-9 readline))))
  3366:31  2 (_ ((ice-9 readline)))
   2791:6  1 (resolve-interface _ #:select _ #:hide _ #:prefix _ #:renamer
_ #:version _)
In unknown file:
           0 (scm-error misc-error #f "~A ~S" ("no code for module" (ice-9
readline)) #f)

ERROR: In procedure scm-error:
no code for module (ice-9 readline)
~ $ guile -q
GNU Guile 2.2.3
Copyright (C) 1995-2017 Free Software Foundation, Inc.

Guile comes with ABSOLUTELY NO WARRANTY; for details type `,show w'.
This program is free software, and you are welcome to redistribute it
under certain conditions; type `,show c' for details.

Enter `,help' for help.
scheme@(guile-user)> (version)
$1 = "2.2.3"
------- end --------

Is this an error or my wrong configuration?

best regards,
wxie


-- 
I'm an FSF member -- Help us support software freedom!
https://my.fsf.org/join

[-- Attachment #2: Type: text/html, Size: 2732 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31279: report problem: guile with ~/.guile file does not run from shell
  2018-04-27  3:19 bug#31279: report problem: guile with ~/.guile file does not run from shell Wensheng Xie
@ 2018-04-27 22:38 ` Mark H Weaver
  2018-04-30  6:17   ` Mark H Weaver
  0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2018-04-27 22:38 UTC (permalink / raw)
  To: Wensheng Xie; +Cc: 31279

Hi,

Wensheng Xie <xiewensheng@gmail.com> writes:

> Using guixSD, installed guile and try to run it from shell. I got the following error:
>
> ------ start ------
> ~ $ cat .guile
> (use-modules (ice-9 readline))
>
> ;; Enable completion at the REPL.
> (activate-readline)
>
> (use-modules (oop goops))~ $ 
> ~ $ guile

[...]

> ERROR: In procedure scm-error:
> no code for module (ice-9 readline)

You need to install the 'guile-readline' package in order to include the
(ice-9 readline) module.  Can you see if that solves the problem for you
and report back?

       Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31279: report problem: guile with ~/.guile file does not run from shell
  2018-04-27 22:38 ` Mark H Weaver
@ 2018-04-30  6:17   ` Mark H Weaver
  2018-05-02  1:10     ` Wensheng Xie
  0 siblings, 1 reply; 4+ messages in thread
From: Mark H Weaver @ 2018-04-30  6:17 UTC (permalink / raw)
  To: Wensheng Xie; +Cc: 31279-done

I'm closing this bug now, but if you are still having problems, please
let us know and we'll re-open it.

      Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* bug#31279: report problem: guile with ~/.guile file does not run from shell
  2018-04-30  6:17   ` Mark H Weaver
@ 2018-05-02  1:10     ` Wensheng Xie
  0 siblings, 0 replies; 4+ messages in thread
From: Wensheng Xie @ 2018-05-02  1:10 UTC (permalink / raw)
  To: Mark H Weaver; +Cc: 31279-done

[-- Attachment #1: Type: text/plain, Size: 420 bytes --]

Hi, Mark:

Sorry for late reply.

Installing guile-readline works and solved the problem.

You can close this bug.

best regards,
wxie

On Mon, Apr 30, 2018 at 2:17 PM, Mark H Weaver <mhw@netris.org> wrote:

> I'm closing this bug now, but if you are still having problems, please
> let us know and we'll re-open it.
>
>       Mark
>



-- 
I'm an FSF member -- Help us support software freedom!
https://my.fsf.org/join

[-- Attachment #2: Type: text/html, Size: 1045 bytes --]

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2018-05-02  1:11 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-04-27  3:19 bug#31279: report problem: guile with ~/.guile file does not run from shell Wensheng Xie
2018-04-27 22:38 ` Mark H Weaver
2018-04-30  6:17   ` Mark H Weaver
2018-05-02  1:10     ` Wensheng Xie

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.