Closed maacl closed 8 years ago
@maacl I'm pretty sure this was just a bad (outdated) conformity key in the schema. Give it a shot now, and let us know.
That helped, but now I get:
user=> (run)
SLF4J: Class path contains multiple SLF4J bindings.
SLF4J: Found binding in [jar:file:/home/mac/.m2/repository/ch/qos/logback/logback-classic/1.1.7/logback-classic-1.1.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: Found binding in [jar:file:/home/mac/.m2/repository/org/slf4j/slf4j-nop/1.7.7/slf4j-nop-1.7.7.jar!/org/slf4j/impl/StaticLoggerBinder.class]
SLF4J: See http://www.slf4j.org/codes.html#multiple_bindings for an explanation.
SLF4J: Actual binding is of type [ch.qos.logback.classic.util.ContextSelectorStaticBinder]
2016-08-15T07:48:33,700Z [nREPL-worker-1] INFO dat.sys.config - Starting config component
2016-08-15T07:48:34,205Z [nREPL-worker-1] INFO dat.sys.datomic - Datomic Starting
2016-08-15T07:48:34,884Z [nREPL-worker-1] INFO dat.sys.import - Importering data
2016-08-15T07:48:34,895Z [nREPL-worker-1] INFO dat.sys.ws - WebSocket connection stopped
2016-08-15T07:48:34,912Z [nREPL-worker-1] INFO dat.sys.ws - WebSocket connection started
2016-08-15T07:48:34,915Z [nREPL-worker-1] INFO dat.sys.app - Starting websocket router and transaction listener
Figwheel: Starting server at http://0.0.0.0:2358
Figwheel: Watching build - client
Compiling "resources/public/js/compiled/app.js" from ["src/dat/sys/client" "dev" "checkouts/datview/src" "checkouts/datsync/src" "checkouts/datreactor/src" "checkouts/datspec/src"]...
WARNING: int? already refers to: cljs.core/int? being replaced by: taoensso.encore/int? at line 489 resources/public/js/compiled/out/taoensso/encore.cljs
WARNING: nat-int? already refers to: cljs.core/nat-int? being replaced by: taoensso.encore/nat-int? at line 500 resources/public/js/compiled/out/taoensso/encore.cljs
WARNING: pos-int? already refers to: cljs.core/pos-int? being replaced by: taoensso.encore/pos-int? at line 501 resources/public/js/compiled/out/taoensso/encore.cljs
WARNING: neg-int? already refers to: cljs.core/neg-int? being replaced by: taoensso.encore/neg-int? at line 502 resources/public/js/compiled/out/taoensso/encore.cljs
Failed to compile "resources/public/js/compiled/app.js" in 56.559 seconds.
ANALYSIS ERROR: No such namespace: posh.reagent, could not locate posh/reagent.cljs, posh/reagent.cljc, or Closure namespace "posh.reagent" in file resources/public/js/compiled/out/dat/view/utils.cljc on file null, line null, column null
EDIT: I can get passed the above by updating project.clj to the latest posh version.
Now I get a blank page in the browser even after forcing a figwheel reload. The browser console produces the following:
https://fb.me/react-devtools
core.cljs?rel=1471247369478:142 INFO [dat.sys.client.app:95] - Creating and starting system
core.cljs?rel=1471247369478:142 INFO [dat.reactor.dispatcher:45] - Starting StrictlyOrderedDispatcher
core.cljs?rel=1471247369478:142 INFO [dat.remote.impl.sente:29] - Starting SenteRemote Component
core.cljs?rel=1471247369478:142 INFO [dat.view:1455] - Starting Datview
core.cljs?rel=1471247369478:142 INFO [dat.sync.client:601] - Starting Datsync component
core.cljs?rel=1471247369478:142 INFO [dat.sync.client:603] - Dispatched schema changes
core.cljs?rel=1471247369478:142 INFO [dat.reactor:276] - Starting SimpleReactor Component
core.cljs?rel=1471247369478:142 INFO [dat.sys.client.app:99] - Running main function
component.cljs?rel=1471247321949:123 Error rendering component (in dat.sys.client.views.main > re_com.box.v_box > dat.sys.client.views.todos_view)reagent$impl$component$do_render @ component.cljs?rel=1471247321949:123
views.cljs?rel=1471262722094:58 Uncaught TypeError: Cannot read property 'call' of undefined
core.cljs?rel=1471247369478:142 INFO [dat.sys.client.app:99] - Running main function
component.cljs?rel=1471247321949:123 Error rendering component (in dat.sys.client.views.main > re_com.box.v_box > dat.sys.client.views.todos_view)reagent$impl$component$do_render @ component.cljs?rel=1471247321949:123
views.cljs?rel=1471262722094:58 Uncaught TypeError: Cannot read property 'call' of undefined
core.cljs?rel=1471247369478:142 DEBUG [dat.reactor:192] - Handler :dat.reactor/local-tx called.
core.cljs?rel=1471247369478:142 DEBUG [dat.reactor:187] - Handler :dat.reactor/resolve-tx-report called.
core.cljs?rel=1471247369478:142 DEBUG [dat.reactor:127] - Adding effects for effect-ids: (:dat.reactor/execute-tx-report-handlers!)
core.cljs?rel=1471247369478:142 DEBUG [dat.reactor:204] - Effect handler :dat.reactor/fire-tx-report-handlers! called.
core.cljs?rel=1471247369478:142 INFO [dat.sync.client:557] - Applying schema changes!
core.cljs?rel=1471247369478:142 DEBUG [dat.remote.impl.sente:72] - Sente message recieved: :chsk/state
core.cljs?rel=1471247369478:142 DEBUG [dat.reactor:127] - Adding effects for effect-ids: (:dat.remote/send-event!)
core.cljs?rel=1471247369478:142 INFO [dat.remote:30] - send-event! called
core.cljs?rel=1471247369478:142 DEBUG [dat.remote.impl.sente:72] - Sente message recieved: :chsk/handshake
core.cljs?rel=1471247369478:142 WARN [dat.remote.impl.sente:90] - You should probably write something here! This is a no-op.
core.cljs?rel=1471247369478:142 DEBUG [dat.remote.impl.sente:91] - Calling :chsk/handshake with: [:taoensso.sente/nil-uid "v1tTCebOldpk1MudPr5fX92fhxcHsivAwIP7ER6vQxDsS0JMoieAsh/ySGyb6lT35ZcXDgEXFgOfjW1y"]
utils.cljs?rel=1471262722323:49 Figwheel: trying to open cljs reload socket
utils.cljs?rel=1471262722323:49 Figwheel: socket connection established
core.cljs?rel=1471247369478:142 DEBUG [dat.remote.impl.sente:72] - Sente message recieved: :chsk/recv
core.cljs?rel=1471247369478:142 INFO [dat.remote.impl.sente:102] - :chsk/recv for event-id: :dat.sync.client/bootstrap
core.cljs?rel=1471247369478:142 INFO [dat.sync.client:589] - Revieved bootstrap! ({:db/doc "Name of the system partition. The system partition includes the core of datomic, as well as user schemas: type definitions, attribute definitions, partition definitions, and data function definitions.", :db/id 0, :db/ident :db.part/db, :db.install/valueType [{:db/id 20} {:db/id 21} {:db/id 22} {:db/id 23} {:db/id 24} {:db/id 25} {:db/id 26} {:db/id 27} {:db/id 56} {:db/id 57} {:db/id 58} {:db/id 59} {:db/id 60} {:db/id 61}], :db.install/function [{:db/id 54} {:db/id 55}], :db.install/partition [{:db/id 0} {:db/id 3} {:db/id 4}], :db.install/attribute [{:db/id 8} {:db/id 9} {:db/id 10} {:db/id 11} {:db/id 12} {:db/id 13} {:db/id 14} {:db/id 15} {:db/id 16} {:db/id 17} {:db/id 18} {:db/id 19} {:db/id 39} {:db/id 40} {:db/id 41} {:db/id 42} {:db/id 43} {:db/id 44} {:db/id 45} {:db/id 46} {:db/id 47} {:db/id 50} {:db/id 51} {:db/id 52} {:db/id 62} {:db/id 63} {:db/id 64} {:db/id 65} {:db/id 66} {:db/id 67} {:db/id 68} {:db/id 69} {:db/id 70} {:db/id 71} {:db/id 72} {:db/id 73} {:db/id 74} {:db/id 75} {:db/id 76} {:db/id 77} {:db/id 78} {:db/id 79} {:db/id 80} {:db/id 81} {:db/id 82} {:db/id 83} {:db/id 84} {:db/id 85} {:db/id 86} {:db/id 87} {:db/id 88}]} {:db/doc "Primitive assertion. All transactions eventually reduce to a collection of primitive assertions and retractions of facts, e.g. [:db/add fred :age 42].", :db/id 1, :db/ident :db/add} {:db/doc "Primitive retraction. All transactions eventually reduce to a collection of assertions and retractions of facts, e.g. [:db/retract fred :age 42].", :db/id 2, :db/ident :db/retract} {:db/doc "Partition used to store data about transactions. Transaction data always includes a :db/txInstant which is the transaction's timestamp, and can be extended to store other information at transaction granularity.", :db/id 3, :db/ident :db.part/tx} {:db/doc "Name of the user partition. The user partition is analogous to the default namespace in a programming language, and should be used as a temporary home for data during interactive development.", :db/id 4, :db/ident :db.part/user} {:db/valueType {:db/id 24}, :db/cardinality {:db/id 35}, :db/doc "System-assigned attribute set to true for transactions not fully incorporated into the index", :db/id 8, :db/ident :db.sys/partiallyIndexed} {:db/valueType {:db/id 20}, :db/cardinality {:db/id 35}, :db/doc "System-assigned attribute for an id e in the log that has been changed to id v in the index", :db/id 9, :db/ident :db.sys/reId} {:db/unique {:db/id 38}, :db/valueType {:db/id 21}, :db/cardinality {:db/id 35}, :db/doc "Attribute used to uniquely name an entity.", :db/id 10, :db/ident :db/ident} {:db/valueType {:db/id 20}, :db/cardinality {:db/id 36}, :db/doc "System attribute with type :db.type/ref. Asserting this attribute on :db.part/db with value v will install v as a partition.", :db/id 11, :db/ident :db.install/partition} {:db/valueType {:db/id 20}, :db/cardinality {:db/id 36}, :db/doc "System attribute with type :db.type/ref. Asserting this attribute on :db.part/db with value v will install v as a value type.", :db/id 12, :db/ident :db.install/valueType})
core.cljs?rel=1471247369478:142 INFO [dat.sync.client:566] - Running remote-tx in :dat.sync/recv-remote-tx.
core.cljs?rel=1471247369478:142 DEBUG [dat.sync.client:375] - Calling translate-eids
core.cljs?rel=1471247369478:142 DEBUG [dat.sync.client:392] - n local eids w remote 0
core.cljs?rel=1471247369478:142 DEBUG [dat.sync.client:393] - n local eids w/o remote 137
core.cljs?rel=1471247369478:142 INFO [dat.sync.client:547] - Applying schema changes!
core.cljs?rel=1471247369478:142 INFO [dat.sync.client:170] - Calling schema-with-changes
core.cljs?rel=1471247369478:142 INFO [dat.sync.client:173] - With db
core.cljs?rel=1471247369478:142 INFO [dat.sync.client:175] - Done with schema-with-changes
core.cljs?rel=1471247369478:142 DEBUG [dat.reactor:192] - Handler :dat.reactor/local-tx called.
core.cljs?rel=1471247369478:142 DEBUG [dat.reactor:187] - Handler :dat.reactor/resolve-tx-report called.
core.cljs?rel=1471247369478:142 DEBUG [dat.reactor:127] - Adding effects for effect-ids: (:dat.reactor/execute-tx-report-handlers!)
core.cljs?rel=1471247369478:142 DEBUG [dat.reactor:204] - Effect handler :dat.reactor/fire-tx-report-handlers! called.
@maacl - Can you please try checking out the dev branch and see if that gets you past the blank screen (probably just this #15) and to see if things generally seem to be working there? I was suppose to update master a little while back, but lost track of it (moving to new house; crazy town). I'm sitting down to breakfast, but I should be able to take care of this in an hour or two.
Dev branch gives same results. Make sure to take time for breakfast - most important meal of the day :-)
Ok. You should be able to fix the blank screen by saving a file to trigger a figwheel reload. But we know what's causing this and have a fix in mind. I thought we'd already resolved it but I haven't been working with the datsys code recently (focusing more on datview in the context of another project). It's time to get that back in shape though.
On Mon, Aug 15, 2016, 8:02 AM Martin Clausen notifications@github.com wrote:
Dev branch gives same results. Make sure to take time for breakfast - most important meal of the day :-)
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/metasoarous/datsys/issues/26#issuecomment-239825530, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFZ7BPAWHFu2jVO-jqRBSZJRL9qS4Ipks5qgH-XgaJpZM4JkJIR .
Chris
Sent via mobile
I did trigger a reload, but to no avail.
On Mon, Aug 15, 2016 at 6:12 PM Christopher Small notifications@github.com wrote:
Reopened #26 https://github.com/metasoarous/datsys/issues/26.
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/metasoarous/datsys/issues/26#event-755852672, or mute the thread https://github.com/notifications/unsubscribe-auth/AAD6XIvZ4UCt4NjQujElrXahLnnf2ZTYks5qgI_5gaJpZM4JkJIR .
Martin Clausen Mob. +45 61 55 50 95 https://www.vyte.in/martin.clausen
OK; I'm taking a look now.
OK; All's working on master now (finally). I think @bamarco had some of these fixes in the bag, but I just hadn't merged them in. I'm going to close the issue for now, but let me know if anything else comes up.
Confirm works.
Cheers!
On Mon, Aug 15, 2016, 12:48 PM Martin Clausen notifications@github.com wrote:
Closed #26 https://github.com/metasoarous/datsys/issues/26.
— You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/metasoarous/datsys/issues/26#event-756119403, or mute the thread https://github.com/notifications/unsubscribe-auth/AAFZ7KJ1R_FRfqPxzGE1ygECBuePrR90ks5qgMJ-gaJpZM4JkJIR .
Chris
Sent via mobile
I get the following when trying
(run)
at the repl: