End of file error on client sync
I am trying clpm for the first time by stepping through the quickstart on the project's landing page.
When I get the to (clpm-client:sync :sources "quicklisp")
step, an end of file condition is encountered. The only restart available is to abort.
I'm not sure where I made a misstep
$ cat .config/clpm/sources.lisp
("quicklisp"
:type :quicklisp
:url "https://beta.quicklisp.org/dist/quicklisp.txt")
$ cat .config/common-lisp/source-registry.conf.d/20-clpm-client.conf
;; -*- mode: common-lisp; -*-
;; Auto generated by CLPM version 0.4.1
(:directory #P"/usr/local/share/clpm/client/")
$ cat .sbclrc
;;; Use CLPM with default configuration.
;;;
;;; Generated by CLPM 0.4.1
(require "asdf")
#-clpm-client
(when (asdf:find-system "clpm-client" nil)
;; Load the CLPM client if we can find it.
(asdf:load-system "clpm-client")
(when (uiop:symbol-call :clpm-client '#:active-context)
;; If started inside a context (i.e., with `clpm exec` or `clpm bundle exec`),
;; activate ASDF integration
(uiop:symbol-call :clpm-client '#:activate-asdf-integration)))
$ rlwrap sbcl
This is SBCL 2.1.1.debian, an implementation of ANSI Common Lisp.
More information about SBCL is available at <http://www.sbcl.org/>.
SBCL is free software, provided as is, with absolutely no warranty.
It is mostly in the public domain; some portions are provided under
BSD-style licenses. See the CREDITS and COPYING files in the
distribution for more information.
(clpm-client:activate-context "default" :activate-asdf-integration t)
T
(clpm-client:sync :sources "quicklisp")
debugger invoked on a CLPM-CLIENT:CLPM-ERROR in thread
#<THREAD "main thread" RUNNING {1004DF0173}>:
Error interacting with CLPM! Error output:
Backtrace for: #<SB-THREAD:THREAD "main thread" RUNNING {1000BE0103}>
0: ((LAMBDA NIL :IN UIOP/IMAGE:PRINT-BACKTRACE))
1: ((FLET "THUNK" :IN UIOP/STREAM:CALL-WITH-SAFE-IO-SYNTAX))
2: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<FUNCTION (FLET "THUNK" :IN UIOP/STREAM:CALL-WITH-SAFE-IO-SYNTAX) {7F3F6D0CF6EB}>)
3: (UIOP/STREAM:CALL-WITH-SAFE-IO-SYNTAX #<FUNCTION (LAMBDA NIL :IN UIOP/IMAGE:PRINT-BACKTRACE) {1004BEB9AB}> :PACKAGE :CL)
4: (UIOP/IMAGE:PRINT-CONDITION-BACKTRACE #<SIMPLE-ERROR "Unable to find source named ~S" {1004BEB913}> :STREAM NIL :COUNT NIL)
5: ((FLET "H2" :IN CLPM-CLI/ENTRY:MAIN) #<SIMPLE-ERROR "Unable to find source named ~S" {1004BEB913}>)
6: (SB-KERNEL::%SIGNAL #<SIMPLE-ERROR "Unable to find source named ~S" {1004BEB913}>)
7: (ERROR "Unable to find source named ~S" "quicklisp")
8: (CLPM/SOURCE:GET-SOURCE "quicklisp" T)
9: ((LAMBDA NIL :IN CLPM/SYNC:SYNC))
10: (CLPM/SESSION::CALL-WITH-CLPM-SESSION #<FUNCTION (LAMBDA NIL :IN CLPM/SYNC:SYNC) {1004BD070B}> :OVERRIDE NIL :KEY NIL)
11: (SB-INT:SIMPLE-EVAL-IN-LEXENV (CLPM/SYNC:SYNC :SOURCES (QUOTE ("quicklisp"))) #<NULL-LEXENV>)
12: (SB-IMPL::SIMPLE-EVAL-PROGN-BODY ((CLPM/SYNC:SYNC :SOURCES (QUOTE ("quicklisp"))) T) #<NULL-LEXENV>)
13: (SB-INT:SIMPLE-EVAL-IN-LEXENV (PROGN (CLPM/SYNC:SYNC :SOURCES (QUOTE ("quicklisp"))) T) #<NULL-LEXENV>)
14: (EVAL (PROGN (CLPM/SYNC:SYNC :SOURCES (QUOTE ("quicklisp"))) T))
15: ((FLET "THUNK" :IN CLPM-CLI/COMMANDS/CLIENT/REPL::CLI/CLIENT/REPL))
16: (SB-IMPL::%WITH-STANDARD-IO-SYNTAX #<FUNCTION (FLET "THUNK" :IN CLPM-CLI/COMMANDS/CLIENT/REPL::CLI/CLIENT/REPL) {52FAA82B}>)
17: (CLPM-CLI/COMMANDS/CLIENT/REPL::CLI/CLIENT/REPL #<unused argument> #<unused argument>)
18: ((LAMBDA NIL :IN "/builds/clpm/clpm/cli/entry.lisp"))
19: (CLPM/CONFIG::CALL-WITH-CONFIG-SOURCE #<FUNCTION (LAMBDA NIL :IN "/builds/clpm/clpm/cli/entry.lisp") {10046DB90B}> :CONFIG-SOURCE NIL :PATHNAME NIL :OPTIONS-HT #<HASH-TABLE :TEST EQL :COUNT 0 {10046DB6A3}>)
20: (CLPM-CLI/ENTRY:MAIN)
21: ((LAMBDA NIL :IN UIOP/IMAGE:RESTORE-IMAGE))
22: (UIOP/IMAGE:CALL-WITH-FATAL-CONDITION-HANDLER #<FUNCTION (LAMBDA NIL :IN UIOP/IMAGE:RESTORE-IMAGE) {10005A573B}>)
23: ((FLET SB-UNIX::BODY :IN SB-IMPL::START-LISP))
24: ((FLET "WITHOUT-INTERRUPTS-BODY-1" :IN SB-IMPL::START-LISP))
25: (SB-IMPL::START-LISP)
Above backtrace due to this condition:
Unable to find source named "quicklisp"
Original condition:
end of file on #<SB-SYS:FD-STREAM for "descriptor 16" {10023FEB63}>
Type HELP for debugger help, or (SB-EXT:EXIT) to exit from SBCL.
restarts (invokable by number or by possibly-abbreviated name):
0: [ABORT] Exit debugger, returning to top level.
(CLPM-CLIENT::CALL-WITH-CLPM-PROC #<FUNCTION (LAMBDA (CLPM-CLIENT::PROC) :IN CLPM-CLIENT:SYNC) {10023FDB9B}>)
source: (ERROR 'CLPM-ERROR :WRAPPED-CONDITION C :ERROR-OUTPUT
(UIOP/STREAM:READ-FILE-STRING
(CLPM-PROC-ERROR-PATHNAME PROC)))
0]