guile-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [ANN] GNU Artanis-1.1.0 released!


From: Jason Darby
Subject: Re: [ANN] GNU Artanis-1.1.0 released!
Date: Sun, 12 Jan 2025 22:42:47 +0000

https://git.savannah.gnu.org/cgit/artanis.git/tree/artanis/i18n/json.scm#n31

It has to do with the assumption that a directory exists at:

> (
>
> define
>
> i18n-json-dir
>
> (
>
> make-parameter
>
> (
>
> format
>
> #
>
> f
>
> "~a/sys/i18n/json"
>
> (
>
> current-toplevel
>
> ))))

The pub directory is similar but it'll still start without pub. I'm thinking (@ 
(artanis i18n) init-i18n) should have a default "not configured" case and 
warning instead of erroring.

On Sunday, January 12th, 2025 at 5:35 PM, Andy Tai <atai@atai.org> wrote:

> Not sure if this is something that is due to Guix side package definition or 
> Artanis itself?
>
> On Sun, Jan 12, 2025 at 12:54 PM Jason Darby <jason@sawbladesllc.com> wrote:
>
>> As long as I do something along the lines of:
>>
>>> (i18n-json-dir (format #f "~a/sys/i18n/json" (getcwd)))
>>
>> and make sure that directory exists everything starts ok and so far serves 
>> fine.
>> On Sunday, January 12th, 2025 at 3:40 PM, Jason Darby via <artanis@gnu.org> 
>> wrote:
>>
>>> It looks like 1.1.0 on Guix is broken, when starting (using the api, 
>>> outside of art) I get:
>>>
>>>> In artanis/artanis.scm:
>>>> 237:3 3 (init-server #:statics _ #:cache-statics? _ #:exclude _)
>>>> In artanis/i18n.scm:
>>>> 103:40 2 (init-i18n)
>>>> In artanis/i18n/json.scm:
>>>> 60:7 1 (i18n-json-init)
>>>> In unknown file: 0 (mkdir "#f/sys/i18n/json" #<undefined>)
>>>
>>> I figured no big deal, I'll just keep using 1.0.0 but it's no longer in the 
>>> channel :)
>>> On Saturday, January 11th, 2025 at 10:04 PM, Nala Ginrut 
>>> <nalaginrut@gmail.com> wrote:
>>>
>>>> From the perspective of building, guile-dbi is always optional to build. 
>>>> But I didn't test if it works when guile-dbi is post installed.
>>>>
>>>> On Sun, Jan 12, 2025, 08:26 Andy Tai <atai@atai.org> wrote:
>>>>
>>>>> Is guile-dbi a needed dependency for this version? version 1.0 did
>>>>> not have dependency on guile-dbi.
>>>>> Ideally it is optional.
>>>>>
>>>>> On Fri, Jan 10, 2025 at 7:13 AM Nala Ginrut <mulei@gnu.org> wrote:
>>>>>> GNU Artanis is a modern web application framework for Scheme.
>>>>>>
>>>>>> NEWS
>>>>>>
>>>>>> Changes in 1.1.0
>>>>>> * Notable changes
>>>>>> - Add i18n
>>>>>> - Add server.workers
>>>>>> - Move out tmp dir (for Guix)
>>>>>> - Fix autoload in debug mode
>>>>>> - Fix request-ip thrown issue
>>>>>> - Add default 408 handler
>>>>>> - Update manual
>>>>>> - Update THANKS
>
> --
>
> Andy Tai, atai@atai.org, Skype: licheng.tai, Line: andy_tai, WeChat: 
> andytai1010
> Year 2025 民國114年
> 自動的精神力是信仰與覺悟
> 自動的行為力是勞動與技能

reply via email to

[Prev in Thread] Current Thread [Next in Thread]