On Thu, 2025-10-16 at 19:19 +0200, Andreas Schneider wrote: > Am 15.10.25 um 10:14 schrieb Richard Shann: > > On Tue, 2025-10-14 at 22:09 +0200, Andreas Schneider wrote: > >> Am 14.10.25 um 21:37 schrieb Richard Shann: > >>> On Tue, 2025-10-14 at 19:43 +0200, Andreas Schneider wrote: > >>>> Am 14.10.25 um 10:49 schrieb Richard Shann: > >>>>> On Mon, 2025-10-13 at 19:12 +0200, Andreas Schneider wrote: > >>>>> > >>>> [...] > >>>> Unfortunately, I get a script error: > >>> > >>> You have omitted the first line of the script > >>> > >>> (use-modules (ice-9 string-fun)) > >>> > >>> that module provides the function needed. > >> > >> I do have included this line, > > > > Oh, sorry, I missed it because it came at the end of the the line > "A > > script error for file/script" and I started reading the script > from > > there. > > > >> see attached screenshot. Maybe, it does > >> not find the module. Although I have the packages guile-3.0-libs > and > >> guile-2.2-libs (that both include ice-9/string-fun.scm) > installed. > > > > hmm, I didn't do anything special to get it included. If you get > up > > guile in a terminal and try to include the module does it work? > > I have tested with a simple test program > > (use-modules (ice-9 string-fun)) > (string-replace-substring "text" "t" "") > > In a guile terminal, it works flawlessly, however, in the Denemo > scheme > script window it throws a script error.
I the Denemo scheme CLI box if you execute this procedure: (%library-dir) what do you get on the terminal? I get => /usr/share/guile/3.0 Richard
