Error loading hunchentoot

67 views
Skip to first unread message

Marko Kocić

unread,
Mar 15, 2012, 11:03:44 AM3/15/12
to quic...@googlegroups.com
Hi, when trying to load hunchentoot under windows using SBCL I get the following error:

* (ql:quickload :hunchentoot)
To load "hunchentoot":
  Load 1 ASDF system:
    hunchentoot
; Loading "hunchentoot"

debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR in thread
#<THREAD "initial thread" RUNNING {23D487B1}>:
  Error while trying to load definition for system rfc2388 from pathname
  C:/Users/mkocic/quicklisp/dists/quicklisp/software/rfc2388-20120107-http/rfc2388.asd:

     decoding error on stream
     #<SB-SYS:FD-STREAM
       for "file C:\\Users\\mkocic\\quicklisp\\dists\\quicklisp\\software\\rfc2388-20120107-http\\rfc2388.asd"
       {24E1A2D1}>
     (:EXTERNAL-FORMAT :CP1252):
       the octet sequence (129) cannot be decoded.

Type HELP for debugger help, or (SB-EXT:QUIT) to exit from SBCL.

restarts (invokable by number or by possibly-abbreviated name):
  0: [ATTEMPT-RESYNC                        ] Attempt to resync the stream at a
                                              character boundary and continue.
  1: [FORCE-END-OF-FILE                     ] Force an end of file.
  2: [INPUT-REPLACEMENT                     ] Use string as replacement input,
                                              attempt to resync at a character
                                              boundary and continue.
  3: [ABORT                                 ] Abort loading file "C:\\Users\\mkocic\\quicklisp\\dists\\quicklisp\\software\\rfc2388-20120107-http\\rfc2388.asd".

  4: [REINITIALIZE-SOURCE-REGISTRY-AND-RETRY] Retry finding system rfc2388
                                              after reinitializing the
                                              source-registry.
  5:                                          Give up on "hunchentoot"
  6:                                          Exit debugger, returning to top
                                              level.

((FLET #:HANDLER3756 :IN ASDF::LOAD-SYSDEF)
 #<SB-INT:STREAM-DECODING-ERROR {24E393C1}>)
0]

I was able to use quickload and use hunchentoot with CCL. I remember that I didn't have this problem before.

Regards,
Marko

Zach Beane

unread,
Mar 15, 2012, 11:20:53 AM3/15/12
to quic...@googlegroups.com
Marko Kocić <ma...@euptera.com> writes:

> Hi, when trying to load hunchentoot under windows using SBCL I get the
> following error:
>
> * (ql:quickload :hunchentoot)
> To load "hunchentoot":
> Load 1 ASDF system:
> hunchentoot
> ; Loading "hunchentoot"
>
> debugger invoked on a LOAD-SYSTEM-DEFINITION-ERROR in thread
> #<THREAD "initial thread" RUNNING {23D487B1}>:
> Error while trying to load definition for system rfc2388 from pathname
> C:/Users/mkocic/quicklisp/dists/quicklisp/software/rfc2388-20120107-http/
> rfc2388.asd:

The system file is encoded as UTF-8.

I'm not sure how to configure things so that SBCL on Windows starts with
UTF-8 as its default encoding for loading sources, but that's what you
need to do.

Zach

Reply all
Reply to author
Forward
0 new messages