I use Zope since around 2001 and I still have some Zope 2 web applications
running and they are just rock-solid and easy to update.
I have never been convinced by Zope 3 and I have never seen any advantages for
using the Zope 3 techniques.
The Zope 2 core developers (I think Andreas has worked f
I use Zope since around 2001 and I still have some Zope 2 web applications
running and they are just rock-solid and easy to update.
I have never been convinced by Zope 3 and I have never seen any advantages for
using the Zope 3 techniques.
The Zope 2 core developers (I think Andreas has worked f
> And how do you think ExtendedPathIndex help with sorting here?
>
> In this case, some custom sorting would be required in a python method or
> view.
It's the combination of both the indexes "position" and the
"ExtendedPathIndex" which provides a depth parameter that solved my problem.
No expe
Hi there
I use Zope 2.10.5 and I want to create a site tree using the ZCatalog
instead of iterating recursive trough the entire object tree.
I have the following site structure (all things are folders):
- about
--- company
--- staff
- homepages
--- phelps
--- phonebook
--- jobs
- resear
> If your tracebacks are reliable, then neither of these entries
> should cause "hanging" (apart from this: CPU usage of about 100 percent
> does not indicate hanging but some other problem).
>
> Tracebacks do not need to be reliable. They can be unreliable when the
> the "*.pyc/*.pyo" files do n
> import time
> T0 = time.time()
> conn.simple_bind_s(user_dn, user_pwd)
> T1 = time.time()
> open('/tmp/timings.log','a').write('%s\n' % (T1-T0))
Thanks, Peter.
I tried that and the max value for T1-T0 I got was: 0.162416934967
Regards
Nico
__
> These entries should not be the one that cause your problems
> (they are not computationally expensive).
> Do you see other entries as well?
Thank you very much for your answer, Dieter.
There are 2 entries from in the DeadlockDebugger's output that may block
all other threads.
Here is the f
> Yes, and you can use the Control_Panel/DebugInfo as well and scroll
> down to the Connections table. Out of the 8 threads most of them
> should be vacant (ie. None) and if there are some requests logged
> there they should in the range of < 1 sec.
> If any of them are longer than 1 sec they are e
Hi there
in the last days my Zope server seems to hang and the CPU is almost
every time at 100 %.
I installed DeadlockDebugger and see a lot of these entries:
-
File "/usr/local/Zope-2.10.5/lib/python/OFS/Traversable.
> Instead of generating the image on the call to your ZPT you form an src="/some/url/that/makes/my/image?foo=bar&baz=bat"> e.g. in order to
> generate the right image.
Got it. The magic is not to call the external method by
container.createThumbnail() but use absolute URL to the external method.
> You can't do this
>
> What you need to do is associate the image with a URL so it gets
> generated when the browser processes the tag.. UNLESS it's very small
> in which case you can use the src="..." attribute to contain the data.
>
> So a PIL image should be returned by a script or exter
> > The renders "".
> > How can I show the image?
> Call its tag method.
>
Hi Paul,
how is the susi going? ;-)
I tried but I get the
following error:
---
Exception Type TraversalError
Exception Value
Hi there
Is it possible to show several PIL.Image.Image instances in a Zope Page
without creating a temporary Zope image object?
I have an external method that creates a list of
PIL.Image.Image instances, e.g.
[,
]
How can I display all images in a Zope page template?
I tried
I'm sorry. This message should go to the german DZUG list. The problem
is solved. Sorry for the irritation.
Nico
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
Hallo zusammen,
heute morgen haben mich die Zope Instanzen auf meinem Server etwas
überrascht. Ich komme nicht mehr in den Zope Root Ordner via ZMI
(http://myzope:8082/manage). In's Control_Panel komme ich noch rein,
d.h. http://myzope:8082/Control_Panel/manage klappt ohne Probleme.
In eine Pr
After I started Zope and make a few SQL queries, the Zope server shuts
down with a "Segmentation fault".
At the same time there is a log entry on my linux machine in
/var/log/messages that reads:
Jan 23 10:43:09 smut kernel: python[6231]: segfault at
rip 0043c0d7 rsp 000
I am running Zope 2.9.6. on a 64-Bit Suse Linux 10.1 machine (9 Gbyte of
RAM) with Python 2.4.3. installed.
From time to time, Zope hangs and I cannot access it anymore. I tried
to use the "Zope DeadlockDebugger" but if my Zope hangs I cannot call
the URL "http://myzopesite:8080/manage_debug_thr
Have you tried to enable the trace logger in the zope.conf file?
Look for the stanza beginning with .
You need to have your server in debug-mode. This will produce a
trace.log file that can be analyzed with requestprofiler.py.
This will give you the offending requests that caused Zope to hang.
Then, this is a case where you need debugging on C level, e.g. with "GDB".
You need a Python version with debug symbols (those installations
that come with the OS distribution usually lack them, you need
to build your Python yourself -- and with it your Zope).
Then you attach the Zope process
Dear list members,
I am running Zope 2.9.6. on a 64-Bit Suse Linux 10.1 machine (9 Gbyte of
RAM) with Python 2.4.3. installed.
From time to time, Zope hangs and I cannot access it anymore. I tried
to use the "Zope DeadlockDebugger" but if my Zope hangs I cannot call
the URL "http://myzopesite:
hello,
i created a zclass "myzclass" inside a product "myprod".
inside of the zclass i created a dtml-method "mymethod_html" which can
be found by the tab "Methods".
in the root folder i have created a dtml-method "gimme_html" conatinintg
the following code to access the method "mymethod_html" :
Hello,
in zope 2.2.0, when adding a new zclass the management-screen includes a
checkbox
"Include standard Zope persistent object base classes?".
What does exactly this option do ??
I could not find any differences between adding a zclass with selected
checkbox and adding a zclass with not-s
>Date: Thu, 27 Jul 2000 06:42:39 -0400 (EDT)
>From: Firestar <[EMAIL PROTECTED]>
>To: [EMAIL PROTECTED]
>Subject: [Zope] How to start developing in zope
>
>Hi, I have read through(and tried out) the tutorials and Guides at Zope.org,
>and now eager to port my company's website over to Zope. (The we
23 matches
Mail list logo