Re: [Zope] Legacy Perl code and Zope. A pipe dream?

2006-10-03 Thread Lennart Regebro
On 10/3/06, Derek Basch [EMAIL PROTECTED] wrote: I have about a million lines of Perl code/crap that I would like to refactor to Zope. Is this even possible? Refactor? No. But it's quite likely that you can redo it quite quickly with Zope thanks to all the third-party products. What does you

[Zope] Zope 2.10.0 released

2006-10-03 Thread Andreas Jung
Hi all, on behalf of Zope developer community I am pleased to announce the release of Zope 2.10.0. You can download Zope 2.10.0 from: http://www.zope.org/Products/Zope/2.10.0/ Some new features of Zope 2.10: - ZPT implementation based on Zope 3 - experimental WSGI and Twisted

Re: [Zope] delete latest transactions

2006-10-03 Thread Einar Næss Jensen
On 10/2/06, Stefan H. Holek [EMAIL PROTECTED] wrote: http://www.zope.org/Members/itamar/CorruptedZODBStefanGreat! It worked. I deleted the latest transactions and my zope is no longer on dope. Related: Is it safe to only delete the transactions I want, or do I have to truncate the Data.fs file,

[Zope] Re: Zope 2.10.0 released

2006-10-03 Thread Maurits van Rees
Andreas Jung, on 2006-10-03: on behalf of Zope developer community I am pleased to announce the release=20 of Zope 2.10.0. You can download Zope 2.10.0 from: http://www.zope.org/Products/Zope/2.10.0/ Great, thanks! First problem that I see, which has happened before in some Zope tar

[Zope] Re: Zope 2.10.0 released

2006-10-03 Thread Maurits van Rees
Maurits van Rees, on 2006-10-03: Andreas Jung, on 2006-10-03: on behalf of Zope developer community I am pleased to announce the release=20 of Zope 2.10.0. You can download Zope 2.10.0 from: http://www.zope.org/Products/Zope/2.10.0/ Great, thanks! First problem that I see, which has

[Zope] Proposal System

2006-10-03 Thread wekoweko
Hi, has anyone ever implemented a pdf generating/creating proposal system in Zope? (i.e. creates a pdf that is customized and editable). Mostly just manipulating a pdf in Zope, if anyone has any recommendations or suggestions, please post, thanks. -- View this message in context:

Re: [Zope] Proposal System

2006-10-03 Thread Andreas Jung
--On 3. Oktober 2006 04:34:49 -0700 wekoweko [EMAIL PROTECTED] wrote: Hi, has anyone ever implemented a pdf generating/creating proposal system in Zope? (i.e. creates a pdf that is customized and editable). Mostly just manipulating a pdf in Zope, if anyone has any recommendations or

[Zope] Programmatically logging out a user

2006-10-03 Thread Sinang, Danny
Hello, How do I programmatically log out a user from Zope ? I've asked this question before, but was told to : 1. Redirect the user to a page that always raises Unauthenticated. Seemanage_zmi_logout. 2. from AccessControl.SecurityManagement import noSecurityManagernoSecurityManager()

Re: [Zope] Programmatically logging out a user

2006-10-03 Thread Andrew Milton
+---[ Sinang, Danny ]-- | Hello, | | How do I programmatically log out a user from Zope ? | | I've asked this question before, but was told to : | | 1. Redirect the user to a page that always raises Unauthenticated. See | manage_zmi_logout. | 2. from

Re: [Zope] Programmatically logging out a user

2006-10-03 Thread Jonathan
We use a 'home-grown' cookie-based authentication process, and when we want to log the user out we over-write the cookie with invalid data and send the user to a 'so long and thanks for all the fish' page. Jonathan - Original Message - From: Sinang, Danny To:

Re: [Zope] Re: Zope 2.10.0 released

2006-10-03 Thread Andreas Jung
--On 3. Oktober 2006 10:50:34 + Maurits van Rees [EMAIL PROTECTED] wrote: Maurits van Rees, on 2006-10-03: Andreas Jung, on 2006-10-03: on behalf of Zope developer community I am pleased to announce the release=20 of Zope 2.10.0. You can download Zope 2.10.0 from:

[Zope] Re: Zope 2.10.0 released

2006-10-03 Thread Maurits van Rees
Andreas Jung, on 2006-10-03: Feel free to file a collector issue. Probably better, yes. Done: http://www.zope.org/Collectors/Zope/2201 -- Maurits van Rees | http://maurits.vanrees.org/ [NL] Work | http://zestsoftware.nl/ GnuPG key |

Re: [Zope] TimerService/ZopeScheduler runs but doesn't run scripts......

2006-10-03 Thread michaelntmilne
but it *should* work on windows as well. Ok, it's not the ultimate platform but ignoring it or not making sure products work on it undermines the expansion of zope and zope related products- Original Message From: Chris McDonough [EMAIL PROTECTED]To: michaelntmilne [EMAIL PROTECTED]Cc:

Re: [Zope] TimerService/ZopeScheduler runs but doesn't run scripts......

2006-10-03 Thread Andreas Jung
--On 3. Oktober 2006 15:32:07 + michaelntmilne [EMAIL PROTECTED] wrote: but it *should* work on windows as well. Ok, it's not the ultimate platform but ignoring it or not making sure products work on it undermines the expansion of zope and zope related products Nonsense. There are

Re: [Zope] TimerService/ZopeScheduler runs but doesn't run scripts......

2006-10-03 Thread Lennart Regebro
On 10/3/06, Andreas Jung [EMAIL PROTECTED] wrote: Nonsense. There are always reasons why a software might only certain operating systems - either because on some limitations of the operating systems itself or because of software constraints. Well, sure. But if this doesn't work on windows,

Re: [Zope] TimerService/ZopeScheduler runs but doesn't run scripts......

2006-10-03 Thread michaelntmilne
Well, sure. But if this doesn't work on windows, this should beclearly stated and documented. If not, it's a bug. :-)Exactly and both ZopeScheduler and TimerService claim to work on Windows. That's the point I was making. Fair enough if it can't be done on a platform but that isn't the case here.

Re: [Zope] Legacy Perl code and Zope. A pipe dream?

2006-10-03 Thread Derek Basch
--- Lennart Regebro [EMAIL PROTECTED] wrote: On 10/3/06, Derek Basch [EMAIL PROTECTED] wrote: I have about a million lines of Perl code/crap that I would like to refactor to Zope. Is this even possible? Refactor? No. But it's quite likely that you can redo it quite quickly with Zope

Re: [Zope] Legacy Perl code and Zope. A pipe dream?

2006-10-03 Thread Jonathan
- Original Message - From: Derek Basch [EMAIL PROTECTED] To: Lennart Regebro [EMAIL PROTECTED]; zope@zope.org Sent: Tuesday, October 03, 2006 1:25 PM Subject: Re: [Zope] Legacy Perl code and Zope. A pipe dream? --- Lennart Regebro [EMAIL PROTECTED] wrote: On 10/3/06, Derek Basch

Re: [Zope] Legacy Perl code and Zope. A pipe dream?

2006-10-03 Thread Derek Basch
--- Jonathan [EMAIL PROTECTED] wrote: - Original Message - From: Derek Basch [EMAIL PROTECTED] To: Lennart Regebro [EMAIL PROTECTED]; zope@zope.org Sent: Tuesday, October 03, 2006 1:25 PM Subject: Re: [Zope] Legacy Perl code and Zope. A pipe dream? --- Lennart Regebro [EMAIL

Re: [Zope] Legacy Perl code and Zope. A pipe dream?

2006-10-03 Thread Jonathan
- Original Message - From: Derek Basch [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED]; zope@zope.org Sent: Tuesday, October 03, 2006 1:54 PM Subject: Re: [Zope] Legacy Perl code and Zope. A pipe dream? --- Jonathan [EMAIL PROTECTED] wrote: - Original Message - From:

Re: [Zope] external method: importing and updating method

2006-10-03 Thread Dieter Maurer
Alan wrote at 2006-10-2 18:48 +0100: In my external method I have something like this: ... sys.path.insert(0, CCPNPYTHON) This is not a good idea! The source of an External Method can be read arbitrarily often -- and each time, you extend sys.path... The imp module allows you to import modules

Re: [Zope] Unsubscription problems.

2006-10-03 Thread Dieter Maurer
Michael Dexter wrote at 2006-10-2 21:11 +0300: ... Reading helps. Why don't you follow the instructions on the mailman pages like http://mail.zope.org/mailman/listinfo/zope-dev? Sorry? I did, hence and the mailman page in my original message, as above. I must do this at the zope-dev list to

Re: [Zope] CatalogPatch PloneSecurityInjector

2006-10-03 Thread Dieter Maurer
Javier Subervi wrote at 2006-10-2 11:46 -0700: No, it only shows up when I add the CatalogPatch. This tells you that the problem is in CatalogPatch ;-) -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] zope gets killed on startup

2006-10-03 Thread Dieter Maurer
Einar Næss Jensen wrote at 2006-10-2 21:12 +0200: the full traceback and the error is this: 2006-10-02 21:07:15 ERROR BeforeTraverse Error while invoking hook: acl_users Traceback (most recent call last): File /usr/local/zope/zope295/lib /python/ZPublisher/BeforeTraverse.py, line 145, in

Re: [Zope] Legacy Perl code and Zope. A pipe dream?

2006-10-03 Thread Dieter Maurer
Derek Basch wrote at 2006-10-2 15:22 -0700: I have about a million lines of Perl code/crap that I would like to refactor to Zope. Is this even possible? I think I have seen a Python-Perl adapter (search for such a thing; I will not search for you). If you find one, you may be able to use Perl

Re: [Zope] Legacy Perl code and Zope. A pipe dream?

2006-10-03 Thread Marco Bizzarri
If I can provide any suggestion, take a look at Refactoring, by Martin Fowler, and start applying the refactorings there provided. This is not, I think a Zope/Perl/Python/PHP issue, but rather a refactoring/migration problem, and it should be explored in that places (just a suggestion, of

Re: [Zope] Legacy Perl code and Zope. A pipe dream?

2006-10-03 Thread Lennart Regebro
On 10/3/06, Derek Basch [EMAIL PROTECTED] wrote: Perhaps refactor wasn't the best choice of words. The site is a very large online gaming website (not gambling). The legacy perl code does many, many things (administration, game play, accounting, message boards, publishing, mail, etc...) and

Re: [Zope] external method: importing and updating method

2006-10-03 Thread Jonathan
- Original Message - From: Dieter Maurer [EMAIL PROTECTED] To: Alan [EMAIL PROTECTED] Cc: zope@zope.org Sent: Tuesday, October 03, 2006 2:06 PM Subject: Re: [Zope] external method: importing and updating method Alan wrote at 2006-10-2 18:48 +0100: In my external method I have

Re: [Zope] zope gets killed on startup

2006-10-03 Thread Einar Næss Jensen
On 10/3/06, Dieter Maurer [EMAIL PROTECTED] wrote: Einar Næss Jensen wrote at 2006-10-2 21:12 +0200:the full traceback and the error is this:2006-10-02 21:07:15 ERROR BeforeTraverse Error while invoking hook:acl_usersTraceback (most recent call last): File /usr/local/zope/zope295/lib

Re: [Zope] Legacy Perl code and Zope. A pipe dream?

2006-10-03 Thread Josh Burvill
there is some info in zopebook 2.6 edition in the advanced scripting chapter:http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ScriptingZope.stx where there are some links in this chapter where it mentions activestate:

Re: [Zope] Legacy Perl code and Zope. A pipe dream?

2006-10-03 Thread Josh Burvill
Sorry, just noticed thats already been considered...On 04/10/06, Josh Burvill [EMAIL PROTECTED] wrote: there is some info in zopebook 2.6 edition in the advanced scripting chapter: http://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/ScriptingZope.stx where there are some links in this

Re: [Zope] Re: Zope 2.10.0 released

2006-10-03 Thread Andreas Jung
--On 3. Oktober 2006 15:27:12 + Maurits van Rees [EMAIL PROTECTED] wrote: Andreas Jung, on 2006-10-03: Feel free to file a collector issue. Probably better, yes. Done: http://www.zope.org/Collectors/Zope/2201 Possibly this issue is caused by a different umask on my new Linux

[Zope-Annce] Zope 2.10.0 released

2006-10-03 Thread Andreas Jung
Hi all, on behalf of Zope developer community I am pleased to announce the release of Zope 2.10.0. You can download Zope 2.10.0 from: http://www.zope.org/Products/Zope/2.10.0/ Some new features of Zope 2.10: - ZPT implementation based on Zope 3 - experimental WSGI and Twisted

[Zope-Checkins] SVN: Zope/branches/2.10/doc/CHANGES.txt

2006-10-03 Thread Andreas Jung
Log message for revision 70505: Changed: U Zope/branches/2.10/doc/CHANGES.txt -=- Modified: Zope/branches/2.10/doc/CHANGES.txt === --- Zope/branches/2.10/doc/CHANGES.txt 2006-10-02 22:24:04 UTC (rev 70504) +++

[Zope-Checkins] SVN: Zope/branches/2.10/lib/python/zope/ update externals

2006-10-03 Thread Andreas Jung
Log message for revision 70506: update externals Changed: _U Zope/branches/2.10/lib/python/zope/ -=- Property changes on: Zope/branches/2.10/lib/python/zope ___ Name: svn:externals - annotation

[Zope-Checkins] SVN: Zope/tags/2.10.0/ Zope 2.10.0

2006-10-03 Thread Andreas Jung
Log message for revision 70507: Zope 2.10.0 Changed: A Zope/tags/2.10.0/ -=- Copied: Zope/tags/2.10.0 (from rev 70506, Zope/branches/2.10) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-Checkins] SVN: Zope/trunk/lib/python/zope/app/ updated to 3.3 branch

2006-10-03 Thread Andreas Jung
Log message for revision 70508: updated to 3.3 branch Changed: _U Zope/trunk/lib/python/zope/app/ -=- Property changes on: Zope/trunk/lib/python/zope/app ___ Name: svn:externals - annotation

[Zope-Checkins] SVN: Products.Five/branches/1.5/ Tag a release branch for the 1.5 line.

2006-10-03 Thread Tres Seaver
Log message for revision 70512: Tag a release branch for the 1.5 line. Changed: A Products.Five/branches/1.5/ -=- Copied: Products.Five/branches/1.5 (from rev 69454, Products.Five/trunk) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Linux zc-buildbot

2006-10-03 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7997 Blamelist:

[Zope-dev] buildbot failure in Zope branches 2.10 2.4 Windows 2000 zc-bbwin2

2006-10-03 Thread buildbot
The Buildbot has detected a failed build of Zope branches 2.10 2.4 Windows 2000 zc-bbwin2. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7997 Blamelist:

[Zope-dev] Zope 2.10.0 released

2006-10-03 Thread Andreas Jung
Hi all, on behalf of Zope developer community I am pleased to announce the release of Zope 2.10.0. You can download Zope 2.10.0 from: http://www.zope.org/Products/Zope/2.10.0/ Some new features of Zope 2.10: - ZPT implementation based on Zope 3 - experimental WSGI and Twisted

[Zope-dev] buildbot failure in Zope trunk 2.4 Linux zc-buildbot

2006-10-03 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Linux zc-buildbot. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7999 Blamelist:

[Zope-dev] buildbot failure in Zope trunk 2.4 Windows 2000 zc-bbwin6

2006-10-03 Thread buildbot
The Buildbot has detected a failed build of Zope trunk 2.4 Windows 2000 zc-bbwin6. Buildbot URL: http://buildbot.zope.org/ Build Reason: changes Build Source Stamp: 7999 Blamelist:

Re: [Zope-dev] I Like ZClasses as a separate product, I like Democracy Better

2006-10-03 Thread Andreas Jung
--On 2. Oktober 2006 10:24:33 -0700 Christopher Lozinski [EMAIL PROTECTED] wrote: I do like the idea of ZClasses as a separate product. If we make ZClasses a separate product, does that mean we can get our own mailing list for ZClasses. Maybe a separate web site, wiki, etc? I doubt

[Zope-dev] [SVN-externals] tags vs. branches

2006-10-03 Thread Andreas Jung
Hi all, while working on the Zope trunk I figured out that the trunk contains svn:externals both to Zope 3 tags and Zope 3 branches. This mixture is insane. I propose the following for the future: - the svn:externals on the trunk should point to the latest release branches (Zope 3, ZODB

Re: [Zope-dev] [SVN-externals] tags vs. branches

2006-10-03 Thread Wichert Akkerman
Previously Andreas Jung wrote: Hi all, while working on the Zope trunk I figured out that the trunk contains svn:externals both to Zope 3 tags and Zope 3 branches. This mixture is insane. I propose the following for the future: - the svn:externals on the trunk should point to the latest

Re: [Zope-dev] I Like ZClasses as a separate product, I like Democracy Better

2006-10-03 Thread Lennart Regebro
On 10/2/06, Christopher Lozinski [EMAIL PROTECTED] wrote: I do like the idea of ZClasses as a separate product. Actually I think all of Zope should be an assembly of separate products. I would love to see multiple flavors of Zope each as an assembly of separate products. If we make ZClasses a

Re: [Zope-dev] Re: Future of ZClasses

2006-10-03 Thread Dario Lopez-Kästen
Lennart Regebro said the following on 10/02/2006 11:16 AM: On 10/2/06, Olavo Santos [EMAIL PROTECTED] wrote: Many deprecation sign for any user are clearly signs that Zope developers are unable to maintain certain Zope features. No they are not. Technically that is correct. Socially,

Re: [Zope-dev] Re: Future of ZClasses

2006-10-03 Thread Lennart Regebro
On 10/3/06, Dario Lopez-Kästen [EMAIL PROTECTED] wrote: Lennart Regebro said the following on 10/02/2006 11:16 AM: On 10/2/06, Olavo Santos [EMAIL PROTECTED] wrote: Many deprecation sign for any user are clearly signs that Zope developers are unable to maintain certain Zope features. No

[Zope-dev] Re: PYTHONPATH

2006-10-03 Thread whit
silence == consent. will proceed as declared. -w whit wrote: Paul Winkler wrote: On Wed, Sep 27, 2006 at 06:26:49PM -0500, whit wrote: It seems like if you've set your PYTHONPATH and start zope, you would expect that path to be available. Indeed. Anyone object to this going forward?

[Zope-dev] Re: Zope 2.10.0 released

2006-10-03 Thread whit
thanks guys...know this one was a long time in the coming. -w Andreas Jung wrote: Hi all, on behalf of Zope developer community I am pleased to announce the release of Zope 2.10.0. You can download Zope 2.10.0 from: http://www.zope.org/Products/Zope/2.10.0/ Some new features of Zope

[Zope-PAS] all_meta_types filter

2006-10-03 Thread Wichert Akkerman
I am updating my OpenId authentication plugin to be a standard python package instead of a Zope product and am hitting a problem with PluggableAuthService.all_meta_types: it filters the registered types on a list of meta_types in the Products package. Since my package lives in plone.openid that

Re: [Zope-PAS] all_meta_types filter

2006-10-03 Thread Jens Vagelpohl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 3 Oct 2006, at 05:40, Wichert Akkerman wrote: I am updating my OpenId authentication plugin to be a standard python package instead of a Zope product and am hitting a problem with PluggableAuthService.all_meta_types: it filters the registered

Re: [Zope-PAS] all_meta_types filter

2006-10-03 Thread Wichert Akkerman
Previously Jens Vagelpohl wrote: What we get from the plugin registration isn't the structure expected as a return value from all_meta_types. The plugin registration only gives us a sequence of meta_type strings. So in effect we are not filtering, we're simply converting to a suitable

[Zope-PAS] Re: all_meta_types filter

2006-10-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Wichert Akkerman wrote: Previously Jens Vagelpohl wrote: What we get from the plugin registration isn't the structure expected as a return value from all_meta_types. The plugin registration only gives us a sequence of meta_type strings. So in