comments:

Accessing ZWiki Pages in Python Scripts -- Wed, 01 Dec 2004 02:05:32 -0800 reply
The DTML works fine - regardless if I use either:

  page = page.render(request, RESPONSE)

or:

  page = page.render()

The error occurs only on IssueTracker pages.

recentchanges error --John Grey, Wed, 01 Dec 2004 06:30:20 -0800 reply
Hi, I am getting the following with with the changes link - have just upgraded to ZWiki-0.36.2 with Zope 2.7.0

Thanks, John

Site Error

An error was encountered while publishing this resource.

AttributeError? Sorry, a site error occurred.

Traceback (innermost last):

    * Module ZPublisher.Publish, line 163, in publish_module_standard
    * Module Products.PlacelessTranslationService.PatchStringIO, line 45, in new_publish
    * Module ZPublisher.Publish, line 127, in publish
    * Module Zope.App.startup, line 203, in zpublisher_exception_hook
    * Module ZPublisher.Publish, line 100, in publish
    * Module ZPublisher.mapply, line 88, in mapply
    * Module ZPublisher.Publish, line 40, in call_object
    * Module Products.ZWiki.UI, line 477, in recentchanges
    * Module App.special_dtml, line 62, in __call__
    * Module DocumentTemplate.DT_String, line 474, in __call__
    * Module DocumentTemplate.DT_Let, line 76, in render
    * Module DocumentTemplate.DT_In, line 703, in renderwob
    * Module Products.PlacelessTranslationService.TranslateTags, line 68, in render
      __traceback_info__: translate
    * Module Products.PlacelessTranslationService, line 74, in translate
    * Module Products.PlacelessTranslationService.PlacelessTranslationService, line 350, in translate
    * Module Products.PlacelessTranslationService.PlacelessTranslationService, line 282, in getCatalogsForTranslation
    * Module Products.PlacelessTranslationService.PlacelessTranslationService, line 388, in negotiate_language
    * Module Products.PlacelessTranslationService.Negotiator, line 247, in negotiate

AttributeError?

learning comparison question --DeanG, Wed, 01 Dec 2004 07:34:52 -0800 reply
According to this article "[With Plone]? The challenges come in its user interface. Content isn't automatically saved or published. You have to remember to click on icons to perform those and other functions. "

How does groking Zwiki usage compare to Plone? Maybe it's apples and oranges: I'm used to wiki users finding the whole wiki concept non-intuitive, and at some point having an eureka moment. With Plone, it is simple just tedium?

recentchanges error --John Grey, Wed, 01 Dec 2004 08:06:16 -0800 reply
sorry - just solved it myself - needed the up to date version of PlacelessTranslationService?

John

Accessing ZWiki Pages in Python Scripts --Simon Michael, Wed, 01 Dec 2004 08:12:56 -0800 reply

The DTML works fine - regardless if I use either:
 page = page.render(request, RESPONSE)

Not quite right, check the source. Should be render(page,request,RESPONSE) I think.

Upgrade problems -- Wed, 01 Dec 2004 11:44:28 -0800 reply
On objectis.net they upgraded from Zwiki-0.32 to ZWiki-0.36. At first an updateWikiOutline was necessary, then there is a key error when visiting pages in full displaymode:

  Expression: <PythonExpr here.contextX(request)>

Unfortunately I don't have access to the error log. The page doesn't say which key the error is referencing.

Term needed for non-markup URL --DeanG, Thu, 02 Dec 2004 12:19:04 -0800 reply

We have URL's that are STX formatted, HTML formatted, and automatically recognized. What's the term for the latter?

I'd like to start a page noting cases where these, and other, URL's are not well recognized, or other problems. e.g. http://denham.typepad.com/km/2004/11/selecting_5km.html :

  http://denham.typepad.com/km/2004/11/selecting_5_km_.html

Related: #347 A space is required at the end of a STX or stand-alone URL

unreasonably, he starts a blog --Simon Michael, Mon, 13 Dec 2004 01:04:41 -0800 reply
Hi all, cc'ing this to you GeneralDiscussion subscribers:

simon wrote:

I have hit my wall, in work and in life; too many things to do. I'm digging my way through it; and looking seriously at what I must do to simplify and increase focus and fulfilment.

For now I've decided to set up this blog (http://joyfulsystems.blogspot.com) as my new public .plan file; gaining some experience with the beautiful, focussed blogger app, letting others do the hosting, and enjoying a non-zope, non-zwiki app for a change.

-- Posted by simon to joyful systems http://joyfulsystems.blogspot.com/2004/12/unreasonably-he-starts-blo_110292767112148038.html at 12/13/2004 01:36:51 AM

Future blog posts will appear on the zwiki mail list, I expect, but probably not on this GeneralDiscussion page. I intend to finish the 0.37 release and look at some mail soon.

Best wishes -Simon

Term needed for non-markup URL --simon, Mon, 13 Dec 2004 01:12:07 -0800 reply

What's the term for the latter?

I have been calling those "bare urls".

simpler mail setup ? --simon, Mon, 13 Dec 2004 01:24:33 -0800 reply
I'm still not happy with our mail setup at zwiki.org; it still feels a bit confusing. GeneralDiscussion seems like the general discussion area for Zwiki, perhaps obscuring the larger, less obvious zwiki mail list. I'd love to hear suggestions for a more elegant, simpler setup.

cannot delete pages --DeanG, Mon, 13 Dec 2004 07:03:19 -0800 reply
Deleting a page requires authorization. Or maybe just pages with odd names:

avoiding deprecation warning for RecentChanges? --stefan rank, Tue, 14 Dec 2004 02:44:10 -0800 reply
On Zope 2.7 I always get a deprecation warning for the recent changes page. To avoid that I now changed the dtml code that searches the Catalog from:

 results="pages(
   lastEditTime=now-days,
   lastEditTime_usage='range:min',
   )"

to:

 results="pages(
   lastEditTime={'query': now-days,
   'range':'min'}
   )"

Shall I go ahead and do that here on zwiki.org too?

Zwiki titles as keywords in Plone -- Tue, 14 Dec 2004 10:11:00 -0800 reply
I have Zwiki pages on Plone 2.03., installed in Objectis hosting service. After upgrading to 0.36.2, the titles of Zwiki pages appear in the "Properties" form among keywords.

I write this here because I'm absent in this site for a long time, and don't know if it is an issue or some trick is needed to avoid such abnormal behaviour. Samotnik.

Zwiki titles as keywords in Plone -- Fri, 17 Dec 2004 07:58:01 -0800 reply
I'm also wondering about this; is there an option to disable this behavior? We have hundreds of keywords defined, one for every wiki page that's ever been created.

Performance sucking --Dmitry Astapov, Tue, 21 Dec 2004 05:03:24 -0800 reply
I'd like to continue my rants (started about a month ago) about performance sucking. I recently updated to Zope 2.7.3-0, python 2.3.4, ZWiki 0.36-2, and display of any (even freshly made) page in my 1700+ pages wiki takes about 8+ seconds (by wall clock) compared to 0.5-1 second for the same site on zwiki 0.18 on the same hardware. The issue is not in renderLinks, as was suggested here - I tried to put return "FOO" at it's beginning and didn't get any visible improvements.

Trace shows a lot of calls to ensureCompleteMetadataFor/metaDataFor, which (from comments in the Utils.py code) should happend if "brain" (what is it?) does not contain some "required" attribute. Presence or absence of catalog does not change things in the slightest.

I'd like to hear any ideas, even fantastic ones, cause I really want to upgrade from 0.18 :)

Performance sucking --Bob McElrath?, Tue, 21 Dec 2004 08:14:27 -0800 reply
Dmitry Astapov [zwiki-wiki@zwiki.org]? wrote:

I'd like to continue my rants (started about a month ago) about performance sucking. I recently updated to Zope 2.7.3-0, python 2.3.4, ZWiki 0.36-2, and display of any (even freshly made) page in my 1700+ pages wiki takes about 8+ seconds (by wall clock) compared to 0.5-1 second for the same site on zwiki 0.18 on the same hardware. The issue is not in renderLinks, as was suggested here - I tried to put return "FOO" at it's beginning and didn't get any visible improvements.

This is consistent with some of the benchmarks I've done:

    http://bob.mcelrath.org/times.png

I'll update my times when I get some more. I've now totally rewritten the stx parser, which should speed it up by at least a factor of 2...but we'll see.

Trace shows a lot of calls to ensureCompleteMetadataFor/metaDataFor, which (from comments in the Utils.py code) should happend if "brain" (what is it?) does not contain some "required" attribute. Presence or absence of catalog does not change things in the slightest.

You need to create a catalog, I think.

I'd like to hear any ideas, even fantastic ones, cause I really want to upgrade from 0.18 :)

If creating a catalog fixes it, this needs to be a required step in creating a new wiki, or we need to rethink some logic somewhere...

Performance sucking --Simon Michael, Tue, 21 Dec 2004 08:29:36 -0800 reply
Hi Dmitry. I'd like to see this fixed also. Those times are not normal.

Please say more about how the suggestions in my november 30 reply worked for you. Eg did you run setupCatalog ? You can have a catalog in place but still be slow, if it doesn't have the necessary fields configured.

Zwiki titles as keywords in Plone --Simon Michael, Tue, 21 Dec 2004 08:40:27 -0800 reply
On Fri, 2004-12-17 at 07:58 -0800, anonymous wrote:

We have hundreds of keywords defined, one for every wiki page that's ever been created.

Sounds like a smart fix needed here. The keywords are defined in one of the skin template, perhaps skins/standard/wikipage_macros.

Zwiki titles as keywords in Plone -- Tue, 21 Dec 2004 13:38:57 -0800 reply

meta metal:fill-slot="keywords" name="keywords" 
        tal:attributes="content here/spacedPageName;"

The second solution would be to code some "no-display" formula for a/m meta line.

Performance sucking --Dmitry Astapov, Wed, 22 Dec 2004 00:14:00 -0800 reply
Hi Simon, Bob.

For the record, here is what I've done: I have a zope 2.6.4 with zwiki 0.18. I exported my zwiki web, set up zope 2.7.3, raised cache-size to 10000 (I have iP IV 2 mHz, 512 RAM), set up zwiki 0.18, imported my zwiki web. So far - so good (everything looks like in zope 2.6.4+zwiki 0.18). Then I set up latest zwiki release (0.36.2), recoded by pages to utf-8 using script found here, run /setupCatalog and /upgradeAll. Tried to view IndexPage?. 9 seconds :(

Here are catalog indexes:

  Name                                Index type   # objects Last modified
  Title                               TextIndex    986       2004-12-21 12:25
  canonicalLinks                      KeywordIndex 1391      2004-12-21 12:25
  creationTime                        DateIndex    8         2004-12-21 12:25
  creation_time                       FieldIndex   106       2004-12-21 12:25
  creator                             FieldIndex   1         2004-12-21 12:25
  id                                  FieldIndex   957       2004-12-21 12:25
  lastEditTime                        DateIndex    1380      2004-12-21 12:25
  last_edit_time                      FieldIndex   730       2004-12-21 12:25
  last_editor                         FieldIndex   42        2004-12-21 12:25
  meta_type                           FieldIndex   1         2004-12-21 12:25
  page_type                           FieldIndex   3         2004-12-21 12:25
  parents                             KeywordIndex 201       2004-12-21 12:25
  path (indxd attrs: getPhysicalPath) PathIndex    957       2004-12-21 12:25
  rating                              FieldIndex   1         2004-12-21 12:25
  text                                TextIndex    13744     2004-12-21 12:25
  voteCount                           FieldIndex   1         2004-12-21 12:25

As I said before, presence or absence of catalog does not influence rendering time visibly - it is 8-9 seconds no matter wether I have catalog in place or not. I tried deletin Catalog and recreating it several times to verify that catalog does not affect speed.

Performance sucking --Simon Michael, Wed, 22 Dec 2004 15:36:54 -0800 reply
Also for the record: Dmitry got this performance issue fixed by also running /setupTracker to add a few more catalog fields. Another way in which "pluginization" is only half there. Thanks for pursuing this!

Issue with IssueTracker --Simon Michael, Thu, 23 Dec 2004 15:32:14 -0800 reply
Thank you Aleksander. The disk became full earlier today, fixed now.

Zwiki titles as keywords in Plone -- Sun, 26 Dec 2004 15:14:55 -0800 reply
I tried to remove the lines mentioned from wikipage and wikipage_macros templates, without effect - new pages' titles are still appearing in the list of keywords. Samotnik.

Issue with Issue hash numbers and character entities --stefan rank, Tue, 28 Dec 2004 08:20:32 -0800 reply
I just found a weird and hopefully minor bug which I am gonna test at TestIssueWithHashIssues now. Hash numbers in character entities are recognised as issues. I already changed the Regexps accordingly and will send changes later ;-)

It would be nice if someone could throw up a regular channel for ZWiki chat! -- Thu, 30 Dec 2004 20:54:35 -0800 reply
''--JohnNaughton'' it would be a good idea for someone to throw up a regular guide to the channel that ZWiki resides on. I have been using Gaim and have entered the #zope channel which folks are on but no-one knows of where to find anyone associated with ZWiki chat channel. Last time it was viewed or found was on #983 which I have on but no-one is there but myself. It was very frustrating to find seeing this was my first time using Gaim. Btw Gaim is an outstanding program, as I am finding out all the open-source products are very good as in comparison to Window's in general.

I was able to download ZOPE and the ZWiki and was up in a flash. Python is something I'm looking to learn now. I have given up using php, and Mysql, and the rest of those languages. Python seems to be a very stable but reasonable language to get into. Enough of my ranting.

But on the serious, it would perhaps be a good idea to regularly post up some permanent links where to find the ZWiki chat channel and whos on it so we could all collaborate more often.

Thxs. ''--JohnNaughton''

It would be nice if someone could throw up a regular channel for ZWiki chat! --d2m, Fri, 31 Dec 2004 01:59:27 -0800 reply
irc://irc.freenode.net/zwiki -- that is channel #zwiki on irc network irc.freenode.net