can this be achieved?
One option is a debugging http proxy I like
http://www.cyberclip.com/webdebug/index.html
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cr
On Wed, 24 Jan 2001 09:33:16 -0600, "Alan Capesius"
<[EMAIL PROTECTED]> wrote:
>I would also recommend NOT using Win9x for ANYTHING. I always use NT.
There are those of us who use Zope in desktop applications too (yes
really), where Win9x is not an unreasonable choice.
To
If your method changes data then it will always get saved. The only way is
to make sure your method never modifies a persistent object.
> -Original Message-
> From: Stephan Richter [mailto:[EMAIL PROTECTED]]
> Sent: 23 January 2001 11:11
> To: [EMAIL PROTECTED]
> Subject: Re: [Zope] Pytho
ts are being commited. They think
they are being modified, even if you dont think they should be.
http://www.zope.org/Members/tsarna/Tranalyzer
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/lis
On Mon, 08 Jan 2001 14:34:20 -0800, [EMAIL PROTECTED] wrote:
>If it supports the ability to direct traffic
>based upon the virtual host address, then squid works
Yes, squid can do this using a redirector; an external program to
rewrite urls.
Toby Dickenson
[EMAIL PRO
ne thing well" principal. In my case:
Apache (for rewriting and SSL)
-> Squid accelerator
-> A custom load-balancing redirector
-> Multiple Zopes
Have you had any significant latency, or other problems?
Toby Dickenson
[EMAIL PROTECTED]
n
configuraton.
If not, I strongly recommend using pages encoded in utf-8, and storing
your field values as unicode. Everything will then work happily for
non-germans too.
Standard Zope can't do this yet, you will need the patches at
http://www.zope.org/Members/htrd/wstring
Toby Di
this, but it looks easy enough.
I hope this helps,
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/m
s for this patch.
If anyone knows a better way, I would love to know too.
http://www.zope.org/Members/htrd/wstring
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross p
On Mon, 11 Dec 2000 10:16:31 +0100, "Kai Hofmann" <[EMAIL PROTECTED]>
wrote:
>I installed Zope 2.2.2 with Python 1.6 (incl. threads) under Solaris 2.6
Is there a reason you cant use Python 1.5.2 or 2.0?
(python 1.6 has many known bugs)
Toby Dickens
g very strange is going on.
I am accessing the page using
* IE (5.50.4134.0600) - I do see the " in the page source
However, both browsers are using a Squid proxy cache, so I can check
the size of content transferred by each request Both browsers are
transferring 4561 bytes.
I hope
nario efficiently? Any opinions on this?
For a machine of that size I suggest you use only one publisher thread
(thats -T 1 on the command line), rather than the default of 4. Each
thread gets a copy of the ZODB object cache, and you probably dont
want to keep four copies of your 700k document in
and 95 too.
I hope this is of some help.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailma
e not help?
Have you tried deleting the AeDebug/Debugger registry key, and setting
AeDebug/Auto to 1 to inhibit this dialog for your whole system?
Have you tried SetErrorMode(SEM_NOGPFAULTERRORBOX) (in the win32
python extensions) to inhibit this dialog for this one process?
Toby
integration do you need?
You say "run alongside". is it enough to run Zope and CF behind
the same Apache? Apache integrates the two in a single URL namespace,
but keeping the application logic separate?
Toby Dickenson
[EMAIL PROTECTED]
__
raising the exception?
You can think of the local log as a buffer, if you prefer ;-)
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Relat
reter in the start shell
>> script but it looks like Medusa's asyncore.py can't find tjhe FCNTL
>> module...
* for a suitable small definition of 'everything' ;-)
Toby Dickenson
[EMAIL PROTECTED]
___
Zope mai
as not yet
>> been investigated
>
>I didn't mean to dtml, I meant to all the Python code underneath. I'm sure
>you've noticed there is a lot more to Zope than just DTML and Python methods.
Like what?
Toby Dickenson
[EMAIL PROTECTED]
_
realted value in Zope will
>acheive differing levels of performance.
Yes
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists
its own copy of the ODB, which is an
unnecessary memory hog for the expected load.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lis
e available in dtml (for the same
reasons as regular assignment). The case for PythonMethods has not yet
been investigated
>watching closely,
Not closely enough ;-)
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http:
d the monitor is on 8099
>http://localhost:8099/manage
So that url should http://localhost:8080/manage
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or
and combining
>them via mounting, but this is far from elegant, if it works at all.
bobobase_modification_time returns the timestamp of the transaction
containing the most recent copy of the object. timestamping is
fundamental to ZODB. For this alone to work you will need to keep the
obj
akes in the entire file, and
>puts it into a buffer that is like a file descriptor (hence StringIO).
File uploads are spooled into a temporary file, and the request is
only dispatched into Zope once the whole request has arrived.
Anything smarter than that
quest. set
the following header.
Cache-Control: public, s-maxage=0, proxy-revalidate
Caches will cache the content, but always revalidate it before using
the cached reply.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http
On Tue, 10 Oct 2000 10:51:09 +0200, Pierre-Julien Grizel
<[EMAIL PROTECTED]> wrote:
>I still need help about my product needing to know its namespace...
You also need to read the answers already provided.
http://www.zope.org/Members/htrd/howto/FunctionTemplate
Toby Dickenson
[EMAIL
> It seems like this can be handled rather well by simply
> adding a 'XML-RPC access', a 'SOAP access' and a 'WebDAV
> access' set of permissions. we already have a 'FTP access'
> permission which works fine.
Not quite.
That permission controls several methods that are particularly useful f
nt. Essentially the timings were all within a 15% band after a
little tweaking.
Personally I don't think this result is at all suprising: In a loaded
Zope system the processor spends all its time executing the python VM,
not OS code.
Toby Dicken
On Sat, 07 Oct 2000 01:57:40 +0200, "Ansgar W. Konermann"
<[EMAIL PROTECTED]> wrote:
>Definitely, yea!
>
>> I would really be interested in its correct results.
We have been stress testing our Zope application on NT and Linux. Our
conclusion is that OS is not a facto
xposed by ZPublisher.
>There are a number of people
>who have recently voiced their (legitimate) concern that by
>default *practically everything* on their site is xml-rpc
>enabled
Those people were concerned that too many things were exposed via
ZPublisher also My interpretat
trd/howto/FunctionTemplate
Its a wrapper object for python functions that gives them *exactly*
the same calling convention as dtml methods. I developed this as a way
to replace overworked dtml without having to modify every other bit of
dtml that called it.
define your function as
def my_method
t it is contained in. Instant tab augmentation!
>:-)
Theres been some discussion on this class of bug on zope-dev this
week. http://www.zope.org/Members/htrd/names is a list of other ids
that will change Zopes behaviour if used.
Toby Dickenson
[EMAIL PROTECTED]
_
> But doesn't Catalog() return all objects in the Catalog?
> Doesn't all the
> meta-data for those objects have to be loaded into memory ratehr than
> just the 50 that are actually needed?
No, it returns a list-like object that load objects into memory only as the
elements of that sequence are a
On Wed, 20 Sep 2000 14:51:01 +0100, Chris Withers <[EMAIL PROTECTED]>
wrote:
>Maik Roeder wrote:
>>
>> Show stuff in Catalog here.
>>
>
>That doesn't take advantage of the Catalog's lazy searching, AFAIK, and
>on a site with a lot of content that could be bad.
Lazy searching is not an issue -
s by creating
function objects (using malloc, no less) and assigning them as
variables in the class object. Double Urgh!
;-)
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**
t the
object in which the conflict occurred.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/lis
Chris Withers
>thinks every object is a folderish one, but Im talking about using
>PropertyManager, ObjectManager and DTMLMethod all on one object. The main
>problem being absolute_url on the object seems to be broken.
Toby Dickenson
[EMAIL PROTECTED]
__
>Though I am a newbie Zope developer, it was very kindly explained to me that a bug
>in Python 1.6 was being ticked by Zope 2.2.1
FYI, all previous version too.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED
ble as of the new security
implementation in 2.2 (hurrah for private-by-default)
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Relat
On Wed, 13 Sep 2000 13:33:05 +0200, "Dario Lopez-Kästen"
<[EMAIL PROTECTED]> wrote:
>
>>From: "Toby Dickenson" <[EMAIL PROTECTED]>
>> If that is your motivation then you may find that you get *more* back
>> by not using the GPL. My contributio
more* back
by not using the GPL. My contributions to Zope (both personal and on
company time) are fairly significant in total, and would not have
happened if Zope was under a GPL license.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAI
ated lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No c
On Tue, 5 Sep 2000 20:23:47 -0600, "T.J. Mannos" <[EMAIL PROTECTED]>
wrote:
>Now, who do I have to beat up to get the 're' module added to the namespace
>variable??? :)
Not a good idea its too easy for a buggy regex to eat up lots of
memory and proces
l suffering from Zope taking a long
time restart?
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailma
a somewhat modifie Python src dist
Zope builds happily on a stock python 1.5.2 and the cvs versions of
2.0 too.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts
eckout on
>windows? It's obvious that none of the c modules get compiled, but
>these seem to change rather rarely ...
I cant think of a better way if you don't have the compiler to hand.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope m
On Fri, 18 Aug 2000 13:00:41 +0200, Jean Jordaan
<[EMAIL PROTECTED]> wrote:
>Hi Toby
>
>> No feedback on this from anyone yet.
>
>Well, that doesn't really sound encouraging...
Or maybe everyone is quietly happy
To
risk. If you do, please let me know how you get on. I will
>## only include a user interface for these parameters once I
>## have independant verification that there are no problems.
>
>Have you had any feedback? Does this work at all?
No feedback on this from anyone yet. Im not s
s, I have no idea how to find out.
You need to create an NTUserFolder object in your Zope database, using
the /manage interface. You may have to delete any existing acl_users
object first.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTE
>interface (like DTML Documents)
>
3) create a python class that does what provides the methods, and use
that as a base class for your ZClass
pro: easy to add more methods
con: need to restart server after changes
need to do this before you create the ZClass
Toby Dickenson
[EMAIL P
sounds like the same might not be true of MySQL.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailm
s not a conventional
'web' application, but there are strong reasons for sticking with http
if possible: you can benefit from the existing tools and
infrastructure, plus Zope already talks http.
SOAP looks like it will be popular for similar reasons.
What do you need to do that makes http u
to search the whole text, which means you loose
>the 'cool' metadata feature of not sucking a lot fo resource for search
>results.
If you really do have a 67 page document, it would be better to store
each page in its own ZODB object, and index each page individually.
With that sche
; Did you call pythoncom.CoInitialize()?
>>
>> If not you need to.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
__
>Zope maillist - [EMAIL PROTECTED]
>http://lists.zope.org/mailman/listinfo/zope
>** No cross posts or HTML encoding! **
>(Related lists -
> http://lists.zope.org/mailman/listinfo/zope-announce
> http://lists.zope.org/mailman/listinfo/zope-dev )
2.1.6 I execute:
>> ObjectManager.objectValues
>> Where as the next Method works ok:
>> ObjectManager.objectItems
>>
>> Maybe the to be returned info is to complex ?
>>
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maill
anually purge your browsers cache after
fixing a caching bug, to eliminate all traces of the bug.
>what you did, but ie keeps showing old data. this with a no-cache
>header,must-revalidate.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist -
it will be available under
>http://www.zope.org/Members/rbeer/caching
Hey really? Me too.
http://www.zope.org/Members/htrd/howto/caching
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinf
lled 'News Item'. In combination
>with this, Products should list their meta types.
There is a list of product names on http://www.zope.org/Products. If
meta-types were to include the product name
Toby Dickenson
[EMAIL PROTECTED]
___
On Wed, 19 Jul 2000 10:07:30 -0600, Bill Anderson <[EMAIL PROTECTED]>
wrote:
>Toby Dickenson wrote:
>>
>> On Tue, 18 Jul 2000 16:08:48 -0600, Bill Anderson <[EMAIL PROTECTED]>
>> wrote:
>>
>> >> I might be reading more into his words than wa
What you described doesn't scale up to having 1000's of sections
(which I was assuming, and I think Curtis was too). If this isn't a
problem, then your solution is great.
>EddieWare does do 'intellgient' caching
eddieware is on my list of option
L.
Ive not seen eddieware before - so it looks like Ive got some reading
to do.
At a first glance it doesn't have any integrated http caching
(although it seems to have everything else ;-) and theres no obvious
place to hang squid. In my example above, I really want to be able to
cache the rende
em can't be solved without parsing http headers, so
low-level solutions such as www.linux-ha.com are not a total solution.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross p
IP Virtual Server). www.linux-ha.com has more
>information.
That looks good on paper, and I may be setting up a trial system next
month.
One disadvantage is that solution is that each Zope will have poor
locality-of-reference within the object databas
ption, you dont)
If you need to cache whole requests, then the best approach is to
understand and use the http cache headers. If processor load is your
main problem, an external http cache is a big advantage too (I use
squid, see http://www.squid-cache.org)
Toby Dickenson
[EMAIL PROTECTED]
__
r http,
rather than processing those files inside Zope.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zop
lete.
>2) You get a partly truncated record at the very end. This is actually
>not a big deal, and AFAIK in most cases ZODB is capable of
>automatically rolling back a partially committed transaction.
I think the other exception is during an Undo, where Zope will rewrite
one byte in the
nerated. Is it really a problem to have future timestamps? What if I
>just snipped this portion of the code out?
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts o
L PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: [Zope] Data.fs.lock?
>
>
> Toby Dickenson wrote:
> > It's definitely normal, and arguably a problem.
>
> > net stop zope
> > copy c:/zope/var/data.fs c:/zope/var/backupdata.fs
> > net start zope
>
&
/backupdata.fs
net start zope
hope this helps,
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/ma
lue. Python tries to detect too-deep recursion,
however in python 1.5.2 the limit is set a bit too high, and NT
catches it first.
There is a replacement python15.dll somewhere on www.python.org that
sets the limit lower: you will get a very long traceback instead.
Toby Dicken
ave to ensure that all their contained elements have a
different id. The hot-spot is the only way a Folder can achieve this.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cro
ct .
Ok, so 5 small attributes change, but how much doesnt change?
ZODB will store a new copy of the whole object if just one attribute
changes. If you have some large attributes that rarely change then you
can save space by storing it in a different object
to IE to prevent excessive logging of errors on your server.
Is that true? I undestand only the root directory is necessary, unless
you have specifically linked another icon file from your html.
Toby Dickenson
[EMAIL PROTECTED]
___
Zope m
www.python.org/doc/current/lib/module-marshal.html
>
>which supports just that list of types, plus code objects.
Or look at http://www.zope.org/Members/htrd/howto/MiniPickle if you
need:
* Recusive data structures
* Compatability with the next version of python
Toby Dickenson
[EMAIL PROTECTE
75 matches
Mail list logo