[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Artanis] art utility produces code that's doesn't work(or maybe I'm
Re: [Artanis] art utility produces code that's doesn't work(or maybe I'm wrong)
Wed, 08 Nov 2017 14:51:28 +0800
mu4e 1.0-alpha0; emacs 25.1.1
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.
Alexander Sharihin writes:
> 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
> (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 #<procedure 22bffe0 at artanis/page…> …)
> In unknown file:
> 1 (_ #<procedure 22bf1e0 at artanis/page.scm:83:6 ()> #<…> …)
> 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).
GNU Powered it
GPL Protected it
GOD Blessed it
HFG - NalaGinrut
Fingerprint F53B 4C56 95B5 E4D5 6093 4324 8469 6772 846A 0058
Description: PGP signature
|[Prev in Thread]
||[Next in Thread]|
- Re: [Artanis] art utility produces code that's doesn't work(or maybe I'm wrong),
Nala Ginrut <=