[Zope-Annce] [ANN] Zope 2.9.1 released

2006-02-24 Thread Andreas Jung
Hi all, on behalf of Zope Corporation and the Zope community I am pleased to announce the release of Zope 2.9.1. You can download it from http://www.zope.org/Products/Zope/2.9.1/ Some new features of Zope 2.9: - ZODB 3.6 - Five 1.2 - integration for Zope 3 events for object

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ 2.8.6

2006-02-24 Thread Andreas Jung
Log message for revision 41770: 2.8.6 Changed: U Zope/branches/Zope-2_8-branch/doc/CHANGES.txt U Zope/branches/Zope-2_8-branch/inst/WinBuilders/mk/zope.mk U Zope/branches/Zope-2_8-branch/inst/versions.py -=- Modified: Zope/branches/Zope-2_8-branch/doc/CHANGES.txt

[Zope-Checkins] SVN: Zope/tags/2-8-6/ Zope 2.8.6

2006-02-24 Thread Andreas Jung
Log message for revision 41771: Zope 2.8.6 Changed: A Zope/tags/2-8-6/ -=- Copied: Zope/tags/2-8-6 (from rev 41770, Zope/branches/Zope-2_8-branch) ___ Zope-Checkins maillist - Zope-Checkins@zope.org

[Zope-Checkins] SVN: Zope/tags/2.9.1/ Zope 2.9.1

2006-02-24 Thread Andreas Jung
Log message for revision 41775: Zope 2.9.1 Changed: A Zope/tags/2.9.1/ -=- Copied: Zope/tags/2.9.1 (from rev 41774, Zope/branches/2.9) ___ Zope-Checkins maillist - Zope-Checkins@zope.org http://mail.zope.org/mailman/listinfo/zope-checkins

Re: [Zope-dev] Zope 2.8.6 and 2.9.1 schedule

2006-02-24 Thread Andreas Jung
--On 23. Januar 2006 21:37:10 +0100 Andreas Jung [EMAIL PROTECTED] wrote: I am plan to release Zope 2.8.6 and 2.9.1 in the middle of February (around Feb, 15th). Unfortunately I am currently too busy to do any releases right now. There are also some bug reports pending that should at

Re: [Zope] attribute used to index PDFs?

2006-02-24 Thread Andreas Jung
--On 12. Dezember 2005 14:54:09 -0500 Garth B. [EMAIL PROTECTED] wrote: On closer inspection, the Word docs aren't actually being indexed appropriately either. When I browse the vocabulary for these indexed Word docs, I happen to see textual content that can be seen by also cat'ing the

Re: [Zope] Using ReStructuredText instead of StructuredDocument inside ZPT

2006-02-24 Thread Andreas Jung
--On 23. Februar 2006 23:18:06 -0800 John Schinnerer [EMAIL PROTECTED] wrote: This is on zope 2.7.5 with the ZReST that comes built in. A RSTD called directly (instead of inside a ZPT as above) renders as expected. Try using the 'render()' method. -aj pgpxSpBurtzWo.pgp Description: PGP

Re: [Zope3-Users] Re: [Zope] Debugging doctests

2006-02-24 Thread Martijn Pieters
On 2/23/06, Lennart Regebro [EMAIL PROTECTED] wrote: Not to mention, doctests are not debuggable from WingIDE. ;-) In 2.1 you can; the following is the equivalent of pdb.set_trace(): wingdbstub.debugger.Break() :) -- Martijn Pieters ___ Zope

Re: [Zope3-Users] Re: [Zope] Debugging doctests

2006-02-24 Thread Martijn Pieters
On 2/23/06, Stephan Richter [EMAIL PROTECTED] wrote: On Thursday 23 February 2006 13:37, Lennart Regebro wrote: Not to mention, doctests are not debuggable from WingIDE. Maybe we should have a WingIDE sprint in Boston at some point. This would be a good topic. Let's do this somewhere I can

[Zope] Storing things in the session from ZPT

2006-02-24 Thread Robert (Jamie) Munro
How can I put something in a session from ZPT? I've tried: div tal:define=session/foo request/foo div tal:define=foo python:session['foo']=request['foo'] Do I really have to write a python method just to assign a single value? Robert (Jamie) Munro

Re: [Zope] Storing things in the session from ZPT

2006-02-24 Thread Andreas Jung
--On 24. Februar 2006 12:49:48 + Robert (Jamie) Munro [EMAIL PROTECTED] wrote: How can I put something in a session from ZPT? I've tried: div tal:define=session/foo request/foo div tal:define=foo python:session['foo']=request['foo'] Do I really have to write a python method just to

Re: [Zope] Storing things in the session from ZPT

2006-02-24 Thread Peter Bengtsson
On 24 Feb 2006, at 12:49, Robert (Jamie) Munro wrote: How can I put something in a session from ZPT? I've tried: div tal:define=session/foo request/foo div tal:define=foo python:session['foo']=request['foo'] Isn't it div tal:define=foo python:request.SESSION.set('foo', request['foo']) Do

Re: [Zope] Storing things in the session from ZPT

2006-02-24 Thread Tino Wildenhain
Robert (Jamie) Munro schrieb: How can I put something in a session from ZPT? I've tried: div tal:define=session/foo request/foo div tal:define=foo python:session['foo']=request['foo'] Do I really have to write a python method just to assign a single value? No you can use the method for all

Re: [Zope3-Users] Re: [Zope] Debugging doctests

2006-02-24 Thread Stephan Richter
On Thursday 23 February 2006 17:18, Chris McDonough wrote: On Feb 23, 2006, at 4:51 PM, Stephan Richter wrote: So, I take it that you are a second voter in favor of not requiring   all tests to be doctests. If the ZSCP thing takes off, I think test/doc req'ts should be   somewhat looser

Re: [Zope] attribute used to index PDFs?

2006-02-24 Thread Garth B.
Hmm? I must have missed where it was suggested in this old thread to enter this issue into the bug tracker. At any rate, what I eventually concluded was that this really isn't an issue, just a misconception I had about what TXNG3 actually provides as native indexing support (given the

Re: [Zope] Debugging doctests

2006-02-24 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Stephan Richter wrote: On Thursday 23 February 2006 14:16, Chris McDonough wrote: (e.g. high- level overview of purpose, how to install it, what other packages it depends upon, which versions of Python/Zope it works with, who is responsible

[Zope] [ANN] Zope 2.8.6 released

2006-02-24 Thread Andreas Jung
Hi all, on behalf of Zope Corporation and the Zope community I am pleased to announce the release of Zope 2.8.6. You can download Zope 2.8.6 from http://www.zope.org/Products/Zope/2.8.6/ Some new features of Zope 2.8: - ZODB 3.4 with MVCC (multi version concurrency control)

Re: [Zope] Debugging doctests

2006-02-24 Thread Jens Vagelpohl
On 24 Feb 2006, at 16:38, Tres Seaver wrote: So, I take it that you are a second voter in favor of not requiring all tests to be doctests. Count me as another. Doctests are fine for many cases, but they suck for doing coverage / edge case testing, which are the valuable unit tests for my

[Zope] limiting view access to acl_users

2006-02-24 Thread gf
Hi, I am relatively new to Zope and have a question regarding acl_user folders. I am trying to prevent 'view' access to an acl_users folder that I have created in a non-root area of my website. I have used the management interface Security tab to uncheck the 'Acquire permission settings' for the

Re: [Zope] limiting view access to acl_users

2006-02-24 Thread David
gf wrote: Hi, I am relatively new to Zope and have a question regarding acl_user folders. I am trying to prevent 'view' access to an acl_users folder that I have created in a non-root area of my website. I have used the management interface Security tab to uncheck the 'Acquire permission

Re: [Zope] limiting view access to acl_users

2006-02-24 Thread gf
On 2/24/06, David [EMAIL PROTECTED] wrote: gf wrote: Hi, I am relatively new to Zope and have a question regarding acl_user folders. I am trying to prevent 'view' access to an acl_users folder that I have created in a non-root area of my website. I have used the management interface

Re: [Zope] limiting view access to acl_users

2006-02-24 Thread David
gf wrote: On 2/24/06, David [EMAIL PROTECTED] wrote: gf wrote: Hi, I am relatively new to Zope and have a question regarding acl_user folders. I am trying to prevent 'view' access to an acl_users folder that I have created in a non-root area of my website. I

Re: [Zope] change ATImage metadata

2006-02-24 Thread MIlos Prudek
The language attribute is a standard Archetypes field, and as such youcan ask such fields what it's accesor and mutator are: Cool, now I know how to do it for any other attribute. Thank you. -- Milos Prudek ___ Zope maillist - Zope@zope.org

Re: [Zope] Re: CMFExternalFile and huge ZODB pickles

2006-02-24 Thread Chris Withers
Pawel Lewicki wrote: Class Name CountTBytesPct AvgSize -- --- - - --- ... OFS.Folder.Folder 2731 7177565156 95.4% 2628182.04 The only reference to folder I have is:

Re: [Zope] Possible to run Zope on a shared host?

2006-02-24 Thread Chris Withers
Marty McFly wrote: Unfortunately, I don't have any of those privileges... I only have write-access to my personal home-directory. Do you have an idea what I could do instead? I think you should consider getting some proper hosting, this isn't going to work for any serious Zope use... Chris

Re: [Zope] Packing data.fs programmatically

2006-02-24 Thread Chris Withers
Ron Bickers wrote: On Tue January 31 2006 07:47, Chris Withers wrote: I do it though the webinterface with a wget from the crontab: Oh, ouch ouch bad fragile pain failure suffering... URL whacking is evil and must be punished... How is this different than clicking on the Pack button in

Re: [Zope] image processing site quidance...

2006-02-24 Thread Chris Withers
Nicolas Georgakopoulos wrote: That's the point , I think it will be easier (for me) if I write a python program that is called by Zope external method to make the image processing in the local file system. So the image files should be uploaded in the local files system to be processed and

[Zope] Re: Packing data.fs programmatically

2006-02-24 Thread Chris Withers
Derrick Hudson wrote: Chris, On Tue, Jan 31, 2006 at 01:36:36PM +, Chris Withers wrote: | ZEO Stepper Is ZEO required to use Stepper? Yes, otherwise you'd have to shut down your Zope instance to run Stepper ;-) Does 'zopectl run' require exclusive access to the database? (IOW

Re: [Zope] Storing things in the session from ZPT

2006-02-24 Thread Chris Withers
On 24 Feb 2006, at 12:49, Robert (Jamie) Munro wrote: How can I put something in a session from ZPT? I've tried: div tal:define=session/foo request/foo div tal:define=foo python:session['foo']=request['foo'] Isn't it div tal:define=foo python:request.SESSION.set('foo', request['foo'])

Re: [Zope] Packing data.fs programmatically

2006-02-24 Thread Ron Bickers
On Fri February 24 2006 16:19, Chris Withers wrote: URL whacking is evil and must be punished... How is this different than clicking on the Pack button in the ZMI? That's also evil, because yes, it is just URL whacking with a browser... Ok. So there is no difference. What's the

Re: [Zope] Using ReStructuredText instead of StructuredDocument inside ZPT

2006-02-24 Thread John Schinnerer
Hello, OK, that makes sense in general - and what would that look like in my ZPT code? Can I access that method with just TAL, similar to Structured Document example: p tal:content=structure container/client_content/some_STX_object STX content renders here /p ...except with the render() in the

[Zope] Re: Packing data.fs programmatically

2006-02-24 Thread Derrick Hudson
On Fri, Feb 24, 2006 at 09:18:35PM +, Chris Withers wrote: | Derrick Hudson wrote: | Chris, | | On Tue, Jan 31, 2006 at 01:36:36PM +, Chris Withers wrote: | | ZEO Stepper | | Is ZEO required to use Stepper? | | Yes, otherwise you'd have to shut down your Zope instance to run

[Zope] Dates off by one day

2006-02-24 Thread Kevin Carlson
Recently moved to a new server farm and am having a problem with dates from MySQL that are rendered using strftime. The date in MySQL is correct (e.g. 2005-01-22) but if the date is rendered with strftime the date displayed is one day earlier (e.g., 2005-01-21). MySQL and Zope are on

Re: [Zope] Dates off by one day

2006-02-24 Thread Andrew Milton
+---[ Kevin Carlson ]-- | Recently moved to a new server farm and am having a problem with dates | from MySQL that are rendered using strftime. The date in MySQL is | correct (e.g. 2005-01-22) but if the date is rendered with strftime the | date displayed is one day

[Zope] want to use external script to read a text-file and image in database and modify REQUEST

2006-02-24 Thread Allen Huang
HiI want to use external methods to read a text file and imagein database and modify the REQUEST my code looks like this varible --- def imageSetup(self, imageID, dataID, REQUEST): import PIL.Image from StringIO import StringIO # Get the original image and data

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

2006-02-24 Thread Chris Withers
Hi All, I'm seeing a fair few errors as follows using Zope 2.8.4: results = self.aZSQLMethod(p1=value1, p2=value2) File lib/python/Shared/DC/ZRDB/DA.py,line 453, in __call__ result=self._cached_result(DB__, (query, self.max_rows_)) File lib/python/Shared/DC/ZRDB/DA.py,line 375, in

[Zope-DB] Partial Data Replication to postgreSQL.

2006-02-24 Thread Sanjay Arora
We are considering Plone for CMS/Workflow app. However, some of the data from Zodb would need to be replicated into the existing postgreSQL CRM/SCM system, using triggers or something similar. What would be required to do the job? With regards.Sanjay.

[Zope-DB] Query about trigger type replication from ZopeDB to postgreSQL

2006-02-24 Thread Sanjay Arora
We are considering Plone for CMS/Workflow app. However, some of the data from Zodb would need to be replicated into the existing postgreSQL CRM/SCM system, using triggers or something similar. What would be required to do the job? With regards. Sanjay.

Re: [Zope-DB] import mysql

2006-02-24 Thread Chris Withers
[EMAIL PROTECTED] wrote: does it exists a Product/Tool in zope / plone enviroment to achieve the import of a big (my case) .sql file (MySQL) in a zope / Plone object or set of obiects immediately available in zope / plone enviromenty itself? Dunno what you're asking... if you want to import a