.
unfortunately since the whole system is swapping like crazy, working
at the shell is probably no fun either :-)
P.S. How's your SU700 treating you? I sold mine years ago :)
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http
reverse proxy in front of Zope should help
protect against that kind of thing.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists
traceback.
Look in your new instance, for the event log in the logs/ dir.
That should contain the error and the full traceback.
From my understanding the paths for the zope instance have to be the
same for Data.fs to work correctly. Is that correct?
No, Data.fs should be portable.
--
Paul Winkler
. For me, ZPT has nice
advantages.
OTOH, sometimes we're doing ZSQL so we use DTML syntax for that. ZPT
would be useless for building SQL queries.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman
else by layer support?
--
Paul Winkler
___
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-announce
http
persistent
object, and you're in some other part of the folder tree where
you can't acquire it from parent folders?
hard to guess with so little information... sorry.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http
/mailman/listinfo/zope-dev )
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
be happy to propose such an Open Space session. Things
to talk about would include doctest, buildbot, coverage, etc.
+1.
I'd add layers to the etc list.
--
Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist - Zope-Dev@zope.org
http
positional parameters, which isn't what you want:
[EMAIL PROTECTED] ~ $ echo $FOO
[EMAIL PROTECTED] ~ $ set FOO=bar
[EMAIL PROTECTED] ~ $ echo $FOO
[EMAIL PROTECTED] ~ $ echo $1
FOO=bar
[EMAIL PROTECTED] ~ $ export FOO=bar
[EMAIL PROTECTED] ~ $ echo $FOO
bar
--
Paul Winkler
http://www.slinkp.com
On Thu, Nov 30, 2006 at 08:52:40AM -0800, Nancy Donnelly wrote:
From: Paul Winkler [EMAIL PROTECTED]
What shell are you using? That's not how you set an environment
variable in any of the bourne-style shells (sh, bash, ksh).
For those, you would use:
export PYTHONPATH=/usr/local/zope
Not meant for production sites.
I still prefer zdb, because you can actually see and step through the
script code.
http://www.simplistix.co.uk/software/zope/zdb
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org
missing?
This kind of thing is usually a mistaken type assumption.
I bet your radiobutton is setting it to 0 rather than 0.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
these objects
2. Reference them as files
FSDump will dump stuff from a folder to the filesystem.
http://www.zope.org/Members/tseaver/FSDump
Then, replace the folder with a FileSystemSite
or one of the alternatives.
http://wiki.zope.org/zope2/FileSystemSite
--
Paul Winkler
http://www.slinkp.com
a community that treats me like this when I'm
only trying to help.
FWIW, while I do think you have some misconceptions of where zope is
going, I do think the tone got a lot harsher than necessary.
I haven't posted on your wiki because I prefer mailing lists.
--
Paul Winkler
http://www.slinkp.com
On Tue, Nov 14, 2006 at 04:06:39PM -0800, Nancy Donnelly wrote:
HELP!
First thing I'd do is find the event log and see what's in it
recently...
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman
that
care about things like mod time. If you want something else, CMF has
examples of doing the DublinCore date stuff. IIRC Philip's book has
examples of doing dublin core in the zope 3 style.
Happy to prove this particular point ;-)
--
Paul Winkler
http://www.slinkp.com
/zope.conf.
There will be lots of comments in there explaining
the various directives. Hopefully you can figure
out how the various things in your old zope.conf
translate to the new format.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist
don't even need to do that.
Try:
tal:define=root python:here.restrictedTraverse('index_frame.pt')
which can be spelled a bit more simply as:
tal:define=root nocall:here/index_frame.pt
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope
to hunt around, but no script pointing to some PTDocument like there is
with DTML.
I think you want ZopePageTemplate from lib/python/Products/PageTemplates/
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org
and 1 zeo instance, start the zeo and then
start the zope instance I see this in my logs. Note this is the first start
of the fresh installs. Does anyone have any suggestions as to the cause?
(snip)
--
Paul Winkler
http://www.slinkp.com
___
Zope-DB
On Wed, Oct 18, 2006 at 02:55:33PM +0200, Nightflyer wrote:
Hi All,
I've been asked to migrate an ancient Zope server from 2.1.x to the
latest 2.x or 3.x version.
http://zopewiki.org/Upgrading
--
Paul Winkler
http://www.slinkp.com
___
Zope
this thread:
http://aspn.activestate.com/ASPN/Mail/Message/zope-list/2916870
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists
(source_data)
but again, this doesn't address your immediate problem :)
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http
On Tue, Oct 17, 2006 at 11:43:50PM +, Maurits van Rees wrote:
This would just be for convenience. Would this be enough of a
convenience to put into the Zope source code?
Yes please!
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist
for the
required methodCall element. If missing, it can't be XML-RPC.
It would be more reliable if some configuration was required to specify
when XMLRPC is expected, and when not. But that would break Zope's
longstanding promise that XMLRPC is supported for free, always,
automatically.
--
Paul
holds
that port. Try something like: ps -wax | grep py
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org
)
But if your actual code looks like your example, you should have
gotten errors due to missing arguments.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding
/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http
On Fri, Sep 29, 2006 at 11:23:47PM +0100, Chris Withers wrote:
whit wrote:
thanks Chris!
-w
I just wish there was a good and more permenant place to put this...
maybe zopewiki.org?
thanks for the writeup, very useful and readable!
--
Paul Winkler
http://www.slinkp.com
.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman
it, or some such.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http
calls look just like local calls:
remote = xmlrpclib.ServerProxy('http://somewhere/something')
result = remote.someMethod('param1', 'param2')
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo
a bug, but then, I don't recall ever stumbling on it
in practice.
--
Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists
proc. is not an option, this is a third-party
database.
Any suggestions?
p.s. I'll be asking egenix too, we'll see if they reply to help requests
without a purchased license... but then, if I can't get this to work
there's no point in purchasing one :-]
--
Paul Winkler
http://www.slinkp.com
On Wed, Sep 27, 2006 at 11:51:40PM +0200, Charlie Clark wrote:
Am 27.09.2006, 23:44 Uhr, schrieb Paul Winkler [EMAIL PROTECTED]:
Any suggestions?
p.s. I'll be asking egenix too, we'll see if they reply to help requests
without a purchased license... but then, if I can't get this to work
.
... and that is very unlikely to change, since zope ships
with a number of C extensions.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists
text html_quote=1?
If so, remove the html_quote attribute.
See http://www.plope.com/Books/2_7Edition/AppendixA.stx#1-20
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross
the data fly by, already decoded and ready to be
copypasted into SOAPUI? :)
?: http://www.circlemud.org/~jelson/software/tcpflow/
?: http://www.soapui.org/
Nice! tcpflow is simple and handy.
Anybody know of something like soapui that supports xml-rpc?
Bonus points for json-rpc.
--
Paul
.
Was it always that way? I don't know and don't have time to check.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http
me he gets occasional hangs, I have no idea what
kind of request triggers the hang.
I may end up sprinkling my code with a lot more logging calls than I'm used
to. Any other suggestions?
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist
On Wed, Sep 13, 2006 at 02:39:14AM +1000, Andrew Milton wrote:
+---[ Paul Winkler ]--
| Been doing web services (XML-RPC) stuff lately.
| What suggestions do people have for troubleshooting a zope-based
| XML-RPC application?
When debugging;
o Raise an exception
. Thanks!
Found it at
http://www.wireshark.org/faq.html
Unlike tcpdump, it doesn't require pointing clients to a different
port (or running on the server and restarting the server on
a different port).
--
Paul Winkler
http://www.slinkp.com
___
Zope
On Wed, Sep 13, 2006 at 03:04:48AM +1000, Andrew Milton wrote:
+---[ Paul Winkler ]--
| On Wed, Sep 13, 2006 at 02:39:14AM +1000, Andrew Milton wrote:
| +---[ Paul Winkler ]--
| | Been doing web services (XML-RPC) stuff lately.
| | What
give this a try.
FWIW, I've been toying with adding a @log decorator to my methods,
along the lines of the logger example at http://soiland.no/software/decorator
but i'm having some pain - will report back if i get it working.
--
Paul Winkler
http://www.slinkp.com
will do that:
./bin/zopectl fg
or
./bin/runzope
Now when the script runs, you'll get a pdb prompt in
the terminal where you ran zope.
It'll take a little practice to learn to find your way around.
At first you'll likely spend some time blindly stepping through
the deep guts of Zope...
--
Paul
encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo
.
I've never needed to tweak the number of connections, but AFAICT
googling for pool-size and either zodb or zope.conf may be
helpful.
-PW
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo
number of tiny files.
- Packing is VERY slow (21 GB could easily take all night).
- Somewhat slower than Filestorage in general.
- Requires more disk space (+30%).
This page is old but maybe still useful:
http://cvs.zope.org/ZODB3/Doc/storages.html?rev=1
--
Paul Winkler
http://www.slinkp.com
web.vi
is my personal site?
This is not a message that a default zope installation creates.
So where does it come from? I've no idea.
Is it possible that you've configured something other than zope to generate
such a message? e.g. pound?
--
Paul Winkler
http://www.slinkp.com
('person_id')
Never ever pass raw user input to a sql query! If you're not familiar
with the phrase sql injection... google it :)
The zope book relational databases chapter explains how to use
dtml-sqlvar which is one way to avoid the danger.
--
Paul Winkler
http://www.slinkp.com
fine.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http
that, it's a dead end IMO.
Sooner or later you will run up against feature or syntax differences.)
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding
diagnose apparent hangs
is the trace log, formerly known as the big M log.
http://zopewiki.org/TraceLog
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding
On Sun, Jun 18, 2006 at 08:30:58PM +0200, Lennart Regebro wrote:
On 6/18/06, Paul Winkler [EMAIL PROTECTED] wrote:
+1, I'd like some way to easily know when a release is no longer
maintained. i.e., what's the X in the above formula.
Well, it's 2 versions, so far. I.e, current release
the Zope Pope.
Who approves cvs submissions?
Nobody / everybody. i.e. there's no formal process, but
people often complain about checkins they disagree with.
It's generally resolved informally and amicably.
--
Paul Winkler
http://www.slinkp.com
.
Unfortunately I have no suggestions short of exporting
everything and importing it into a fresh instance.
How painful this will be is directly proportional to
the size of your database :-\
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope
be to write
a reasonable migration on the
application level based on your current data...
actually the XML format can sometimes be quite usable.
maybe not for images :)
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
much all of these will require you to write some trusted code,
i.e. on the filesystem (in a Product or External Method).
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross
/zope-announce
http://mail.zope.org/mailman/listinfo/zope-dev )
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http
annoyed to fix it myself :)
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope
,
and then remove everyone's permission to add OFS.File instances.
Then write zopectl scripts to migrate existing Files.
As for people writing bad code - that will always be a problem :)
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
:
p tal:define=blah nocall:python:int tal:content=python:blah('1')+2
/p
--
Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related
it for purposes of registering products.
Normally in zope 2, product Foo would import stuff from product Bar
like so:
from Product.Bar import blah
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo
Log message for revision 67975:
making a branch to fix collector 1447,
AcceleratedHTTPCacheManager doesn't PURGE correctly for virtual hosts
Changed:
A Zope/branches/slinkp-1447-httpcache-fix-branch/
-=-
Copied: Zope/branches/slinkp-1447-httpcache-fix-branch (from rev 67974,
Log message for revision 67976:
Fixes and unit tests for http://www.zope.org/Collectors/Zope/1447:
when editing content on a virtual-hosted zope, changes will purge
correctly.
Also simplified the test framework (no more need to launch an
HTTP server).
Changed:
U
Log message for revision 67977:
Noted fix for 1447 in CHANGES.txt.
Changed:
U Zope/branches/slinkp-1447-httpcache-fix-branch/doc/CHANGES.txt
-=-
Modified: Zope/branches/slinkp-1447-httpcache-fix-branch/doc/CHANGES.txt
===
Log message for revision 67978:
Merged slinkp-1447-httpcache-fix-branch, -r 67975:67977.
Fixes issue with AcceleratedHTTPCacheManager sending PURGE from a
virtual-hosted zope, and adds a bunch of related tests and comments.
Changed:
U Zope/trunk/doc/CHANGES.txt
U
Log message for revision 67979:
Merged slinkp-1447-httpcache-fix-branch, -r 67975:67977.
Fixes issue with AcceleratedHTTPCacheManager sending PURGE from a
virtual-hosted zope, and adds a bunch of related tests and comments.
Changed:
U Zope/branches/2.9/doc/CHANGES.txt
U
Log message for revision 67984:
added some TODO notes.
Changed:
U
Zope/branches/slinkp-httpcache-improvements-branch/lib/python/Products/StandardCacheManagers/AcceleratedHTTPCacheManager.py
-=-
Modified:
Product code *so that* you can import other stuff
into Python Scripts.
You can't use allow_module *inside* a Python Script, that would
defeat the whole purpose :)
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http
of
traversing the zope object tree. Possibly convenient at times
but I don't see anything there that can't be done with the normal
zope APIs.
--
Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman
/mailarchive/forum.php?thread_id=4906719forum_id=9987
some talk about cold failover:
http://sourceforge.net/mailarchive/forum.php?thread_id=7828511forum_id=9987
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org
source file.
And no built-in browsing of documentation afaict.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http
not want to move into the v2.9.x builds.
Any guidance appreciated.
google for two things:
zope deadlock debugger
debug spinning zope
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
concepts still apply.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http
is a perfectly fine place to put non-system software.
http://www.pathname.com/fhs/pub/fhs-2.3.html#USRLOCALLOCALHIERARCHY
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross
the rest of the server some time to catch up.
Note that this doesn't buy you any improved responsiveness
if you're running behind e.g. apache, because apache has to
read the entire response from Zope before it starts sending it
back to the client.
--
Paul Winkler
http://www.slinkp.com
On Thu, Apr 13, 2006 at 09:04:38AM -0500, Floyd May wrote:
Paul Winkler wrote:
On Wed, Apr 12, 2006 at 01:56:58PM -0500, Floyd May wrote:
One solution I've found is to buffer the writes to REQUEST.RESPONSE by
using a python script which the calls granular page templates rather
than a single
One more correction for the archives:
On Thu, Apr 13, 2006 at 11:45:41AM -0400, Paul Winkler wrote:
On Thu, Apr 13, 2006 at 09:04:38AM -0500, Floyd May wrote:
Paul Winkler wrote:
Note that this doesn't buy you any improved responsiveness
if you're running behind e.g. apache, because apache
as expected against
a sample data set.
How do people test this sort of thing? Do you go whole-hog and
fire up MySQL or whatever? Or use gadfly? sqlite? or what?
Are there other tools I should know about?
--
Paul Winkler
http://www.slinkp.com
___
Zope
be interested in. I have never written tests of generated
SQL before.
I will try to post a sample for Zope2, just to give an idea of what could be
done.
That would be very helpful, thank you.
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope
Log message for revision 66856:
Belatedly removed test for the reverted 2057 bugfix. Whoops.
Changed:
U Zope/branches/2.9/lib/python/Testing/tests/test_makerequest.py
-=-
Modified: Zope/branches/2.9/lib/python/Testing/tests/test_makerequest.py
?
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://mail.zope.org/mailman/listinfo/zope-announce
http://mail.zope.org/mailman
NotFound, I haven't seen that.
Maybe I'm just so used to running in debug mode that I've fixed
all these before they ever got to a production server ;-)
--
Paul Winkler
http://www.slinkp.com
___
Zope maillist - Zope@zope.org
http://mail.zope.org
site to see if it
is a 'Folder'.
This is really a CMF question and belongs on the zope-cmf
mailing list; invokeFactory() is a method of CMFCore.PortalFolder.
But to answer your question: someobject.portal_type
-PW
--
Paul Winkler
http://www.slinkp.com
Log message for revision 66651:
Fixed makerequest to not use os.environ by default.
Changed:
U Zope/trunk/lib/python/Testing/makerequest.py
-=-
Modified: Zope/trunk/lib/python/Testing/makerequest.py
===
---
Log message for revision 66656:
- Backed out workaround for 2057; on second thought,
adding a getPhysicalPath() on a request just smells bad,
and it's not that hard to roll your own root object.
- Fixed thinko with mutable default arg, duh.
- Improved docstrings.
and see what else breaks...
--
Paul Winkler
http://www.slinkp.com
___
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
On Fri, Apr 07, 2006 at 10:04:36AM -0400, Paul Winkler wrote:
I may try eradicating os.environ usage from Testing on my trunk
sandbox and see what else breaks...
Answer: nothing. Committed on the trunk.
I did a bit of grepping around too. There are a few tests
that twiddle os.environ
On Fri, Apr 07, 2006 at 12:52:29PM -0400, Paul Winkler wrote:
On Fri, Apr 07, 2006 at 10:04:36AM -0400, Paul Winkler wrote:
I may try eradicating os.environ usage from Testing on my trunk
sandbox and see what else breaks...
Answer: nothing. Committed on the trunk.
To clarify, I just
On Fri, Apr 07, 2006 at 02:35:57PM +0200, Florent Guillaume wrote:
Paul Winkler wrote:
Using an Item or Folder as your root object for tests works fine except for
this one issue, so why not allow that?
My feeling is that setting up an app is unnecessary work when you
don't need one; for one
On Thu, Apr 06, 2006 at 06:01:30PM -0400, Tres Seaver wrote:
Paul Winkler wrote:
I know who originally added those tests,
That would be me.
I was hoping you'd pop in :-)
I don't see anything wrong with using a non-Zope2-app
object for unit testing: in fact, I think it is *superior
) have changed.
It used to be that if text was None, the contents of www/default.html
would be used. That no longer happends, and pt_edit can't accept None
for the text.
Was this intentional or is it a bug?
--
Paul Winkler
http://www.slinkp.com
___
Zope-Dev
On Fri, Apr 07, 2006 at 09:50:06PM +0200, Andreas Jung wrote:
--On 7. April 2006 15:37:38 -0400 Paul Winkler [EMAIL PROTECTED] wrote:
This is because the semantics of ZopePageTemplate(id, text=None) have
changed. It used to be that if text was None, the contents of
www/default.html would
Log message for revision 66597:
Fixed acceptable versions, it wouldn't accept 2.4.2 properly.
Changed:
U Zope/branches/2.9/configure
-=-
Modified: Zope/branches/2.9/configure
===
--- Zope/branches/2.9/configure 2006-04-06
Log message for revision 66605:
Tests should not pollute os.environ when a dict will do just fine;
this caused failures in testVirtualHostMonster when Testing/makerequest
was modified.
Changed:
U
Zope/branches/2.9/lib/python/Products/Sessions/tests/testBrowserIdManager.py
-=-
Log message for revision 66609:
Merged environment pollution fix from 2.9 branch.
Changed:
U Zope/trunk/lib/python/Products/Sessions/tests/testBrowserIdManager.py
-=-
Modified: Zope/trunk/lib/python/Products/Sessions/tests/testBrowserIdManager.py
Log message for revision 66621:
Reverting refactoring of ZopeTestCase.utils.makerequest,
and the related addition of an environ argument to
Testing.makerequest. This was not a bugfix, thus inappropriate
for the stable branch. Apologies.
Changed:
U
-q -all before checking in
so I'm not sure how that happened. Investigating.
--
Paul Winkler
http://www.slinkp.com
___
Zope-Dev maillist - Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding
On Wed, Apr 05, 2006 at 10:30:05PM +0200, Philipp von Weitershausen wrote:
Paul Winkler wrote:
Aside from stuff mentioned on your proposal, we are using macros from
zope.app.rotterdam.standardmacros.
Aha. Why? Are you actually using parts of the Rotterdam skin?
Heh. Actually, a closer
101 - 200 of 685 matches
Mail list logo