From MAILER-DAEMON Wed Nov 08 01:51:42 2017 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1eCKD8-0007iL-3B for mharc-artanis@gnu.org; Wed, 08 Nov 2017 01:51:42 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:52633) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCKD6-0007iF-KM for artanis@gnu.org; Wed, 08 Nov 2017 01:51:41 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eCKD5-0000Oa-Ph for artanis@gnu.org; Wed, 08 Nov 2017 01:51:40 -0500 Received: from fencepost.gnu.org ([2001:4830:134:3::e]:40972) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eCKCz-0000Kn-GV; Wed, 08 Nov 2017 01:51:33 -0500 Received: from [183.37.130.237] (port=9652 helo=localhost) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1eCKCy-0003x4-H6; Wed, 08 Nov 2017 01:51:33 -0500 References: User-agent: mu4e 1.0-alpha0; emacs 25.1.1 From: Nala Ginrut To: Alexander Sharihin Cc: artanis@gnu.org Message-ID: <87ineltg9v.fsf@gnu.org> In-reply-to: Date: Wed, 08 Nov 2017 14:51:28 +0800 MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 2001:4830:134:3::e Subject: Re: [Artanis] art utility produces code that's doesn't work(or maybe I'm wrong) X-BeenThere: artanis@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Nov 2017 06:51:41 -0000 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Hi Alexander! I'm so sorry to reply late! This is a bug and fixed few days ago before I saw you mail. Please pull the repo in master branch. I'll release next version as soon as I make websocket work. Best regards. Alexander Sharihin writes: > Hello! > > I'm trying to begun work with Artanis WAF, and for beginning created > skeleton via "art" command(and created controller as in example). > > I've removed hard coded html in generated controller and try to use > templates: > > (article-define show > (lambda (rc) > ;; TODO: add controller method `show' > ;; uncomment this line if you want to render view from template > (view-render "show") > )) > > > But I've got error: > > In ice-9/boot-9.scm: > 837:9 2 (catch artanis-err # =E2=80=A6) > In unknown file: > 1 (_ # #<=E2=80= =A6> =E2=80=A6) > In app/controllers/article.scm: > 7:2 0 (_ _) > ERROR: In procedure module-lookup: Unbound variable: view-render > GNU Artanis encountered exception! > HTTP 500 > > In procedure handle-request : > Internal ERROR unbound-variable (module-lookup Unbound variable: ~S > (view-render) #f)! > > Am I doing something wrong? Or maybe example need some updates? > > What is right way for using templates(maybe tpl->response with relative > path to view). > > Thank you for patience(mine English isn't native, sorry). =2D-=20 GNU Powered it GPL Protected it GOD Blessed it HFG - NalaGinrut Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058 --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEE9TtMVpW15NVgk0MkhGlncoRqAFgFAloCqXAACgkQhGlncoRq AFgquhAAm8NAuygzD5oKdcfuocp98uTjflBXXbK/XTdxbpDrPzuvybmiI18BxHLa cyrjEFf8GD2MNaAyTlI5xny4QoDT/Y2n8T8ORqSjfrsDYz6XFCMpSzPI10Cvo2FD oWoHd8Vc2V6YpM19ilrlZDd9sxOaQfThtVif5Ag9PcOdWPYaiUw+qcf1TRW6SNol hHptWAVrpNcYLJ8M3S/iYjIcjfkEYbfUsudTtnU58Vthu1Y2k8YFikHNSGNZ8iyL CD34KN/EvLPqL/cqABOwwUF8/zA98N1YqKjr1WwA6AHwTpeXx4gw3aJYY/Kv54LY ZjFJdFVnLfWffbpOarwTqBC7grx8HNmCslYZKf46bGn2s7M2ZpcwgxkiHBuM4dlB OixRptEACYIBbMDNNHkwEeO0+DwH0dQGgDJH4Gs08wweoAgUFxjRrTaHGJknYzqj PAEZq53kidP8NF81E2u01V7HLoRKTrLr9tu0A4xbGPQcMKDwmLIebZ5ZIGIN4eJy ZhbsAykaHg9bzt6UfbzZePv/GeNNWJugCH6f29TPUymxDWvdsUIVBLcvFb5QDxXK +4hWIVodd4knMYCh4oCz1gGvl0of0fH9F2m/NGRPCoIDKCknCcYqcF4rwhvp7TzF Mfq9wzcOBAHnY4RgKRrfakfSjNSi8n2RyuMpGHotoPNEixg7xm0= =xlYu -----END PGP SIGNATURE----- --=-=-=-- From MAILER-DAEMON Tue Nov 14 17:58:58 2017 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1eEkAT-0000LZ-SB for mharc-artanis@gnu.org; Tue, 14 Nov 2017 17:58:57 -0500 Received: from eggs.gnu.org ([2001:4830:134:3::10]:43536) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1eEjf3-0001sA-D2 for artanis@gnu.org; Tue, 14 Nov 2017 17:26:30 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1eEjey-000117-GY for artanis@gnu.org; Tue, 14 Nov 2017 17:26:29 -0500 Received: from mail-qt0-x22f.google.com ([2607:f8b0:400d:c0d::22f]:55757) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1eEjey-00010h-BP for artanis@gnu.org; Tue, 14 Nov 2017 17:26:24 -0500 Received: by mail-qt0-x22f.google.com with SMTP id v41so29905927qtv.12 for ; Tue, 14 Nov 2017 14:26:24 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id:user-agent:mime-version; bh=Z26jyYvCii2xeXmxB1zioyen/wc4H1qA3oRbTi5hbOs=; b=Q7251x13ked6vK3aHVX1XQb/aEeYYlWbJE4KMBhB1QaXisyDMRQbpfIsffq/Dfn4Xe PUvTyGt810fqa6FQWLKKBw+vBrKqbSE8dGQhe7Pk8InldlwCr6081sYANy2rhf9zmBm6 lUpVOAC3dtVfzq6UfkAIxw6XCB8yPr7jUWIklmxRwW++5dX+23vonlIwPdaeafCAcCbC KG6ry8l5wXhZ5KzISwiURHRwR5hT8N2uqr5JwL23HStmmoyvXopO3nOJiofihyL3Jwtj J+TH9/yFeEjDTlWDjNyEK/a+5OIpFp7JoGR+ZuqcudVXopKRLdqZT4PQzMC/CHnPI5g1 J9lA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:user-agent :mime-version; bh=Z26jyYvCii2xeXmxB1zioyen/wc4H1qA3oRbTi5hbOs=; b=eN4UeJT+KsoNdSMsFIvJWvcxKHKzidIQh4LjX31WWiO53EiDRzAah6h60Wxqh0KMh8 LTNsvAKlphn39i/0gseMkQwuH06jPXoQSnLxKEI9EMYq+xP3LdNX5QJC46X4hCBAd0RT IgNQBevqIfwPXNSfElgXeuD8Mwcj4OCBRW4GTlDp9vYYQs2slUYX4i7j3+iMT30Vh2tG jGfJhQDgw1QqDTPIsjeofBhA6XtcbkO7dBVQ2RZkvyY/PlzAUfbfT2XLhUgk0eU3GnHm hGkbXJezf5J6i3sGxCL1vdcazVYt1vpObSm0596RwRM2oVOVNQTcivoNC0lO9iDR6izD +SBg== X-Gm-Message-State: AJaThX5wjoActQhfOrtg1APQiSnxImly9lYxUHdvp3j6e3PmAtuey9Mi vG5xrfzAGMWi0yBIdcuyGIbpgIhmiSw= X-Google-Smtp-Source: AGs4zMZCezGDaXrENn0Q6UdcpTz83k5GXxou8nd7N/9Cf0gMWxm5oSm2efRJliuF7j5C8P/f6U5BSg== X-Received: by 10.37.54.1 with SMTP id d1mr7474480yba.473.1510698383195; Tue, 14 Nov 2017 14:26:23 -0800 (PST) Received: from libre (mb94636d0.tmodns.net. [208.54.70.185]) by smtp.gmail.com with ESMTPSA id l8sm8942924ywi.80.2017.11.14.14.26.21 for (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Tue, 14 Nov 2017 14:26:21 -0800 (PST) From: Kristofer Buffington To: artanis@gnu.org Date: Tue, 14 Nov 2017 17:26:20 -0500 Message-ID: <87shdgcx9v.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. X-Received-From: 2607:f8b0:400d:c0d::22f X-Mailman-Approved-At: Tue, 14 Nov 2017 17:58:57 -0500 Subject: [Artanis] repl questions X-BeenThere: artanis@gnu.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2017 22:26:30 -0000 Hello! Is it possible to spawn a repl for geiser with the art work command? Thanks! Kristofer