hello, I would like to test araneida with TBNL. so i start slime :
CL-USER> (asdf:operate 'asdf:load-op :tbnl)
CL-USER> (asdf:operate 'asdf:load-op :araneida)
CL-USER> (find-class 'tbnl:tbnl-araneida-handler) There is no class named TBNL:TBNL-ARANEIDA-HANDLER. [Condition of type SIMPLE-ERROR]
Restarts: 0: [ABORT] Abort handling SLIME request. 1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {98EA1D1}>)
Backtrace: 0: (SB-PCL::FIND-CLASS-FROM-CELL TBNL:TBNL-ARANEIDA-HANDLER (NIL #<FUNCTION (LAMBDA #) {1014ECD}>) T) 1: (SB-INT:EVAL-IN-LEXENV (FIND-CLASS (QUOTE TBNL:TBNL-ARANEIDA-HANDLER)) #<NULL-LEXENV>)
someone know why i have this error ?
PS : i use SBCL 0.9.4.65 (Debian), araneida 0.9-a2, and tbnl 0.8.1
thanks for any help
regards
Try loading araneida before loading TBNL. Looking at the definition of tbnl-araneida-handler, the class will only be created if the araneida package is all ready loaded.
Tim
On Oct 10, 2005, at 12:10 PM, Nicolas Lamirault wrote:
hello, I would like to test araneida with TBNL. so i start slime :
CL-USER> (asdf:operate 'asdf:load-op :tbnl)
CL-USER> (asdf:operate 'asdf:load-op :araneida)
CL-USER> (find-class 'tbnl:tbnl-araneida-handler) There is no class named TBNL:TBNL-ARANEIDA-HANDLER. [Condition of type SIMPLE-ERROR]
Restarts: 0: [ABORT] Abort handling SLIME request. 1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl- thread" {98EA1D1}>)
Backtrace: 0: (SB-PCL::FIND-CLASS-FROM-CELL TBNL:TBNL-ARANEIDA-HANDLER (NIL #<FUNCTION (LAMBDA #) {1014ECD}>) T) 1: (SB-INT:EVAL-IN-LEXENV (FIND-CLASS (QUOTE TBNL:TBNL-ARANEIDA-HANDLER)) #<NULL-LEXENV>)
someone know why i have this error ?
PS : i use SBCL 0.9.4.65 (Debian), araneida 0.9-a2, and tbnl 0.8.1
thanks for any help
regards _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
On Mon, 10 Oct 2005 12:25:27 -0700, Timothy Bennett timothy.s.bennett@gmail.com wrote:
Try loading araneida before loading TBNL. Looking at the definition of tbnl-araneida-handler, the class will only be created if the araneida package is all ready loaded.
Correct. Actually, I think this is pretty clearly stated in the docs:
http://weitz.de/tbnl/#araneida
Cheers, Edi.
Edi Weitz edi@agharta.de writes:
On Mon, 10 Oct 2005 12:25:27 -0700, Timothy Bennett timothy.s.bennett@gmail.com wrote:
Try loading araneida before loading TBNL. Looking at the definition of tbnl-araneida-handler, the class will only be created if the araneida package is all ready loaded.
Correct. Actually, I think this is pretty clearly stated in the docs:
ok i my asd file, i have this :
:depends-on (:araneida :tbnl)
but when i load my defsystem, tbnl is loaded before araneida ...
; loading system definition from /home/nicolas/.sbcl/systems/tbnl.asd into ; #<PACKAGE "ASDF4214"> ; registering #<SYSTEM TBNL {9096249}> as TBNL ; loading system definition from /home/nicolas/.sbcl/systems/url-rewrite.asd ; into #<PACKAGE "ASDF4216"> ; registering #<SYSTEM URL-REWRITE {926CBF1}> as URL-REWRITE ; loading system definition from /home/nicolas/.sbcl/systems/rfc2388.asd into ; #<PACKAGE "ASDF4218"> ; registering #<SYSTEM :RFC2388 {9453559}> as RFC2388 ; loading system definition from /usr/share/common-lisp/systems/kmrcl.asd into ; #<PACKAGE "ASDF4220"> ; registering #<SYSTEM KMRCL {96578B1}> as KMRCL ; loading system definition from /usr/share/common-lisp/systems/cl-ppcre.asd ; into #<PACKAGE "ASDF4228"> ; registering #<SYSTEM #:CL-PPCRE {99AE2C1}> as CL-PPCRE ; loading system definition from /usr/share/common-lisp/systems/cl-base64.asd ; into #<PACKAGE "ASDF4230"> ; registering #<SYSTEM CL-BASE64 {9BBBB51}> as CL-BASE64 ; registering #<SYSTEM CL-BASE64-TESTS {914C291}> as CL-BASE64-TESTS ; loading system definition from /usr/share/common-lisp/systems/md5.asd into ; #<PACKAGE "ASDF4242"> ; registering #<SYSTEM MD5 {94468F9}> as MD5 ; loading system definition from /home/nicolas/.sbcl/systems/araneida.asd into ; #<PACKAGE "ASDF4244"> ; registering #<SYSTEM ARANEIDA {96C67D1}> as ARANEIDA ; loading system definition from ; /usr/share/common-lisp/systems/split-sequence.asd into #<PACKAGE "ASDF4250"> ; registering #<SYSTEM :SPLIT-SEQUENCE {98A80B1}> as SPLIT-SEQUENCE ; loading system definition from ; /usr/share/common-lisp/systems/net-telent-date.asd into #<PACKAGE "ASDF4252"> ; registering #<SYSTEM NET-TELENT-DATE {9A6FF21}> as NET-TELENT-DATE STYLE-WARNING: implicitly creating new generic function STRINGIFY-COOKIE
i think this is not the correct mailing list for this question but is it possible to define order in dependencies ?
Cheers, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
On Mon, 10 Oct 2005 22:57:48 +0200, Nicolas Lamirault lam@tuxfamily.org wrote:
i think this is not the correct mailing list for this question but is it possible to define order in dependencies ?
I'm not aware of an easy way to do this. Maybe defining some intermediate systems in the same ASD file?
On Oct 10, 2005, at 4:57 PM, Nicolas Lamirault wrote:
ok i my asd file, i have this :
:depends-on (:araneida :tbnl)
but when i load my defsystem, tbnl is loaded before araneida ...
[ snip ]
i think this is not the correct mailing list for this question but is it possible to define order in dependencies ?
This drove me nuts. The only thing I got to work is to write:
(asdf:operate 'asdf:load-op 'araneida) (asdf:operate 'asdf:load-op 'tbnl)
or the equivalent someplace (like my .lispworks file)
I suppose I should have talked to the ASDF people about this. I don't think I tried putting the (asdf:operate 'asdf:load-op 'araneida) at the top of my project's asd file -- you might try that.
Cheers, Bob
---- Bob Hutchison -- blogs at http://www.recursive.ca/hutch/ Recursive Design Inc. -- http://www.recursive.ca/ Raconteur -- http://www.raconteur.info/
Bob Hutchison hutch@recursive.ca writes:
On Oct 10, 2005, at 4:57 PM, Nicolas Lamirault wrote:
ok i my asd file, i have this :
:depends-on (:araneida :tbnl)
but when i load my defsystem, tbnl is loaded before araneida ...
[ snip ]
i think this is not the correct mailing list for this question but is it possible to define order in dependencies ?
This drove me nuts. The only thing I got to work is to write:
(asdf:operate 'asdf:load-op 'araneida) (asdf:operate 'asdf:load-op 'tbnl)
or the equivalent someplace (like my .lispworks file)
well ... i delete all fasl files from araneida and tbnl. so in slime :
CL-USER> (asdf:operate 'asdf:load-op :araneida)
[...]
CL-USER> (asdf:operate 'asdf:load-op :tbnl)
[...] ; /home/nicolas/.sbcl/site/tbnl-0.8.1/html.fasl written ; compilation finished in 0:00:00 ; compiling file "/home/nicolas/.sbcl/site/tbnl-0.8.1/modlisp.lisp" (written 17 SEP 2005 02:58:10 PM): ; compiling (IN-PACKAGE #:TBNL) ; compiling (DEFUN WRITE-HEADER-LINE ...) ; compiling (DEFUN WRITE-HEADER-LINE/MODLISP ...) ; compiling (DEFUN WRITE-HEADER-LINE/HTTP ...) ; compiling (DEFUN SEND-OUTPUT ...) ; compiling (DEFUN NO-CACHE ...) ; compiling (DEFUN REDIRECT ...) ; compiling (DEFUN REQUIRE-AUTHORIZATION ...) ; compiling (DEFUN PROCESS-REQUEST ...) ; compiling (DEFUN READ-HTTP-HEADERS ...) ; compiling (DEFUN READ-HTTP-REQUEST ...) ; compiling (DEFUN GET-REQUEST-DATA ...) ; compiling (DEFUN LISTEN-FOR-REQUEST ...) ; compiling (DEFUN START-TBNL ...) ; compiling (DEFUN STOP-TBNL ...)
; /home/nicolas/.sbcl/site/tbnl-0.8.1/modlisp.fasl written ; compilation finished in 0:00:00 ; compiling file "/home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.lisp" ; (written 17 MAR 2005 10:16:16 PM): ; compiling (IN-PACKAGE #:TBNL)
; /home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.fasl written ; compilation finished in 0:00:01 NIL
CL-USER> (find-class 'tbnl:tbnl-araneida-handler)
There is no class named TBNL:TBNL-ARANEIDA-HANDLER. [Condition of type SIMPLE-ERROR]
Restarts: 0: [ABORT] Abort handling SLIME request. 1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {98EA1D1}>)
Backtrace: 0: (SB-PCL::FIND-CLASS-FROM-CELL TBNL:TBNL-ARANEIDA-HANDLER NIL T) 1: (SB-INT:EVAL-IN-LEXENV (FIND-CLASS (QUOTE TBNL:TBNL-ARANEIDA-HANDLER)) #<NULL-LEXENV>)
I suppose I should have talked to the ASDF people about this. I don't think I tried putting the (asdf:operate 'asdf:load-op 'araneida) at the top of my project's asd file -- you might try that.
Cheers, Bob
Bob Hutchison -- blogs at http://www.recursive.ca/hutch/ Recursive Design Inc. -- http://www.recursive.ca/ Raconteur -- http://www.raconteur.info/
On Tue, 11 Oct 2005 14:58:17 +0200, Nicolas Lamirault lam@tuxfamily.org wrote:
well ... i delete all fasl files from araneida and tbnl. so in slime :
CL-USER> (asdf:operate 'asdf:load-op :araneida)
[...]
CL-USER> (asdf:operate 'asdf:load-op :tbnl)
[...]
CL-USER> (find-class 'tbnl:tbnl-araneida-handler)
There is no class named TBNL:TBNL-ARANEIDA-HANDLER. [Condition of type SIMPLE-ERROR]
Strange - this works for me. Do you have :ARANEIDA in *FEATURES* after loading Araneida? Where did you get the Araneida code?
; compiling file "/home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.lisp" ; (written 17 MAR 2005 10:16:16 PM): ; compiling (IN-PACKAGE #:TBNL)
; /home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.fasl written ; compilation finished in 0:00:01
This looks as if your compiler didn't compile any of the forms in araneida.lisp. From that I'd assume that :ARANEIDA isn't in *FEATURES*...
You did patch Araneida as described in the TBNL docs, didn't you?
Cheers, Edi.
Edi Weitz edi@agharta.de writes:
On Tue, 11 Oct 2005 14:58:17 +0200, Nicolas Lamirault lam@tuxfamily.org wrote:
well ... i delete all fasl files from araneida and tbnl. so in slime :
CL-USER> (asdf:operate 'asdf:load-op :araneida)
[...]
CL-USER> (asdf:operate 'asdf:load-op :tbnl)
[...]
CL-USER> (find-class 'tbnl:tbnl-araneida-handler)
There is no class named TBNL:TBNL-ARANEIDA-HANDLER. [Condition of type SIMPLE-ERROR]
Strange - this works for me. Do you have :ARANEIDA in *FEATURES* after loading Araneida? Where did you get the Araneida code?
no in fact i have this :
CL-USER> *features* (:SPLIT-SEQUENCE :ARANEIDA-SERVE-EVENT :ARANEIDA-THREADS :ASDF :SB-FUTEX :SB-THREAD :ANSI-CL :COMMON-LISP :SBCL :UNIX :SB-DOC :SB-TEST :SB-PACKAGE-LOCKS :SB-UNICODE :IEEE-FLOATING-POINT :X86 :ELF :LINUX :GENCGC :STACK-GROWS-DOWNWARD-NOT-UPWARD :C-STACK-IS-CONTROL-STACK :STACK-ALLOCATABLE-CLOSURES :LINKAGE-TABLE :OS-PROVIDES-DLOPEN :OS-PROVIDES-DLADDR)
; compiling file "/home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.lisp" ; (written 17 MAR 2005 10:16:16 PM): ; compiling (IN-PACKAGE #:TBNL)
; /home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.fasl written ; compilation finished in 0:00:01
This looks as if your compiler didn't compile any of the forms in araneida.lisp. From that I'd assume that :ARANEIDA isn't in *FEATURES*...
exactly
You did patch Araneida as described in the TBNL docs, didn't you?
i use araneida 0.9-a2 from
http://code.microarray.omrf.org/araneida/araneida-latest.tar.gz
Cheers, Edi.
On Tue, 11 Oct 2005 21:05:26 +0200, Nicolas Lamirault lam@tuxfamily.org wrote:
You did patch Araneida as described in the TBNL docs, didn't you?
i use araneida 0.9-a2 from
http://code.microarray.omrf.org/araneida/araneida-latest.tar.gz
Never heard of this address but from your not answering my question I assume that you didn't patch Araneida and that is obviously the reason for it not working...
Cheers, Edi.
On Oct 11, 2005, at 3:07 PM, Edi Weitz wrote:
On Tue, 11 Oct 2005 21:05:26 +0200, Nicolas Lamirault lam@tuxfamily.org wrote:
You did patch Araneida as described in the TBNL docs, didn't you?
i use araneida 0.9-a2 from
http://code.microarray.omrf.org/araneida/araneida-latest.tar.gz
Never heard of this address but from your not answering my question I assume that you didn't patch Araneida and that is obviously the reason for it not working...
BTW, I was unable to get any response from the Araneida folks about the patch that I submitted to them (a couple of times). For whatever reason, I never pursued it. Evidently I should have.
Cheers, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
---- Bob Hutchison -- blogs at http://www.recursive.ca/hutch/ Recursive Design Inc. -- http://www.recursive.ca/ Raconteur -- http://www.raconteur.info/
thanks you all my lisp program which use araneida and tbnl works. i try to use html-template, but i think a make a mistake, because i haven't got my HTML page but the default TBNL page.
so i suppose i have an error when i create tbnl:*dispatch-table*
how could i debug this *dispatch-table* ? i try this :
(mapc #'(lambda (item) (describe-object item t)) tbnl:*dispatch-table*)
but i have an error
The value T is not of type STREAM. [Condition of type TYPE-ERROR]
Restarts: 0: [ABORT] Abort handling SLIME request. 1: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {98F37B9}>)
i see in TBNL's homepage that it is possible to enable some debug variables. but i don't know how can i see why i have the default page and not my template
i have no log about any error
Bob Hutchison hutch@recursive.ca writes:
On Oct 11, 2005, at 3:07 PM, Edi Weitz wrote:
On Tue, 11 Oct 2005 21:05:26 +0200, Nicolas Lamirault lam@tuxfamily.org wrote:
You did patch Araneida as described in the TBNL docs, didn't you?
i use araneida 0.9-a2 from
http://code.microarray.omrf.org/araneida/araneida-latest.tar.gz
Never heard of this address but from your not answering my question I assume that you didn't patch Araneida and that is obviously the reason for it not working...
BTW, I was unable to get any response from the Araneida folks about the patch that I submitted to them (a couple of times). For whatever reason, I never pursued it. Evidently I should have.
Cheers, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
Bob Hutchison -- blogs at http://www.recursive.ca/hutch/ Recursive Design Inc. -- http://www.recursive.ca/ Raconteur -- http://www.raconteur.info/
On Sat, 15 Oct 2005 17:17:21 +0200, Lam lam@tuxfamily.org wrote:
so i suppose i have an error when i create tbnl:*dispatch-table*
how could i debug this *dispatch-table* ? i try this :
(mapc #'(lambda (item) (describe-object item t)) tbnl:*dispatch-table*)
but i have an error
The value T is not of type STREAM.
That's a pretty clear error message, isn't it? The second argument of DESCRIBE-OBJECT is supposed to be a stream, and T is not a stream. Don't confuse this function with DESCRIBE which accepts a stream /designator/ as its second (optional) argument.
The above would be
(mapc #'describe tbnl:*dispatch-table*)
or you could just inspect the variable TBNL:*DISPATCH-TABLE* with the IDE of your Lisp.
But why do you need that anyway? You have modified TBNL:*DISPATCH-TABLE* so you should know what's in there...
but i don't know how can i see why i have the default page and not my template
At the moment the best you can do is probably to send the relevant code to the list so we can have a look at it.
Cheers, Edi.
Cheers, Edi.
hello, i have an other question about the couple araneida-tbnl.
i have 2 web site which uses apache + modlisp + tbnl it works very well
i would like to test tbnl with araneida, so i create another web site currently it works
but if i would like to restart my 2 others website (apache+tbnl), i have this error :
The name "ARANEIDA" does not designate any package. [Condition of type SB-KERNEL:SIMPLE-PACKAGE-ERROR]
Restarts: 0: [RETRY] Retry performing #<ASDF:LOAD-OP NIL {92544C9}> on #<ASDF:CL-SOURCE-FILE "araneida" {9702851}>. 1: [ACCEPT] Continue, treating #<ASDF:LOAD-OP NIL {92544C9}> on #<ASDF:CL-SOURCE-FILE "araneida" {9702851}> as having been successful. 2: [ABORT] Abort handling SLIME request. 3: [TERMINATE-THREAD] Terminate this thread (#<THREAD "repl-thread" {98F3871}>)
Backtrace: 0: (SB-INT:%FIND-PACKAGE-OR-LOSE "ARANEIDA") 1: (SB-INT:FIND-UNDELETED-PACKAGE-OR-LOSE "ARANEIDA") 2: (SB-FASL::FOP-PACKAGE) 3: (SB-FASL::LOAD-FASL-GROUP #<SB-SYS:FD-STREAM for "file /home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.fasl" {94A1529}>) 4: (SB-FASL::LOAD-AS-FASL #<SB-SYS:FD-STREAM for "file /home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.fasl" {94A1529}> NIL #<unavailable argument>) 5: (SB-FASL::INTERNAL-LOAD #P"/home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.fasl" #P"/home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.fasl" :ERROR NIL NIL :B$ 6: (SB-FASL::INTERNAL-LOAD #P"/home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.fasl" #P"/home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.fasl" :ERROR NIL NIL NI$ 7: (LOAD #P"/home/nicolas/.sbcl/site/tbnl-0.8.1/araneida.fasl") 8: ((SB-PCL::FAST-METHOD ASDF:PERFORM (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) #<unavailable argument> #<unavailable argument> #<ASDF:LOAD-OP NIL {92544C9}> $ 9: ((LAMBDA (SB-PCL::.PV-CELL. SB-PCL::.NEXT-METHOD-CALL. SB-PCL::.ARG0. SB-PCL::.ARG1.)) #<unavailable argument> #<unavailable argument> #<ASDF:LOAD-OP$ 10: ((SB-PCL::FAST-METHOD ASDF:PERFORM :AROUND (ASDF:LOAD-OP ASDF:CL-SOURCE-FILE)) #<unavailable argument> #S(SB-PCL::FAST-METHOD-CALL :FUNCTION #<CLOSUR$ 11: ((LAMBDA NIL)) 12: (SB-C::%WITH-COMPILATION-UNIT #<CLOSURE (LAMBDA NIL) {949D425}>) 13: (ASDF:OPERATE ASDF:LOAD-OP :TBNL) 14: (SB-INT:EVAL-IN-LEXENV (ASDF:OPERATE (QUOTE ASDF:LOAD-OP) :TBNL) #<NULL-LEXENV>) --more--
i suppose is due to the fact the preceding compilation create FASL files with araneida support
is it possible to have apache+modlisp+tbnl and araneida+tbnl on the same system and in same time ?
thanks for any help
On Tue, 18 Oct 2005 12:13:06 +0200, Nicolas Lamirault lam@tuxfamily.org wrote:
i suppose is due to the fact the preceding compilation create FASL files with araneida support
Yes.
is it possible to have apache+modlisp+tbnl and araneida+tbnl on the same system and in same time ?
I think so. You have to be sure that all of your systems also load Araneida, of course. I guess your current problems come from the fact that your TBNL/mod_lisp system definitions don't depend on Araneida. (And then again there's the difficulty to make sure that Araneida gets loaded before TBNL - we had this already...)
Cheers, Edi.
On Oct 18, 2005, at 8:21 AM, Edi Weitz wrote:
On Tue, 18 Oct 2005 12:13:06 +0200, Nicolas Lamirault lam@tuxfamily.org wrote:
i suppose is due to the fact the preceding compilation create FASL files with araneida support
Yes.
is it possible to have apache+modlisp+tbnl and araneida+tbnl on the same system and in same time ?
I think so. You have to be sure that all of your systems also load Araneida, of course. I guess your current problems come from the fact that your TBNL/mod_lisp system definitions don't depend on Araneida. (And then again there's the difficulty to make sure that Araneida gets loaded before TBNL - we had this already...)
Yes. I mentioned earlier in this thread that this load ordering problem had driven me nuts. Well this is one if the wrinkles that I had to deal with, and it is why I changed my .lispworks file so that araneida and TBNL are always loaded in that order. I know it isn't a general solution, but then on the whole, loading these isn't that big of an overhead (and delivery will take care of it if you aren't using them in a particular project).
Cheers, Bob
Cheers, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
---- Bob Hutchison -- blogs at http://www.recursive.ca/hutch/ Recursive Design Inc. -- http://www.recursive.ca/ Raconteur -- http://www.raconteur.info/
On Tue, 18 Oct 2005 11:40:59 -0400, Bob Hutchison hutch@recursive.ca wrote:
Yes. I mentioned earlier in this thread that this load ordering problem had driven me nuts.
One should note that this is actually not a weakness of ASDF. Rather, if TBNL simply listed Araneida amongst its dependencies then there wouldn't be a problem at all. The problem is only there because we don't do that as the majority (?) of the TBNL users doesn't use Araneida.
Cheers, Edi.
On Oct 18, 2005, at 11:48 AM, Edi Weitz wrote:
On Tue, 18 Oct 2005 11:40:59 -0400, Bob Hutchison hutch@recursive.ca wrote:
Yes. I mentioned earlier in this thread that this load ordering problem had driven me nuts.
One should note that this is actually not a weakness of ASDF. Rather, if TBNL simply listed Araneida amongst its dependencies then there wouldn't be a problem at all. The problem is only there because we don't do that as the majority (?) of the TBNL users doesn't use Araneida.
Yes, absolutely. I didn't intend anything else by what I said.
Cheers, Edi.
---- Bob Hutchison -- blogs at http://www.recursive.ca/hutch/ Recursive Design Inc. -- http://www.recursive.ca/ Raconteur -- http://www.raconteur.info/
On Tue, 2005-10-18 at 17:48 +0200, Edi Weitz wrote:
On Tue, 18 Oct 2005 11:40:59 -0400, Bob Hutchison hutch@recursive.ca wrote:
Yes. I mentioned earlier in this thread that this load ordering problem had driven me nuts.
One should note that this is actually not a weakness of ASDF. Rather, if TBNL simply listed Araneida amongst its dependencies then there wouldn't be a problem at all. The problem is only there because we don't do that as the majority (?) of the TBNL users doesn't use Araneida.
Ever thought of making backend-specific meta-packages (a.k. tbnl-araneida)? These could just create the correct dependencies.
Cheers RalfD
Cheers, Edi. _______________________________________________ tbnl-devel site list tbnl-devel@common-lisp.net http://common-lisp.net/mailman/listinfo/tbnl-devel
On Wed, 19 Oct 2005 11:44:03 +0200, "R. Mattes" rm@seid-online.de wrote:
Ever thought of making backend-specific meta-packages (a.k. tbnl-araneida)? These could just create the correct dependencies.
Hmm. Sounds like work... :)
On Wed, 2005-10-19 at 12:35 +0200, Edi Weitz wrote:
On Wed, 19 Oct 2005 11:44:03 +0200, "R. Mattes" rm@seid-online.de wrote:
Ever thought of making backend-specific meta-packages (a.k. tbnl-araneida)? These could just create the correct dependencies.
Hmm. Sounds like work... :)
Remove the test for the :araneida feature and then:
(in-package #:cl-user)
(defpackage #:tbnl-system (:use #:asdf #:cl))
(in-package #:tbnl-system)
(defsystem tbnl-araneida :depends-on (#:araneida #:tbnl) :components ((:file "araneida")))
Cheers, RalfD
On Wed, 19 Oct 2005 13:01:23 +0200, "R. Mattes" rm@seid-online.de wrote:
Remove the test for the :araneida feature and then:
(in-package #:cl-user)
(defpackage #:tbnl-system (:use #:asdf #:cl))
(in-package #:tbnl-system)
(defsystem tbnl-araneida :depends-on (#:araneida #:tbnl) :components ((:file "araneida")))
Thanks. I was thinking more of changes to the documentation, preparing a new release, all that stuff. Anyway, I'll probably add something like this soon.
Cheers, Edi.
On Oct 19, 2005, at 7:01 AM, R. Mattes wrote:
On Wed, 2005-10-19 at 12:35 +0200, Edi Weitz wrote:
On Wed, 19 Oct 2005 11:44:03 +0200, "R. Mattes" <rm@seid- online.de> wrote:
Ever thought of making backend-specific meta-packages (a.k. tbnl-araneida)? These could just create the correct dependencies.
Hmm. Sounds like work... :)
Remove the test for the :araneida feature and then:
(in-package #:cl-user)
(defpackage #:tbnl-system (:use #:asdf #:cl))
(in-package #:tbnl-system)
(defsystem tbnl-araneida :depends-on (#:araneida #:tbnl) :components ((:file "araneida")))
Does this avoid the undefined order of dependencies problem/feature that ASDF has?
Cheers, Bob
Cheers, RalfD
---- Bob Hutchison -- blogs at http://www.recursive.ca/hutch/ Recursive Design Inc. -- http://www.recursive.ca/ Raconteur -- http://www.raconteur.info/
On Wed, 2005-10-19 at 09:18 -0400, Bob Hutchison wrote:
On Oct 19, 2005, at 7:01 AM, R. Mattes wrote:
On Wed, 2005-10-19 at 12:35 +0200, Edi Weitz wrote:
On Wed, 19 Oct 2005 11:44:03 +0200, "R. Mattes" <rm@seid- online.de> wrote:
Ever thought of making backend-specific meta-packages (a.k. tbnl-araneida)? These could just create the correct dependencies.
Hmm. Sounds like work... :)
Remove the test for the :araneida feature and then:
(in-package #:cl-user)
(defpackage #:tbnl-system (:use #:asdf #:cl))
(in-package #:tbnl-system)
(defsystem tbnl-araneida :depends-on (#:araneida #:tbnl) :components ((:file "araneida")))
Does this avoid the undefined order of dependencies problem/feature that ASDF has?
Well, if done this way araneida.lisp in tbnl doesn't need the #+:araneida feature test any more (since it's only loaded for tbnl-araneida users).
Cheers, RalfD
Cheers, Bob
Cheers, RalfD
Bob Hutchison -- blogs at http://www.recursive.ca/hutch/ Recursive Design Inc. -- http://www.recursive.ca/ Raconteur -- http://www.raconteur.info/
On Wed, 19 Oct 2005 13:01:23 +0200, "R. Mattes" rm@seid-online.de wrote:
On Wed, 2005-10-19 at 12:35 +0200, Edi Weitz wrote:
Hmm. Sounds like work... :)
Remove the test for the :araneida feature and then:
(in-package #:cl-user)
(defpackage #:tbnl-system (:use #:asdf #:cl))
(in-package #:tbnl-system)
(defsystem tbnl-araneida :depends-on (#:araneida #:tbnl) :components ((:file "araneida")))
Well, I looked at it briefly this morning and as I said it requires some more work. If you do it this way then a couple of things that are decided when TBNL is built will be wrong/missing.
edi@vmware:/usr/local/lisp/source/tbnl$ grep -il araneida *lisp araneida.lisp modlisp.lisp packages.lisp specials.lisp util.lisp
It doesn't take a rocket scientist to fix this but it's tedious and at the moment I have better things to do. (And I don't even use Araneida...)
If someone wants to package this into a clean patch (/including/ the necessary changes to the test suite and the docs) without breaking existing functionality I'll be happy to commit it.
Cheers, Edi.