> 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
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
> 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
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
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
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
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
> 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
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.
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
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://
> 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.
>
&
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
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
___
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
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
_
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
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
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
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
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
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
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
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 -
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
quire(name, aq_validate, validate)
<*/
< if (aq_isWrapper(inst))
< {
< Py_DECREF(v);
< return aq_Acquire(inst, name, aq_validate, validate, 1,
NULL, 0);
< }
<
< /*
<
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
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
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
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
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
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
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
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
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
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
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
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
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 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
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:
41 matches
Mail list logo