[Zope-dev] Redirect Exception and Five

2006-03-07 Thread Santi Camps
=Products.PluggableUserFolder.PluggableUserFolder.PluggableUserFolder/ five:traversable class=.folder.APWebFolder/ Anybody knows what could happen ? Thanks -- Santi Camps Earcon S.L. - http://www.earcon.com - http://www.kmkey.com ___ Zope-Dev

[Zope-dev] Re: DateTime, strftime and TimeError

2005-05-13 Thread Santi Camps
in the Collector and attached the patch with some unittests there: http://www.zope.org/Collectors/Zope/1780 Hope this help Santi Camps ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding

Re: [Zope-dev] DateTime, strftime and TimeError

2005-05-12 Thread Santi Camps
En/na Andreas Jung ha escrit: --On Mittwoch, 11. Mai 2005 16:08 Uhr +0200 Santi Camps [EMAIL PROTECTED] wrote: d = DateTime('2045/30/01') d.strftime('%d/%m/%Y') DateTime.DateTime.TimeError: The time 2369343600.00 is beyond the range of this Python implementation I've read

Re: [Zope-dev] DateTime, strftime and TimeError

2005-05-12 Thread Santi Camps
En/na Andreas Jung ha escrit: --On Donnerstag, 12. Mai 2005 18:34 Uhr +0200 Santi Camps [EMAIL PROTECTED] wrote: En/na Andreas Jung ha escrit: --On Mittwoch, 11. Mai 2005 16:08 Uhr +0200 Santi Camps [EMAIL PROTECTED] wrote: d = DateTime('2045/30/01') d.strftime('%d/%m/%Y

[Zope-dev] DateTime, strftime and TimeError

2005-05-11 Thread Santi Camps
implementation I've read that the reason was a validation to avoid int overflows. I think this could be fixed using datetime module (new in python 2.3) instead of old time.localtime Do you think its a good idea ? Can I provide a patch that way ? Thanks Santi Camps

Re: [Zope-dev] DateTime, strftime and TimeError

2005-05-11 Thread Santi Camps
En/na Andrew Langmead ha escrit: On May 11, 2005, at 10:08 AM, Santi Camps wrote: I think its known that using strftime method of DateTime module with dates = 1900 or = 2038, a TimeError is raised. For instance: DateTime can handle dates with larger ranges, it just can't display them

[Zope-dev] Can't import objects in Zope 2.8a2

2005-04-06 Thread Santi Camps
Hi all, I'm just trying recent Zope 2.8 a2 and I'm not able to import any .zexp file. At the begin I thought that it could be caused by the zexp I was trying to import, but default Examples.zexp also cause the same error. I've tried with and without ZEO, and with and without debug mode,

[Zope-dev] Re: Patch for attribute permisions problems in Zope 2.7.3

2005-02-21 Thread Santi Camps
Santi Camps ___ Zope-Dev maillist - Zope-Dev@zope.org http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announce http://mail.zope.org/mailman/listinfo/zope )

[Zope-dev] Patch for attribute permisions problems in Zope 2.7.3

2004-10-29 Thread Santi Camps
should be done in the C version. Thanks Santi Camps http://www.earcon.com --- ImplPython.py 2004-08-07 19:15:48.0 +0200 +++ /usr/local/zope273/lib/python/AccessControl/ImplPython.py 2004-10-29 10:56:11.0 +0200 @@ -534,6 +534,12 @@ # exceptions are caught early

Re: [Zope-dev] RFC: Proposed backward-compatibility policy

2004-10-27 Thread Santi Camps
(or alpha release, if any) as soon as possible, in order to detect and try to solve problems before final releases. Regards Santi Camps http://www.earcon.com ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Re: Was: Re: 2.7.3 beta attribute permission problems

2004-10-25 Thread Santi Camps
workarounds, or whatever, until they can help us isolate the bug. I think that the Product I send to the list last week was a reproducible simple test case, wasn't it ? If I can help in any other way I will try to do it. Regards Santi Camps http://www.earcon.com

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Dieter Maurer ha escrit: Santi Camps wrote at 2004-10-18 12:37 +0200: ... I have a persistent object A and a non persistent object B. B has implicit acquisition. From trusted code I return B.__of__(A). Trying to access B.meta_type from untrusted code (a ZPT) raises the error.B

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Richard Jones ha escrit: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/10/2004, at 4:33 PM, Santi Camps wrote: Yes, meta_type is an attribute of type string, but I don't understand your reasons. Acquisition, obviously, is not implemented in strings, but if the object containing

Re: [Zope-dev] 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Santi Camps ha escrit: En/na Richard Jones ha escrit: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 19/10/2004, at 4:33 PM, Santi Camps wrote: Yes, meta_type is an attribute of type string, but I don't understand your reasons. Acquisition, obviously, is not implemented in strings

[Zope-dev] Re: 2.7.3 beta attribute permission problems

2004-10-19 Thread Santi Camps
En/na Tres Seaver ha escrit: Dieter Maurer wrote: Santi Camps wrote at 2004-10-19 15:05 +0200: ... Error Type: Unauthorized* *Error Value: The container has no security assertions. Access to 'get_sum_of_values' of (Adapter instance at 40ae6ac0) denied.* This tells you that the container

[Zope-dev] 2.7.3 beta attribute permission problems

2004-10-18 Thread Santi Camps
)) { Py_DECREF(v); return aq_Acquire(inst, name, aq_validate, validate, 1, NULL, 0); } /* # Or just try to get the attribute directly. Thanks in advance Santi Camps http://www.earcon.com ___ Zope-Dev maillist

[Zope-dev] Referencial Integrity in ZCatalogs

2004-08-02 Thread Santi Camps
for ZCatalog ? Or a new Product IntegrityZCatalog inheriting from ZCatalog ? Thanks Santi Camps ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] Referencial Integrity in ZCatalogs

2004-08-02 Thread Santi Camps
will need some extra installation In any case, use SQLStorage without CMF could be interesting. I don't know if it is possible. Do you know ? Thanks Santi Camps ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Referencial Integrity in ZCatalogs

2004-08-02 Thread Santi Camps
is easy don't use CMF that accommodate to it. Thanks for the info Santi Camps ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Fwd: Re: [Zope-dev] Referencial Integrity in ZCatalogs]

2004-08-02 Thread Santi Camps
En/na Leonardo Rochael Almeida ha escrit: Forgot to Cc: zope-dev -Mensagem encaminhada- From: Leonardo Rochael Almeida [EMAIL PROTECTED] To: Santi Camps [EMAIL PROTECTED] Subject: Re: [Zope-dev] Referencial Integrity in ZCatalogs Date: Mon, 02 Aug 2004 17:05:53 -0300 I would suggest you

[Zope-dev] Re: CatalogBrains since Zope2.7.1b1

2004-06-27 Thread Santi Camps
are available options for now. Ok, I think it will be useful. Until then, the second option is a good solution for me. Thanks a lot for the suggestion. Regards Santi Camps ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev

[Zope-dev] Re: Re: CatalogBrains since Zope2.7.1b1

2004-06-24 Thread Santi Camps
to accessed. I think a possible solution could be an additional optional parameter of .getobject used from trusted code when unrestrictedTraverse want to be used. What do you think ? Regards Santi Camps ___ Zope-Dev maillist - [EMAIL PROTECTED] http

Re: [Zope-dev] ZPT in Zope Products

2004-04-15 Thread Santi Camps
in question is root = self.getPhysicalRoot() Is it possibly some security thing? My class is setDefaultAccess(allow) for now. Ive also tried simply return pt with no traceback but without the desired results as the object is returned. Thanks in advance, Wyatt Try return pt() Santi Camps

[Zope-dev] APE and SQL Storages in Zope 2.7

2004-03-24 Thread santi
machinery. Is there any way to have a working config for postgresql and zope 2.7 ? Or everybody is working with FileSystem storages and SQL storages are just working with zope 2.6 ? Thanks in advance Santi Camps http://zetadb.sourceforge.net

Re: [Zope-dev] APE and SQL Storages in Zope 2.7

2004-03-24 Thread Santi Camps
Ape will help a lot to expand Zope. I will begin to intesively use Ape with SQLMultiTableProperties option over Postgresql.Of course, I will report eventual bugs in the collector. Thanks again Santi Camps ___ Zope-Dev maillist - [EMAIL

[Zope-dev] Zope 2.7 breaks auto refresh

2004-03-03 Thread Santi Camps
think. If anybody can put me in the right direction I can try to provide a patch. What do you think ? Which is the best way to solve this problem? Thanks a lot -- Santi Camps http://zetadb.sourceforge.net ___ Zope-Dev maillist - [EMAIL PROTECTED

Re: [Zope-dev] Zope 2.7 breaks auto refresh

2004-03-03 Thread Santi Camps
will continue debugging Thanks for your answer -- Santi Camps http://zetadb.sourceforge.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

[Zope-dev] Zope 2.7 date international configuration

2004-03-02 Thread Santi Camps
machinery. Anybody else with this problem ? -- Santi Camps http://zetadb.sourceforge.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] Zope 2.X BIG Session problems - blocker - our site dies - need help of experience Zope developer, please

2004-02-28 Thread Santi Camps
will be available within 2 weeks. Oh, these are really good news !! Please, announce it very high :-) Thanks a lot -- Santi Camps http://zetadb.sourceforge.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Put an adapted object in context

2004-02-13 Thread Santi Camps
be sended, and what should be done after adding. This way, same object could be used from various applications with no problems. All the logic and navigation is decided in each application. Regards -- Santi Camps http://zetadb.sourceforge.net ___ Zope-Dev

Re: [Zope-dev] Put an adapted object in context

2004-02-12 Thread Santi Camps
Santi Camps wrote: My problem is that the adapter object, and also the adapted object contained in it, are out of publisher context or something like this. For instance, absolute_url() methods doesn't work becouse REQUEST is not defined. I'm not sure I understand what you mean; I

[Zope-dev] Put an adapted object in context

2004-02-11 Thread Santi Camps
be a method to put my object in the current publishing context. Anybody knows about this? Thanks a lot for your help. -- Santi Camps http://zetadb.sourceforge.net ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev

Re: [Zope-dev] Adapters in Zope 2

2004-02-10 Thread santi
you call the new method with object = TheClass() object.OldMethod() Very cool. Yes, this is a possible way, but not so nice as Adapters (in my modest opinion). Thanks for your answer Santi Camps http://zetadb.sourceforge.net ___ Zope-Dev

Re: [Zope-dev] Re: Adapters in Zope 2

2004-02-10 Thread Santi Camps
installed, site policy and user preferences. -Casey Very interesting. That's what I was looking for. I will try to extract this mechanism from CMF. Thanks a lot for your answers -- Santi Camps http://zetadb.sourceforge.net ___ Zope-Dev maillist

[Zope-dev] Adapters in Zope 2

2004-02-09 Thread Santi Camps
__getattr__, but then some extra problems appears. Anybody knows if there is a way to use adapters in zope2 ? Or, if not, there is some other way to add functionallity on-the-fly, without inheriting ? Thanks in advance -- Santi Camps http://zetadb.sourceforge.net

Re: [Zope-dev] Where did __traceback_info__ go?

2003-12-21 Thread Santi Camps
I upgraded to 2.7b3, and it looks quite solid! I have one problem, though: I can't find the full tracebacks that include __traceback_info__ anywhere! You can add this to your standard_error_message: dtml-if error_tb dtml-var error_tb /dtml-if -- Santi Camps http

Re: [Zope-dev] session concurrency

2003-11-28 Thread santi
fully understand why) that sessions behave non-deterministically (disappear, revert to old values) when they are read/written in standard_error_message (Zope's error handling hook for failing requests). I'm not using SESSION in standard_error_message, but symptoms are very similar. Santi Camps

Re: [Zope-dev] session concurrency

2003-11-27 Thread Santi Camps
I should enter a bug, or this cann't be considered as a bug? Thanks for your help Santi Camps ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope-dev] session concurrency

2003-11-27 Thread Santi Camps
in Folder2 can use SESSION_FOLDER2 to do the same. To use SESSSION_FOLDER1 from scripts in Folder2, a simple traversal will work fine. Using this solution, my simultanious frames are working using session with no problems. Cheers Santi Camps http://zetadb.sourceforge.net

Re: [Zope-dev] session concurrency

2003-11-26 Thread santi
Santi Camps wrote at 2003-11-24 23:14 +0100: I've a product, http://zetadb.sourceforge.net, that uses SESSION extensively. I've just discover, unhappiness, that there are some problems when SESSION object is changed at the same time in two diferent python scripts (using frames). The two

[Zope-dev] session concurrency

2003-11-24 Thread Santi Camps
of the SESSION object, but at the end the whole SESSION object is saved, I think, so one of the two objects losses its SESSION data Anybody knows any workarround about this? Thanks in advance Santi Camps ___ Zope-Dev maillist - [EMAIL PROTECTED] http