- Original Message -
From: Phillip J. Eby <[EMAIL PROTECTED]>
> >The GUF version, at least, doesn't need this drastic a fix. Adding the
> >following line to the top of guf_unauthorized should suffice:
> >
> >del request.RESPONSE.unauthorized
> >
>
> You're making the assumption that unaut
On Wed, 24 May 2000, Chris Withers wrote:
> This is weird... the bit of code in question was:
> lib/python/SearchIndex/Lexicon.py line 132:
[...]
> Now Michel's patch was to change this to:
> else:
> self.counter = self.counter + 1
> self._lexicon[intern(word)] = se
In previous versions of Zope, it was possible to do "setuid" code by
setting AUTHENTICATED_USER to a new user, then resetting when code
completed. Zope 2.2 loses this ability, as it has absolutely no API for
setting or stacking the "current user", without completely replacing the
ZopeSecurityPoli
On Fri, May 26, 2000 at 02:59:38PM -0500, Kyler B. Laird wrote:
>
> I'd like to build a Z SQL method for *many*
> people to use to list courses that we offer.
> I don't want to require that all queries
> using it understand all of the columns, but
> I do want to be able to modify the query in
> m
I'd like to build a Z SQL method for *many*
people to use to list courses that we offer.
I don't want to require that all queries
using it understand all of the columns, but
I do want to be able to modify the query in
many ways.
So...after reading
http://yyy.zope.org/Documentation/Guides
At 03:05 PM 5/26/00 -0400, Evan Simpson wrote:
>- Original Message -
>From: Phillip J. Eby <[EMAIL PROTECTED]>
>> Been there, done that. Yours doesn't work either, btw. Well, actually,
>it
>> does, it's just that it causes a memory leak because it leaves an
>> unintended circular referen
- Original Message -
From: Phillip J. Eby <[EMAIL PROTECTED]>
> Been there, done that. Yours doesn't work either, btw. Well, actually,
it
> does, it's just that it causes a memory leak because it leaves an
> unintended circular reference. We've got a version that fixes the
circular
> re
Jason Spisak wrote:
[...]
> That's funny that I am experienceing the same symptoms as you, but my
> installation is totally different. I'm not using GUF, or any DA's, and I'm
> running on RH 6.1. We really need to figure this out as a community. I am
> willing to try just about anything short
I am trying to use FSSession from an external method. I have no problem
reading from the Session or updating a dictionary in the Session. My
problem is that I cannot delete or change any of the entries in the Session
from my external method. Could this an initialization issue or could
it be a p
on 5/26/00 1:04 PM, Jason Spisak at [EMAIL PROTECTED] wrote:
> Shane and others:
>
> Currently I have to restart the *server* that Zope runs on everyday in
> order to get the memory tat Zope claims in cache back. Even when I stop
> the Zope process, the cache doesn't clear. Is there a command
At 07:11 PM 5/26/00 +1000, Stuart 'Zen' Bishop wrote:
>On Wed, 24 May 2000, Phillip J. Eby wrote:
>
>> This is a problem that apparently can only be solved by replicating
>> ZPublisher's backward walk, which is the wrong thing to do because the
>> traversal will be O(n^2). Bleah. I guess we'll h
Eric Sattler:
> Jason,
>
> I don't have time right now to post this to the zope
> newsgroup, but we are bleeding profusely, and could
> use any insight you might have...
>
Unfortunately just before recieving your message, I fired another one out
because I have run out of tests. :(
>
> I also
Shane and others:
Currently I have to restart the *server* that Zope runs on everyday in
order to get the memory tat Zope claims in cache back. Even when I stop
the Zope process, the cache doesn't clear. Is there a command in Linux to
force that cache to clear? Also, after a clean reboot, I tr
Shane Hathaway:
> Jason,
>
> I've looked over your DTML and I can't quite get a fix on what's going
> on (then again, I'm not very familiar with dtml-calendar.) If you'd
> send more details I might be able to help, but only in my spare time
> I'm afraid...
That's actually a very generous offer
1. Check that your parameters ara on scope
2. try the following:
...And in the ZSQL method define your dtml-vars as (etc)
zope wrote:
>
> Hi.
>
> With some values that I got from a formular, I wan't to do some calculation
> stuff, and insert the calculated values into a database.
>
> My Z SQ
Hi!
Have you subscribed to Russian Python/Zope Mailing Lits?
echo subscribe python | mail [EMAIL PROTECTED]
http://www.glasnet.ru/~jno/Python/
On Fri, 26 May 2000, Bo Berkhaut wrote:
> As you maybe know, there are at least _three_ standard encodings
> for russian cyrillic: koi8-r, which is
> There would seem to be two ways to 'fix' this, I'll leave it as an exercise
> for the reader to discuss which is best.
>
> Option 1:
> def foo(self,counter=None):
> some code
> if bar == somewhat:
> self.foo(counter=some_int)
Option 1 has a problem. If you give it a different na
On Wed, 24 May 2000, Phillip J. Eby wrote:
> This is a problem that apparently can only be solved by replicating
> ZPublisher's backward walk, which is the wrong thing to do because the
> traversal will be O(n^2). Bleah. I guess we'll have to do something like
> Stuart Bishop's backward walk in
On Wed, 24 May 2000, Morten W. Petersen wrote:
> Are there sheets with these (and similar) notes anywhere on zope.org?
> If not, maybe there should be?
There is the tips section - I've just added this.
--
Stuart Bishop Work: [EMAIL PROTECTED]
Senior Systems Alchemist
Hi!
As you maybe know, there are at least _three_ standard encodings
for russian cyrillic: koi8-r, which is used in most unices,
Windows codepage 1251 and iso8859-5, which is used in some commercial systems
(like HPUX). The common workaround for this problem is server-side
detection of client OS
I'd imagine self would be missing.
There would seem to be two ways to 'fix' this, I'll leave it as an exercise
for the reader to discuss which is best.
Option 1:
def foo(self,counter=None):
some code
if bar == somewhat:
self.foo(counter=some_int)
Option 2:
def foo(self,counter=N
Hi,
I'm writing a python Extension, which searches in any folder
recursively.
This means the code:
def foo(self,counter=None):
some code
if bar == somewhat:
foo(counter=some_int)
When i run this through zope a error occours. Zope says expected 1
argument got 0.
My question is w
22 matches
Mail list logo