unofficial mirror of guile-user@gnu.org 
 help / color / mirror / Atom feed
* Geiser+Guile For Remote Connections: "geiser-repl--wait-for-prompt: No prompt found!"
@ 2022-07-04 23:34 Munyoki Kilyungi
  2022-07-04 23:51 ` Luis Felipe
  0 siblings, 1 reply; 3+ messages in thread
From: Munyoki Kilyungi @ 2022-07-04 23:34 UTC (permalink / raw)
  To: guile-user

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

Hi!

I'm trying to use Geiser to connect to a guile
process running inside a Guix container.  I want
to be able to use Geiser with different binaries
of Guile.  Within a Guix container, I can have all
the necessary Guile libs I want, so it's desirable
to use the Guile run-time inside the
aforementioned container.

As such, I started guile inside a container (my
intent eventually is to add extra libs to the guix
shell):

--8<---------------cut here---------------start------------->8---
guix shell guile readline guile-colorized \
guile-readline bash --network -- guile --listen=3003
--8<---------------cut here---------------end--------------->8---

From my GNU Emacs, I ran: "M-x geiser-connect";
followed by: "localhost"; and finally "3003".
However, I got this jumbled text:

--8<---------------cut here---------------start------------->8---
^A^Bscheme^A^B^A^B@(^A^B^A^Bguile-user^A^B^A^B)^A^B^A^B^A^B^A^B> ^A^B
--8<---------------cut here---------------end--------------->8---

The message logged in my *Messages* buffer is:

--8<---------------cut here---------------start------------->8---
Starting Geiser REPL ... [2 times]
geiser-repl--wait-for-prompt: No prompt found!
--8<---------------cut here---------------end--------------->8---

I also get the above behaviour when I try to
connect---using Geiser---remotely to my system's
Guile.

I've ran across different threads that recommend
upgrading to a different Guile
version(<https://lists.gnu.org/archive/html/bug-guix/2019-05/msg00434.html>),
but I don't think that's applicable to me.  Any
one know how to fix the "No prompt found!"  Or
better yet, how would you specify, with Geiser,
what Guile version to use on a per-project basis?

I'm using: guile v3.0.8; geiser "v20220323.2352";
geiser-guile "v20220323.2352"; and GNU Emacs
version 28.1.

-- 
(Life is like a pencil that will surely run out,
    but will leave the beautiful writing of life.)
(D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
    (hkp://keys.gnupg.net))

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]

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

* Re: Geiser+Guile For Remote Connections: "geiser-repl--wait-for-prompt: No prompt found!"
  2022-07-04 23:34 Geiser+Guile For Remote Connections: "geiser-repl--wait-for-prompt: No prompt found!" Munyoki Kilyungi
@ 2022-07-04 23:51 ` Luis Felipe
  2022-07-05  7:55   ` Munyoki Kilyungi
  0 siblings, 1 reply; 3+ messages in thread
From: Luis Felipe @ 2022-07-04 23:51 UTC (permalink / raw)
  To: Munyoki Kilyungi; +Cc: guile-user


[-- Attachment #1.1: Type: text/plain, Size: 402 bytes --]

Hello Munyoki Kilyungi,

> Any
> one know how to fix the "No prompt found!" Or
> better yet, how would you specify, with Geiser,
> what Guile version to use on a per-project basis?

I filed a bug report about that to Guix a couple of years ago, and it seems the problem comes from the "~/.guile" file. Removing it, for example, fixed the problem for me (See https://issues.guix.gnu.org/35727).

[-- Attachment #1.2: publickey - luis.felipe.la@protonmail.com - 0x12DE1598.asc --]
[-- Type: application/pgp-keys, Size: 1815 bytes --]

[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 509 bytes --]

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

* Re: Geiser+Guile For Remote Connections: "geiser-repl--wait-for-prompt: No prompt found!"
  2022-07-04 23:51 ` Luis Felipe
@ 2022-07-05  7:55   ` Munyoki Kilyungi
  0 siblings, 0 replies; 3+ messages in thread
From: Munyoki Kilyungi @ 2022-07-05  7:55 UTC (permalink / raw)
  To: Luis Felipe; +Cc: guile-user

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

Luis Felipe <luis.felipe.la@protonmail.com>
anaandika:

> Hello Munyoki Kilyungi,

Hi Luis Felipe!

>> Any
>> one know how to fix the "No prompt found!" Or
>> better yet, how would you specify, with Geiser,
>> what Guile version to use on a per-project basis?
>
> I filed a bug report about that to Guix a couple of years ago, and it seems the problem comes from the "~/.guile" file. Removing it, for example, fixed the problem for me (See https://issues.guix.gnu.org/35727).

Thanks for this.  Removing "~/.guile" fixes things
for me too, albeit it being a bit of an
inconvenience.  This still is unresolved to date
unfortunately.  FWIW, I don't think it's a Guix
problem, but a Guile issue.

-- 
(Life is like a pencil that will surely run out,
    but will leave the beautiful writing of life.)
(D4F09EB110177E03C28E2FE1F5BBAE1E0392253F
    (hkp://keys.gnupg.net))

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 869 bytes --]

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

end of thread, other threads:[~2022-07-05  7:55 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-04 23:34 Geiser+Guile For Remote Connections: "geiser-repl--wait-for-prompt: No prompt found!" Munyoki Kilyungi
2022-07-04 23:51 ` Luis Felipe
2022-07-05  7:55   ` Munyoki Kilyungi

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).