CLiki Bugs

On this page, you can leave a description of any problems you encounter in using CLiki (no software is perfect). Hopefully you are a programmer and know how to write good bug reports, but if not, at least try to describe enough that another person can find the problem. Then somebody will come here and work out the details later.

Before adding bug reports, please check TODO List to make sure they've not already been reported.

Well as much as I can see I have the same problems and are currently trying to solve them. I found some other Problem while using a multi-threaded SBCL but it seems I'm not yet able to subscribe to the proper mailing list. (Friedrich)

Please add new bugs at the bottom. A name and a timestamp on each would be appreciated


20030305;jshrager@stanford.edu;http://nostoc.stanford.edu:8000/cliki/index -- I've run a number of times into a very damaging but hard to reproduce bug wherein when you press SAVE to submit an edited page, what actually gets to the CLiki appears to be NIL. I.e., you lose everything, including your recent edits; the "new" page appears to be completely empty, and if you re-edit you get the Describe ...? thing, as though the page was completely deleted. (As it turns out, you can go BACK a couple of times, assuming that you notice the problem, otherwise, .... well, you better be making backups often!) This appears to happen more often when the page contains a lot of complex HTML, but I've seen it as well in simpler pages. I've sent what is a reproducable case (at least on our installation) to Dan -- for obvious reasons I don't want to put it in here! - Jeff

20030319;jshrager@stanford.edu; In further experimentation I've determined that the problem appears to be the size of the page. If it's more than ~6100 characters +- ~50, it loses. (Hard to tell the exact number because of line turns etc.)


Write a CLIKI-HOWTO that has: 1) material on how to edit Cliki (not just "style"), 2) material on how to get a Cliki up and running. How is this a bug? More to the point, what's stopping you from writing it yourself? You could even make it a cliki page, though I'd request you think of a better name tham "CLIKI-HOWTO" first Well, I would if I knew enough about how CLiki works, I truly would...This is a "bug" in the "wishlist" sense. This is a "documentation bug." "CLIKI-HOWTO" just looked "traditional" (in a GNU/Linux sort of way).


Off-by-one bug in search result display?

Searching for

franz
resulted in 20 hits, listed on 3 pages, with 10 hits per page. The third page looked like this:

20 results found, showing results 21 to 20.
Result page: Previous 1 2 3


Editing a page tends to convert HTML entities (ampersand g t semicolon) into real characters (right-angle-bracket).

2004-07-23

It seems that CLiki is tranlating these entities when the page is edited, but the exact place in the code where this happens eludes me. I was hoping to hack in a fix on the version of CLiki that I use. Does anyone have suggestions on where it should go?

I almost have a patch for this, see http://lemonodor.com/archives/001039.html -- John Wiseman

And for CLikis over which you have no control, see http://lemonodor.com/archives/001151.html for a Grease monkey script that fixes the handling of HTML entities -- John Wiseman



When editing the Home file, I get an error message that hints at the code trying to save the file as the root data-directory. Does anyone know how to manually set the Home page?
It would be nice to be able to see a diff against the previous version of a page. Example: http://www.emacswiki.org/cgi-bin/wiki/RecentChanges

See http://lemonodor.com/archives/001079.html for a patch that adds the ability to diff different versions of a page -- John Wiseman


2004-05-16
The search at the url http://www.cliki.net/admin/search?words=(%3ABODY%20%22string%20search%20and%20replace%22)&start=10 (the second page of a search for "string search and replace") seems to return only part of the page. It's like the output just gets cut off randomly for some reason.
2004-05-11 07:58 CDT (GMT-6)

David Douthitt

The links to alpha.onshored.com fail. This affects the UncommonSQL page in particular, but probably others.


We at CTO experienced problems using CLiki with the reverse-proxy-listener, whereby apache would mishandle (in two different ways) URLs containing a %3A (encoded colon) and URLs containing a %2F (encoded slash). It was a design bug in the way mod_proxy implemented the ProxyPass feature. We filed a bug and provided a fix in the bugzilla database of the apache project: Bug 29554. The fix seems to work for us. -- Far�? 2004-06-16
Is there a separate wishlist? I couldn't find one. Here are some suggestions for improvement: And now for a real bug (although a smaller one): If you try to load a page (directly, not via the edit link) that is not existent but for which a link already exists on any other cliki page, a docuemnt of zero length is served and this causes a proxy error (502 proxy error: Document contains no data). -- Max-Gerd Retzlaff 2005-02-22


Timestamps printed in the ALT tags for revisions are in GMT. They should be in UTC instead, since that is the universal 'timezone'.


2005-04-11, Raymond Toy

Here is a small patch that allows cliki to work with CMUCL.

--- orig/cliki_0.4.3/defpackage.lisp    Sun Aug 10 20:16:04 2003
+++ cliki_0.4.3/defpackage.lisp Fri Mar 11 16:24:49 2005
@@ -1,4 +1,5 @@
 (in-package :CL-USER)
+(require :gray-streams)
 (defpackage "CLIKI"
   (:export cliki-view-handler cliki-edit-handler cliki-instance cliki-view
           cliki-url-root
@@ -21,7 +22,7 @@
           
   (:import-from #+sbcl "SB-GRAY" #+cmu "EXT"
                 "FUNDAMENTAL-CHARACTER-OUTPUT-STREAM")
-  (:use "NET.TELENT.DATE" "COMMON-LISP" "SB-GRAY" "ARANEIDA" "SB-BSD-SOCKETS"))
+  (:use "NET.TELENT.DATE" "COMMON-LISP" #-cmu "SB-GRAY" "ARANEIDA" #-cmu "SB-BSD-SOCKETS"))
 
 ;;; language for inline searches and stuff
 (defpackage "CLIKI-PAGES" (:use #| nil |# ))

With this change, CLiki works very nicely with CMUCL. It currently runs our site just fine.


2005-04-26, Kevin Reid

When viewed in Safari, H3 headings on this CLiki appear larger than H2 headings.

I suggest that the stylesheet be changed to specify sizes for either all headings (H1-H6) or none of them. (It currently does for H3 and no others.)


2005-06-21, Bradford W. Miller

After updating the page on Theorem Provers, I note that the text box did not expand to include the new material, nor did the version number increment. However, re-editing the page does have the new material in the box. Perhaps this is an issue with Safari?


2005-07-04, Kevin Reid

I have noticed several occurrences of pages appearing in the Recent Changes list, and obviously having been edited, while the "Revisions:" section lists no past revisions; there will be a single non-link number which is either 1 or 0.

The most recent occurrence of this is the page Nikodemus Siivola, which got spammed. web.archive.org shows that the page had previous non-spam versions (and I restored the latest of those), but they were not available within CLiki.

I have been informed that these are "pages which were last edited before versioning was implemented", in which case the bug is specifically that the pre-versioning text is not being saved as a revision when the page becomes a page-with-versioning.


5-July-2005, Robert Marlow

I just downloaded and installed cliki. It seems when I try to create a new page SAVE-PAGE creates a CLIKI-PAGE object with a pathname but no file yet exists at the pathname. So later when VERSION-OPEN-P is called (by CAN-SAVE-AS-VERSION-P) it throws an error because both PAGE-PATHNAME and FILE-WRITE-DATE return nil to < where a number is expected.

The cliki object has a DATA-DIRECTORY slot initialised correctly to a directory which exists and is writeable (it's already created an admin directory within it). Is there some other kind of initialisation I've missed?

--update-- I fixed this along with a couple of other problems. I'm using cliki 0.4.3 rather than CVS (telent's CVS seems to be down) so the problems are probably already fixed in CVS. If not lemme know and I can submit a patch.


For the wishlist. 2005-11-22, John Wiseman

Package search currently results in a pretty spare, unordered list of results. E.g. the following CLiki tag:

:(search :term (package) :title "

asdf-installable packages available on cliki

")

results in something like this:

asdf-installable packages available on cliki

(See ASDF-INSTALL for an example.)

I think it would be a huge improvement if the returned list were at least displayed in alphabetical order. And while we're at it, why not give a short description of the package that's automatically generated from the package's CLiki page, minion style?

asdf-installable packages available on cliki

ACL-COMPATACL-COMPAT is a free set of compatibility layers for parts of Franz' ACL API for several Lisp systems.
CL-PPCRECL-PPCRE is a portable, Perl-compatible regular expression library by Edi Weitz.
CL-WHOCL-WHO is yet another specimen of the Lisp Markup Languages category, that is, it's a Web library to create (X)HTML from S-expressions.
ClikiA free collaborative hypertext (Web) authoring program, written in Common Lisp.
CLSQLCLSQL is a Database interface Library for Common Lisp that can access a number of different SQL database engines.
clsql-pg-introspectclsql-pg-introspect (aka cookies1) is a package for introspecting a PostgreSQL database.
RTShort for "regression testing", an older (last update 1995) Test Framework from the CMU AI Repository.
TBNLTBNL is a library to create dynamic web pages.
etc.


2005-11-22 John Wiseman

How about making the (or a) "Text Formatting" link on edit pages open a popup window containing the editing instructions? I think it's pretty handy to easily be able to have a window showing the cliki syntax in view while editing a page.

2006-01-06 LV

On windows platforms the Internet Explorer browser always has trouble with the CLiki header area that shows in steelblue, doubling the blue color down to the title of the page (screenshot) until receiving a mouseover in that area. File admin/cliki.css: #navbar { margin: 1em 0 -0.5em 0 } - the problem is in negative margin. By adjusting the file this goes away. Sample page loads cleanly on IE and with Firefox.

Note: I think this bug should be considered as hight priority - it is very easy to fix while it leaves quite unpleasant impression about Cliki and whole Common Lisp community to newcomers (from my own experience).

Note2: [2007-Feb-11] This cross-browser compatability CSS issue style bug is perhaps moot now since most Microsoft IE browsers are generally being upgraded these days to versions that display the page less catastrophically. See this image for an updated example that is just barely usable: IE version 7.0.5730.11 http://img180.imageshack.us/img180/7042/clikibugspngmz1.png

Question1: Still, if there is a CSS expert that can re-confirm the correct way to deal with this I would like to hear about it. Is there a legitimate reason for insisting on the negative value, or was it a typo from the beginning?

2006-03-14 I tried to modify the pages with my name be it Friedrich or FriedrichDominicus the edit fails with: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request POST /edit/FriedrichDominicus. Reason: Document contains no data I have no idea why this happens. Regards Friedrich

2006-03-15

Another strange thing the following in a pre form is not properly rendered

 (
I have to write
 (
Does anyone know why this  happens?
FriedrichDominicus

Neither of the ways Friedrich tries to render the form survives a second page save.

Friedrich: If you use Firefox, you might try my Grease Monkey script -- John Wiseman

Thanks for the hint maybe I will use it, but I'm not sure yet. FriedrichDominicus

2006-05-17

When doing Search for "asdf" (under Mozilla) I received page with header about 98 results found, showing first 10,... but no result were actually shown. Spying View->PageSource confirms that none was generated

Zbyszek Jurkiewicz

2006-06-10 Can not edit the following page any longer (not all content is diplayed also) AnEssayAboutWhy.

FriedrichDominicus


2006-11-06 The RSS feed doesn't seem to be working properly anymore. I'm not sure why...

Pukku


2006-11-10

I am not able to create a new cliki page. Kindly check this problem.

Vamsee.


Searching for gtk breaks cliki search. http://www.cliki.net/admin/search?words=gtk

zig.


2007-05-14 Raymond Toy

Sometimes when doing a search in cliki, the page says so many result, but doesn't actually display them. (See above for some related messages, such as the one just above, and one from 2006-05-17). The error says there was no method for write-sequence on a cliki::strip-html-stream. Not sure what the real solution might but, the following fixes the issue for me (with CMUCL).

;; RTOY:  Is this right?
(defmethod stream-write-sequence ((stream strip-html-stream) b &optional (start 0) end)
  (stream-write-sequence (strip-html-stream-output-stream stream)
			 b
			 start end))

I added this to the end of strip-html-stream.lisp.

The few searches I've tried this seems to be ok. Didn't have anything fancy, though.


2008-04-01 Raymond Toy

I believe there's a long standing bug (issue?) with the standard blue banner at the top of each wiki page. It renders correctly with all other browsers, but IE doesn't. Sometimes with IE, the blue part extends down into the text.

Here is a fix (workaround? hack?) for this issue. In the CSS for cliki there are several lines that say

#navbar {
	MARGIN: 1em 0px -0.5em
}

If these lines are removed, IE displays the blue part fine. No apparent affect on Firefox.

[2008-04-03 Alastair Bridgewater

Found one like which said effectively that. Commenting it out shrunk the banner slightly on firefox and IE, and also eliminated the initial overdraw in IE. After superficial testing, I left it commented out.]


Suggest that the site markup add to the bottom of each page (perhaps in the block that contains "edit page" and the like) a timestamp indicating when the page was last updated.

4-17-08 Bradford W. Miller

[2008-04-17 Alastair Bridgewater

Mouseover the latest revision in the list at the bottom of the page. It should display a timestamp. Same with any previous revision.]


Cells won't download:
CL-USER> (asdf-install:install 'cells)
gets this error:
Server responded 404 for GET http://www.cliki.net/Cells?download
   [Condition of type ASDF-INSTALL::DOWNLOAD-ERROR]

[Mike Travers 5/23/08]


2008-07-11 Raymond Toy

It would be really nice if there was a way to compare different versions to see what changed. Even something as simple as doing a diff -u between two versions and wrapping the output in preformatted output.

I could probably do this myself, but I don't know how to go about asking the user what to versions to diff.


2008-07-18 Raymond Toy

Well, I should have googled harder. Lemonodor has a cliki diff package that look like it will do what I want. Haven't tried it, but it looks like it will work.


This page is linked from: CLiki   CLiki News   index   Text Formatting   Wish List  

CLiki pages can be edited by anyone at any time. Imagine a fearsomely comprehensive disclaimer of liability. Now fear, comprehensively