Re: [Zope] os module on different os's

2006-05-31 Thread Chris Withers
garry saddington wrote: I have a Zope application that runs on WinXP and Debian sarge without problems. I am using os.popen and popen2 to run locally installed applications and use their output in Zope (particularly aspell and diction). I'd suggest moving to the new subprocess module which

Re: [Zope] Preventing Zope Spinning?

2006-05-30 Thread Chris Withers
Jens Vagelpohl wrote: Persistent caches can introduce odd errors, unfortunately. They can create inconsistencies between what a ZEO client thinks the database state is and what the ZEO server thinks. Not recommended for production setups. Don't necessarily agree with this. If the clients get

Re: [Zope] Preventing Zope Spinning?

2006-05-30 Thread Chris Withers
Jens Vagelpohl wrote: There are several production setusp where I use persistent client caches and I've had very few problems with them... I'm sorry, this is not a matter of agreeing. It is a matter of personally observed facts. Yes, which is exactly what I'm providing ;-) I've seen big

Re: [Zope] allow access to fileobject depending on role

2006-05-25 Thread Chris Withers
leandros van den berg wrote: I'm having trouble with the precondition field of a fileobject. I've got a fileobject (a PDF-file) and its precondition field states myPrecondition, which is a DTML Method and its code is: This is insane... Situation II: - User with Bobo-role logs in and opens

[Zope] Migrating from PTS to Zope 2.9.3's i18n?

2006-05-25 Thread Chris Withers
Hi All, (CC'ing Philipp in directly since he appears to be fairly guru-some in this area!) I have a project with a load of ZODB-based page templates that are all marked out for use with PTS. How hard would it be to sub in Zope 3's i18n stuff for PTS and, if I chose to do so, what would be

[Zope-Checkins] SVN: Zope/tags/2.9.3/inst/WinBuilders/ tweak versions.

2006-05-24 Thread Chris Withers
Log message for revision 68265: tweak versions. Changed: U Zope/tags/2.9.3/inst/WinBuilders/README.txt U Zope/tags/2.9.3/inst/WinBuilders/mk/python.mk -=- Modified: Zope/tags/2.9.3/inst/WinBuilders/README.txt === ---

[Zope-Checkins] SVN: Zope/branches/2.9/inst/WinBuilders/ tweak versions.

2006-05-24 Thread Chris Withers
Log message for revision 68266: tweak versions. Changed: U Zope/branches/2.9/inst/WinBuilders/README.txt U Zope/branches/2.9/inst/WinBuilders/mk/python.mk -=- Modified: Zope/branches/2.9/inst/WinBuilders/README.txt ===

[Zope-Checkins] SVN: Zope/trunk/inst/WinBuilders/ tweak versions.

2006-05-24 Thread Chris Withers
Log message for revision 68267: tweak versions. Changed: U Zope/trunk/inst/WinBuilders/README.txt U Zope/trunk/inst/WinBuilders/mk/python.mk -=- Modified: Zope/trunk/inst/WinBuilders/README.txt === ---

Re: [Zope] apache rewrite rules redux

2006-05-24 Thread Chris Withers
David Bear wrote: # see http://betabug.ch/zope/witch RewriteRule ^/z2$ http://127.0.0.1:9080/VirtualHostBase/\ https/%SERVER_NAME}:80/VirtualHostRoot/_vh_z2/ [L,P] RewriteRule ^/z2/(.*) http://127.0.0.1:9080/VirtualHostBase/\ https/%{SERVER_NAME}:80/VirtualHostRoot/_vh_z2/$1 [L,P] These rules

Re: [Zope-dev] Re: Zope 3 ZPTs in Zope 2: Nearly done

2006-05-23 Thread Chris Withers
Philipp von Weitershausen wrote: So, even though Chris Withers and you like the parallels to a Unix shell, they're not even reality as of Zope 2.9. Sorry, you're completely right and I'm mistaken, my apologies. In TALES you always start from an object, so I'm +1 on banning empty segments

Re: [Zope-dev] Re: SVN: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/Expressions.py Officially deprecate the BBB methods on the iterator and add a note

2006-05-23 Thread Chris Withers
Philipp von Weitershausen wrote: maintained in Zope 3. Plus, the goal is to use the Zope 3 implementation everywhere so there must be some advantages in the Zope 3 implementation over the Zope 2 one... otherwise we wouldn't be doing this... This logic is faulty. The merge is desirable because

Re: [Zope-dev] Re: Zope 3 ZPTs in Zope 2: Nearly done

2006-05-22 Thread Chris Withers
Tres Seaver wrote: Zope2 uses them at the beginning of a path to indicate traversal from the root. -1 to dropping that case (it is the one which makes '/foo/bar' behave orthagonally). Yeah, I'm actually about -10 to this ;-) ...think about trying to explain why:

Re: [Zope-dev] Re: SVN: Zope/branches/ajung-zpt-end-game/lib/python/Products/PageTemplates/Expressions.py Officially deprecate the BBB methods on the iterator and add a note

2006-05-22 Thread Chris Withers
Tres Seaver wrote: +@deprecate(The 'last' method has been deprecated and will disappear + in Zope 2.12. Use the 'end' property instead.) def last(self, name=None): if self.end: return True I don't think deprecating 'first' and 'last' is

Re: [Zope] windows python differences

2006-05-19 Thread Chris Withers
garry saddington wrote: What if the word is like `rm -rf /` It is impossible for this to happen because of other controls in place. Gary, Just to echo what others have said: this is all insane. There are much better ways of communicating with other processes and spawning them off. In Zope

Re: [Zope] Re: Zope User in Apache Logs

2006-05-18 Thread Chris Withers
Josef Meile wrote: If your Zope auth solution can put a header in the http response, then you can use a custom apache logging directive to put this in your Apache log in place of what it thinks the username is. I put this on the log method of the medusa/http_server.py file:

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Products/PluginIndexes/ quieten more down.

2006-05-15 Thread Chris Withers
Log message for revision 68138: quieten more down. Changed: U Zope/branches/2.9/lib/python/Products/PluginIndexes/KeywordIndex/KeywordIndex.py U Zope/branches/2.9/lib/python/Products/PluginIndexes/PathIndex/PathIndex.py U

[Zope-dev] ZCTextIndex bug?

2006-05-15 Thread Chris Withers
I know it's an old Zope version, but it doesn't look like the code's changed in this area since then... Should it be possible for the following to happen? File C:\Zope\2.7.6\lib\python\Products\ZCatalog\ZCatalog.py, line 558, in uncatalog_object self._catalog.uncatalogObject(uid)

Re: [Zope-DB] Add some docs to DCOracle2

2006-05-15 Thread Chris Withers
Why not sign a contributor agreement yourself? Chris :-) Dario Lopez-Kästen wrote: hi, i'd like to add some docs to DCOracle2, nothing fancy but that make life easier for those still needing to use DCoracle2. Can I post the docs here when they are finished, and can someone add the to the

Re: [Zope] versioning application

2006-05-12 Thread Chris Withers
David Bear wrote: I am wondering if anyone is using zope as versioning repository. We have a group of researchers that need some kind of version control system. The need to control versions of data sets, and office documents. Why not just use a version control system like Subversion? ;-)

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Products/PluginIndexes/common/UnIndex.py while this is interesting, is doesn't warrant spewing at error.

2006-05-11 Thread Chris Withers
Log message for revision 68093: while this is interesting, is doesn't warrant spewing at error. Changed: U Zope/branches/2.9/lib/python/Products/PluginIndexes/common/UnIndex.py -=- Modified: Zope/branches/2.9/lib/python/Products/PluginIndexes/common/UnIndex.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py while this is interesting, is doesn't warrant spewing at error.

2006-05-11 Thread Chris Withers
Log message for revision 68094: while this is interesting, is doesn't warrant spewing at error. Changed: U Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py -=- Modified: Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py a traceback would probably help here ; -)

2006-05-11 Thread Chris Withers
Log message for revision 68095: a traceback would probably help here ;-) Changed: U Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py -=- Modified: Zope/trunk/lib/python/Products/PluginIndexes/common/UnIndex.py

Re: [Zope] Zope 2.9.2 -- Upgrading

2006-05-08 Thread Chris Withers
David Ayres wrote: Hi Everyone. I am still running Zope 2.7.5. Will there be any problems if I jump directly to 2.9.2? I had no end of fun with this very jump ;-) Most 3rd party products will need some kind of tweaking or version upgrade. If you rely on the history tab for python scripts /

Re: [Zope] Metal:fill-slot *always* returns a span?

2006-05-08 Thread Chris Withers
Doyon, Jean-Francois wrote: What am I missing here? Is this a bug/misfeature? Could any one point to the source code that handles this? I've never seen this before, my guess would be that whatever you're filling that slot with isn't what you think it is ;-) cheers, Chris -- Simplistix -

Re: [Zope] Questions on ZODB BTrees versus bsddb BTrees

2006-05-08 Thread Chris Withers
Terry Jones wrote: That's 3 times where I somehow get to be in the wrong for taking the time to point out that a piece of documentation in the project is quite misleading. You didn't say you thought it was misleading, you worded it as if you expected it to still be true. A small difference

Re: [Zope] LocalFS problems

2006-05-08 Thread Chris Withers
Dennis Allison wrote: LocalFS product (1.3-andreas) seems to be having a problem with the dtml-tree tag in Zope 2.9.2/Python 2.4.2. Then don't use DTML, it does, after all suck (tm) ;-) The problem seems to be with the tpValues() program in the LocalFS product which returns an empty list.

Re: [Zope] Questions on ZODB BTrees versus bsddb BTrees

2006-05-05 Thread Chris Withers
Terry Jones wrote: |ZCatalog can be downloaded from the Zope download area and is also a |module in the public CVS for Zope. Untar it while in the root directory |of your Zope installation: | | $ cd Zope-2.0.0a3-src/ And what version of Zope are we on now? | $ tar

Re: [Zope-dev] Re: Re: Re: favicon.ico for 2.10?

2006-05-04 Thread Chris Withers
Duncan Booth wrote: What may be more significant is that simply retrieving favicon.ico into IE displays garbage. I don't know why; IE seems perfectly capable of displaying it on the address bar or favourites, but in the main browser window it displays a short curved line and nothing else. Is

Re: [Zope] DTML-In with date/time filter

2006-05-04 Thread Chris Withers
Dieter Maurer wrote: Martin Koekenberg wrote at 2006-5-3 14:47 +0200: I use this code in a Python script and call this script within a DTML-IN statement. What I need is a script to get only items with a date in the future, today or in the past. The objects are DTML Documents with a date

Re: [Zope] about Zope 2.8.6

2006-05-04 Thread Chris Withers
[EMAIL PROTECTED] wrote: Hello! I have a question about Zope. No, you have a question about Plone. Ask on a Plone list. Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist

Re: [Zope] HTTP PUT

2006-05-04 Thread Chris Withers
David wrote: I have a user messing with a site using HTTP PUT to upload files. The user has access privileges to use a simple CMS (although for the time being now, they're revoked). Will switching off the permission for WebDAV access prevent any successful PUT or do we need to take further

Re: [Zope] Questions on ZODB BTrees versus bsddb BTrees

2006-05-04 Thread Chris Withers
Terry Jones wrote: I've just read the ZODB/ZEO Programming Guide (Release 3.6.0, A.M. Kuchling, January 5, 2006) and I'd like to ask a few questions. Are the following all correct? You may have more joy with these questions on the zodb-dev@zope.org mailing list... - The BTrees supported

Re: [Zope] Re: Zeo as a Zeo Client

2006-05-04 Thread Chris Withers
Gerhard Schmidt wrote: If I had the Time I whould do it. My ToDo List goes around up to the moon an back twice. About the funding I have to talk to my superior when he is back from his vacation. Bear in mind that you will need serious amounts of cash to get this implemented. This is a

Re: [Zope] Questions on ZODB BTrees versus bsddb BTrees

2006-05-04 Thread Chris Withers
Terry Jones wrote: I've just spent 20 minutes trying to do this, without success. So if someone has a URL for a ZCatalog download, I'd be happy to receive it. ZCatalog ships as a standard part of Zope, no need to download. It's covered extensively in the zope book on Plope.org... Not

Re: [Zope] Zeo as a Zeo Client

2006-05-03 Thread Chris Withers
Jens Vagelpohl wrote: On 2 May 2006, at 08:52, Gerhard Schmidt wrote: A configuration like that is described in the Zope Book on page 230. I'd like to see that. The proxying you describe is simply not possible, period. He's decribing the dead tree version of the Zope Book. Either Amos or

Re: [Zope] Zope User in Apache Logs

2006-05-03 Thread Chris Withers
Dieter Maurer wrote: Andreas Pauley wrote at 2006-5-2 15:57 +0200: ... I would like to know how I can get Apache to log the current Zope user. Here's an example from my Apache access_log: 10.0.0.100 - - [02/May/2006:15:32:18 +0200] GET / HTTP/1.1 200 35721 Of course, you cannot, unless Apache

Re: [Zope] apache rewrite rules brake plone/zope

2006-05-03 Thread Chris Withers
David Bear wrote: any hints on a rule I've left out? View the page, look for the links to the css and the like, check they are generated with absolute_urls rather than just using fixed paths. cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

[Zope-Checkins] SVN: Zope/trunk/skel/bin/runzope.bat.in changes so it's easier to move a Zope instance between zope versions.

2006-05-01 Thread Chris Withers
Log message for revision 67786: changes so it's easier to move a Zope instance between zope versions. Changed: U Zope/trunk/skel/bin/runzope.bat.in -=- Modified: Zope/trunk/skel/bin/runzope.bat.in === ---

[Zope-Checkins] SVN: Zope/trunk/skel/bin/runzope.bat.in further changes so it's easier to move an instance between zope versions.

2006-05-01 Thread Chris Withers
Log message for revision 67788: further changes so it's easier to move an instance between zope versions. Changed: U Zope/trunk/skel/bin/runzope.bat.in -=- Modified: Zope/trunk/skel/bin/runzope.bat.in === ---

[Zope-Checkins] SVN: Zope/branches/2.9/skel/bin/runzope.bat.in further changes so it's easier to move an instance between zope versions.

2006-05-01 Thread Chris Withers
Log message for revision 67789: further changes so it's easier to move an instance between zope versions. Changed: U Zope/branches/2.9/skel/bin/runzope.bat.in -=- Modified: Zope/branches/2.9/skel/bin/runzope.bat.in === ---

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/tests/test_XMLExportImport.py Fix test failures on Windows.

2006-05-01 Thread Chris Withers
Log message for revision 67792: Fix test failures on Windows. Changed: U Zope/trunk/lib/python/OFS/tests/test_XMLExportImport.py -=- Modified: Zope/trunk/lib/python/OFS/tests/test_XMLExportImport.py === ---

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/OFS/subscribers.py remove zLOG use.

2006-05-01 Thread Chris Withers
Log message for revision 67798: remove zLOG use. Changed: U Zope/branches/2.9/lib/python/OFS/subscribers.py -=- Modified: Zope/branches/2.9/lib/python/OFS/subscribers.py === --- Zope/branches/2.9/lib/python/OFS/subscribers.py

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/OFS/tests/test shush log output from tests.

2006-05-01 Thread Chris Withers
Log message for revision 67801: shush log output from tests. Changed: U Zope/branches/2.9/lib/python/OFS/tests/testAppInitializer.py U Zope/branches/2.9/lib/python/OFS/tests/testObjectManager.py U Zope/branches/2.9/lib/python/OFS/tests/testProductInit.py -=- Modified:

[Zope-Checkins] SVN: Zope/branches/2.9/ - Collector #2062: Fix manage_historyCopy, which was broken, and write tests for it.

2006-05-01 Thread Chris Withers
Log message for revision 67804: - Collector #2062: Fix manage_historyCopy, which was broken, and write tests for it. Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/OFS/History.py A Zope/branches/2.9/lib/python/OFS/tests/testHistory.py -=-

Re: [Zope-dev] Windows Test Failures and XMLExportImport

2006-05-01 Thread Chris Withers
Benji York wrote: 2000--Zope---branches---2.9--2.4\build\lib\python\OFS\tests\test_XMLExportImport.py, I suspect the following pattern needs to be changed: ostream = tempfile.NamedTemporaryFile(suffix='.xml') try: data = exportXML(connection, oid, ostream)

Re: [Zope-dev] Windows Test Failures and XMLExportImport

2006-05-01 Thread Chris Withers
Benji York wrote: Yep, that looks like it. Either I'll make my first commit to Zope 2 ever :) or if you want to, you can change it to something like this: import tempfile import os fname = 'import_export.xml' tempdir = tempfile.mkdtemp() try: ostream = open(fname, 'wb') try:

[Zope-dev] buildbot svn failures?

2006-05-01 Thread Chris Withers
Hi All, Any idea what's causing the svn failrues on the buildbot. This only seems to be affecting the Windows builds, with the Zope 2 3 trunk not currently building... cheers, Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[Zope] Re: [Zope-Annce] Technical Preview of Blob support in ZODB

2006-05-01 Thread Chris Withers
Christian Theune wrote: the ZODB team is proud to announce a technical preview of a Blob implementation for ZODB. Cool :-) Blobs are used to efficiently storage large amounts of binary data within a database. This implementation uses real files on the file system in combination with any ZODB

Re: [Zope] Missing content! Urgent

2006-05-01 Thread Chris Withers
Michael Havard wrote: We're missing 16 days worth of content. Have a read of this: http://www.catb.org/~esr/faqs/smart-questions.html#urgent Python 2.3.5, Zope 2.8.4, Plone 2.1.2, and a host of other products. ZEO configuration. Persistent disk caching is on. You've got Plone in the mix,

Re: [Zope-dev] Branches finished for merging.

2006-04-26 Thread Chris Withers
Lennart Regebro wrote: I also recommend that we deprecate both __bobo_traverse__ and __browser_default__, but perhaps with a longer derecation period that usual, since this are very basic techniques used in many products. Please discuss. :) -1 - what's wrong with having the default adapter

Re: [Zope-dev] Re: 64-bit BTrees

2006-04-18 Thread Chris Withers
Philipp von Weitershausen wrote: in memory. Dieter estimates 20% to 35% slowdown for the C algorithms (whatever that means), Tim seems to think it won't have such a big effect. I guess we'll only know after some benchmarks. Can we please not make any definite decisions until this issue has

Re: [Zope] Getting www.domain.com:8080/manage to go through Apache

2006-04-18 Thread Chris Withers
michael nt milne wrote: *However* these panes all fill with 404s, page not found which seems strange considering I am able to get the login and front page ok.. Not at all, you only rewrite ^/manage(.*), nothing else will get rewritten. This is an Apache configuration issue, your best bet is

Re: [Zope-dev] 64-bit BTrees

2006-04-17 Thread Chris Withers
Fred Drake wrote: (possibly named LLBTree, LOBTree, and OLBTree). For my half-penny's worth, this is the way I'd like to see it go. Explicit is better than implicit and all that. If you need more than 32-bits, you can explicitly use them. The implicit change to make them all 64-bits which

Re: [Zope] Generic SQL insert

2006-04-17 Thread Chris Withers
Robert (Jamie) Munro wrote: Whenever I'm using SQL databases in zope, I always seem to have to make a ZSQL instance for inserting into every table in my database, and they are all nearly the same - they just have a list of all the fields in the database in the parameters, then they say: insert

Re: [Zope] creating users in zope. Login error

2006-04-13 Thread Chris Withers
JulianRead wrote: Hi i have created a plone site and now i want to create a user using zope and give them ownership rights to plone. Sounds like a Plohn problem. Go ask on their lists. Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] TAL page whitespace removal

2006-04-13 Thread Chris Withers
Robert (Jamie) Munro wrote: gzip will add enormous processing overhead to the server. Striping spaces will add negligible overhead, likely less overhead than it saves. I hope you've got a full set of tests that prove these sweeping statements you're making ;-) I have written TAL that

[Zope-dev] Re: [Zope-DB] Bug in ZSQL method result caching?

2006-04-10 Thread Chris Withers
Hi Dirk, I'm CC'ing in zope-dev as more people there may care... Dirk Datzert wrote: Hi Chris, you wrote on the ZOPE-DB mailing-list http://www.mail-archive.com/zope-db@zope.org/msg00417.html at Fri, 24 Feb 2006 09:15:31 -0800. I have seen this KeyError after updating from Zope 2.7.5 to

Re: [Zope] Problems Executing pdftk from within zope.

2006-04-10 Thread Chris Withers
Jerry Westrick wrote: When executed from within zope, (this i've done via external command that executes os.system(...)) A task is started to executed it, but the task hangs. os.system will spew to stdout, which a daemon process like Zope probably won't enjoy much. If'd suggest moving to

Re: [Zope] accessing zope admin on suse 10.1

2006-04-06 Thread Chris Withers
Dwayne Hottinger wrote: I downloaded suse 10.1 beta 4 and installed zope during the install. It seems to run fine, but I cant access the admin interface. Is there a file that I can edit as root and set the username and password? I tried the zpassword.py command and still cant access it.

Re: [Zope] manage_convertIndexes on large-ish catalogs

2006-04-05 Thread Chris Withers
Michael Vartanyan wrote: 1. Clear catalog 2. manage_covertIndexes 3. start looping through objects reindexing them and calling commit_transaction() on each 100-chunk (or 1000 or whatever your RAM can bear) 4. go have a coffee/walk/sleep (depending on the size of your catalog) 5. enjoy!

Re: [Zope-DB] ZSQL + MySQL + sqltest + list

2006-04-05 Thread Chris Withers
Matthew Fairclough wrote: Hi, Really frustrated by this. No need to tell us twice ;-) dtml-sqltest catId type=int multiple type=int is for int's only, you're talking about a list of ints... I want catId to be a list: ie [4, 6, 8]. Hmm, dunno what sqltest does... what are you actually

Re: [Zope-DB] mysql / zope db connection issue

2006-04-05 Thread Chris Withers
Jamie O'Keefe wrote: try: result = context.updatePerson(**query_args) return text except Exception: This is insane code. If you want to get mailed errors, look at the MailingLogger product. The traceback error is: Exception Type Database Error Exception Value

[Zope-Checkins] SVN: Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py if it's inefficient, don't do it unless it's used ; -)

2006-04-04 Thread Chris Withers
Log message for revision 66374: if it's inefficient, don't do it unless it's used ;-) Changed: U Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py -=- Modified: Zope/trunk/lib/python/Products/ZCatalog/ZCatalog.py === ---

[Zope-Checkins] SVN: Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py if it's inefficient, don't do it unless it's used ; -)

2006-04-04 Thread Chris Withers
Log message for revision 66375: if it's inefficient, don't do it unless it's used ;-) Changed: U Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py -=- Modified: Zope/branches/2.9/lib/python/Products/ZCatalog/ZCatalog.py

Re: [Zope-dev] Bug in Zope 2.9?

2006-04-04 Thread Chris Withers
Stefan H. Holek wrote: This is an old ZODB, right? Yup, from Zope 2.7.6 ZGlobals is used by ZClasses. There used to be a time when ZGlobals was still a BTree when it should have been a BTrees.BTree. Then some migration code was added. It obviously never kicked in ;-) I suppose the error

[Zope-dev] Hunting down objects without classes...

2006-04-04 Thread Chris Withers
Hi All, I'm currently plagued by the following annoying: ZODB Could not import class 'BTree' from module 'BTree' What's the recommended way of tracking these down? Is there anything we can do to make the logged message give more info about where the object is? I eventually

[Zope] manage_convertIndexes on large-ish catalogs

2006-04-04 Thread Chris Withers
Hi All, Moving a site from 2.7 to 2.9, so I need to run manage_covertIndexes. The only problem is that, on the main catalog, this sends the machine into swap death. Anyone else experienced this? If so, how did you getaround it? cheers, Chris -- Simplistix - Content Management, Zope

Re: [Zope] manage_convertIndexes on large-ish catalogs

2006-04-04 Thread Chris Withers
Andreas Jung wrote: Perhaps you should try to reduce the subtransaction threshold? It's only 500 as it is! Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope maillist -

Re: [Zope] Zope.org = Zope.com?

2006-04-04 Thread Chris Withers
Hi Jim, Did anyone ever get to the bottom of this? cheers, Chris Chris Withers wrote: Lennart Regebro wrote: On 4/3/06, Andreas Krasa [EMAIL PROTECTED] wrote: it seems that currently all HTTP requests to www.zope.org and dev.zope.org are forwarded to www.zope.com. Seems to work now

[Zope-dev] Bug in Zope 2.9?

2006-04-03 Thread Chris Withers
I see the following the first time a Zope instance is started under 2.9: 2006-04-03T10:59:30 ERROR Zope A problem was found when checking the global product registry. This is probably due to a Product being uninstalled or renamed. The traceback follows. Traceback (most recent call last):

[Zope-dev] Another 2.9 bug?

2006-04-03 Thread Chris Withers
Hi All, I see this intermittently on startup: 2006-04-03 21:21:37 ERROR Zope.ZODBMountPoint Failed to mount database. exceptio ns.ValueError (database_name 'packed' already in databases) Traceback (most recent call last): File

[ZWeb] Bizarre behaviour with zope.org just now

2006-04-03 Thread Chris Withers
Hi All, Just been bounced to zope.com from zope.org a few times. philiKON was experiencing the same thing... Any reason why that would happen? Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

[ZWeb] Re: [Zopeorg-webmaster] Zope.org redirects to Zope.com

2006-04-03 Thread Chris Withers
Hi Carlos, [EMAIL PROTECTED] wrote: I'm having troubles accessing to zope.org, since it redirects to zope.com. So, I'm not able to download Zope. We're aware of the problem and people are looking into it. cheers, Chris -- Simplistix - Content Management, Zope Python Consulting

Re: [Zope] Rotating Zope Log Files on Windows

2006-04-03 Thread Chris Withers
[EMAIL PROTECTED] wrote: I am using Zope 2.5.0 (binary release, python 2.1, win32-x86), and the python 2.1.3 distribution of from python.org as a service on a Windows 2000 server. Any chance you could come out of the stone age? Seriously, you're now 4 major point releases behind what's

Re: [Zope] Debugging Zope on Windows

2006-04-03 Thread Chris Withers
Dieter Maurer wrote: [EMAIL PROTECTED] wrote at 2006-3-31 14:47 -0700: I am using Zope 2.5.0 (binary release, python 2.1, win32-x86), and the python 2.1.3 distribution of from python.org as a service on a Windows 2000 server. I have heard that there is a way to debug zope and save error

Re: [Zope] single sign-on

2006-04-03 Thread Chris Withers
Stefan H. Holek wrote: You may want to contact Netsight(.co.uk), they have a working NTLM auth system for Zope/Plone. It's not gratis though, AFAIK. It's also possible to use ActiveDirectory for both Windows and Zope (via LDAPUserFolder). *mumble* *mumble* It works about 95% of the time. NTLM

Re: [Zope] zope and nagios

2006-04-03 Thread Chris Withers
robert rottermann wrote: nagios calls the intranet main page and checks if it finds designed by redCOR in the response. Somehow a not responding (vs not running) zope does not trigger the nagios rule. Maybe you have an error page somewhere which also contains those words? Chris --

Re: [Zope] Zope.org = Zope.com?

2006-04-03 Thread Chris Withers
Lennart Regebro wrote: On 4/3/06, Andreas Krasa [EMAIL PROTECTED] wrote: it seems that currently all HTTP requests to www.zope.org and dev.zope.org are forwarded to www.zope.com. Seems to work now. At least for me. This is still happening intermittently for some people. Jim has raised it

Re: [Zope] python 2.4.3

2006-04-03 Thread Chris Withers
Andreas Jung wrote: Zope 2.9.2 was out before Python 2.4.3 so you can not expect to be a supported version so far. I doubt that the bugfixes will influcence the funcitonality of Zope. Andreas, this is a bit silly really. Come on, there's no reason to go scare mongering about Python 2.4.3.

Re: [Zope] External Methods

2006-04-03 Thread Chris Withers
Dennis Allison wrote: When Zope is run in production (as opposed to debug) mode, modifications to External Methods are not sensed. What's the programatic way to get them all refreshed? Click the edit button on the external method object. cheers, Chris -- Simplistix - Content

Re: [Zope] External Methods

2006-04-03 Thread Chris Withers
Dennis Allison wrote: Too many and too hard to remember where they are. I have writen a FindAndApply external method that uses reloadIfChanged(). *shrugs* If you already had a solution, then why on earth did you bother asking? Chris -- Simplistix - Content Management, Zope Python

Re: [Zope] Strange behavior with TAL and python: expressions

2006-03-31 Thread Chris Withers
Floyd May wrote: Great and mighty Zope gurus, At last, some respect ;-) I have a template which calls a macro. Within the template, I tal:define a variable, 'form'. Within the macro, the 'form' variable (which is an FSForm object) is defined as None unless I access it using python

Re: [Zope] zope and nagios

2006-03-31 Thread Chris Withers
robert rottermann wrote: When you have zope running on top of zeo and stop zeo you still can ask for a page and it will be returned correctly. We have a zeoup-based plugin that checks for that, lemme know if you're interested and I'll see if I can put it somewhere public. We run into

Re: [Zope] Re: Question about Zope and security

2006-03-30 Thread Chris Withers
Cyrille Bonnet wrote: I am using Plone 2.1.2, which uses CookieCrumbler. I wanted to put the problem in a Zope perspective, though: this is why I didn't mention that. Then I'd suggest going and bugging the Plohn people about this. CookeCrumbler _is_ insecure, and I've pointed this out and

Re: [Zope] Re: Question about Zope and security

2006-03-30 Thread Chris Withers
Tino Wildenhain wrote: Cyrille Bonnet wrote: Hi Terry, ... Sorry, I wasn't even aware that Zope stores the passwords in plain text. My primary concern (for the moment) is passwords in plain text in the request. No it does not. The default userfolder stores passwords hashed. What

Re: [Zope] How to do this trick..

2006-03-28 Thread Chris Withers
Hi Jason, I see a few people have had a stab at this, but I have a feeling I know what you really meant ;-) Jason C. Leach wrote: I'm wondering how I can do this little trick (sp_info is a globaly devide var, it's a dictionary obj): option tal:repeat=group groups/existing/high

[Zope-dev] Re: pywin32 - Can not install signal handlers

2006-03-27 Thread Chris Withers
Mark Hammond wrote: If this is the problem, it will probably only happen when using runzope.bat - running as a service probably works fine. Ah, okay, yeah, I only use runzope... In that case, the problem is the order that Windows uses to search for DLLs. The short answer is that things

Re: [Zope-dev] Re: Wishlist Item

2006-03-27 Thread Chris Withers
Tres Seaver wrote: I don't get what you mean: FilesystemSite *is* a separate packaging of the DirectoryView /FS{DTMLMethod/PythonScript/PageTemplate/SQLMethod} stuff, without any CMF dependencies. Yes, exactly, there are several of them. Usually forked off from CMF's DirectoryView at some

Re: [ZWeb] V3 Updated

2006-03-27 Thread Chris Withers
Tom Von Lahndorff wrote: Its not. Its a lot easier to find answers to my questions though at the Apple's support discussion boards, when I have an Apple issue, rather than searching Google because I'm searching through very specific content, not the web in general and therefore get more

Re: [ZWeb] V3 Updated

2006-03-27 Thread Chris Withers
Tom Von Lahndorff wrote: Damn. This really is very good. Would there be any problem with just replacing the main_template and Products page on Zope.rog with this design? I already proposed to setup his design as an alternative skin in zope.org for *testing* with the current content to

Re: [Zope] Zope Debugger lets WingDbg fail to connect toclient

2006-03-27 Thread Chris Withers
sdeibel wrote: Sorry to hear that, maybe you could recommend zdb to people in the meantime ;-) That won't help people debugging wxPython, of course... ;-) Silly people, they should be developing for a browser instead 0.5 wink I should have said in CMF -- with the addition of FSObject it

Re: [Zope-dev] Re: Wishlist Item

2006-03-26 Thread Chris Withers
Andreas Jung wrote: CMF or not - if one need such a functionality one can download CMF or a related product. If such functionality should belong into the core than it should be implemented in a reusable way and frameworks like CMF should be build on top of it. So -1 for the request. Indeed,

[Zope-dev] How to delete dodgy zope.org issues

2006-03-26 Thread Chris Withers
Hi All, Just so people know, if you see spoor in the collectors, Tres wrote a handy script/template to let you delete them. You'll need to be a manager in /Collectors or above. If you are, just go to: http://www.zope.org/Collectors/remove_dodgy_issue Fill in the boxes and click the button.

[Zope-dev] Re: pywin32 - Can not install signal handlers

2006-03-26 Thread Chris Withers
Hi Mark, I see you replied, but I missed this first time round: http://mail.zope.org/pipermail/zope-dev/2006-March/027166.html What version of pywin32 did you use for the build? http://svn.zope.org/Zope/trunk/inst/WinBuilders/README.txt?rev=65838view=auto ...shows the exact list of

Re: [ZWeb] V3 Updated

2006-03-25 Thread Chris Withers
Tom Von Lahndorff wrote: http://www.modscape.com/zope/v3/products_html Added a products page. Linked from the nav. Damn. This really is very good. Would there be any problem with just replacing the main_template and Products page on Zope.rog with this design? cheers, Chris -- Simplistix

Re: [ZWeb] V3 Updated

2006-03-24 Thread Chris Withers
Tom Von Lahndorff wrote: On the download page, Zope 2 should be above Zope 3. Really? I thought most people want to push Zope 3. Shouldn't the latest release be listed first? I really don't care on way or the other, just curious. Zope 2 is the more stable, tested release. I don't care

Re: [Zope] How do you get custom made portal tabs to highlight

2006-03-24 Thread Chris Withers
How about you go ask Plohn questions on a Plohn list? How about you stop using silly forum thingies and stick to the list or gmane? Chris JulianRead wrote: Hi i have made 3 portal tabs which link to 3 different pages in my site. ( In the same way that in www.plone.org there are the portal

Re: [Zope] Zope Debugger lets WingDbg fail to connect toclient

2006-03-24 Thread Chris Withers
sdeibel wrote: I don't think the linecache hack is going to work for Wing because the file is read by the IDE and not within the same process space as Zope is running. While we might eventually make it possible to transfer code over the debug connection for cases like this, it would slow our

Re: [Zope] verbose-security

2006-03-24 Thread Chris Withers
Jeremy Cook wrote: Can anyone tell me if I am doing anything wrong? Well, you're using Plohn for starters 0.5 wink I suspect an unauthorized binding is something that verbose security does not cater too well for. Patches accepted... Chris -- Simplistix - Content Management, Zope Python

[Zope-dev] [Fwd: [Zope] Can not install signal handlers. Please install (or upgrade) your pywin32 installation (https://sf.net/projects/pywin32)]

2006-03-23 Thread Chris Withers
I notice the 2.9.1 binary a rolled a couple of weeks back seems to emit this warning every time I start Zope. Is there something I've done wrong or is something else causing this? cheers, Chris -- Simplistix - Content Management, Zope Python Consulting -

<    7   8   9   10   11   12   13   14   15   16   >