Hello, all<br><br>I am developing an install script (ebuild) for ucw-dev for Gentoo.  Everything is working fine, including dependancy building, and the example, l10n and admin applications work fine out of the box - both if launched from sbcl (using (load "
start.lisp")) and if launched as a service (using /usr/bin/ucwctl -l sbcl start).<br><br>Notably, when launched using ucwctl, the settings in /etc/ucw/conf.lisp seem to be significant.<br><br>The issue appears when I install the ucw-intro application (from Ties Stuij's UCW Intro).  It loads just fine when launched from sbcl (load "
start.lisp"), but launching with ucwctl fails with the errors listed at the end of this post (in the ucw.dribble log).<br><br>To install the ucw-intro sample code, I did the following:<br><br>(1) Created a directory with the asd file and lisp files.
<br>(2) Made a symlink to the asd file from the /etc/ucw/applications.d directory<br>(3) Changed /etc/ucw/start.lisp to include the following:<br><br>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.0  (Linux)"><meta name="AUTHOR" content="AJ Armstrong"><meta name="CREATED" content="20060727;22442400">
<meta name="CHANGED" content="16010101;0">
        
        
        
        
        
        <style>
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>




<p style="margin-bottom: 0in;">(eval-when (:compile-toplevel
:load-toplevel :execute)<br>(asdf:oos 'asdf:load-op :ucw)<br>(asdf:oos 'asdf:load-op :ucw.admin)<br>(asdf:oos 'asdf:load-op
:ucw.examples)</p>


<p style="margin-bottom: 0in;">  #+(or (and sbcl sb-unicode) (and
clisp unicode))<br>(asdf:oos 'asdf:load-op
:ucw.examples.l10n)<br>(asdf:oos 'asdf:load-op :ucw-intro))</p>






<p style="margin-bottom: 0in;">;;;; Tell UCW which apps to serve<br>(setf ucw.system:*ucw-applications*
'(ucw-user::*example-application*<br>#+(or (and sbcl sb-unicode) (and clisp unicode))<br>ucw-user::*l10n-example-application*<br>ucw::*admin-application*<br>ucw-intro::*ucw-intro-application*))</p><p style="margin-bottom: 0in;">
<br></p>(4) Changed /etc/ucw/conf.lisp to include the following:<br><br>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.0  (Linux)"><meta name="AUTHOR" content="AJ Armstrong"><meta name="CREATED" content="20060727;22442400">
<meta name="CHANGED" content="16010101;0">
        
        
        
        
        
        <style>
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>

<p style="margin-bottom: 0in;"></p>







<p style="margin-bottom: 0in;">(setf *ucw-applications-directory*
"/etc/ucw/applications.d/")<br></p><p style="margin-bottom: 0in;">...<br></p>





<p style="margin-bottom: 0in;">#+ (or allegro openmcl)<br>(progn<br>(setf *ucw-systems* '(:ucw.admin
:ucw.examples :ucw-intro))<br>(setf *ucw-applications*
'(ucw-user::*example-application*<br>ucw::*admin-application*<br>ucw-intro::*ucw-intro-application*)))</p>
<br><br>(5) Other than that, things are as per the latest ucw-dev tarball.<br><br><br><br>LAST SEVERAL EVENTS  FROM UCW.DRIBBLE (Apologies for Long Post)<br>------------------------------------------------------------------------------------------
<br>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.0  (Linux)"><meta name="AUTHOR" content="AJ Armstrong"><meta name="CREATED" content="20060727;22442400">
<meta name="CHANGED" content="16010101;0">
        
        
        
        
        
        <style>
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>








<p style="margin-bottom: 0in;">35: (SB-FASL::INTERNAL-LOAD<br>#P"/etc/ucw/start.lisp"<br>#P"/etc/ucw/start.lisp"<br>:ERROR<br>NIL<br>NIL<br>NIL<br>:DEFAULT)</p>
<p style="margin-bottom: 0in;">36: (LOAD "/etc/ucw/start.lisp")</p>
<p style="margin-bottom: 0in;">37: (SB-INT:EVAL-IN-LEXENV (LOAD (POP
CL-LAUNCH:*ARGUMENTS*)) #<NULL-LEXENV>)</p>



<p style="margin-bottom: 0in;">38: (SB-FASL::LOAD-AS-SOURCE<br>#<SB-IMPL::STRING-INPUT-STREAM
{1002F9F701}><br>NIL<br>NIL)</p>
<p style="margin-bottom: 0in;">39: (LOAD
#<SB-IMPL::STRING-INPUT-STREAM {1002F9F701}>)</p>
<p style="margin-bottom: 0in;">40: (CL-LAUNCH::LOAD-STRING "(load
(pop cl-launch:*arguments*))")</p>














<p style="margin-bottom: 0in;">41: (CL-LAUNCH::RUN<br>:PATHS<br>("/etc/ucw/applications.d/")<br>:LOAD<br>NIL<br>:SYSTEM<br>NIL<br>:DUMP<br>NIL<br>:RESTART<br>NIL<br>:INIT<br>"(load (pop
cl-launch:*arguments*))"<br>:QUIT<br>NIL)</p>
























<p style="margin-bottom: 0in;">42: (SB-INT:EVAL-IN-LEXENV<br>(FUNCALL (INTERN (STRING :RUN)
:CL-LAUNCH)<br>:PATHS<br>'("/etc/ucw/applications.d/")<br>:INIT<br>"(load (pop
cl-launch:*arguments*))"<br>:QUIT<br>NIL)<br>#<NULL-LEXENV>)<br>43: (SB-INT:EVAL-IN-LEXENV<br>(PROGN<br>(SET-DISPATCH-MACRO-CHARACTER #\#<br>#\!<br>#'(LAMBDA (STREAM CHAR SB-DEBUG:ARG)<br>(DECLARE (IGNORE CHAR SB-DEBUG:ARG))
<br>(VALUES (READ-LINE STREAM))))<br>(LOAD "/usr/bin/cl-launch"
:VERBOSE NIL :PRINT NIL)<br>(FUNCALL (INTERN (STRING :RUN)
:CL-LAUNCH)<br>:PATHS<br>'("/etc/ucw/applications.d/")<br>:INIT<br>"(load (pop
cl-launch:*arguments*))"<br>:QUIT<br>NIL))<br>#<NULL-LEXENV>)</p>





<p style="margin-bottom: 0in;">44: (SB-IMPL::PROCESS-EVAL-OPTIONS<br>((SB-EXT:DISABLE-DEBUGGER)<br>"(progn(set-dispatch-macro-character #\\# #\\! #'(lambda(stream
char arg)(declare(ignore char arg))(values (read-line stream))))(load
\"/usr/bin/cl-launch\" :verbose nil :print nil)<br>(funcall(intern(string :run):cl-launch)
:paths '(\"/etc/ucw/applications.d/\" ) :init \"(load
(pop cl-launch:*arguments*))\" :quit nil))"))<br></p><p style="margin-bottom: 0in;">45: (SB-IMPL::TOPLEVEL-INIT)<br></p><p style="margin-bottom: 0in;">46: ((LABELS SB-IMPL::RESTART-LISP))</p>





<p style="margin-bottom: 0in;">unhandled condition in
--disable-debugger mode, quitting<br>;<br>; compilation unit aborted<br>;   caught 1 fatal ERROR condition<br>;   caught 2 STYLE-WARNING conditions</p>
<br clear="all"> <br>-- <br>--------------<br>AJ Armstrong (aja)<br><a href="mailto:aja@clanarmstrong.com">aja@clanarmstrong.com</a><br>