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

Re: [Zope-dev] session concurrency

2003-11-28 Thread santi
ng requests). > I'm not using SESSION in standard_error_message, but symptoms are very similar. Santi Camps ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Rela

Re: [Zope-dev] Adapters in Zope 2

2004-02-10 Thread santi
> you would like them, and then you replace them with a quick. > > TheClass.OldMethod = NewMethod. > > And now you call the new method with > object = TheClass() > object.OldMethod() > Very cool. Yes, this is a possible way, but no

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

2004-03-24 Thread santi
th ZConfig 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.sourc

[Zope-dev] session concurrency

2003-11-24 Thread Santi Camps
eys 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 PROTE

Re: [Zope-dev] session concurrency

2003-11-27 Thread Santi Camps
hanges stored inmediatly. You don't? Perhaps some day I will be able to implement this for myself. Until that, do you think I should enter a bug, or this cann't be considered as a bug? Thanks for your help Santi Camps ___ Zope-Dev mail

Re: [Zope-dev] session concurrency

2003-11-27 Thread Santi Camps
ssion data, scripts 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://zet

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: -- Santi Camps

[Zope-dev] Adapters in Zope 2

2004-02-09 Thread Santi Camps
x27;ve rewrited __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.

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

2004-02-10 Thread Santi Camps
olves several problems, one of which is a tendancy of top-heavy > hierarchies in zope where lots of objects are in the root because they > need to be global. The skin and layer mechanisms allow different sets of > methods to be available depending on the application, products > installed, si

[Zope-dev] Put an adapted object in context

2004-02-11 Thread Santi Camps
x27;m sure that somewhere should 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://

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. > &

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

2004-02-13 Thread Santi Camps
used Types, and also can add some custom views. This functionallity is added throught adapters. So, the application can decide in which framework should appear the add_folder_view, where its submit should be sended, and what should be done after adding. This way, same object could be u

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
have to hash out a few organisational questions but > I expect the module 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] Zope 2.7 date international configuration

2004-03-02 Thread Santi Camps
on in zope.conf. Perhaps there is some problem in Zope configuration 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

[Zope-dev] Zope 2.7 breaks auto refresh

2004-03-03 Thread Santi Camps
e connection hasn't been updated, the problem appears. Almost is what I 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 _

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

2004-03-03 Thread Santi Camps
her times, because application code could have a > reference to existing objects. > > I don't know how all this affects the Transience connection. When is it > opened and closed? > > Jeremy I think the error is produced after the second store in the SESSION variable. Perh

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

2004-03-24 Thread Santi Camps
o use Zope. I think 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

Re: [Zope-dev] ZPT in Zope Products

2004-04-14 Thread Santi Camps
n is root = self.getPhysicalRoot() Is it possibly some security thing? My class is setDefaultAccess(‘allow’) for now. I’ve 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() S

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

2004-06-24 Thread Santi Camps
de these dossiers need 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

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

2004-06-27 Thread Santi Camps
o 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/zop

[Zope-dev] Referencial Integrity in ZCatalogs

2004-08-02 Thread Santi Camps
is case, what's the better way to provide the code ? A patch for ZCatalog ? Or a new Product IntegrityZCatalog inheriting from ZCatalog ? Thanks Santi Camps ___ Zope-Dev maillist - [EMAIL PROTECTED] http://mail.zope.org/mailman/listinfo/zop

Re: [Zope-dev] Referencial Integrity in ZCatalogs

2004-08-02 Thread Santi Camps
e backend 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/li

Re: [Zope-dev] Referencial Integrity in ZCatalogs

2004-08-02 Thread Santi Camps
orking this way 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 -

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 w

[Zope-dev] 2.7.3 beta attribute permission problems

2004-10-18 Thread Santi Camps
quire(name, aq_validate, validate) <*/ < if (aq_isWrapper(inst)) < { < Py_DECREF(v); < return aq_Acquire(inst, name, aq_validate, validate, 1, NULL, 0); < } < < /* <

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

2004-10-18 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 conta

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

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

2004-10-24 Thread Santi Camps
o *have* such weird applications can reverse the patch, find 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 wa

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

2004-10-27 Thread Santi Camps
s we will test our products with every beta release of Zope (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 PR

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

2004-10-29 Thread Santi Camps
the problem but, as I said, it seems to work fine. Of course, If the patch is accepted, the same change 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/Impl

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

2005-02-21 Thread Santi Camps
minimum I could do is try to help when I can. Regards 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-a

[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, alwa

[Zope-dev] DateTime, strftime and TimeError

2005-05-11 Thread Santi Camps
00 is beyond the range of this Python 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 pr

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

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 Py

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

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

2005-05-13 Thread Santi Camps
d a new Issue 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 po

[Zope-dev] Redirect Exception and Five

2006-03-07 Thread Santi Camps
x27;m using Zope 2.9.0, and tried to add this ZCML statements, but I've no luck, and I can't find any other message talking about this. Anybody knows what could happen ? Thanks -- Santi Camps Earcon S.L. - http://www.earcon.com - http: