请在2024年Clojure状态调查!中分享您的想法。

欢迎!请参阅关于页面以了解更多关于如何使用本网站的信息。

+1
工具

有人在使用 windows 机器尝试进行 datomic ion 推送时遇到“数据格式不正确”的错误吗?我遇到了以下信息

{:command-failed
"{:op:push:uname my-test-name:creds-profile my-creds-profile:region my-region}"
:causes
({:message "Data did not conform",
:class ExceptionInfo,
:data
#:clojure.spec.alpha{:problems

                    ({​​​​​​:path [:local :home],
                      :pred clojure.core/string?,
                      :val nil,
                      :via
                      [:cognitect.s3-libs.specs/local
                       :cognitect.s3-libs.specs/home],
                      :in [:local :home]}​​​​​​),
                    :spec
                    #object[clojure.spec.alpha$map_spec_impl$reify__1997 0x668a32a4 "clojure.spec.alpha$map_spec_impl$reify__1997@668a32a4"],
                    :value
                    {​​​​​​:description
                     "Unreproducible deployment (no git commit)",
                     :query-group nil,
                     :app-name "app-name",
                     :creds-profile my-creds-profile,
                     :op :push,
                     :uname my-test-name,
                     :allow [],
                     :region my-region,
                     :lambdas
                     {​​​​​​:api-handler
                      {​​​​​​:fn com.anon.app-name.ions.core/api-ion,
                       :integration :api-gateway/proxy,
                       :description
                       "Handles requests to REST API.",
                       :timeout-secs 29,
                       :concurrency-limit :none}​​​​​​,
                      :file-upload-handler
                      {​​​​​​:fn
                       com.anon.app-name.ions.core/file-upload-handler,
                       :description
                       "Handles notifications received from S3 when a user uploads a file to uploads bucket.",
                       :timeout-secs 900,
                       :concurrency-limit :none}​​​​​​,
                      :file-cleanup-handler
                      {​​​​​​:fn
                       com.anon.app-name.ions.core/file-cleanup-handler,
                       :description
                       "Cleanups orphan files in database. Triggered by AWS Events every midnight.",
                       :timeout-secs 300,
                       :concurrency-limit 1}​​​​​​,
                      :common-connector
                      {​​​​​​:fn
                       com.anon.app-name.ions.core/common-connector,
                       :description
                       "Handles common connection tasks between datomic and other Amazon services when required.",
                       :timeout-secs 300,
                       :concurrency-limit :none}​​​​​​,
                      :first-platform-connector
                      {​​​​​​:fn
                       com.anon.app-name.ions.core/first-platform-connector,
                       :description
                       "Handles first-platform related connection tasks between datomic and other Amazon services when required.",
                       :timeout-secs 300,
                       :concurrency-limit :none}​​​​​​,
                      :second-platform-connector
                      {​​​​​​:fn
                       com.anon.app-name.ions.core/second-platform-connector,
                       :description
                       "Handles second-platform related connection tasks between datomic and other Amazon services when required.",
                       :timeout-secs 300,
                       :concurrency-limit :none}​​​​​​}​​​​​​,
                     :datomic.ion.dev.config/resource
                     "datomic/ion-config.edn",
                     :local {​​​​​​:home nil}​​​​​​,
                     :bucket
                     "datomic-code-hash"}​​​​​​}​​​​​​}​​​​​​)}​​​​​​

登录注册来回答此问题。

...