Re: Gauche-mongo with current Gauche (0.9.15)
Shiro Kawai <[email protected]>
| Newsgroups | gmane.lisp.scheme.gauche |
|---|---|
| Message-ID | <CALN0JNGpd9rGJtVHyAZ+R73Qn8dQFwBVqKZR+FX7h22ehoi9xA@mail.gmail.com> |
I forked and made the test pass in https://github.com/shirok/Gauche-mongo. I'll make sure it works with Mongo server before making PR, but you're welcome to try it. On Fri, Aug 7, 2026 at 9:41 AM Andreas Reuleaux <[email protected]> wrote: > Hi, thanks for offering your help in this regard. - I just opened an > issue at ayatoy's repo: https://github.com/ayatoy/Gauche-mongo/issues/1 > > I would suggest: maybe wait a few days - if he (she?) reacts, and then > (if not) your help (a PR of yours) would be very much appreciated. > > Thanks again, Andreas > > > Shiro Kawai <[email protected]> writes: > > > If there's a demand, I see it's worth reviving it. I'll take a look at > it; if it only requires adapting to the newer Gauche > > API, I might make a PR. > > > > --shiro > > > > On Thu, Aug 6, 2026 at 1:05 PM Andreas Reuleaux <[email protected]> wrote: > > > > Hi, I am having issues with using Gauche-mongo > > with a recent Gauche (0.9.15). > > > > (cf https://practical-scheme.net/wiliki/wiliki.cgi/Gauche:Packages > > and then: https://github.com/ayatoy/Gauche-mongo) > > > > When installing / configuring / and then trying to run the tests, I get: > > > > $ git clone git://github.com/ayatoy/Gauche-mongo.git > > > > $ cd Gauche-mongo/ > > > > $ ./configure --prefix=/home/rx/opt/Gauche > > (this is where my Gauche lives) > > > > $ make > > > > $ make install > > > > and then from within Gauche, for example for mongo.util (likewise for > > the other mongo modules - cf the test.scm there): > > > > gosh$ (use mongo.util) > > *** ERROR: wrong number of arguments: $satisfy requires 1, but got 0 > > While compiling > "/home/rx/opt/gauche/share/gauche-0.98/site/lib/mongo/util.scm" at line > 145: (define > > $mongo-uri-auth ($optional ($try ($do (user $mongo-uri-user) (($char > #\:)) (pass $mongo-uri-p ... > > While loading > "/home/rx/opt/gauche/share/gauche-0.98/site/lib/mongo/util.scm" at line 151 > > While compiling "(input string port)" at line 1: (use mongo.util) > > Stack Trace: > > _______________________________________ > > 0 (report-error e) > > 1 (%require feature) > > 2 (%map1c pass1 (cdr form) cenv) > > 3 (pass1 program cenv) > > 4 (eval expr env) > > at > "/home/rx/opt/gauche/share/gauche-0.98/0.9.15/lib/gauche/interactive.scm":359 > > 5 (evaluator exp (vm-current-module)) > > 6 (with-error-handler (^e (report-error e) #t) (^ () (let loop2 ... > > gosh$ > > > > I should contact ayatoy - as I assume [?] - as it seems to me: > Gauche-mongo is just > > too old: last commit 14 years ago. > > > > Which is a shame really, as I think: Gauche + Makiki + MongoDB + Htmx > > (or whatever JavaScript framework of the jour) would make a nice stack! > > > > Anyway: has anyone got this working? Thanks in advance. > > > > -Andreas > > > > _______________________________________________ > > Gauche-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/gauche-devel > > > > _______________________________________________ > > Gauche-devel mailing list > > [email protected] > > https://lists.sourceforge.net/lists/listinfo/gauche-devel > > > _______________________________________________ > Gauche-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/gauche-devel > _______________________________________________ Gauche-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/gauche-devel