Re: [Zope-dev] REQUEST.steps

2001-02-28 Thread Evan Simpson
REQUEST has a lot of standard attributes and keys, some of which are obsolete. Deprecated attributes: o script: URL for the root object, computed from environment variables including SCRIPT_NAME. Replace with REQUEST['BASE1'] or REQUEST['BASEPATH1'] o base: URL for level above root object, comp

[Zope-dev] TransWarp preview release (AOP tools only)

2001-02-28 Thread Phillip J. Eby
It's here... the first preview release of TransWarp. The bad news is, it only contains working versions of the aspect-oriented programming tools (the rest of the package is in flux). The good news is: 1. It's a *robust* working version, with 114 unit tests to prove it, and 2. There's state-of

Re: [Zope-dev] REQUEST.steps

2001-02-28 Thread richard
Chris Withers wrote: > > Erik Enge wrote: > > > > On Wed, 28 Feb 2001, Chris Withers wrote: > > > > > Is it alright to rely on this attribute of the REQUEST object? > > > > Hm What is 'steps' in context of REQUEST? > > It appears to be a list of object ids that have been traversed to get you to

Re: [Zope-dev] strip_html?

2001-02-28 Thread Dieter Maurer
R. David Murray writes: > I searched the NIP archives but didn't get any hits on strip_html. Is the > code for this beast (used by zope.org to strip html out of partial text > included from another page) available anywhere? I do not know about "strip_html" but you may find something similar i

Re: [Zope-dev] Possible 'bad' with Client.py and urllib

2001-02-28 Thread Dieter Maurer
Chris Withers writes: > Dieter Maurer wrote: > > > > Chris Withers writes: > > > urllib & Client block Zope > > That would suggest a bug in Python's socket implementation: > > > > its "makefile().read" method would not release the global > > interpreter lock. > > Do you

Re: [Zope-dev] 'inheritedAttribute' vs. 'call of superclass'

2001-02-28 Thread Dieter Maurer
Gregor Heine writes: > I have two Python classes, say A and B, where B subclasses A. > If I want to call a method in A from an overridden method in B I can either > use: > > B.inheritedAttribute('method_in_A')(self. *args) > or: > A.method_in_A (self, *args) > > Can anybody explain me t

Re: [Zope-dev] Synchronize GUD or Worldpilot with IPAQ

2001-02-28 Thread Morten W. Petersen
[Valérie Aulnette] | Did someone try ? And how ? You can't synchronize at this point. It's a planned feature, but don't hold your breath. :-) Cheers, Morten ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-de

[Zope-dev] Synchronize GUD or Worldpilot with IPAQ

2001-02-28 Thread Valérie Aulnette
Hi ! Is it possible to synchronize GUD or Worldpilot with Pocket PC ? or with Outlook ? Did someone try ? And how ? Thanks. Valerie. ___ Do You Yahoo!? -- Pour dialoguer en direct avec vos amis, Yahoo! Messenger : http://fr.messenger.yah

[Zope-dev] New PostgreSQL Database Adapters: psycopg and ZpsycopgDA

2001-02-28 Thread Federico Di Gregorio
Hi *, the guys here at initd (http://initd.org/) arre happy to announce the release of psycopg, a Python/PostgreSQL driver module and ZPsycopgDA, a Zope Database Adapter based on the psycopg driver. Now, I'll answer the questions you asked... (_what_ questions? well... follow me...)

Re: [Zope-dev] REQUEST.steps

2001-02-28 Thread Chris Withers
Erik Enge wrote: > > On Wed, 28 Feb 2001, Chris Withers wrote: > > > Is it alright to rely on this attribute of the REQUEST object? > > Hm What is 'steps' in context of REQUEST? It appears to be a list of object ids that have been traversed to get you to where you are, starting with the objec

Re: [Zope-dev] Could not load state?

2001-02-28 Thread Chris Withers
Steve Alexander wrote: > > > ...popping up from time to time. I think they're coming from a product we've > > written, but beyond that I have no idea what's going on. > > I hazard a guess that you're changing a mutable attribute of a persistent object, >without doing a _p_changed=1 on your pers

Re: [Zope-dev] Could not load state?

2001-02-28 Thread Steve Alexander
Chris Withers wrote: > Hi, > > I've started seeing errors like this: > > -- > 2001-02-27T11:18:34 ERROR(200) ZODB Couldn't load state for > '\000\000\000\000\00 > 0\021\275\220' > Traceback (innermost last): > File E:\Zope\23C76D~1.1B1\lib\python\ZODB\Connection.py, line 477, in > setstat

Re: [Zope-dev] REQUEST.steps

2001-02-28 Thread Erik Enge
On Wed, 28 Feb 2001, Chris Withers wrote: > Is it alright to rely on this attribute of the REQUEST object? Hm What is 'steps' in context of REQUEST? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No c

Re: [Zope-dev] Could not load state?

2001-02-28 Thread Erik Enge
On Wed, 28 Feb 2001, Chris Withers wrote: > Are there archives for that anywhere? There sure is... http://lists.zope.org/pipermail/zodb-dev/2001-February/thread.html> ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

Re: [Zope-dev] Could not load state?

2001-02-28 Thread Chris Withers
Erik Enge wrote: > > Hm. It might be related to the problem Andrew K. is seeing over at > [EMAIL PROTECTED]? Are there archives for that anywhere? cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope

[Zope-dev] REQUEST.steps

2001-02-28 Thread Chris Withers
Is it alright to rely on this attribute of the REQUEST object? If so, is it affected by virtual hosting? cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! *

Re: [Zope-dev] Could not load state?

2001-02-28 Thread Erik Enge
On Tue, 27 Feb 2001, Chris Withers wrote: > I've started seeing errors like this: Hm. It might be related to the problem Andrew K. is seeing over at [EMAIL PROTECTED]? ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinf

Re: [Zope-dev] Could not load state?

2001-02-28 Thread Chris McDonough
(cd to lib/python) python import Zope app = Zope.app() jar = app._p_jar jar['\000\000\000\000\000\021\275\220'].id Although this probably won't help if you can't load state consistently. In that case.. ummm... - Original Message - From: "Chris Withers" <[EMAIL PROTECTED]> To: <[EMAIL PR

[Zope-dev] Could not load state?

2001-02-28 Thread Chris Withers
Hi, I've started seeing errors like this: -- 2001-02-27T11:18:34 ERROR(200) ZODB Couldn't load state for '\000\000\000\000\00 0\021\275\220' Traceback (innermost last): File E:\Zope\23C76D~1.1B1\lib\python\ZODB\Connection.py, line 477, in setstate AttributeError: 'None' object has no attr

Re: [Zope-dev] 'inheritedAttribute' vs. 'call of superclass'

2001-02-28 Thread Chris Withers
> I have two Python classes, say A and B, where B subclasses A. > If I want to call a method in A from an overridden method in B I can either > use: > > B.inheritedAttribute('method_in_A')(self. *args) > or: > A.method_in_A (self, *args) > > Can anybody explain me the differences between those two