Log message for revision 41497:
Added url summary statistics.
Added HTML output that makes it easy to jump from a URL shown in a
minute detail to the statistics for that URL.
Changed:
U Zope/trunk/utilities/tracelog.py
-=-
Modified: Zope/trunk/utilities/tracelog.py
Hi!
I didn't know that methods needed to have docstrings to be traversable
(it took me some time to find out why I was getting Not found errors
on some of a tool's methods). Is there any reason to still have such a
feature in Zope2.9? or at least maybe there could be a hint in the
trace
Summary of messages to the zope-tests list.
Period Sun Jan 29 12:01:01 2006 UTC to Mon Jan 30 12:01:01 2006 UTC.
There were 8 messages: 8 from Zope Unit Tests.
Tests passed OK
---
Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Sun Jan 29 21:05:42 EST
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jean-Marc Orliaguet wrote:
I didn't know that methods needed to have docstrings to be traversable
(it took me some time to find out why I was getting Not found errors
on some of a tool's methods). Is there any reason to still have such a
feature
If somebody gets time to do the suggested refactoring of the publisher
for 2.10, then the docstring requirement could be dropped for
IFiveTraversable objects, I think.
or?
___
Zope-Dev maillist - Zope-Dev@zope.org
Lennart Regebro schrieb:
If somebody gets time to do the suggested refactoring of the publisher
for 2.10, then the docstring requirement could be dropped for
IFiveTraversable objects, I think.
Otoh, whats wrong with docstrings anyway? :-)
Regards
Tino
On Mon, Jan 30, 2006 at 11:34:17AM +0100, Jean-Marc Orliaguet wrote:
Hi!
I didn't know that methods needed to have docstrings to be traversable
(it took me some time to find out why I was getting Not found errors
on some of a tool's methods). Is there any reason to still have such a
Paul Winkler wrote:
On Mon, Jan 30, 2006 at 11:34:17AM +0100, Jean-Marc Orliaguet wrote:
Hi!
I didn't know that methods needed to have docstrings to be traversable
(it took me some time to find out why I was getting Not found errors
on some of a tool's methods). Is there any reason to
Tres Seaver wrote:
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Jean-Marc Orliaguet wrote:
I didn't know that methods needed to have docstrings to be traversable
(it took me some time to find out why I was getting Not found errors
on some of a tool's methods). Is there any reason to
Jean-Marc Orliaguet wrote at 2006-1-30 16:52 +0100:
...
One extra difficulty when debugging with that model is that .pyc files
must be deleted if the .py is modified. since apparently docstrings are
ignored during the compilation.
This is not the case (unless you use -OO and even then, the
Dieter Maurer wrote:
Okay, I see: TemporaryStorage raises ConflictError
when other storages would raise POSKeyError: something
tries to access an oid that was recently garbage collected (i.e.
deleted).
You will never again be able to load this oid without exception
(as it was deleted).
Okay,
The system has to be determined in every way and every step must be
reversible and traceable.
Humm. Then you might want go for Zope3. Afaik Christian Theune also did some
work to have Zope3 certified by TÜV Germany. But unfortunately I do not know at
which point they are.
If you want the
On 1/29/06, Peter Bengtsson [EMAIL PROTECTED] wrote:
Instead of writing links like this::
a href=folderB/objectobject/a
write them like this::
a tal:attributes=href folderB/object/absolute_url_pathobject/a
Or, in 99% of the cases, you can simply say
a href=/folderB/objectobject/a
--
Luciano Ramalho wrote:
I've been assigned to integrate an existing academic portal in Plone
with the OAI-PMH protocol as a data provider. Searching through this
list I found the message below, but no response.
Note that the oaipmh Python module in 2.0 form (pyoai) now has
facilities to build
On 1/27/06, Dieter Maurer [EMAIL PROTECTED] wrote:
Peter Bengtsson wrote at 2006-1-27 16:42 +:
...
But, in that example they are using Five and I'm not. I've just got a
Zope 2.9 install and a python product that I started on before Five
even existed. Does that give us any hope for
Peter Bengtsson schrieb:
Suppose my code looks like this::
class MyProduct(Folder):
blablabla
print class MyProduct has just been reloaded
Then I start zope with ./bin/runzopt, debug-mode off, make a change in
the product and press the Refresh button in the Control_Panel and
notice
On 1/30/06, Peter Bengtsson [EMAIL PROTECTED] wrote:
class MyProduct(Folder):
blablabla
print class MyProduct has just been reloaded
Then I start zope with ./bin/runzopt, debug-mode off, make a change in
the product and press the Refresh button in the Control_Panel and
notice how it
On 1/30/06, Tino Wildenhain [EMAIL PROTECTED] wrote:
Peter Bengtsson schrieb:
Suppose my code looks like this::
class MyProduct(Folder):
blablabla
print class MyProduct has just been reloaded
Then I start zope with ./bin/runzopt, debug-mode off, make a change in
the
On 30 Jan 2006, at 15:01, Peter Bengtsson wrote:
That's not good enough. The only thing that changed between my
development environments was the version of zope and then it stopped
working. Python product refresh is crucial to zope2 and this problem
needs to be sorted out.
I'm calling
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1
Peter Bengtsson wrote:
On 1/30/06, Tino Wildenhain [EMAIL PROTECTED] wrote:
Peter Bengtsson schrieb:
Suppose my code looks like this::
class MyProduct(Folder):
blablabla
print class MyProduct has just been reloaded
Then I start zope with
Yes it works; we have some stuff working here at my place of employment.
I had some problems getting the right squid build to work last year when
looking at this for a customer, but since the team here has had no
problems that I'm aware of with current builds.
Andrew
On Thu, 2006-01-26 at 19:44
On 1/30/06, Jens Vagelpohl [EMAIL PROTECTED] wrote:
On 30 Jan 2006, at 15:01, Peter Bengtsson wrote:
That's not good enough. The only thing that changed between my
development environments was the version of zope and then it stopped
working. Python product refresh is crucial to zope2 and
--On 30. Januar 2006 17:39:11 + Peter Bengtsson [EMAIL PROTECTED]
wrote:
It's not a strange product. It's quite simple in fact.
Not being able to refresh without restarting means that I can't use
Zope 2.9 for python product development.
Why is refresh a requirement for doing Zope
On 1/30/06, Peter Bengtsson [EMAIL PROTECTED] wrote:
It's not a strange product. It's quite simple in fact.
Not being able to refresh without restarting means that I can't use
Zope 2.9 for python product development.
Explain Can't. I have developed complex products where the Refresh
hasn't
For those interested I've put together a little basic zope python product here:
http://www.peterbe.com/zope/2.9-refresh-reproduction/MyProduct.tgz
To reproduce the refreshing problem:
install this product,
start zope,
change something in the index_html() method,
go to
When I run zopectl start, it says daemon process started. But I get
connected refused when I try to go to port 8080. Then if I check the
process, I find zope is not running.
[root@ bin]# ./zopectl start
/usr/local/Zope-2.9.0/lib/python/App/ImageFile.py:21:
DeprecationWarning: Using
I have a Zope 2.9.0 installation under Solaris.
When I access the Zope site directly (port 8080) the session has the
keys I expect, but when I try to do the same using the virtual host
(port 80 has apache that rewrites to the zope installation) the session
is empty.
Do you have any hint about
I've noticed another strange behaviour with the Acquisition module in
Zope 2.9 that might give us some clues as to why refreshing doesn't
work.
Imagine some code that looks like this::
from Acquisition import aq_parent
class MyProduct(Folder):
def index_html(self):
print
On 1/30/06, Andreas Jung [EMAIL PROTECTED] wrote:
--On 30. Januar 2006 17:39:11 + Peter Bengtsson [EMAIL PROTECTED]
wrote:
It's not a strange product. It's quite simple in fact.
Not being able to refresh without restarting means that I can't use
Zope 2.9 for python product
On 30 Jan 2006, at 19:03, sharif islam wrote:
When I run zopectl start, it says daemon process started. But I get
connected refused when I try to go to port 8080. Then if I check the
process, I find zope is not running
You can get more debugging output by running it in the foreground:
David Ayres wrote at 2006-1-29 17:20 -0500:
I removed the Local File System object that had been created by using
'manage_delObjects?ids=' and the errors are gone.
For future reference: When you report problems, your *MUST* include
the corresponding traceback (found in the error_log object in
Peter Bengtsson wrote at 2006-1-30 13:57 +:
...
reloaded but not refreshed means what?
Suppose my code looks like this::
class MyProduct(Folder):
blablabla
print class MyProduct has just been reloaded
Then I start zope with ./bin/runzopt, debug-mode off, make a change in
the
martin f krafft wrote:
also sprach Jonathan [EMAIL PROTECTED] [2006.01.25.2330 +0100]:
We are running a *nix environment, and use cron with script files that use
either perl LWP or CURL to make http requests that invoke the zope
methods/scripts. LWP, CURL (and others) give you the ability to
David Ayres wrote:
I removed the Local File System object that had been created by using
'manage_delObjects?ids=' and the errors are gone. However, has anyone run
into this problem before?
What version of Zope are you using?
My guess would be that LocalFS isn't compatible with the version of
Andrew Sawyers wrote:
Yes it works; we have some stuff working here at my place of employment.
I had some problems getting the right squid build to work last year when
looking at this for a customer, but since the team here has had no
problems that I'm aware of with current builds.
Perhaps you
On 1/30/06, Luca Dall'Olio [EMAIL PROTECTED] wrote:
I have a Zope 2.9.0 installation under Solaris.
When I access the Zope site directly (port 8080) the session has the
keys I expect, but when I try to do the same using the virtual host
(port 80 has apache that rewrites to the zope
also sprach Chris Withers [EMAIL PROTECTED] [2006.01.30.1854 +0100]:
My suggestion would be to use ZEO and Stepper...
Oooh, this is definitely worth a closer inspection. Thanks a lot.
--
martin; (greetings from the heart of the sun.)
\ echo mailto: !#^.*|tr * mailto:; [EMAIL
Hi:
The way our current website works is via changes made in a sandbox
area and then using CVS moved to a staging area (same server as
sandbox). After approval of changes visible in the staging area, the
changes are then, using CVS, moved to the production server (different
from staging server)
On Jan 30, 2006, at 1:16 PM, Chris Withers wrote:
Perhaps you could write a short how-to describing the exact
versions you used? Both myself and Jens had little joy with this...
I just managed to build myself an ESI enabled Squid3 with the
following configure invocation. It is based
how many do I need, and how will I know?
--
--
Einar Næss Jensen
http://einar.nidelven-it.no/einarblog
http://www.homemade.no
tlf: +47 90990249
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML
On 30 Jan 2006, at 22:43, Einar Næss Jensen wrote:
how many do I need, and how will I know?
You do not need to worry about it unless you have a really unusual
setup. The default is fine for 99.9% of all situations.
jens
___
Zope maillist -
Qass wrote:
The way our current website works is via changes made in a sandbox
area and then using CVS moved to a staging area (same server as
sandbox). After approval of changes visible in the staging area, the
changes are then, using CVS, moved to the production server (different
from
Peter Bengtsson wrote at 2006-1-30 18:54 +:
I've noticed another strange behaviour with the Acquisition module in
Zope 2.9 that might give us some clues as to why refreshing doesn't
work.
Imagine some code that looks like this::
from Acquisition import aq_parent
class MyProduct(Folder):
On 1/30/06, Andrew Langmead [EMAIL PROTECTED] wrote:
I wasn't involved in the Squid3/ESI work done at boston.com before,
so I don't know if there are any issues beyond the ones I resolved in
getting things to build.
At the time I was involved the implementation came up short of
anything useful
-bhavana - wrote:
hi all..
How to communicate with zope database? the documents that we post in
Plone have id, ya? it is store in data.fs. how to extract those ids with
query? Plz help on this regard.
Hi bs:
Read the chapter 17, Searching and Categorizing CContent in the Zope book.
-bhavana - [EMAIL PROTECTED] wrote at 2006-1-30 10:27 +0700:
...
How to communicate with zope database?
You use Zope (or scripts using the Zope codebase).
the documents that we post in Plone
have id, ya?
There are lots of ids around.
The id used in Plone is not a universal id, but unique
46 matches
Mail list logo