Re: [Zope] Beginners Confusion

2005-12-05 Thread Chris Withers
Hi Russell, Russell Winter wrote: Thanks for the prompt response, the reason behind keeping the users separate is that each team wants to feel that they have some control over their destiny's and we are happy to pander to this thought, they also each have a completely different set of visitors

Re: [Zope] Python Classes and Zope.

2005-12-05 Thread Chris Withers
Paul Winkler wrote: 1) create a derived or wrapper class that inherits from Acquisition.Implicit or Acquisition.Explicit. This can either inherit from your existing class, or wrap it, as you prefer. You don't actually have to do this. 2) in the wrapper class, use ClassSecurityInfo() to

Re: [Zope] checking for elements in a list

2005-12-05 Thread Chris Withers
Christopher Rivard wrote: http://groups.yahoo.com/group/zope/message/150345 I'm working offline, so can't see what you're refering to. The solution that I have come to is to simply set a cookie and serve up the correct fields based on the cookie: dtml-if 17 in list_map_dir_id and 21 not in

Re: [Zope] checking for elements in a list

2005-12-05 Thread Chris Withers
J Cameron Cooper wrote: Just make sure that the elements of the list you're getting are what you think they are. If you ask about the integer 17 and the list actually has a string 17 they won't match. You can either adjust what you test or use something like the 'int' function to cast. Also

Re: [Zope] killing off individual Zope session

2005-12-05 Thread Chris Withers
Dennis Allison wrote: We just had an example of a run away process with one of our authenticated users. What do you mean by this? If it's something to do with a relational database, you might be able to do something there... I would have liked to kill off the user's processing while

Re: [Zope] zdsock

2005-12-05 Thread Chris Withers
John Poltorak wrote: Because 'zdsock' is not an acceptable name. I am running on OS/2 and the path name must start with '\\socket\\'. Oooo, ow, that's gonna hurt... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk

Re: [Zope] add multiple images to zope folder

2005-12-05 Thread Chris Withers
I'd use WebDAV. If you want security, tunnel the WebDAV port over ssh. cheers, Chris Chris Purves wrote: Hello, Is there a way to add multiple images to a zope folder instead of adding one at a time? -- Take care, eh. Chris

Re: [Zope] Python Classes and Zope.

2005-12-05 Thread Chris Withers
Chris McDonough wrote: Not really, and that's why Zope 3 has avoided through the web code so far. I hope this avoidance continues at least in the core, whatever that is, but I see rumblings every so often about why this is a can't-live-without thing (with which I strongly disagree).

Re: [Zope] Re: why will FastCGI not be supported in the Future.

2005-12-05 Thread Chris Withers
Andrew Milton wrote: If there's noone around who can maintain it, then just say that. Don't say there's 'a better way', because I can guarantee you the people using FCGI are using it for a reason, I haven't seen anyone come up with real justification for using FCGI... I can imagine a

Re: [Zope] Re: Zope Message Board

2005-12-05 Thread Chris Withers
Squishdot's still there, it's just so stable that it hasn't needed fixing for ages now ;-) Michael Haubenwallner wrote: John Poltorak wrote: What Message Board product is recommended for use with Zope? I think zForum at http://www.zforum.org is the only one alive. Michael --

Re: [Zope] Re: why will FastCGI not be supported in the Future.

2005-12-05 Thread Andreas Jung
--On 5. Dezember 2005 07:51:17 + Chris Withers [EMAIL PROTECTED] wrote: Andrew Milton wrote: If there's noone around who can maintain it, then just say that. Don't say there's 'a better way', because I can guarantee you the people using FCGI are using it for a reason, I haven't seen

[Zope] Zope Py23-Py24 problem...

2005-12-05 Thread Durumdara
Hi ! I have home pc, and other pc in my corp. The home pc have py2.3, the work pc have py2.4. I installed Zope 2.8.4 in every system. I have been building a zope site in my home machine. Then I copy to usb pendrive (data.fs), and move to corp machine. But when I want to start this site in my

Re: [Zope] Zope Py23-Py24 problem...

2005-12-05 Thread Andreas Pakulat
On 05.12.05 11:42:19, Durumdara wrote: Hi ! I have home pc, and other pc in my corp. The home pc have py2.3, the work pc have py2.4. I installed Zope 2.8.4 in every system. I have been building a zope site in my home machine. Then I copy to usb pendrive (data.fs), and move to corp

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-05 Thread Roman Susi
Dieter Maurer wrote: Roman Suzi wrote at 2005-12-3 21:56 +0200: I am looking for a way in Zope to receive HTTP-requests with, eg, DELETE and PUT in the object method. Zope (2.7.x) seems to intercept these and issue Not authorised. DELETE and PUT are WebDAV methods (and defined in

Re: [Zope] Zope Py23-Py24 problem...

2005-12-05 Thread Durumdara
Hi ! So you say that I must use Zope 2.x (x=7,8) with Python 2.3 versions ? Can I use Zope3 with Python 2.4 ? Or I forget it, and I need to use Py2.3 for everything ? (I have wx, local, and other developments, so if I need to change that, I must change everything...) Thanks for help: dd

Re: [Zope] Zope Py23-Py24 problem...

2005-12-05 Thread Andreas Jung
--On 5. Dezember 2005 13:56:28 +0100 Durumdara [EMAIL PROTECTED] wrote: Hi ! So you say that I must use Zope 2.x (x=7,8) with Python 2.3 versions ? This is documented and discussed a bunch of times (check the archives or read the installation documentation). Can I use Zope3 with

Re: [Zope] Zope Py23-Py24 problem...

2005-12-05 Thread Andreas Pakulat
On 05.12.05 12:54:03, Durumdara wrote: Hi ! Please reply to the list So you say that I must use Zope 2.x (x=7,8) with Python 2.3 versions ? You don't have to, from what I read here on another Zope ML it can work. But as soon as you have problems and you want to get help here you're better off

Re: [Zope] Zope Py23-Py24 problem...

2005-12-05 Thread Lennart Regebro
On 12/5/05, Durumdara [EMAIL PROTECTED] wrote: Hi ! I have home pc, and other pc in my corp. The home pc have py2.3, the work pc have py2.4. I installed Zope 2.8.4 in every system. I have been building a zope site in my home machine. Then I copy to usb pendrive (data.fs), and move to

Re: [Zope] Zope Py23-Py24 problem...

2005-12-05 Thread Durumdara
Hi ! Yes, everything is working. That is working in older versions: I create instance with mkinstance.py, and copy the data.fs to it. Every PC is WinXP, only different is Python version number. I have been probed python 2.4, and it is working good, that I thinking about that I change

Re: [Zope] Zope Py23-Py24 problem...

2005-12-05 Thread Lennart Regebro
On 12/5/05, Durumdara [EMAIL PROTECTED] wrote: Hi ! Yes, everything is working. That is working in older versions: I create instance with mkinstance.py, and copy the data.fs to it. Every PC is WinXP, only different is Python version number. I have been probed python 2.4, and it is working

Re: [Zope] Re: Which Zope version is installed?

2005-12-05 Thread Martijn Pieters
In your SOFTWARE_HOME (check its value in /Control_Panel in ZMI) read the file 'version.txt' In certain versions of the Zope 2.7 releases the version.txt file was mucked up; looking at the top of the CHANGES.txt (in the doc/ directory) is a more reliable way of telling what version you have,

Re: [Zope] Hooks for methods other than GET/POST on port 80?

2005-12-05 Thread Roman Susi
Dieter Maurer wrote: Roman Suzi wrote at 2005-12-3 21:56 +0200: I am looking for a way in Zope to receive HTTP-requests with, eg, DELETE and PUT in the object method. Zope (2.7.x) seems to intercept these and issue Not authorised. DELETE and PUT are WebDAV methods (and defined in

Re: [Zope] Finding a match in a large dataset - btrees?

2005-12-05 Thread Paul Winkler
On Mon, Dec 05, 2005 at 04:57:03PM +1300, Cameron Beattie wrote: I have a large set of data (that will be stored in MySQL) that I wish to match to and am wondering what the best method is. Assume the following data in table LOCATION_MATCH: LOCATION_IDLOCATION_PATTERNPARENT_ID 10

Re: [Zope] Finding a match in a large dataset - btrees?

2005-12-05 Thread Lennart Regebro
On 12/5/05, Cameron Beattie [EMAIL PROTECTED] wrote: I have a large set of data (that will be stored in MySQL) that I wish to match to and am wondering what the best method is. Assume the following data in table LOCATION_MATCH: LOCATION_IDLOCATION_PATTERNPARENT_ID 10

Re: [Zope] Re: Zope Calendar

2005-12-05 Thread John Poltorak
On Mon, Dec 05, 2005 at 01:17:06PM +0800, Bakhtiar A Hamid wrote: I wanted something which looks like Plone Calendar - http://www.zope.org/Members/teyc/CalendarTag this has a howto (or is it in the readme), and with the necessary css, can look pretty much like plone's I'd like to

Re: [Zope] zdsock

2005-12-05 Thread John Poltorak
On Mon, Dec 05, 2005 at 08:50:30AM +, Chris Withers wrote: John Poltorak wrote: Because 'zdsock' is not an acceptable name. I am running on OS/2 and the path name must start with '\\socket\\'. Oooo, ow, that's gonna hurt... Zope itself works fine when started via runzope, so

Re: [Zope] Re: Zope Calendar

2005-12-05 Thread Lennart Regebro
On 12/5/05, John Poltorak [EMAIL PROTECTED] wrote: Is there any way to create a calendar of events which are automatically highlighted when displaying the calendar? Highlighted? And also, my earlier question begs for answer. What do you mean with looks like and works like? Is there a Zope

Re: [Zope] Finding a match in a large dataset - btrees?

2005-12-05 Thread Dennis Allison
I cannot make any sense out of your example data. Since you already have the data in a MySQL table, I would think the best way to find the match would be to make a MySQL query. On Mon, 5 Dec 2005, Cameron Beattie wrote: I have a large set of data (that will be stored in MySQL) that I wish

Re: [Zope] add multiple images to zope folder

2005-12-05 Thread Jonathan Cyr
I once started down that path with FTP. I use HomeSite, as well, to save via FTP. I investigated a Linux package called Delegate, that would provide a rev-proxy for FTP over SSL, in which normal FTP clients with SSL could transfer files. www.delegate.org I didn't continue, priorities and all.

[Zope] Adding TextIndexNG 3.1.1 error

2005-12-05 Thread Garth B.
Zope 2.8.0 Python 2.3.5 RHEL 3 I installed TextIndexNG 3.1.1 and associated extension_modules without a problem. Trying to add a TextIndexNG index to my catalog returns: Error Type: ComponentLookupError Error Value: 'Utilities' I'm pretty sure I followed all instructions and I've installed and

Re: [Zope] Adding TextIndexNG 3.1.1 error

2005-12-05 Thread Andreas Jung
--On 5. Dezember 2005 13:34:15 -0500 Garth B. [EMAIL PROTECTED] wrote: Zope 2.8.0 Python 2.3.5 RHEL 3 I installed TextIndexNG 3.1.1 and associated extension_modules without a problem. Trying to add a TextIndexNG index to my catalog returns: Error Type: ComponentLookupError Error Value:

Re: [Zope] Adding TextIndexNG 3.1.1 error

2005-12-05 Thread Garth B.
Sorry, I created a ZCatalog and when choosing TextIndexNG3 from the Add dropdown in my ZCatalog's Indexes tab, it immediately gives me this error. Thanks for any help you can provide! I'll repeat the traceback below: Traceback (innermost last): Module ZPublisher.Publish, line 113, in publish

Re: [Zope] Adding TextIndexNG 3.1.1 error

2005-12-05 Thread Andreas Jung
--On 5. Dezember 2005 14:15:39 -0500 Garth B. [EMAIL PROTECTED] wrote: Sorry, I created a ZCatalog and when choosing TextIndexNG3 from the Add dropdown in my ZCatalog's Indexes tab, it immediately gives me this error. Works like a charm..Somehow your Zope installation must be borked. Try

Re: [Zope] Adding TextIndexNG 3.1.1 error

2005-12-05 Thread Garth B.
Sigh... figures... I'll use this as an excuse to upgrade to 2.8.4 Thanks! On 12/5/05, Andreas Jung [EMAIL PROTECTED] wrote: --On 5. Dezember 2005 14:15:39 -0500 Garth B. [EMAIL PROTECTED] wrote: Sorry, I created a ZCatalog and when choosing TextIndexNG3 from the Add dropdown in my

Re: [Zope] Re: Zope Calendar

2005-12-05 Thread John Poltorak
On Mon, Dec 05, 2005 at 05:08:19PM +0100, Lennart Regebro wrote: On 12/5/05, Lennart Regebro [EMAIL PROTECTED] wrote: I think this would be easier if you were more specific of what kind of features you want. Or you can just use CalZope. ;-) It is the most superfantasticmegacool calendar

[Zope] Accessing a Subfolder of a Parent Folder

2005-12-05 Thread Asad Habib
How do I access the subfolder of a parent folder? I am using the following but cannot seem to access the folder object: dtml-call REQUEST.set('parentFolder', PARENTS[2].id + 'Test') dtml-call REQUEST.get('parentFolder').initialize_vars() I get the following error: Error Type: AttributeError

Re: [Zope] Accessing a Subfolder of a Parent Folder

2005-12-05 Thread Peter Bengtsson
dtml-call REQUEST.set('parentFolder', PARENTS[2].id + 'Test') dtml-call _.getitem(REQUEST.get('parentFolder')).initialize_vars() On 12/5/05, Asad Habib [EMAIL PROTECTED] wrote: How do I access the subfolder of a parent folder? I am using the following but cannot seem to access the folder

Re: [Zope] Accessing a Subfolder of a Parent Folder

2005-12-05 Thread Jonathan
try googling 'aq_parent'. Jonathan - Original Message - From: Asad Habib [EMAIL PROTECTED] To: zope@zope.org Sent: Monday, December 05, 2005 5:50 PM Subject: [Zope] Accessing a Subfolder of a Parent Folder How do I access the subfolder of a parent folder? I am using the following

Re: [Zope] FOLLOWUP: 120MB file import failures

2005-12-05 Thread Michael Dexter
Hello, I found the source of my problem uploading a large file to ZODB over DAV and an a workaround that shouldn't have worked but worked. For those who are interested: For completeness: I would like to put a 120MB file into ZODB and it is constantly failing. But you should have learned

[Zope] oddity with zope and webdav

2005-12-05 Thread David Bear
I have a zope instance listening on localhost. I use apache and fastcgi to reach zope. Now I would like to provide webdav. Since my apache is already doing ssl, I wanted webdav connections to also go through apache. when I use cadaver and connect to my zope zope through apache, all works well

[Zope] Translating a webpage

2005-12-05 Thread Sam Boggess
I'm wondering if someone can point me in the direction of some documentation that will tell me the best way to translate a web page into multiple languages using Zope Page Templates. In previous sites we've done in DTML we used a 'phrases' table in our MySQL database that contained

Re: [Zope] Finding a match in a large dataset - btrees?

2005-12-05 Thread Cameron Beattie
Thanks for the many replies. I apologise for the original message which was obviously very unclear - I will try to correct that. Basically I want to match a telephone number to a rate table. Assume the following rate table: Telephone codeRate 6491 64212

Re: [Zope] add multiple images to zope folder

2005-12-05 Thread Chris Purves
On 05/12/05, Chris Withers [EMAIL PROTECTED] wrote: I'd use WebDAV. If you want security, tunnel the WebDAV port over ssh. Thanks. I was able to get WebDAV over SSL working. -- Take care, eh. Chris ___ Zope maillist - Zope@zope.org

Re: [Zope] add multiple images to zope folder

2005-12-05 Thread Chris Purves
On 06/12/05, Jonathan Cyr [EMAIL PROTECTED] wrote: I once started down that path with FTP. I use HomeSite, as well, to save via FTP. I investigated a Linux package called Delegate, that would provide a rev-proxy for FTP over SSL, in which normal FTP clients with SSL could transfer files.

Re: [Zope] oddity with zope and webdav

2005-12-05 Thread Chris Purves
On 06/12/05, David Bear [EMAIL PROTECTED] wrote: I have a zope instance listening on localhost. I use apache and fastcgi to reach zope. Now I would like to provide webdav. Since my apache is already doing ssl, I wanted webdav connections to also go through apache. when I use cadaver and

Re: [Zope] Finding a match in a large dataset - btrees?

2005-12-05 Thread Andreas Jung
--On 6. Dezember 2005 14:55:08 +1300 Cameron Beattie [EMAIL PROTECTED] wrote: I want to do this frequently and at low cost i.e. ideally in memory. Perhaps the best way is to write a procedure in MySQL however I am interested in any python-based alternatives. I pointed you already to the

Re: [Zope] Finding a match in a large dataset - btrees?

2005-12-05 Thread Andreas Jung
--On 6. Dezember 2005 14:55:08 +1300 Cameron Beattie [EMAIL PROTECTED] wrote: I want to do this frequently and at low cost i.e. ideally in memory. Perhaps the best way is to write a procedure in MySQL however I am interested in any python-based alternatives. Your problem is more an

Re: [Zope] Finding a match in a large dataset - btrees?

2005-12-05 Thread Tino Wildenhain
Am Dienstag, den 06.12.2005, 14:55 +1300 schrieb Cameron Beattie: Thanks for the many replies. I apologise for the original message which was obviously very unclear - I will try to correct that. ... I want to do this frequently and at low cost i.e. ideally in memory. Perhaps the best way

[Zope] Re: oddity with zope and webdav

2005-12-05 Thread Sam Stainsby
On Mon, 05 Dec 2005 18:17:38 -0700, David Bear wrote: I have a zope instance listening on localhost. I use apache and fastcgi to reach zope. Now I would like to provide webdav. Since my apache is already doing ssl, I wanted webdav connections to also go through apache. when I use cadaver

[Zope-Checkins] SVN: Zope/branches/2.9/ ObjectManager now has an hasObject method to test presence. This

2005-12-05 Thread Florent Guillaume
Log message for revision 40536: ObjectManager now has an hasObject method to test presence. This brings it in line with BTreeFolder. Changed: U Zope/branches/2.9/doc/CHANGES.txt U Zope/branches/2.9/lib/python/OFS/ObjectManager.py U Zope/branches/2.9/lib/python/OFS/interfaces.py

[Zope-Checkins] SVN: Zope/trunk/ Merged r40536 from 2.9 branch:

2005-12-05 Thread Florent Guillaume
Log message for revision 40537: Merged r40536 from 2.9 branch: ObjectManager now has an hasObject method to test presence. This brings it in line with BTreeFolder. Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/OFS/ObjectManager.py U

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Merged r40536 from 2.9 branch:

2005-12-05 Thread Florent Guillaume
Log message for revision 40542: Merged r40536 from 2.9 branch: ObjectManager now has an hasObject method to test presence. This brings it in line with BTreeFolder. Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt U

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ - reverted workaround in '_verifyObjectPaste'; 'checkPermission' now respects proxy roles

2005-12-05 Thread Yvo Schubbe
Log message for revision 40550: - reverted workaround in '_verifyObjectPaste'; 'checkPermission' now respects proxy roles Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt U Zope/branches/Zope-2_8-branch/lib/python/OFS/CopySupport.py U

[Zope-Checkins] SVN: Zope/trunk/lib/python/OFS/ - reverted workaround in '_verifyObjectPaste'; 'checkPermission' now respects proxy roles

2005-12-05 Thread Yvo Schubbe
Log message for revision 40552: - reverted workaround in '_verifyObjectPaste'; 'checkPermission' now respects proxy roles Changed: U Zope/trunk/lib/python/OFS/CopySupport.py U Zope/trunk/lib/python/OFS/tests/testCopySupport.py -=- Modified: Zope/trunk/lib/python/OFS/CopySupport.py

[Zope-Checkins] SVN: Zope/tags/2.9.0b1/ Zope 2.9.0 beta 1

2005-12-05 Thread Andreas Jung
Log message for revision 40578: Zope 2.9.0 beta 1 Changed: A Zope/tags/2.9.0b1/ -=- Copied: Zope/tags/2.9.0b1 (from rev 40577, Zope/branches/2.9) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-Checkins] SVN: Zope/branches/2.9/doc/CHANGES.txt typo

2005-12-05 Thread Andreas Jung
Log message for revision 40579: typo Changed: U Zope/branches/2.9/doc/CHANGES.txt -=- Modified: Zope/branches/2.9/doc/CHANGES.txt === --- Zope/branches/2.9/doc/CHANGES.txt 2005-12-06 06:43:47 UTC (rev 40578) +++

[Zope-Checkins] SVN: Zope/tags/2.9.0b1/2.9/ Zope 2.9.0 b1

2005-12-05 Thread Andreas Jung
Log message for revision 40580: Zope 2.9.0 b1 Changed: A Zope/tags/2.9.0b1/2.9/ -=- Copied: Zope/tags/2.9.0b1/2.9 (from rev 40579, Zope/branches/2.9) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-dev] zLOG deprecation?

2005-12-05 Thread Chris Withers
Hi All, Is zLOG deprecated? If not, it should be... Chris -- Simplistix - Content Management, Zope Python Consulting - http://www.simplistix.co.uk ___ Zope-Dev maillist - Zope-Dev@zope.org

Re: [Zope-dev] Logging of ConflictError

2005-12-05 Thread Chris Withers
Dennis Allison wrote: Dieter's point about not includeing the traceback makes sense if all it does is report on the reporting code. Yeah, the traceback just shows where the ConflictError was raised, not what caused it, and theyr'e always in very different places... Wlorent, do you envision

Re: [Zope-dev] Please vote about conflict errors logging

2005-12-05 Thread Chris Withers
Jean-Marc Orliaguet wrote: In my case it's mostly filesystem-based resources (css files, or images) accessed in read mode (zope-2.8.4). But the information no matter where it comes from has very little value compared to other messages in the log file, because these are completely predictable.

Re: [Zope-dev] Time for a beta!

2005-12-05 Thread Andreas Jung
--On 4. Dezember 2005 20:55:48 +0100 Andreas Jung [EMAIL PROTECTED] wrote: --On 4. Dezember 2005 14:36:17 -0500 Jim Fulton [EMAIL PROTECTED] wrote: Zope 3 seems to ve ready for a beta release. Does that mean Zope 2 is ready? Zope 2 should be ready. However there seems to be an

[Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Philipp von Weitershausen
Chris Withers wrote: Is zLOG deprecated? If not, it should be... +10 zLOG/__init__.py says: Note: This module exists only for backward compatibility. Any new code for Zope 2.8 and newer should use the logging module from Python's standard library directly. zLOG is only an

[Zope-dev] Zope 2.9 b1 coming

2005-12-05 Thread Andreas Jung
Just to let you know: Zope 2.9 b1 will be released together with Zope 3.2 b1 this Wednesday..so the last changes and fixes should be done until Wednesday morning. Thanks, Andreas pgpnUD4IB53W0.pgp Description: PGP signature ___ Zope-Dev maillist -

Re: [Zope-dev] Zope 2.9 b1 coming

2005-12-05 Thread Jim Fulton
Andreas Jung wrote: Just to let you know: Zope 2.9 b1 will be released together with Zope 3.2 b1 this Wednesday..so the last changes and fixes should be done until Wednesday morning. I'm going to try to get a 3.2 beta out today. Jim -- Jim Fulton mailto:[EMAIL PROTECTED]

Re: [Zope-dev] Zope 2.9 b1 coming

2005-12-05 Thread Andreas Jung
--On 5. Dezember 2005 16:10:11 +0100 Andreas Jung [EMAIL PROTECTED] wrote: Just to let you know: Zope 2.9 b1 will be released together with Zope 3.2 b1 this Wednesday..so the last changes and fixes should be done until Wednesday morning. We will release 2.9 earlier. Jim is going to

[Zope-dev] ObjectManager.hasObject

2005-12-05 Thread Florent Guillaume
I've added a long needed hasObject method to ObjectManager. Note that BTreeFolder2 has had it for a long time and it's quite useful. Enjoy. Florent -- Florent Guillaume, Nuxeo (Paris, France) CTO, Director of RD +33 1 40 33 71 59 http://nuxeo.com [EMAIL PROTECTED]

[Zope-dev] Re: toplevel products folder in zope svn ?

2005-12-05 Thread Philipp von Weitershausen
Rocky Burt wrote: Anyone know if there is any plan to add a toplevel products folder in the zope svn repo like there currently is in zope's cvs repo? I know this has held up a few products from going from zope CVS to SVN. I don't think a separate Products folder is is necessary. Just make

Re: [Zope-dev] Please vote about conflict errors logging

2005-12-05 Thread Andrew Sawyers
On Fri, 2005-12-02 at 23:00 +0100, Florent Guillaume wrote: 1. Do you want these ConflictErrors retried logs to be at level: - INFO INFO - BLATHER - DEBUG - not logged - other 2. In addition, please specify if you feel those retried ConflictErrors should have their full traceback

[Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Chris Withers
Philipp von Weitershausen wrote: If not, it should be... +10 Yeah, me too! Hence why I was asking ;-) That means we could deprecate it even in Zope 2.9, using zLOG has already been discouraged in Zope 2.8. Cool, Andreas, can you make it start emitting deprecation warnings? (if you do,

[Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Florent Guillaume
Chris Withers wrote: # In the days of zLOG, there were 7 standard log levels, and ZODB/ZEO used # all of them. Here's how they map to the logging package's 5 standard # levels: # #zLOG logging #---- #

Re: [Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Dennis Allison
We probably want an ALL level as well which would map to the NOTSET of the Python logging code and log everything. Florent, I don't see a TRACE level in this list. Did you think one was needed? On Mon, 5 Dec 2005, Florent Guillaume wrote: Chris Withers wrote: # In the days of zLOG,

Re: [Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Tim Peters
[Dennis Allison] We probably want an ALL level as well which would map to the NOTSET of the Python logging code and log everything. Why not call it NOTSET? Then you already have it ;-) Or forget it -- TRACE gets everything anyway. Florent, I don't see a TRACE level in this list. Did you

Re: [Zope-dev] Please vote about conflict errors logging

2005-12-05 Thread Willi Langenberger
Florent Guillaume wrote at 2005-12-2 23:00 +0100: Please vote for the level at which you want to log retried conflict errors. These are the ConflictErrors that aren't returned to the user but automatically retried by the Zope publisher. 1. Do you want these ConflictErrors retried logs to be

[Zope-dev] Re: AcceleratedHTTPCache and virtual hosting (collector 1447)

2005-12-05 Thread Paul Winkler
On Sat, Dec 03, 2005 at 11:29:48AM -0500, Tres Seaver wrote: Paul Winkler wrote: (snip) ... AcceleratedHTTPCacheManager has no test suite at all. Erm. Actually it does; Tres added it on the TRUNK many months ago. I was looking at a 2.7 checkout! Mea culpa. However, the test suite currently

Re: [Zope-dev] Please vote about conflict errors logging

2005-12-05 Thread Julien Anguenot
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Florent Guillaume wrote: Please vote for the level at which you want to log retried conflict errors. These are the ConflictErrors that aren't returned to the user but automatically retried by the Zope publisher. 1. Do you want these

[Zope-dev] Re: zLOG deprecation?

2005-12-05 Thread Philipp von Weitershausen
Chris Withers wrote: Philipp von Weitershausen wrote: If not, it should be... +10 Yeah, me too! Hence why I was asking ;-) That means we could deprecate it even in Zope 2.9, using zLOG has already been discouraged in Zope 2.8. Cool, Andreas, can you make it start emitting

ConflictError's worthwhile to note? (was: Re: [Zope-dev] Please vote about conflict errors logging)

2005-12-05 Thread Dieter Maurer
Jean-Marc Orliaguet wrote at 2005-12-4 22:28 +0100: ... In the log flle I'd like to be informed about events that are unexpected. Conflict errors of this kind occur by design. This argument is not convincing: In a similar way, I could argue that MemoryErrors are there by design. While

Re: [Zope-dev] Ignoring Warnings

2005-12-05 Thread Dieter Maurer
Chris Withers wrote at 2005-12-5 07:37 +: Great, so rather than fix the warnings, we add code to ignore them... Usage: ./bin/zopectl test --keepbytecode --nowarnings --dir Products/CMFPlone A colleague of mine will be very happy: The hundreds of (mostly stupid deprecation) warnings

[Zope-dev] version.txt [was: make sdist]

2005-12-05 Thread Philipp von Weitershausen
Andreas Jung wrote: make sdist: [EMAIL PROTECTED]:~/sandboxes/Zope-2.9/2.9.0b1: make sdist zpkg -C /develop/sandboxes/Zope-2.9/2.9.0b1/releases/Zope2.cfg 'version.txt' doesn't match any files in collection (in /develop/sandboxes/Zope-2.9/2.9.0b1/lib/python/zope/app/PACKAGE.cfg)

Re: [Zope-DB] Z SQL equivelant of MySQL's SQL_CALC_FOUND_ROWS?

2005-12-05 Thread Chris Withers
Charlie Clark wrote: SELECT count(attribute) FROM relatiin WHERE condition Ah, okay, now I gotcha... only returns 1 result so it's independent of LIMIT and result sets. I wonder how the two methods compare efficiency-wise? Yes, well, we're talking about MySQL specifically ;-) Maybe

Re: [Zope-DB] Z SQL equivelant of MySQL's SQL_CALC_FOUND_ROWS?

2005-12-05 Thread Charlie Clark
On 2005-12-05 at 08:42:09 [+0100], Chris Withers [EMAIL PROTECTED] wrote: Charlie Clark wrote: SELECT count(attribute) FROM relatiin WHERE condition Ah, okay, now I gotcha... only returns 1 result so it's independent of LIMIT and result sets. I wonder how the two methods compare