coleslaw-org / coleslaw

Flexible Lisp Blogware
BSD 2-Clause "Simplified" License
562 stars 82 forks source link

No such file or directory on calling MAIN #137

Open phoe opened 7 years ago

phoe commented 7 years ago

I have the directory contents like in https://github.com/phoe/phoe.github.io.src On calling coleslaw:main:

CL-USER> (coleslaw:main "~/quicklisp/local-projects/phoe.github.io.src/")
To load "puri":
  Load 1 ASDF system:
    puri
; Loading "puri"

; 
; note: deleting unreachable code
; 
; compilation unit finished
;   printed 1 note
; loading #P"/home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/plugins/gh-pages.fasl"
To load "puri":
  Load 1 ASDF system:
    puri
; Loading "puri"

; loading #P"/home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/plugins/mathjax.fasl"
; loading #P"/home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/plugins/sitemap.fasl"
; loading #P"/home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/plugins/static-pages.fasl"
; loading #P"/home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/plugins/versioned.fasl"
; rsync --delete -raz /home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/themes/readable/css .
; rsync --delete -raz /home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/themes/readable/img .
; rsync --delete -raz /home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/themes/readable/js .
; ln -sfn 1.html index.html
; mv /tmp/coleslaw/ /home/phoe/quicklisp/local-projects/phoe.github.io/generated/3709726313
; rm -r /home/phoe/quicklisp/local-projects/phoe.github.io/generated/3709726239/
; ln -sfn /home/phoe/quicklisp/local-projects/phoe.github.io/.curr /home/phoe/quicklisp/local-projects/phoe.github.io/.prev
; ln -sfn /home/phoe/quicklisp/local-projects/phoe.github.io/generated/3709726313 /home/phoe/quicklisp/local-projects/phoe.github.io/.curr
; Evaluation aborted on #<SB-INT:SIMPLE-FILE-ERROR "~@<~?: ~2I~_~A~:>" {10074638D3}>.
CL-USER> (coleslaw:main "~/quicklisp/local-projects/phoe.github.io.src/")
To load "puri":
  Load 1 ASDF system:
    puri
; Loading "puri"

; 
; note: deleting unreachable code
; 
; compilation unit finished
;   printed 1 note
; loading #P"/home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/plugins/gh-pages.fasl"
To load "puri":
  Load 1 ASDF system:
    puri
; Loading "puri"

; loading #P"/home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/plugins/mathjax.fasl"
; loading #P"/home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/plugins/sitemap.fasl"
; loading #P"/home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/plugins/static-pages.fasl"
; loading #P"/home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/plugins/versioned.fasl"
; rsync --delete -raz /home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/themes/readable/css .
; rsync --delete -raz /home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/themes/readable/img .
; rsync --delete -raz /home/phoe/quicklisp/dists/quicklisp/software/coleslaw-20170516-git/themes/readable/js .
; ln -sfn 1.html index.html
; mv /tmp/coleslaw/ /home/phoe/quicklisp/local-projects/phoe.github.io/generated/3709726320
; rm -r /home/phoe/quicklisp/local-projects/phoe.github.io/generated/3709726313/
; ln -sfn /home/phoe/quicklisp/local-projects/phoe.github.io/.curr /home/phoe/quicklisp/local-projects/phoe.github.io/.prev
; ln -sfn /home/phoe/quicklisp/local-projects/phoe.github.io/generated/3709726320 /home/phoe/quicklisp/local-projects/phoe.github.io/.curr

error opening #P"/home/phoe/quicklisp/local-projects/phoe.github.io/generated/3709726320/1.html":
  No such file or directory
   [Condition of type SB-INT:SIMPLE-FILE-ERROR]

Restarts:
 0: [RETRY] Retry SLIME REPL evaluation request.
 1: [*ABORT] Return to SLIME's top level.
 2: [ABORT] abort thread (#<THREAD "repl-thread" RUNNING {100255FFA3}>)

Backtrace:
  0: ((FLET SB-IMPL::VANILLA-OPEN-ERROR :IN OPEN))
  1: (OPEN #P"/home/phoe/quicklisp/local-projects/phoe.github.io/generated/3709726320/1.html" :DIRECTION :INPUT :ELEMENT-TYPE (UNSIGNED-BYTE 8) :IF-EXISTS NIL :IF-DOES-NOT-EXIST NIL :EXTERNAL-FORMAT :DEFAU..
  2: (CL-FAD:COPY-FILE #P"/home/phoe/quicklisp/local-projects/phoe.github.io/generated/3709726320/1.html" #P"/home/phoe/quicklisp/local-projects/phoe.github.io/generated/3709726320/index.html" :OVERWRITE N..
  3: ((:METHOD COLESLAW:DEPLOY :AFTER (T)) #<unavailable argument>) [fast-method]
  4: ((SB-PCL::EMF COLESLAW:DEPLOY) #<unavailable argument> #<unavailable argument> #P"/tmp/coleslaw/")
  5: (SB-INT:SIMPLE-EVAL-IN-LEXENV (COLESLAW:MAIN "~/quicklisp/local-projects/phoe.github.io.src/") #<NULL-LEXENV>)
  6: (EVAL (COLESLAW:MAIN "~/quicklisp/local-projects/phoe.github.io.src/"))
 --more--
PuercoPop commented 7 years ago

The problem seems to be that because you have no posts the index is not generated. I'll look into