From renggli at iam.unibe.ch Wed Nov 3 23:47:26 2004 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Wed, 3 Nov 2004 23:47:26 +0100 Subject: smallwiki problem? Message-ID: <558F74D0-2DEA-11D9-A984-000393CFE6C8@iam.unibe.ch> Hi Sandro, > I'm trying smallwiki on my laptop on windows xp home and squeak3.6 but > I think there is a problem when I close and exit the image. To be more > precise, when I reload the image and restart the server, the pages in > the wiki are not updated with the last version. The problem doesn't > arise if I save the image before exit. the available persistence of SmallWiki 1 bases on dumping-out the whole wiki-tree regularly. All the wiki-data resides in the memory of the image and therefor it is also persistent if you save your image :) > I set the storage in xml mode with "server storage: SWSIXXStorage > new." and I force a snapshot with "server storage snapshot." but if I > close the image without saving, when I reload the image (and the > server), the wiki lose the pages that have been created after the > image has been saved. I'm not maintaining SmallWiki 1 for Squeak and therefor I don't know about the details of the port, the official implementation is in VisualWorks. You should send further questions to the SmallWiki mailing-list to get answers specific to the Squeak version. I have always discouraged to use of SIXXStorage for the wiki, because xml does scale badly as the wiki grows and we also observed strange problems when reading in and parsing huge xml-files. Note that SIXXStorage doesn't load the xml automatically upon opening the image, you have to do this manually. A file-based persistence has been implemented by Ralph Johnson in VisualWorks. I suggest that you use the image-storage in Squeak or wait for SmallWiki 2 that will have a much nicer persistence system with GOODS, an open-source oodb available in Squeak. Another possibility would be that you implement a GoodsStorage by yourself. This should be fairly simple and completely transparent to the rest of the wiki. Cheers, Lukas On Nov 2, 2004, at 20:01, Sandro Pinna wrote: > Hi Lukas, > I'm trying smallwiki on my laptop on windows xp home and squeak3.6 but > I think there is a problem when I close and exit the image. To be more > precise, when I reload the image and restart the server, the pages in > the wiki are not updated with the last version. The problem doesn't > arise if I save the image before exit. > I set the storage in xml mode with "server storage: SWSIXXStorage > new." and I force a snapshot with "server storage snapshot." but if I > close the image without saving, when I reload the image (and the > server), the wiki lose the pages that have been created after the > image has been saved. > We met last year in Bled and I showed you xpswiki, a tool for Extreme > Programming project management based on swiki. We are trying to port > xpswiki on smallwiki but we have encountered this problem. > > Thanks in advance > > Sandro Pinna > PhD Student DIEE-University of Cagliari-Italy -- Lukas Renggli http://www.lukas-renggli.ch From ducasse at iam.unibe.ch Thu Nov 18 19:17:18 2004 From: ducasse at iam.unibe.ch (=?ISO-8859-1?Q?st=E9phane_ducasse?=) Date: Thu, 18 Nov 2004 19:17:18 +0100 Subject: Welcome to SmallBB In-Reply-To: <200411181750.iAIHoet10298@asterix.unibe.ch> References: <200411181750.iAIHoet10298@asterix.unibe.ch> Message-ID: <14FA32CA-398E-11D9-93AC-000D932DAF46@iam.unibe.ch> Hi all David rothlisberger released a nice forum implementation in Seaside (with possibility to link to pages....). SmallBB is available on cincom store and we are in beta phase when it will be a bit more stable I will port it to Squeak.... Stef From cderoove at vub.ac.be Thu Nov 25 15:18:22 2004 From: cderoove at vub.ac.be (Coen De Roover) Date: Thu, 25 Nov 2004 15:18:22 +0100 Subject: Possible bug in list handling? Message-ID: Hi, I was toying around with the pre-seaside Smallwiki and had to format a document with a lot of nested lists combining the ordered and non-ordered typed. I found that if I enter the following text .. # A -- A.B -- A.C --- A.C.D --- A.C.E --- A.C.F -- A.D # B ## B.A --- B.A.A --- B.A.B ## B.B .. and save it, the source becomes the following: # A - A.B -- A.C --- A.C.D --- A.C.E --- A.C.F -- A.D # B ## B.A - B.A.A -- B.A.B # B.B I was wondering if this was normal behavior or if it is a possible bug. Thanks in advance, Coen De Roover From renggli at iam.unibe.ch Thu Nov 25 16:30:55 2004 From: renggli at iam.unibe.ch (Lukas Renggli) Date: Thu, 25 Nov 2004 16:30:55 +0100 Subject: Possible bug in list handling? In-Reply-To: References: Message-ID: Hi Coen, in my opinion your example doesn't make much sense: A will be a list on its own. Then there is a other list with one item containing a list of A.B, A.C, ..., and A.D. Etc ... > # A > -- A.B > -- A.C > --- A.C.D > --- A.C.E > --- A.C.F > -- A.D > # B > ## B.A > --- B.A.A > --- B.A.B > ## B.B What I read from your list items, I think you wanted to create a single nested list like this: # A #- A.B #- A.C #-- A.C.D #-- A.C.E #-- A.C.F #- A.D # B ## B.A ##- B.A.A ##- B.A.B ## B.B But you are right of course, the saved wiki-text should be the same if your edit it again, in *all* cases. Unfortunately I don't have written any tests to handle deformed lists like the following one (it shows the same problem as your example): #- line 1 #- line 2 Cheers, Lukas -- Lukas Renggli http://www.lukas-renggli.ch From cderoove at vub.ac.be Thu Nov 25 16:43:26 2004 From: cderoove at vub.ac.be (Coen De Roover) Date: Thu, 25 Nov 2004 16:43:26 +0100 Subject: Possible bug in list handling? In-Reply-To: References: Message-ID: On 25 Nov 2004, at 16:30, Lukas Renggli wrote: > in my opinion your example doesn't make much sense: A will be a list > on its own. Then there is a other list with one item containing a list > of A.B, A.C, ..., and A.D. Etc ... > # A > #- A.B > #- A.C > #-- A.C.D > #-- A.C.E > #-- A.C.F > #- A.D > # B > ## B.A > ##- B.A.A > ##- B.A.B > ## B.B Aah .. off course! I'm sorry .. didn't get much sleep last night :) Greetings, Coen