This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-02-13
Channels
- # adventofcode (35)
- # announcements (2)
- # arachne (1)
- # beginners (71)
- # chestnut (2)
- # cider (100)
- # cljdoc (17)
- # cljs-dev (17)
- # cljsjs (2)
- # cljsrn (2)
- # clojure (53)
- # clojure-austin (2)
- # clojure-europe (1)
- # clojure-finland (2)
- # clojure-italy (3)
- # clojure-nl (7)
- # clojure-russia (56)
- # clojure-spec (56)
- # clojure-uk (35)
- # clojurescript (58)
- # community-development (14)
- # core-async (9)
- # cursive (22)
- # data-science (5)
- # datomic (14)
- # duct (5)
- # emacs (2)
- # expound (4)
- # figwheel-main (6)
- # fulcro (23)
- # kaocha (8)
- # lumo (7)
- # off-topic (10)
- # pathom (6)
- # re-frame (17)
- # reitit (31)
- # ring (3)
- # rum (1)
- # shadow-cljs (45)
- # spacemacs (10)
- # sql (12)
- # testing (9)
- # tools-deps (130)
hello everyone
i'm having a problem trying to create a table using sqlite3
here is the code and the error: https://gist.github.com/cybersapiens97/e8d26c5a7417b2141563b0babd9da3cb
anyone who can help, thanks in advance
how are you loading the sqlite database adaptor? never mind, just scrolled down and saw
I get a different error
user=> (require '[db.booksdb])
CompilerException java.sql.SQLException: path to 'db/database.db': '/private/tmp/booksdb/db' does not exist, compiling:(db/booksdb.clj:16:1)
creating a "db" directory fixes the error and the code works - did you restart your repl after defining the new deps?
OMG, i didn't restarted the REPL
took me over 1 hour and i just had to restart cider.... thanks!
I should have a sign over my desk that says "error makes no sense? exit repl, run lein clean, and start the repl again"
hahaha, that's so true, i'll hopefully remember this next time
technically my first question was relevant: > how are you loading the sqlite database adaptor? since you had defined it but not performed the restart that would load it :D