comments:

Zwiki 0.37 released --Simon Michael, Sun, 02 Jan 2005 16:09:15 -0800 reply
Summary: Improved rating form, a file -> wiki page import tool, chinese & hungarian translation updates, bugfixes.

Last release was 0.37rc1 on 11/30; there was no december release. Burned out!

Traffic on the zwiki list, GeneralDiscussion page and #zwiki channel have been steady. There's now also a related blog at http://joyfulsystems.blogspot.com . My connectivity is poor, temporarily.

Happy new year, everyone. -Simon

http://zwiki.org

http://zwiki.org/ReleaseNotes

Zwiki 0.37.0 2005/01/02

Summary

Improved rating form, a file -> wiki page import tool, chinese & hungarian translation updates, bug fixes.

Last release was 0.37rc1 on 11/30; there was no december release.

Changes

Editing

Rating

Mail

Issue tracking

General - i18n

General - skins

General

Zwiki 0.37.0rc1 2004/11/30

Changes

Page hierarchy

Rating

Mail

General - i18n

General - skins

It would be nice if someone could throw up a regular channel for ZWiki chat! --simon, Sun, 02 Jan 2005 16:23:57 -0800 reply
Thanks for the feedback John. I assume you found it on second look - it's the first discussion link on this page and on FrontPage. Welcome!

CommonPlace --Racing Pitoune, Mon, 03 Jan 2005 18:17:31 -0800 reply
Thanks, Jordan. I'm already trying your new templates. Happy New Year to all!

Synchronising Zwikis -- Fri, 07 Jan 2005 06:03:05 -0800 reply
I have got into the habit of using a Zwiki on my computer at home to keep general notes. It would be good if I also had a Zwiki on my laptop that could be synchronised periodically with the one on my home computer. I wonder what is the best way to do this. I was thinking that using APE (http://hathawaymix.org/Software/Ape) + Unsion (http://www.cis.upenn.edu/~bcpierce/unison/) could be a way. Has anyone had any experience of using this or any other synchronisaion technique?

I have begun to set up APE with my Zwiki and see two things that might complicate synchronisation:

  1. APE uses the DTML mapper and creates files with a dtml extension. If you create a new file in a Zwiki folder with a dtml extension it will create a DTML Document object and not a Zwiki page.
  2. Some of the things in the ".properties" files like creation time look like they should not be copied from one site to another.

Sychronising Zwikis --Bob McElrath?, Fri, 07 Jan 2005 10:03:56 -0800 reply
There is a Zope tool called ZSyncer. which does this. I set this up exactly as you mention -- to mirror my notes with my laptop. But these days I rarely find myself in an odd place with my laptop and without internet for it...so I haven't been using it.

My attempts to get APE working failed miserably. It's very complex for what should be a very simple function.

Another option might be a FileSystemSite? (available in Plone or standalone) or LocalFS with rsync or unison.

I use unison every day, but to synchronize other files, not Zope. It's very very good. Beats the pants off rsync, and easier to use.

Sychronising Zwikis --Simon Michael, Fri, 07 Jan 2005 14:54:41 -0800 reply
I was thinking the same. Unison sounds great, and ZSyncer is relatively simple-minded, but it would avoid confusing zope with files. You could use curl to automate zsyncer operations. If you come up with a procedure that's useful for you, please write it down on the wiki.

Synchronising Zwikis -- Wed, 12 Jan 2005 06:22:20 -0800 reply
The problem with Zsyncer is that it is not symmetrical in the way that Unison is. You can have two zsyncers, each pushing content to one another, but the one doing the pushing always thinks that it has the best version of files that are now different, which is not always the case.

The other reason for having ZWiki content on the file system is to guarantee access to it. On updating ZWikis? and copying data from my home computer to my laptop, I have encountered numerous UnicodeDecodeError? problems. I have no idea how to get around them. The content that raises these errors is now inaccessible to me. If the content were on a file system, I would have numerous tools to view the content and convert everything to plain old ASCII to keep ZWiki happy.

UnicodeDecodeError? -- Wed, 12 Jan 2005 19:49:45 -0800 reply
I finally tracked down my UnicodeDecode? errors with ZWiki 0.37.0 (Zope 2.7.3, Python 2.3.4). It appears that the _v_blocks attribute of Zwiki pages contained Unicode strings, and DTML does not like that. Applying the encode function to the strings before passing them to the DTML routines makes the problem go away.

Script to show all empty pages?? -- Fri, 14 Jan 2005 03:30:13 -0800 reply
I am sure this is quite simple, but I am new on ZWiki :)

I am doing some project related documentation with zwiki and I have added some empty pages to indicate things I want to write down later. The thing got very large and I am a bit lost when I try to find all pages with no content.

Is there a simple way to do this?

Thanks!!

Zwiki friendly outliner --DeanG, Fri, 14 Jan 2005 09:07:06 -0800 reply
Is there an outliner you use which is friendly to bringing outlines to and from Zwiki?

How to lock a document while someone edits it?? -- Tue, 18 Jan 2005 01:36:11 -0800 reply
Problem is: There seems to be no locking (using V 0.36), when I edit a document for lets dsay half an hour or so without saving my work. During that time someone else can edit and can change the document, which leads to an error whn I tr to save my changes.

Is there some kind of lock I could use? I mean not with the external editor.

Thanks!!

BTW: Is this is correct place to ask questions? There are not much answers coming through.

How to lock a document while someone edits it?? --Simon Michael, Tue, 18 Jan 2005 09:04:17 -0800 reply
On Tue, 2005-01-18 at 01:36 -0800, Anonymous wrote:

Problem is: There seems to be no locking (using V 0.36), when I edit a document for lets dsay half an hour or so without saving my work. During that time someone else can edit and can change the document, which leads to an error whn I tr to save my changes.

Is there some kind of lock I could use? I mean not with the external editor.

Hi there. What kind of error ? I assume you mean an edit conflict warning preventing your save, if someone else has edited since you started (and if the users are distinguishable by zwiki username cookie, zope authentication credentials, or ip address).

I think you want it to lock out other editors as soon as you begin a through-the-web edit, as webdav locks (and external editor) already do. I guess that behaviour is the slightly more useful. Why do you need it ? What do the rest of you think ?

BTW: Is this is correct place to ask questions? There are not much answers coming through.

Yes it is. Could you do me a favour and add this note to AboutZwikiDiscussion:

Where to ask Zwiki questions

Here are places to get zwiki questions answered, roughly in order of effectiveness. As of 2005/01, pretty much all zwiki questions in any of these will be answered by me, in occasional bursts (SM; except if I'm not on #zwiki); and occasionally by others.

#zwiki
pseudo-real-time; be patient, persistent
#zope, #plone, #wiki, #ubuntu-doc
worth a try also
GeneralDiscussion
largest gathering of zwiki aficionados (GeneralDiscussion subscribers plus zwiki list subscribers).
other pages on zwiki.org
you'll reach that page's subscribers plus zwiki list subscribers. Makes sense if your question strongly belongs on that particular page, otherwise probably best to use one of the general discussion forums.
the zwiki mail list
like GeneralDiscussion, except fewer newcomers. Your post will be delayed for moderation if you're not a list subscriber.
the plone user and plone dev lists
readership includes a number of zwiki-in-plone users; I scan periodically
the general zope list, zope CMF list and zope 3 list
I scan periodically
the ubuntu doc and ubuntu users lists
ditto

Windows, Local Host, -- Tue, 18 Jan 2005 12:32:44 -0800 reply
plone instal, where does the wiki directory be

typo - please delete -- Tue, 18 Jan 2005 12:34:11 -0800 reply

Windows, Local Host, --DeanG, Tue, 18 Jan 2005 12:41:31 -0800 reply
(My apologies if I'm responding to a typo..but)

Did you install via HowToInstallZwikiInPlone?

Can you do a ZMI Find for "wiki" and see what it returns?

How to lock a document while someone edits it?? -- Wed, 19 Jan 2005 02:46:15 -0800 reply
The problem yesterday was:

I have 2 users, A and B. User A is editing a description. User B opens the same document and add a vew lines, clicks "save". User A is still editing the document. When user A clicks "save" he gets an error message, not the "edit conflict" box!. As user A hits the back button the whole text was gone and this is the major problem (sorry, haven't mentioned it in my last message).

I tried this local on my machine with 2 browser windows and to user account: In this case I get "edit conflict" box.

I havent tried the external editor thing so far, I read the docs and about the webdav lock. this makes sence.

I think you want it to lock out other editors as soon as you begin a through-the-web edit, as webdav locks (and external editor) already do. I guess that behaviour is the slightly more useful. Why do you need it ?

Excactly :) IMHO user B should be notified when he clicks "edit" that someone else is currently editing the document. What is if 4 people are starting to edit the same document? I think this cannot be solved with the tips mentioned on the "edit conflict" page.

Thanks,

Patrick

How to lock a document while someone edits it?? --Simon Michael, Wed, 19 Jan 2005 07:23:50 -0800 reply
That sounds like a bug - could you reproduce it and send the traceback from /error_log/manage_main ?

How to lock a document while someone edits it?? -- Thu, 20 Jan 2005 01:42:01 -0800 reply
I will try this tomorrow.

Tutorial for adding a ZCatalog to ZWiki -- Fri, 21 Jan 2005 10:14:15 -0800 reply
Is there a tutorital for adding a full-text search ZCatalog to an existing ZWiki installation? I've tried going through the ZCatalog instructions on the Zope site but the catalog doesn't seem to recognised ZWiki pages - type Unknown - as such they are not indexed. We're running ZWiki 0.36 and Zope 2.7.3.

Thanks, Vrai.

Tutorial for adding a ZCatalog to ZWiki --Simon Michael, Fri, 21 Jan 2005 11:02:41 -0800 reply
I've just added the HowToInstallAZwikiCatalog link on that page.

Is it time we adopted the policy of always using a catalog ?

I think the performance/memory/reliability implications are harmless at this point or at least sufficiently familiar and/or obscure (poorly expressed, sorry). So I'm in favour. Let's think about what we need to add by way of installation and upgrade support.

Tutorial for adding a ZCatalog to ZWiki --Bob McElrath?, Fri, 21 Jan 2005 11:29:49 -0800 reply
Simon Michael [simon@joyful.com]? wrote:

I've just added the HowToInstallAZwikiCatalog link on that page.

Is it time we adopted the policy of always using a catalog ?

I think the performance/memory/reliability implications are harmless at this point or at least sufficiently familiar and/or obscure (poorly expressed, sorry). So I'm in favour. Let's think about what we need to add by way of installation and upgrade support.

Well performance/memory/reliability improvements are due to the fact that zwiki implicitly needs the zcatalog and goes digging for zcatalog stuff in the zodb on every pageview. We already depend on zcatalog for reasonable performance. So yes, we should be installing a zcatalog with every zwiki.

Is there any reason to not use the zcatalog?

Tutorial for adding a ZCatalog to ZWiki --Simon Michael, Fri, 21 Jan 2005 12:52:32 -0800 reply
On Fri, 2005-01-21 at 11:29 -0800, Bob McElrath? wrote:

Is there any reason to not use the zcatalog?

It was (and is) possible to imagine scenarios where someone's wiki might perform better without a catalog (too obscure to think about now imho). So I didn't want to force it on people. Also I wanted a wiki to work with as little extra stuff as possible and probably didn't know how to guarantee proper setup of a catalog.

Tutorial for adding a ZCatalog to ZWiki --DeanG, Fri, 21 Jan 2005 13:14:02 -0800 reply

Is there any reason to not use the zcatalog?

No. But there are annoyances when dealing with SubWikis?. Biggest being re-catalogging.

Have we determined why Zwiki's searchpage fails on catalog searches? Last time I analyzed whether to switch my archaic wiki from brute search to catalog I came across some search inconsistencies which would be nice to analyze on a populated server such as ZWiki or ZopeWiki. (Inconsistencies?: text in links was not searched, wildcard usage...)

Tutorial for adding a ZCatalog to ZWiki --Bob McElrath?, Fri, 21 Jan 2005 14:23:39 -0800 reply
Simon Michael [simon@joyful.com]? wrote:

On Fri, 2005-01-21 at 11:29 -0800, Bob McElrath? wrote:
Is there any reason to not use the zcatalog?

It was (and is) possible to imagine scenarios where someone's wiki might perform better without a catalog (too obscure to think about now imho). So I didn't want to force it on people. Also I wanted a wiki to work with as little extra stuff as possible and probably didn't know how to guarantee proper setup of a catalog.

"Extra stuff"? ZCatalog comes with zope, right? So from a user perspective there is no difference between a wiki auto-installed zcatalog and one without, no?

Actually on my long TODO list is examining this logic in renderLink, to see if I can reduce or remove the zodb-miss performance hit. But, forcing zcatalog seems a good way to go too, IMHO.

...poking around the Catalog object in my wiki...this thing is complicated. Also manage_catalogView shows many objects (corresponding to my pages) of type "Unknown" -- that's a little disconcerting. Can we make it say "ZWiki Page"? Also it is mangling latex. At one time it was possible on my pages to search for latex equations, but it appears that the catalog chops things into words, and chops latex into a random assortment that does not match the original expression.

Also I note on ZwikiAndZCatalog that in general the catalog is far from being utf8-aware or i18n-ized...with all the i18n work going on, I think zwiki needs ZCatalog to be utf-8 aware, and my stx patches so stx works with utf-8.

Tutorial for adding a ZCatalog to ZWiki --Simon Michael, Fri, 21 Jan 2005 14:27:46 -0800 reply
On Fri, 2005-01-21 at 13:14 -0800, DeanG wrote:

Have we determined why Zwiki's searchpage fails on catalog searches?

No. The search is vulnerable to data-dependent errors (often unicode or catalog index related) so it breaks in this annoying way from time to time. To debug these, I move the dtml-try down to right above the dtml-except. Then you can see the catalog error:

The fix will probably involve updating the whole catalog, or tracking down and reindexing one problem page, or upgrading TING2 to get latest bugfixes. The real fix would be.. well I don't think there is a better one, as long as we're using the catalog. This demonstrates one of the costs of using it.

subwikis ? --simon, Fri, 21 Jan 2005 14:39:22 -0800 reply
Does anyone use the (rudimentary, experimental) SubWiki features other than that nut^H^H^Hguy Goodmanson ? Dean why do you use them ?

upgraded TextIndexNG? --Simon Michael, Fri, 21 Jan 2005 14:59:45 -0800 reply
Wow, I had a really old version installed here. I've upgraded the TextIndexNG? product, used in zwiki.org and zopewiki.org catalogs, from 1.09 to 2.2b1. There are some upgrade problems, and zwiki.org search isn't working yet.

We could continue this thread on the mail list or the appropriate issue page, rather than GeneralDiscussion, I guess. Or not.

rel=nofollow tag -- Sat, 22 Jan 2005 20:38:18 -0800 reply
Will the rel=nofollow tag adopted by Google become an option for Zwiki for new http links added to pages. JohnDeBruyn (January 22, 2005)

upgraded TextIndexNG? --simon, Sun, 23 Jan 2005 17:51:16 -0800 reply
zwiki.org and zopewiki.org catalog search is working again.

If you're interested, I'm using TextIndexNG? 2.2b1. I had to rename its product directory to TextIndexNG2?. I removed, re-added and re-indexed the TING2 indexes (Title and text) in both zwiki.org and zopewiki.org. I used the TING2 defaults except for changing the encoding to utf-8 and enabling left truncation. This seems to be working well, though it's not the most memory-efficient configuration. zopewiki's search page is different from zwiki.org's at present, it is not doing left-side wildcards.

rel=nofollow tag --simon, Sun, 23 Jan 2005 17:57:10 -0800 reply
Not sure John. We were just discussing this on the list

need more reports like this --simon, Sun, 23 Jan 2005 20:59:33 -0800 reply
DeanG: IRC overshadowed by web-browser. BTW, an excellent post on deploying weblogs in a corporation "The "problems" with "blogs for work" have been almost identical to the problems with wikis for work." -http://www.drunkandretired.com/2005/01/enterprise-blogging-in-practice-notes.html

Yes indeed, thanks for that.

ZCatalog -- Tue, 25 Jan 2005 08:43:00 -0800 reply
Does a ZCatalog help with general performance problems other than searching? I've got ZWiki 0.37, Zope 2.7.4 and Python 2.4 and a Wiki with about 900 pages in it. It's very slow to retrieve pages, approximately 7 seconds, on our intranet, for the FrontPage!

I have a feeling that the catalog is not working but I can't see any obvious way to tell ...

Cheers, Steve

ZCatalog --Bob McElrath?, Tue, 25 Jan 2005 10:56:25 -0800 reply
anonymous [zwiki-wiki@zwiki.org]? wrote:

Does a ZCatalog help with general performance problems other than searching? I've got ZWiki 0.37, Zope 2.7.4 and Python 2.4 and a Wiki with about 900 pages in it. It's very slow to retrieve pages, approximately 7 seconds, on our intranet, for the FrontPage!

I have a feeling that the catalog is not working but I can't see any obvious way to tell ...

Yes, this is the performance issue I was talking about. Run FrontPage/setupCatalog, and performance will return to normal...

Anonymous display error -- Tue, 25 Jan 2005 16:03:21 -0800 reply
Just installed 0.37. Changed permissions so Anonymous may add comments and add & edit wiki pages. There appears a box at the bottom of the page with the title new for this page: This made no sense to me until I looked at the page with my login. It seems to be removing the actions that the Anonymous use doe not have access to, but it leaves an unconnected entry box with a prompt fragment new + '' + for this page:. ---Jerry

Searh error on Zwiki.org -- Tue, 25 Jan 2005 16:06:43 -0800 reply
While attempting to figure out what "new for this page" meant, I attempted to search for this, including the quotes. I got a nasty Zope QueryParserError

Searh error on Zwiki.org -- Tue, 25 Jan 2005 17:56:49 -0800 reply
yep, its the quotes

ZCatalog --Knight, Steve, Wed, 26 Jan 2005 17:19:48 -0800 reply

Yes, this is the performance issue I was talking about. Run FrontPage/setupCatalog, and performance will return to normal...

I've tried that but it doesn't seem to make any difference. The Catalog does appear to contain a lot of objects, the only thing that looks suspect is that the object types are all unknown. I can imagine that this might make Zwiki skip them. Short of digging around in the code, what else can I do?

Cheers

Steve

ZCatalog --Bob McElrath?, Wed, 26 Jan 2005 17:51:26 -0800 reply
Knight, Steve [Steve.Knight@kbcfp.com]? wrote:

Yes, this is the performance issue I was talking about. Run FrontPage/setupCatalog, and performance will return to normal...

I've tried that but it doesn't seem to make any difference. The Catalog does appear to contain a lot of objects, the only thing that looks suspect is that the object types are all unknown. I can imagine that this might make Zwiki skip them. Short of digging around in the code, what else can I do?

That should do it.

You might also try FrontPage/upgradeAll, though I'm not sure if that actually does anything with the catalog...

ZCatalog --Simon Michael, Wed, 26 Jan 2005 18:11:20 -0800 reply
Hi Steve.. normally /setupCatalog will make your wiki perform about like zwiki.org or better. If you come on #zwiki I might be able to help troubleshoot this, especially if I can look at your wiki.

ZCatalog --Simon Michael, Thu, 27 Jan 2005 16:57:27 -0800 reply
On Wed, 2005-01-26 at 07:58 +0000, Knight, Steve wrote:

Yes, this is the performance issue I was talking about. Run FrontPage/setupCatalog, and performance will return to normal...

I've tried that but it doesn't seem to make any difference.

For the record, this was #993. We forgot to suggest running /setupTracker.

Searh error on Zwiki.org --Simon Michael, Thu, 27 Jan 2005 17:14:38 -0800 reply
Thanks, posted these as #1012 and #1013.

Script to show all empty pages --Simon Michael, Thu, 27 Jan 2005 18:03:00 -0800 reply
On Fri, 2005-01-14 at 03:30 -0800, Anonymous wrote:

I am doing some project related documentation with zwiki and I have added some empty pages to indicate things I want to write down later. The thing got very large and I am a bit lost when I try to find all pages with no content.

You could look at the WikiStats dtml wiki page for some ideas. Does that help ?

Or something like this:

 <dtml-in "[p for p in pages() if p.size == 0]">
 <a href="&dtml-id;">&dtml-Title;</a><br>
 </dtml-in>

Script to show all empty pages --simon, Thu, 27 Jan 2005 18:12:49 -0800 reply
Oops; click the link below to see the corrected example.

renderActionIcon error -- Thu, 27 Jan 2005 19:28:09 -0800 reply
After upgrading some Plone & Archetypes product modules all of my wiki pages in my plone site broke. Instead of showing the page I'm getting an AttributeError?: renderActionIcon. The last few lines of the traceback are:

Module Products.PageTemplates.TALES, line 221, in evaluate - Line 55, Column 20 - Expression: content_actions, actionid, None)>

Any ideas, anyone?

renderActionIcon error --Simon Michael, Thu, 27 Jan 2005 21:52:27 -0800 reply
Not familiar to me at all.. did only wiki pages break ? Perhaps reinstall Zwiki in plone setup ?

Second Zwiki acquiring Wiki contents of first ZWiki -- Mon, 31 Jan 2005 14:46:55 -0800 reply
I have a site with two Zwikis in different folders in Plone. Each folder has a FrontPage.

This is all so that I can have different groups with different permissions for each ZWiki. I don't want the same users who can create items in Zwiki folder B to be able to do the same things in Zwiki folder A.

When I do this, the Wiki Contents tab for Zwiki B shows the contents for Zwiki A instead, apparently via acquisition? And child pages added to Zwiki B do not then show up in the Wiki Content tab for same.

Is there some way to get the Wiki Contents tab not to acquire from other Zwiki folders?