[Zope-Checkins] SVN: Zope/trunk/lib/python/ZPublisher/Test.py Forward port 'done_string' from 2.7 branch.

2005-09-08 Thread Tres Seaver
Log message for revision 38409: Forward port 'done_string' from 2.7 branch. Changed: U Zope/trunk/lib/python/ZPublisher/Test.py -=- Modified: Zope/trunk/lib/python/ZPublisher/Test.py === ---

[Zope-Coders] Zope tests: 8 OK

2005-09-08 Thread Zope tests summarizer
Summary of messages to the zope-tests list. Period Wed Sep 7 11:01:02 2005 UTC to Thu Sep 8 11:01:02 2005 UTC. There were 8 messages: 8 from Zope Unit Tests. Tests passed OK --- Subject: OK : Zope-2_6-branch Python-2.1.3 : Linux From: Zope Unit Tests Date: Wed Sep 7 22:23:14 EDT

[Zope-dev] Speed win in Python's urllib.quote

2005-09-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 While profiling a page full of dynamically-generated links, I was interested to see Python's 'urllib._fast_quote' show up quite high in the total time list. After looking at it, I have found a pretty huge speed win available, posted to Python's SF

Re: [Zope] Can't get ZEO running with zeoctl start

2005-09-08 Thread Tino Wildenhain
Am Donnerstag, den 08.09.2005, 08:40 +0300 schrieb Mikko Koivunen: Hello all, I'm trying to install a ZEO server. I already have Zope working, the ZEO-clients installed and testing ZEO with zeoctl fg actually works fine - but zeoctl start gives me this error: ... opensocket

Re: [Zope] RFC: Requiring Python 2.4 in Zope 2.9

2005-09-08 Thread Jens Vagelpohl
On 8 Sep 2005, at 05:33, Dennis Allison wrote: I have been running Zope 2.7.6 with Python 2.4.1 without problems for several months now. I think you're missing the point here. I've been doing X and see no problems is what you are doing, but Jim is going to do the security audit that is

RE: [Zope] Can't get ZEO running with zeoctl start

2005-09-08 Thread Mikko Koivunen
-Original Message- From: Tino Wildenhain [mailto:[EMAIL PROTECTED] Sent: 8. syyskuuta 2005 9:19 To: Mikko Koivunen Cc: Zope Subject: Re: [Zope] Can't get ZEO running with zeoctl start opensocket sock.bind(tempname) File string, line 1, in bind socket.error: (13,

Re: [Zope] Can't get ZEO running with zeoctl start

2005-09-08 Thread Jens Vagelpohl
On 8 Sep 2005, at 08:39, Mikko Koivunen wrote: opensocket sock.bind(tempname) File string, line 1, in bind socket.error: (13, 'Permission denied') This is annoying because I would want to put zeoctl in init.d and use it with service/chkconfig. Zope 2.7.6, Python 2.3.5, running on

[Zope] ZTP mailhost ..

2005-09-08 Thread Georgakopoulos Nicolas
Can some one help out how to set up a ZTP form to use a mailhost object and send a email with the data that the form was filled ? I have made the form successfully , my problem is that I don't know how to use the mailhost. ps:Can I use a web mail account to send a mail like gmail ? thank's.

RE: [Zope] Can't get ZEO running with zeoctl start

2005-09-08 Thread Mikko Koivunen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jens Vagelpohl Sent: 8. syyskuuta 2005 10:56 To: Zope Subject: Re: [Zope] Can't get ZEO running with zeoctl start Have you checked all file permissions to ensure that the user running Zope can use them?

Re: [Zope] Re: Images too (StructuredDocument size limit reduced after 2.5.1 to 2.7.5 upgrade)

2005-09-08 Thread Chris Withers
John Schinnerer wrote: That was what I needed, the parameter name...my sysadmin set it low for security reasons, not realizing it would impact my content editing products, he will bump it up and hopefully that will fix this. Clueless overly paranoid sysadmins strike again ;-) Chris --

Re: [Zope] RFC: Requiring Python 2.4 in Zope 2.9

2005-09-08 Thread Chris Withers
Jim Fulton wrote: At: http://www.zope.org/Wikis/DevSite/Proposals/RequirePython24 Is a proposal to require Python 2.4 for Zope 2.9 (to be released this December). Comments are welcome. :) Well, it'd be nice if Python 2.4 was at least acceptable for 2.8.x first, so the 3rd part products

Re: [Zope] Using Structured Text and HTML-quote together for RSS 2.0

2005-09-08 Thread Chris Withers
Jonathan Cyr wrote: I am constructing an RSS 2.0 feed for a zope app. I am creating the rss.xml file in a DTML method. Use ZPT, it's much better suited to this... to include in the feed is a structured-text paragraph. To use any XHTML in a feed you must html_quote all of the extended

Re: [Zope] ZTP mailhost ..

2005-09-08 Thread Lennart Regebro
On 9/8/05, Georgakopoulos Nicolas [EMAIL PROTECTED] wrote: Can some one help out how to set up a ZTP form to use a mailhost object and send a email with the data that the form was filled ? I have made the form successfully , my problem is that I don't know how to use the mailhost. ps:Can I

Re: [Zope] RFC: Requiring Python 2.4 in Zope 2.9

2005-09-08 Thread Lennart Regebro
On 9/8/05, Chris Withers [EMAIL PROTECTED] wrote: Well, it'd be nice if Python 2.4 was at least acceptable for 2.8.x first, so the 3rd part products have some chance of finding 2.4 bugs... Yeah, but that still requires the security audit, which is what the hold up is. So I wouldn't hold my

RE: [Zope] Can't get ZEO running with zeoctl start

2005-09-08 Thread Mikko Koivunen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jens Vagelpohl Sent: 8. syyskuuta 2005 11:55 To: Zope user list Subject: Re: [Zope] Can't get ZEO running with zeoctl start Yes. You should run something like chown -R zope-user:zope-user /

Re: [Zope] Can't get ZEO running with zeoctl start

2005-09-08 Thread Jens Vagelpohl
On 8 Sep 2005, at 09:59, Mikko Koivunen wrote: Yes. You should run something like chown -R zope-user:zope- user / path/to/Instance as root to make absolutely sure everything is indeed owned by the user you're running zope as. Chowning the full zeo/ tree to zope:zope indeed did the trick. I

RE: [Zope] Can't get ZEO running with zeoctl start

2005-09-08 Thread Mikko Koivunen
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Jens Vagelpohl Sent: 8. syyskuuta 2005 12:21 To: Zope user list Subject: Re: [Zope] Can't get ZEO running with zeoctl start Chowning the full zeo/ tree to zope:zope indeed did the trick. I was

Re: [Zope] RFC: Requiring Python 2.4 in Zope 2.9

2005-09-08 Thread Jim Fulton
Chris Withers wrote: Jim Fulton wrote: At: http://www.zope.org/Wikis/DevSite/Proposals/RequirePython24 Is a proposal to require Python 2.4 for Zope 2.9 (to be released this December). Comments are welcome. :) Well, it'd be nice if Python 2.4 was at least acceptable for 2.8.x first,

Re: [Zope] RFC: Requiring Python 2.4 in Zope 2.9

2005-09-08 Thread Jim Fulton
Alan Milligan wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jim Fulton wrote: Comments are welcome. :) If the work indicated in the security audit does not require additional effort for 2.9, Effort will be needed. then it would be best to get it into 2.8 ASAP, allowing 2.8 to

Re: [Zope] Can't get ZEO running with zeoctl start

2005-09-08 Thread Jens Vagelpohl
On 8 Sep 2005, at 11:00, Mikko Koivunen wrote: I get the feeling people do zope installation / configuration stuff as the zope user and thus don't have this problem. I have the habit of working as root or my own user account, then setting permissions and then using user accounts like zope or

Re: [Zope] ZTP mailhost ..

2005-09-08 Thread Lennart Regebro
On 9/8/05, Georgakopoulos Nicolas [EMAIL PROTECTED] wrote: When I try to send mail the browser keep waiting for data response , and never take a response.I use netstat and check that a connection is established with my SMTP address. I guess that my problem for the moment is that I can't pass

Re: [Zope] ZTP mailhost ..

2005-09-08 Thread Peter Bengtsson
There's a zope product called SecureMailHost. Perhaps that's what you're looking for. On 9/8/05, Georgakopoulos Nicolas [EMAIL PROTECTED] wrote: Lennart Regebro wrote: On 9/8/05, Georgakopoulos Nicolas [EMAIL PROTECTED] wrote: Can some one help out how to set up a ZTP form to use a

[Zope] Apache proxying multiple instances in subdirectories?

2005-09-08 Thread Kirk Strauser
Until yesterday, I'd been running one instance of Zope behind an Apache 2 proxy on a server, and I'd set up zope.mydomain to access the management interface using this clause: VirtualHost *:80 DocumentRoot /usr/local/www/htdocs/ ServerName zope.example.com CustomLog

[Zope] Caching ImageFiles

2005-09-08 Thread Peter Bengtsson
This might be a FAQ but I'm willing to take a chance. In class ImageFile (from App/ImageFile.py) the following headers are set when you view an ImageFile object: pseudocode 'Content-Type': self.content_type 'Last-Modified': self.lmh # RFC1123 'Cache-Control': 'public,max-age=3600' /pseudocode

Re: [Zope] Apache proxying multiple instances in subdirectories?

2005-09-08 Thread Peter Bengtsson
When I visit http://zope.example.com/manage, I get the ZMI page as desired. So far so good. However, I recently added a second Zope instance to that server, and now would like to remotely manage them using URLs like http://zope.example.com/instance1/manage . For the life of me, I can't

Re: [Zope] Character set problems

2005-09-08 Thread Peter Bengtsson
Set the locale on the Zope installation in zope.conf If you're unsure about your code, try this $ set | grep LANG On 9/8/05, Niklas Saers [EMAIL PROTECTED] wrote: Hey guys, I've installed Zope on a FreeBSD server. My problem domain is very small: display a list of when people are

Re: [Zope] Using Structured Text and HTML-quote together for RSS 2.0

2005-09-08 Thread Jonathan Cyr
That's the ticket. You're right the CDATA solution is much better than html-quote'ing everything. Many thanks, -Jon Peter Bengtsson wrote: Create a python script called rssFormatter(text):: from Products.PythonScripts.standard import structured_text, html_quote return

Re: [Zope] Using Structured Text and HTML-quote together for RSS 2.0

2005-09-08 Thread Jonathan Cyr
Thanks... but go easy. I have to choose which features of Zope to learn and use, based on a much larger criteria than I can present here. I do not wish to mix ZPT and DTML in my project... I had chosen DTML, before ZPT was mature... It may be better, but I don't care for now... when I'm

Re: [Zope] Character set problems

2005-09-08 Thread Allen Schmidt
What timing. I am going through something similar. Had a zope 2.7.0 instance on RH9..not sure of the python. Had a bunch customer sites in it using VHM. Nothing in front of the zope. (I know) Moved to a new server, RHE4, Zope 2.7.5 on Python 2.3.5 Just moved the Data.fs and moved products

[Zope] FYI on Debian 3.1/zope Re: Images too (StructuredDocument size limit reduced after 2.5.1 to 2.7.5 upgrade)

2005-09-08 Thread John Schinnerer
Aloha, That was what I needed, the parameter name...my sysadmin set it low for security reasons, not realizing Clueless overly paranoid sysadmins strike again ;-) No actually, he's very clueful and security-conscious, and I was mistaken about how it got set that low, it appears to be a

Re: [Zope] ZMySQLDA

2005-09-08 Thread Andy Dustman
On 9/1/05, michael [EMAIL PROTECTED] wrote: Hi, I am trying to set this up, following install instructions from zope.org/Members/Mike/ZMySQLDA make -f Makefile command works fine, but 'make' afterwards produces the following error: That page, which no longer exists, was

Re: [Zope] please explain the difference...

2005-09-08 Thread Peter Bengtsson
Zope isn't really a server. It's got some server elements but it's core is around the storage and retrieval of data in a controlled manner. Plone is just a big bunch of well written scripts and templates and images that is written inside Zope. Not too different from how pgMyAdmin is a packaged

Re: [Zope] Using Structured Text and HTML-quote together for RSS 2.0

2005-09-08 Thread Peter Bengtsson
Chris was merely suggesting. Technically ZPT is probably a better choice but DTML is pretty good too. On many of my projects that I started a longer time ago the less important templates were written in DTML because to me it was faster to write and the crucial ones that needed to last longer and

Re: [Zope] please explain the difference...

2005-09-08 Thread Paul Winkler
Hello, i have been reading about zope and plone for a few days now, and i have a question that i could not find an answer to. i understand zope is a server, that is, it is a process in OS. from what i could gather from the documentation, plone is a cms built on top of zope. Right! why

Re: [Zope] please explain the difference...

2005-09-08 Thread akonsu
thank you. i understand now. the plone controller was the reason why i got confused: for example, this page has the screen shot of the ports UI of the controller (see section 7): http://python.developpez.com/cours/plone2/. the UI shows two http ports, one for plone, another for zope, which made

Re: [Zope-DB] Re: Zope/Plone, interbase, and blob fields

2005-09-08 Thread Chris Withers
Ashley wrote: When trying to execute this from an external method, Plone just freezes - no errors, it just freezes. PDB is your friend... The external method is defined as follows: def updateEntityNotes(self,notes,entKey): import pdb pdb.set_trace() try: dbCon =