precept

Preception!
2020-02-09T04:44:51.001400Z

hi! Has anyone else had trouble trying the quick start https://github.com/CoNarrative/precept#quick-start ? I just ran it and it threw an expection my why when it loaded and i couldn't add todos via my browser. its late here so i will drop a more detailed issue tomorrow.

šŸ‘ 1
2020-02-09T15:42:24.003Z

Ubuntu 19.04 clj: 1.10.1 lein: 2.9.1 on Java 1.8.0_232 OpenJDK 64-Bit Server VM

lein new precept myproj
cd myproj
lein figwheel
visit client in browser and i see:
Error: No protocol method ISession.insert defined for type null: core.cljs:281:3
    cljs$core$missing_protocol core.cljs:281
    clara$rules$engine$insert engine.cljc:75
    clara$rules$insert_all rules.cljc:21
    precept$util$insert util.cljc:221
    then core.cljc:204
    switch__45891__auto__ core.cljc:78
    ret_value__45893__auto__ core.cljc:78
    precept$core$apply_changes_to_session_$_state_machine__45892__auto____1 core.js:331
    precept$core$apply_changes_to_session_$_state_machine__45892__auto__ core.js:347
    cljs$core$async$impl$ioc_helpers$run_state_machine ioc_helpers.cljs:35
    cljs$core$async$impl$ioc_helpers$run_state_machine_wrapped ioc_helpers.cljs:39
    temp__6736__auto__ ioc_helpers.cljs:48
    3 channels.cljs:61
    cljs$core$async$impl$dispatch$process_messages dispatch.cljs:19
    onmessage nexttick.js:211
    (Async: EventHandlerNonNull)
    getSetImmediateEmulator_ nexttick.js:206
    nextTick nexttick.js:81
    cljs$core$async$impl$dispatch$queue_dispatcher dispatch.cljs:29
    cljs$core$async$impl$dispatch$run dispatch.cljs:33
    precept$core$transactor core.cljc:69
    <anonymous> core.cljc:164

alex-dixon 2020-02-09T15:44:05.003300Z

Interestingā€¦let me try on my end

alex-dixon 2020-02-09T15:49:07.003600Z

Appears working with

Leiningen 2.8.1 on Java 1.8.0_222 OpenJDK 64-Bit Server VM