Archived GeneralDiscussion.


comments:

How can I use zwiki to maintaint product document? -- Thu, 05 Aug 2004 11:09:26 -0700 reply
How can I use zwiki to maintaint product document?

How can I use zwiki to maintaint product document? --Simon Michael, Thu, 05 Aug 2004 19:31:43 -0700 reply
Hi.. have you looked at the documentation and content on zwiki.org ? Do you mean something special ?

KeyError? on issue_statuses --Fred Yankowski, Fri, 06 Aug 2004 09:24:52 -0700 reply
I'm getting KeyError?: issue_statuses exceptions in my site when some msnbot spider tries to access example.org/wiki/FrontPage/issuetracker. That page name is bogus because I've never used the ZWiki issue-tracker features on my site, but that page name appears as an href value in the FrontPage. How can I avoid these exceptions? Do I need to create an issue_statuses property somewhere? I'm using ZWiki 0.33.0 with Plone 2.0.3 and Zope 2.7.2-0.

KeyError? on issue_statuses --Simon Michael, Fri, 06 Aug 2004 09:58:02 -0700 reply

That page name is bogus because I've never used the ZWiki issue-tracker features on my site, but that page name appears as an href value in the FrontPage.
Hi Fred. How does that link appear on your page ? Do you have an issues link in the site navigation links at top left ?

KeyError? on issue_statuses --Fred Yankowski, Fri, 06 Aug 2004 10:40:54 -0700 reply
The link does not appear. It's the href of an A element with accesskey="t" and empty content, apparently as generated by line 83 of wikipage_macros.pt.

KeyError? on issue_statuses --SimonMichael, Fri, 06 Aug 2004 11:27:06 -0700 reply
I've pushed a CodeRepos patch making those links conditional like the visible ones further down in wikipage_macros.pt. I think that should take care of it, thanks for the report.

KeyError? on issue_statuses --Fred Yankowski, Fri, 06 Aug 2004 12:03:59 -0700 reply
I pulled in that updated wikipage_macros.pt and I see that the bogus link to issuetracker is no longer generated, which should keep web spiders from trying to access it. Thanks.

Accessing that issuetracker page will still cause an exception, which is unfortunate as some HTML error response such as 404 seems more appropriate, but I guess I can live with the exception as nothing should link to such a page on my site.

Zwiki - my language works - BUT character encoding does not --Simon Michael, Sat, 07 Aug 2004 14:04:36 -0700 reply

It worked for me to change the encoding and decoding of restructured text documents in etc/zope.conf to utf-8. Just add the following two lindes: "rest-input-encoding utf-8", "rest-output-encoding utf-8".

That's good to know. Did you notice this affecting just pages in RST mode, or all pages ?

Make Zwiki appear in my language? --Simon Michael, Sat, 07 Aug 2004 14:22:20 -0700 reply
Racing Pitoune wrote:

Grab the latest ZWiki, install Placeless, compile .po files into .mo files (as described in the install procedure)
As noted, the po compilation is not required, PTS does this for you. Maybe someone can update that plone howto.

Problem with changing ZWikiPage-Permissions --Simon Michael, Sat, 07 Aug 2004 14:24:11 -0700 reply
This is caused by a bad declareProtected declaration somewhere in one of the products. I don't think Zwiki has any of these since 0.32.

Restrict Access to zwiki/zope to host box --Simon Michael, Sat, 07 Aug 2004 14:27:11 -0700 reply

multiple users but instead is a single user repository for organising information. It would be better if I could configure the zwiki/zope/zserver to not interact with any other machines on the internal network at all. (a network firewall keeps outside users at bay).

Yes.. this is best done outside of zope. Either in your webserver config, or your machine's firewall configuration.

Saving zwiki attachments on filesystem... --LarryPrikockis?, Mon, 09 Aug 2004 11:27:22 -0700 reply
There appears to have been some discussion of this over at AssociateUploadsWithWikiPages and http://zwiki.org/IssueNo0389BetterHandlingOfAttachmentsNeeded, but nothing recent. Does anyone have a simple recipe for saving page attachments as say, an ExternalFile type rather than File?

Saving zwiki attachments on filesystem... --Simon Michael, Mon, 09 Aug 2004 14:33:40 -0700 reply
You'd have to change _createFileOrImage in Editing.py.

Should it work like this ?

Or.. ?

looking at coreblog --SimonMichael, Mon, 09 Aug 2004 16:47:32 -0700 reply
http://zwiki.org/blog ..

... --Simon Michael, Tue, 10 Aug 2004 11:36:29 -0700 reply
I updated and consolidated http://zwiki.org/DiscussionPages and simplified FrontPage a bit.

... --Simon Michael, Tue, 10 Aug 2004 11:46:35 -0700 reply
I'm asking people this question:

What do you think is most needed in Zwiki-dom right now, whether it be in the product, zwiki.org, development process, or community ?

Feel free to reply here or on #zwiki. Answers emerging so far include

Cheers -Simon

important features poll -- Tue, 10 Aug 2004 11:58:23 -0700 reply
Admin panel looks useful, while a radical take on DIFF or History would be helpful, current version leaves much to be desired in terms of readability (and server stress?). I'd like to note that I don't think click-able rollback is a feature needed beyond the ZMI (even with it's last-pack perspective), but that cut-and-paste rollback would be useful.

My feature to add to the list: Preview. My doc. item to add to the list: Zwiki's friends in the Zope world: Plone and Zope products which work WITH (not just alongside) zwiki (beyond catalog). Last time I tried this I was frustrated that I couldn't get a ZPoll? working within a wiki page. Is this any better in the Plone product world? I'm primarily looking for how folks USE the products together, not so much how they're architecturally aware of each other. Another example would be making the /wiki/blog WikiWord? aware.

New ZWiki Features Feedback -- Tue, 10 Aug 2004 12:00:49 -0700 reply
The feature I'd like to see most is a simple button (or set of controls) that allowed a wiki to shift back and forth between wiki and issue-tracker mode. More documentation would be nice (and might even cover my previous request!). More docs on how to set up forms to allow end users to input info into a wiki without necessarily allowing that same user to see the wiki content (as in a bug report submission form). Finally, a number of my wiki users were initially exposed to OpenWiki? (http://www.openwiki.com/) and keep requesting a Preview window. Thanks!

New ZWiki Features Feedback --Bob McElrath?, Tue, 10 Aug 2004 12:03:50 -0700 reply
I would like to see IssueTracker spit off into a separate product, as I'm not sure what it has to do with a wiki...but it is a nice bug management system that one might want to optionally add onto zwiki.

New ZWiki Features Feedback --Simon Michael, Tue, 10 Aug 2004 13:22:49 -0700 reply

The feature I'd like to see most is a simple button (or set of controls) that allowed a wiki to shift back and forth between wiki and issue-tracker mode.
Can you say more about this. Do you mean just adding/removing tracker features to a wiki (like today's /setupTracker), or toggling whether any page is an ordinary or issue page ?

New ZWiki Features Feedback --S.D., Tue, 10 Aug 2004 14:24:14 -0700 reply

Do you mean just adding/removing tracker features to a wiki (like today's /setupTracker), or toggling whether any page is an ordinary or issue page ?

I mean Option 2, toggling. The folks I work with want to see the wiki content in an Access-like way. In our existing ZWiki, I set up the fields in the wiki so they are delimited with a unique character (to assuage their Access/Excel addiction) but they still struggle with the delimiters. Essentially, you'd be toggling between a "source" view (i.e. the standard wiki view that I'd use) and the IssueTracking? view (i.e. the "database" view that they want).

This reminds me of another request: Make it easier to add custom fields to the IssueTracker.

Thanks!

Scott

New ZWiki Features Feedback --DeanG, Tue, 10 Aug 2004 14:34:28 -0700 reply
Lots of meandering discussing related to this over on the ZwikiRecordBook. Cleaning it up into a ZwikiRecordBookProposal? (or ZwikiRecordBookStories?) would be useful. Keeping functionality (features?) scoped when adding "toolkit" features will be as much of a challange here as the zope and architectural efforts.

Immersive use of wiki? -- Wed, 11 Aug 2004 08:13:12 -0700 reply
Eugene Eric Kim writes of the use of wiki for collaboration at a conference with very positive results. http://www.eekim.com/blog/collaboration/facetofacewiki.writeback A feature that showed need here was "recently visited pages". Sounds interesting (but abusive on the zodb?)

... --Simon Michael, Mon, 16 Aug 2004 14:16:04 -0700 reply
The server was down for about two hours according to uptime. My qmail and zope logs had become huge and used up all disk space - sorry. Seems like another thing we need to check with a monitor script.

quoted links with non-ascii chars do not work or is it just me? -- Wed, 18 Aug 2004 04:36:58 -0700 reply
I'm not sure wether it's a bug or it's just me unable to set up things properly, so I decided to ask here first and maybe onep an issue later.

Anyway, I decided to try upgrading my wiki from 0.18 to 0.33 and things went smoothly (more or less), but afterwards I found that quoted links with non-ascii1 chars does not work (example: "абвгдежз":sometarget). I havent found anything similar in IssueTracker, so - does anyone else experienced something similar?

quoted links with non-ascii chars do not work or is it just me? --Benedikt, Wed, 18 Aug 2004 06:21:27 -0700 reply
It's not you, it really doesn't seem to work in structured text. With restructured text and back-quotes it works, though:

  `абвгдежз`_
  .. _`абвгдежз`: FrontPage

... --Simon Michael, Wed, 18 Aug 2004 07:54:00 -0700 reply
Reposting this on the current discussion page. It's a followup to "Zwiki - my language works - BUT character encoding does not" on UserDiscussion200407.

路人 wrote:

I use Microsoft Windows XP Professional with SP1, Zope 2.7.2-0 and Python 2.3.3 .

Run the following commands to make zh.py:

cd C:\Zope\Zope-2.7.2-0\lib\python\docutils\languages copy en.py zh.py

Then after restart zope, the problem is resolved.

There is explanation on http://docutils.sourceforge.net/docs/howto/i18n.html :

If no language identifier is specified, the default is "en" for English.

I have a question. Why it does not use en.py, when zh.py does not exist?

Wishlist item --Racing Pitoune, Mon, 23 Aug 2004 19:25:52 -0700 reply
I didn't see anything on this, but I probably didn't look hard enough:-) Some of my users seem to be interested in exchanging private e-mails in the background without releasing e-mail information at large, maybe just by clicking on a user name, filling up a form, and off the e-mail goes. Has this kind of feature been discussed before?

Wishlist item --DeanG, Tue, 24 Aug 2004 07:08:32 -0700 reply
That can be done in a dtml enabled wiki page. Start with this: http://www.zettai.net/Howto/ZopeFormtoEmailHowto/view

Could you explain more of this feauture? Where do the usernames come from/are stored?

exchanging private e-mails in the background without releasing e-mail information at large

quoted links with non-ascii chars do not work or is it just me? --Simon Michael, Tue, 24 Aug 2004 14:50:06 -0700 reply
Standard StructuredText does not support non-ascii characters. This is an extreme FAQ, I'd be forever grateful if someone can figure out how to effectively document this fact. Note there's a patching how-to in the plone howtos which we should link.

Wishlist item --Racing Pitoune, Tue, 24 Aug 2004 14:58:48 -0700 reply
I don't have anything definite in mind yet. I learned just today about the DTML var tag, so there's a bit of a learning curve ahead:-) Just suppose a user might want to contact another one privately. How do they exchange e-mail information? I was thinking of some feature along the lines of what's offered in fcForum, for example: list_users.pt (www/forum_admin) or contact_member.ps (www/forum_guts)

Example:

  %s has sent You a message, the message is:\n
  %s
  If You wish to reply, go to %s/index_html, then log in to the site, and from the
  user list,
  select %s and contact him/her.\n""" % (originator_name,
                                       comments,
                                       getattr(container, forum_base).absolute_url(),
                                       originator_name)

So there would be a subscriber list somewhere and users could be contacted through it (and "discover great singles near you..." Yeah!:-). And right, potentially a big security risk. Thanks for the info.

Wishlist item --Simon Michael, Tue, 24 Aug 2004 15:42:33 -0700 reply
Hi Racing.. interesting use case, how about if each person has their own home page, to which only they subscribe, then you can send them a private mail by posting a comment.. oh.

You could easily replace the comment form with one that just sends mail: read about the dtml-sendmail tag in the ZopeBook. You could look up subscriber addresses using the methods in Mail.py. Note these subscriber addresses aren't kept very private by default.

... --Simon Michael, Tue, 24 Aug 2004 16:23:37 -0700 reply
Please respond at

http://zopewiki.org/ZopeWikiDiscussion#msg20040824162026-0700@zopewiki.org

quoted links with non-ascii chars do not work or is it just me? --Racing Pitoune, Tue, 24 Aug 2004 16:49:28 -0700 reply
Non-ascii structured-text-characters were definitely supported in Zope 2.6/Plone 1.5 (I'm not sure about the exact combination). All you needed were:

Zope 2.7 + utf-8 might be a different ballgame, though.

Wishlist item --Racing Pitoune, Tue, 24 Aug 2004 17:22:05 -0700 reply
Will look into this, thanks.

Using PloneFormMailer? for ZWiki Input -- Wed, 25 Aug 2004 06:17:59 -0700 reply
As long as we're requesting stuff, here's another (easy?) one: Describe the best way to use PloneFormMailer? in conjunction with ZWiki (without have to resort to a mail server). In my scenario, anonymous users would use PloneFormMailer? to enter their information (on the way to a download page) while ZWiki would collect and organize that info on an admin-only page. This would all happen within a single Zope instance so a mail server should not be necessary. There are undoubtedly better examples than that, but that's one I can use right now. Thanks!

... --Simon Michael, Wed, 25 Aug 2004 20:32:27 -0700 reply

If you see this message on zwiki.org (or zopewiki.org):

"Service Temporarily Unavailable - The server is temporarily unable to service your request due to maintenance downtime or capacity problems."

just wait a minute and try again, and please let me know. It's because I've installed mod_throttle to experiment with traffic limits for spiders, spammers etc. Currently it allows a maximum of 100 requests in any minute.

My RecentChanges? page seems to be broken -- Thu, 26 Aug 2004 06:05:23 -0700 reply
My Recent Changes page page seems to work for the page itself, but not the other pages on the wiki - could you have a look and see if it's obvious what I'm doing wrong? thanks. Harry

... -- Thu, 26 Aug 2004 06:06:22 -0700 reply
Actually, it seems to be working for the most recent edit, but none of the others. Harry

My RecentChanges? page seems to be broken --Simon Michael, Thu, 26 Aug 2004 09:39:17 -0700 reply
Hi, the problem seems to be version skew between RecentChanges? and freezope's zwiki 0.22 - I don't know if it's a bug in 0.22 or in the installation. You can work around it by replacing your RecentChanges?' code with the version at.. http://freemind.freezope.org/FreemindWiki/RecentChanges/editform . Please ask them to upgrade, also.

Thanks -- Thu, 26 Aug 2004 09:46:56 -0700 reply
cheers, that seems to be working now.

... --Simon Michael, Thu, 26 Aug 2004 09:46:59 -0700 reply
I moved the zwiki.org domain to a new nameserver. It's still propagating, hopefully you will not notice any problems from this.

I also replaced a custom VirtualHostMonster? with the standard one, and finally figured out how to control it entirely from apache's httpd.conf. You may have experienced downtime as I fought with it last night, sorry.

In cleaning up I lost a rewrite rule protecting against IssueNo0860? and so we had one of those hangs this morning, causing about a 2 hour outage. Fixed.

Also, aktiom will be upgrading servers friday night/saturday morning so I expect about a half hour of downtime then.

quoted links with non-ascii chars do not work or is it just me? --Racing Pitoune, Thu, 26 Aug 2004 16:36:34 -0700 reply
I got the extreme answer to that one down pat, or most of it:-), thanks to some zopera.org posters. At least I think I can prove that StructuredText supports non-ascii characters on a Zope 2.7.2 ZWiki page. Here's what I had to do (locally):

Conclusion: as I suspected all along, your culprit here is utf-8.

quoted links with non-ascii chars do not work or is it just me? --Racing Pitoune, Thu, 26 Aug 2004 19:00:03 -0700 reply
Just noticed I get the following message after starting Zope:

 2004-08-26T21:51:40 BLATHER(-100) ZWiki Warning: unicode() LookupError for encoding 1252, WikiNames will not use the system locale

It comes right after this:

 2004-08-26T21:58:35 BLATHER(-100) ZWiki using PlacelessTranslationService for i18n

quoted links with non-ascii chars do not work or is it just me? -- Fri, 27 Aug 2004 01:47:55 -0700 reply
Maybe my subject was misleading, after all. I see that your solution enables use of non-ascee iso8859-1 chars. And what about, say, iso8859-2 or windows-1251 or KOI8-R chars? I tried your approach and it does not work for me :(

STX and utf-8: trying to straighten it all out ... --Dmitry Astapov, Fri, 27 Aug 2004 02:24:55 -0700 reply
OK. Let's see if I get facts straight:

  1. ZWiki 0.33 uses utf-8 wherever possible
  2. RestructuredText pages support utf-8 in TextFormattingRules, but does not support DTML/HTML inclusion
  3. StructuredText pages does not support utf-8 in TextFormattingRules at the moment, no matter what ZoPe version I run

So if I have a whole lot of StructuredText pages with a lot of non-iso8859-1 chars in them, I cant upgrade to the recent ZWiki because I be out of luck and out of correct rendering, am I right?

Should I then take the latest pre-utf-8 version and hack it manually to support my non-unicode encoding of choice and use it? I'm completely lost at the moment...

quoted links with non-ascii chars do not work or is it just me? --Racing Pitoune, Fri, 27 Aug 2004 05:02:24 -0700 reply
It doesn't really work for me either. I can hardly expect users to toggle encodings. And yes, I'll admit my proof of concept:-) is conclusive only within a very limited scope.

STX and utf-8: trying to straighten it all out ... --SimonMichael, Fri, 27 Aug 2004 08:19:14 -0700 reply
Thanks for investigating, it would be good to get all the latest info in one place. Don't forget StructuredTextUnicodePatch.

ANN: Zwiki 0.34 beta 1 released, BUG HUNTERS needed --Simon Michael, Fri, 27 Aug 2004 16:58:52 -0700 reply
Yes beta. Don't get too excited.. by this I mean a beta for 0.34, not 1.0 (though we are due for that too).

Why not the usual "rc1" ? "Release candidate" usually means no more fixes except critical ones. In practice there are usually a bunch of late additions. I'd like to make the 25th to 1st a bug-hunting period, and generate as much tracker activity and bugfix patches as we can. Minor/safe enhancements may be ok as well. I think we can handle it. This is less intense than a single bug day, but maybe easier for a number of us to participate.

So, you are hereby invited to join the first Zwiki BUG HUNT! Want to help make 0.34 better ? Visit http://zwiki.org/IssueTracker and do whatever you can to help clarify & resolve issues. Communications are via tracker page comments and #zwiki on freenode.net (maybe DevDiscussion? too, we'll figure it out). This one goes from Friday 8/27 to Tuesday 8/31.

Best, -Simon

ANN: Zwiki 0.34 beta 1 released, BUG HUNTERS needed --Racing Pitoune, Sat, 28 Aug 2004 03:57:40 -0700 reply
Hum..., plugin architecture. Really love that.

reStructured Text Problem -- Mon, 30 Aug 2004 06:23:08 -0700 reply
I'm not pinning this one on ZWiki, but it is sort of interesting (in an ironic way). The source text for Andy McKay?'s great "Definitive Guide to Plone" book is appearing on: http://cvs.sourceforge.net/viewcvs.py/plone-docs/PloneBook/en/ The files purport to be in reStructured text format. But when I dump the chapter content into a ZWiki page (in Plone 2.0.4, ZWiki 0.32), some of the formatting gets out of whack.

This isn't a big deal, but I thought that it was an interesting test. Since this is reStructured text, I assume it falls into a different category than the one discussed above for Structured text. If anyone has suggestions on efficient ways to massage the Sourceforge source before dropping it into ZWiki, they would be welcome!

Thanks! Scott

2 bugs --enoch choi, Mon, 30 Aug 2004 15:55:59 -0700 reply
2 issues: uploaded images don't load in IE6 such as in this page: (simon says it renders fine in firefox) http://pampmothersclub.zwiki.org/AidanBirthAnnouncement_jpg.htm

editing pages in internet explorer 6 doesn't work. have to click back to edit new changes, or after i click edit, i have to hit F5 to reload the page. I don't want to hit F5 to get the most recent page, every time i click to edit a page.

2 bugs --Simon Michael, Mon, 30 Aug 2004 16:24:36 -0700 reply
Hello,

2 issues: uploaded images don't load in IE6 such as in this page: (simon says it renders fine in firefox)

Not that file. Was it created as a result of browsing to AidanBirthAnnouncement?.jpg in the editform's upload image/file/box and clicking save ?
editing pages in internet explorer 6 doesn't work. have to click back to edit new changes, or after i click edit, i have to hit F5 to reload the page. I don't want to hit F5 to get the most recent page, every time i click to edit a page.

Could there be something unusual about your browser's cache settings ?

I'd appreciate help from any IE6 users out there. Thanks!

reStructured Text Problem --Simon Michael, Mon, 30 Aug 2004 16:27:42 -0700 reply
I tried to test, but can't save a RST page without crashing the server right now :( [IssueNo0887? SystemExit? exception when creating/saving a reStructuredText page with Zope2.7.1]

http://zwiki.org/IssueNo0887SystemExitExceptionWhenCreatingSavingAReStructuredTextPageWithZope271

STX and utf-8: trying to straighten it all out ... --Dmitry Astapov, Tue, 31 Aug 2004 04:51:08 -0700 reply
Part 2

I tried zope 2.7.2 with i18n patch v1.0.0. from keddar with following change in 'HTMLClass?.py':

    def __call__(self, doc, level=1, header=1):
        r=[]
        self.header = header
        self.dispatch(doc, level-1, r.append)
        html = ''.join(r)
        if type(html) == type(u''):
            html = html.encode('utf-8')
        return html

Everything in my cyrillic wiki works fine (including all aspects of STX markup, STX links and DTML), however method wikilink slowed down to the point when simple code takes several minutes to execute (or render?). Example of such code:

  <ul>
  <dtml-in "pageIdsMatching('_')" prefix=x sort>
  <li><dtml-var "wikilink('['+x_sequence_item+']')">
  </dtml-in>
  </ul>

Unfortunately, I dont know how to pinpoint problem further - could anyone give me a hint?

reStructured Text Problem --S.D., Tue, 31 Aug 2004 07:07:22 -0700 reply

Simon wrote:

I tried to test, but can't save a RST page without crashing the
server right now :(

That's OK. It's not a ZWiki problem. Andy McKay? sent me this message on the Plone Documentation list: ----- Yeah the Word to rst conversion has left a few weird characters around. My script caught most of them, but I've noticed a few. Please go in with CVS and nuke, it should be just ASCII. -----

I won't have time to do this for a few days, but anyone else who wants to clean up the Plone docs is most welcome! :)

Thanks!

Scott

IRC --DeanG, Tue, 31 Aug 2004 08:04:40 -0700 reply
Great one page article on some IRC concepts: http://www.oreillynet.com/pub/a/javascript/2004/08/27/IRCtips.html

Not sure where to put it, as a search for #zwiki came up dry.