coleslaw-org/coleslaw

The slot COLESLAW:DEPLOY-DIR is unbound in the object #<BLOG {1004C978C3}>.

phoe opened this issue · 1 comments

phoe commented

Linux, SBCL 1.3.14debian, coleslaw from Quicklisp.

I am trying to set up a new blog, with source being in ~/quicklisp/local-projects/phoe.github.io.src/ and output dir being ~/quicklisp/local-projects/phoe.github.io/

CL-USER> (ql:quickload :coleslaw)
CL-USER> (coleslaw:main "~/quicklisp/local-projects/phoe.github.io.src/")

Results in:

The slot COLESLAW:DEPLOY-DIR is unbound in the object
#<BLOG {1004C978C3}>.
   [Condition of type UNBOUND-SLOT]

Restarts:
 0: [USE-VALUE] Return a value as the slot-value.
 1: [STORE-VALUE] Store and return a value as the slot-value.
 2: [RETRY] Retry SLIME REPL evaluation request.
 3: [*ABORT] Return to SLIME's top level.
 4: [ABORT] abort thread (#<THREAD "repl-thread" RUNNING {10025C7FA3}>)

Backtrace:
  0: (SB-KERNEL:WITH-SIMPLE-CONDITION-RESTARTS ERROR NIL UNBOUND-SLOT :NAME COLESLAW:DEPLOY-DIR :INSTANCE #<COLESLAW::BLOG {1004C978C3}>)
  1: ((:METHOD SLOT-UNBOUND (T T T)) #<unavailable argument> #<COLESLAW::BLOG {1004C978C3}> COLESLAW:DEPLOY-DIR) [fast-method]
  2: (SLOT-VALUE #<COLESLAW::BLOG {1004C978C3}> COLESLAW:DEPLOY-DIR)
  3: (COLESLAW::DIR-SLOT-READER #<COLESLAW::BLOG {1004C978C3}> COLESLAW:DEPLOY-DIR)
  4: ((:METHOD COLESLAW:DEPLOY (T)) #P"/tmp/coleslaw/") [fast-method]
  5: ((SB-PCL::EMF COLESLAW:DEPLOY) #<unavailable argument> #<unavailable argument> #P"/tmp/coleslaw/")
  6: (SB-INT:SIMPLE-EVAL-IN-LEXENV (COLESLAW:MAIN "~/quicklisp/local-projects/phoe.github.io.src/") #<NULL-LEXENV>)
  7: (EVAL (COLESLAW:MAIN "~/quicklisp/local-projects/phoe.github.io.src/"))
 --more--

My .coleslawrc:

(:author "Michał \"phoe\" Herda"
 :deploy-dir "/home/phoe/quicklisp/local-projects/phoe.github.io/"
 :domain "http://phoe.github.io"
 :feeds ("lisp")
 :plugins (;; (analytics :tracking-code "foo")
           ;; (disqus :shortname "phoe")
           (gh-pages :cname t)
           (mathjax)
           (sitemap)
           (static-pages)
           (versioned))
 :routing ((:post           "posts/~a")
           (:tag-index      "tag/~a")
           (:month-index    "date/~a")
           (:numeric-index  "~d")
           (:feed           "~a.xml")
           (:tag-feed       "tag/~a.xml"))
 :sitenav ((:url "http://phoe.github.io/" :name "Home")
           (:url "http://github.com/phoe/" :name "GitHub")
           (:url "http://raptorlauncher-github.io/" :name "Raptor Launcher"))
 :staging-dir "/tmp/coleslaw/"
 :title "phoe's nest"
 :theme "readable")
phoe commented

Disregard that, coleslaw used a wrong .coleslawrc file that had :deploy-dir commented out.