From gwking at metabang.com Tue Dec 2 22:48:41 2008 From: gwking at metabang.com (Gary King) Date: Tue, 2 Dec 2008 17:48:41 -0500 Subject: [tinaa-devel] Bug with MAKE-ITERATOR In-Reply-To: <62820.88.73.199.124.1227399852.squirrel@mail.stardawn.org> References: <64491.88.73.195.175.1227101561.squirrel@mail.stardawn.org> <248ABA36-F1CB-47DF-97F0-900E9B02541F@metabang.com> <62820.88.73.199.124.1227399852.squirrel@mail.stardawn.org> Message-ID: <24F0936C-3A44-4512-9FFA-F48FBFF7B1FB@metabang.com> Hi Leslie, I haven't forgotten this; I'm just swamped. I did reproduce it so I have hopes of getting to it soon... On Nov 22, 2008, at 7:24 PM, Leslie P. Polzer wrote: > > Hi Gary, > >> I was just looking at this and I'm confused. > > Thanks for taking time to look at it, I appreciate it. > > >> I'm stumbling through getting weblocks installed (far too difficult. >> sigh) > > Try clbuild, you just have to do "install weblocks" with it. > > >> but I don't get the error you are reporting using Allegro CL. (I >> still can't get weblocks to install using SBCL because I get all of >> these such and such is not a valid logical pathname errors). > > Maybe you're using a stale version of Weblocks. > > We use and test it every day with SBCL. > > >> In any case , the error you saw seems to be caused by a call to make- >> iterator with `nil` as its parameter. This leaves make-iterator >> feeling sad. But I don't understand how it happened since the make- >> iterator is guarded by a `awhen` that should mean that it is only >> executed if `it` isn't `nil`. Your patch certainly prevents the error >> but it shouldn't be needed. After all, the expansion is something >> like: >> >>> >>> (let ((it (default-initargs (instance part)))) >>> (when it >>> (html ((:div :class "table-summary") (:h3 "Default initargs") >>> ((:table :id "default-initargs") >>> (let ((iterator (make-iterator it)) (count 1)) >>> >>> ... >>> >>> )) >> >> Can you see how the awhen expands in your environment; perhaps that's >> where the problem is actually occurring. I'd certainly like to get to >> the bottom of this. > > I think AWHEN is fine. > > The problem is not MAKE-ITERATOR being called with NIL, but > MAKE-ITERATOR *returning* NIL. > > The patch works around exactly that. I suspect some problem > with DYNAMIC-CLASS but I don't know enough of it (and > cl-containers and probably more of your stuff) to get at it > in reasonable time... > > Leslie > > -- > LinkedIn Profile: http://www.linkedin.com/in/polzer > Xing Profile: https://www.xing.com/profile/LeslieP_Polzer > Blog: http://blog.viridian-project.de/ > > > _______________________________________________ > tinaa-devel mailing list > tinaa-devel at common-lisp.net > http://common-lisp.net/cgi-bin/mailman/listinfo/tinaa-devel -- Gary Warren King, metabang.com Cell: (413) 559 8738 Fax: (206) 338-4052 gwkkwg on Skype * garethsan on AIM From sky at viridian-project.de Wed Dec 3 08:25:27 2008 From: sky at viridian-project.de (Leslie P. Polzer) Date: Wed, 3 Dec 2008 09:25:27 +0100 (CET) Subject: [tinaa-devel] Bug with MAKE-ITERATOR In-Reply-To: <24F0936C-3A44-4512-9FFA-F48FBFF7B1FB@metabang.com> References: <64491.88.73.195.175.1227101561.squirrel@mail.stardawn.org> <248ABA36-F1CB-47DF-97F0-900E9B02541F@metabang.com> <62820.88.73.199.124.1227399852.squirrel@mail.stardawn.org> <24F0936C-3A44-4512-9FFA-F48FBFF7B1FB@metabang.com> Message-ID: <61856.88.73.254.142.1228292727.squirrel@mail.stardawn.org> > Hi Leslie, > > I haven't forgotten this; I'm just swamped. > > I did reproduce it so I have hopes of getting to it soon... Cool, thanks! :) Leslie -- LinkedIn Profile: http://www.linkedin.com/in/polzer Xing Profile: https://www.xing.com/profile/LeslieP_Polzer Blog: http://blog.viridian-project.de/ From kiuma72 at gmail.com Tue Dec 23 11:39:04 2008 From: kiuma72 at gmail.com (Andrea Chiumenti) Date: Tue, 23 Dec 2008 12:39:04 +0100 Subject: [tinaa-devel] hello Message-ID: <4d3bc9370812230339s2c9b1131k148269911c3cfa40@mail.gmail.com> Hello, I've a problem with tinaa. I'm not able to generate documentation for my project and some others. I have sbcl-1.0.23 the command (tinaa:document-system 'package :claw-html #P"/home/kiuma/temp/clawdocs/claw-as/") returns There is no class named NIL. [Condition of type SIMPLE-ERROR] Restarts: 0: [RETRY] Retry SLIME REPL evaluation request. 1: [ABORT] Return to SLIME's top level. 2: [TERMINATE-THREAD] Terminate this thread (#) Backtrace: 0: (SB-PCL::FIND-CLASS-FROM-CELL NIL NIL T) 1: ((SB-PCL::FAST-METHOD MAKE-INSTANCE (SYMBOL)) # # NIL)[:EXTERNAL] 2: ((SB-PCL::FAST-METHOD TINAA:DISPLAY-PART (TINAA::SIMPLE-PAGE-WRITER TINAA::DOCLISP-CLASS (EQL :DETAIL))) ..)[:EXTERNAL] 3: ((SB-PCL::FAST-METHOD TINAA::DOCUMENT-PART-TO-FILE (TINAA::BASIC-PAGE-WRITER TINAA::BASIC-DOCLISP-PART)) ..) 4: ((LAMBDA (TINAA::SUB-PART)) #) 5: ((SB-PCL::FAST-METHOD METABANG.CL-CONTAINERS:ITERATE-NODES (METABANG.CL-CONTAINERS:ALIST-CONTAINER T)) ..) 6: (TINAA::MAP-SUBPART-KINDS # #) 7: ((LABELS TINAA::DO-IT) # #) 8: ((SB-PCL::FAST-METHOD METABANG.CL-CONTAINERS:ITERATE-NODES (METABANG.CL-CONTAINERS:ALIST-CONTAINER T)) ..) 9: (TINAA::MAP-SUBPART-KINDS # #) 10: ((LABELS TINAA::DO-IT) # #) 11: ((SB-PCL::FAST-METHOD METABANG.CL-CONTAINERS:ITERATE-NODES (METABANG.CL-CONTAINERS:ALIST-CONTAINER T)) ..) 12: (TINAA::MAP-SUBPART-KINDS # #) 13: ((LABELS TINAA::DO-IT) # #) 14: ((SB-PCL::FAST-METHOD METABANG.CL-CONTAINERS:ITERATE-NODES (METABANG.CL-CONTAINERS:ALIST-CONTAINER T)) ..) 15: (TINAA::MAP-SUBPART ..... Trying to generate documentation for lift produce the same result, but for hunchentoot it completes well. I don't know how to make it work! Any help would be appreciated. Thanks in advance, kiuma