From: Blaino
Subject: Problem loading PortableAllegroServe
Date: 
Message-ID: <1132082134.943292.46210@g49g2000cwa.googlegroups.com>
Hi,

I'm working through Peter Seibel's Practical Common Lisp, trying to get
PortableAllegroServe (PAS) to work with my lispbox (0.6) + clisp.  When
I load INSTALL.lisp in the PAS's home directory I get the following
error and backtrace:

---------------------------------------------------------------------------------------------------------------------
SYSTEM::%FIND-PACKAGE: There is no package with name #1="ASDF4567"

   [Condition of type SYSTEM::SIMPLE-PACKAGE-ERROR]

Restarts:
  0: [USE-VALUE] You may input a value to be used instead.
  1: [RETRY] Retry performing #<LOAD-OP NIL #x19F48831> on
#<ASERVE-SYSTEM::ACL-FILE "proxy" #x19F48461>.
  2: [ACCEPT] Continue, treating #<LOAD-OP NIL #x19F48831> on
#<ASERVE-SYSTEM::ACL-FILE "proxy" #x19F48461> as having been
successful.
  3: [SKIP] skip this form and proceed
  4: [STOP] stop loading file
  5: [ABORT] Abort handling SLIME request.
  6: [ABORT] ABORT

Backtrace:
  0: frame binding variables (~ = dynamically):
  | ~ SYSTEM::*FASOUTPUT-STREAM* <--> NIL

  1: <1> #<COMPILED-FUNCTION SYSTEM::CHECK-VALUE>
<2> #<SYSTEM-FUNCTION SYSTEM::%FIND-PACKAGE>
EVAL frame for form (SYSTEM::%FIND-PACKAGE "ASDF4567")

  2: <1> #<SYSTEM-FUNCTION MAPCAR> 2
EVAL frame for form (MAPCAR #'LOAD (INPUT-FILES ASDF::O ASDF::C))

  3: APPLY frame for call (:LAMBDA '#<LOAD-OP NIL #x19F48831>
'#1=#<ASERVE-SYSTEM::ACL-FILE "proxy" #x19F48461>)

  4: EVAL frame for form ((LAMBDA #1=(ASDF::O ASDF::C) (DECLARE
(SYSTEM::SOURCE #)) #2=(DECLARE (IGNORABLE ASDF::O ASDF::C)) #3=(MAPCAR
#'LOAD (INPUT-FILES ASDF::O ASDF::C))) #:G3926 #:G3927)
--------------------------------------------------------------------------------------------------------------

I don't know what #1="ASDF4567" is or how to track it down.  Presumably
a package???

Interestingly, when I skip this error I can get some functionality.
For instance, if I enter:

WEB> (start :port 2001 :listeners 0)

I get a blank line.  No prompt.  Pointing my browser to localhost/2001
shows the error from AllegroServe, which is, I guess, good.  However,
entering

(publish-file :path "/hello.html" :file "/tmp/html/hello.html")

in the blank line where the prompt should be (and after generating
hello.html and putting it in the right place) does not result in any
change to the webpage.

Thanks, everyone - I appreciate any help/ideas,
Blaine
From: Timofei Shatrov
Subject: Re: Problem loading PortableAllegroServe
Date: 
Message-ID: <437a61cc.18356941@news.readfreenews.net>
On 15 Nov 2005 11:15:34 -0800, "Blaino" <·············@hotmail.com>
tried to confuse everyone with this message:

>
>Hi,
>
>I'm working through Peter Seibel's Practical Common Lisp, trying to get
>PortableAllegroServe (PAS) to work with my lispbox (0.6) + clisp.  When
>I load INSTALL.lisp in the PAS's home directory I get the following
>error and backtrace:
>
>---------------------------------------------------------------------------------------------------------------------
>SYSTEM::%FIND-PACKAGE: There is no package with name #1="ASDF4567"

Oh, these are really painful. For some reason these packages, while
never mentioned in the source code appear in some .fasl files. I don't
know what causes this, but your best bet is to remove its occurence
manually from the fasl file.

>
>Interestingly, when I skip this error I can get some functionality.
>For instance, if I enter:
>
>WEB> (start :port 2001 :listeners 0)
>
>I get a blank line.  No prompt.  Pointing my browser to localhost/2001
>shows the error from AllegroServe, which is, I guess, good.  However,
>entering
>
>(publish-file :path "/hello.html" :file "/tmp/html/hello.html")
>
>in the blank line where the prompt should be (and after generating
>hello.html and putting it in the right place) does not result in any
>change to the webpage.
>

The problem with CLISP is that it has no threads, so you won't be able
to do two things at the same time, i.e. running the server and
publishing new stuff. You must interrupt the server and then run
updates.

-- 
|a\o/r|,-------------.,---------- Timofei Shatrov aka Grue ------------.
| m"a ||FC AMKAR PERM|| mail: grue at mail.ru  http://grue3.tripod.com |
|  k  ||  PWNZ J00   || Kingdom of Loathing: Grue3 lvl 18 Seal Clubber |
`-----'`-------------'`-------------------------------------------[4*72]