Re: [Zope] POP3 servers

2005-06-03 Thread Andreas Jung
--On 3. Juni 2005 13:38:52 -0700 Varun Parange <[EMAIL PROTECTED]> wrote: hi, which are some POP3 servers i can download for free, which are interfaceable with Zope regards, varun Dear Varun, there is little need to grouch and ask the same questions over and over again. You got already

[Zope] Modifying a Dictionaries in an Extenal Method

2005-06-03 Thread Corporate Email Corp.
Zopistas: Does Zope allos an external method to modify a dictionary object that is passed to the external method via the REQUEST object. I am working with the object: items_list = [{'element1':'element1value', 'element2':'element2value','element3': element3value},{},] I am getting troub

Re: [Zope] MySQL timestamp issue

2005-06-03 Thread Andy Dustman
On 6/3/05, Hugo Ramos <[EMAIL PROTECTED]> wrote: > Yellow, > > I wrote the wrong version. > I'm using MySQL 4.0.24 + Zope 276 + mysql-python 1.0.0 + ZMySQLDA 2.0.9b3 Take a look at ZMySQLDA/db.py: http://cvs.sourceforge.net/viewcvs.py/mysql-python/ZMySQLDA/lib/python/Products/ZMySQLDA/db.py?rev=

Re: [Zope] importing encode_base64

2005-06-03 Thread Dieter Maurer
Varun Parange wrote at 2005-6-2 10:34 -0700: >i am having problems importing encode_base64 > >i have created a product in which i have specified: >''' >from AccessControl import allow_module, allow_class, allow_type >from AccessControl import ModuleSecurityInfo, ClassSecurityInfo >from email.Encod

Re: [Zope] Calling a page template from a DTML document

2005-06-03 Thread Dieter Maurer
John Poltorak wrote at 2005-6-3 14:03 +0100: >Is there any way of getting a DTML document to use a page template to >build part of a page? Sure: it calls the template. >Some sample code would be handy as an illustration if what I want to do is >possible. Assume "template" is a template acquira

Re: [Zope] importing encode_base64

2005-06-03 Thread Paul Winkler
On Fri, Jun 03, 2005 at 10:50:25PM +0200, Tino Wildenhain wrote: > Am Donnerstag, den 02.06.2005, 10:34 -0700 schrieb Varun Parange: > > however when i try using it: > > > > from Products.EmailTools import > > MIMEText,MIMEBase,MIMEMultipart,Header,encode_base64 > > > > i get an error saying: >

Re: [Zope] importing encode_base64

2005-06-03 Thread Tino Wildenhain
Am Donnerstag, den 02.06.2005, 10:34 -0700 schrieb Varun Parange: > hi, > > i am having problems importing encode_base64 > > i have created a product in which i have specified: > ''' > from AccessControl import allow_module, allow_class, allow_type > from AccessControl import ModuleSecurityInfo

[Zope] POP3 servers

2005-06-03 Thread Varun Parange
hi,   which are some POP3 servers i can download for free, which are interfaceable with Zope   regards, varun Discover Yahoo! Get on-the-go sports scores, stock quotes, news & more. Check it out!___ Zope maillist - Zope@zope.org http://mail.zope.org/

Re: [Zope] recommend a provider

2005-06-03 Thread Dave Kuhlman
On Fri, Jun 03, 2005 at 08:13:15AM -0400, fs1 wrote: > Can someone recommend a zope enabled internet provider? > Frank Here are several you can look into: - http://www.objectis.org/ - http://www.zettai.net/ - http://www.python-hosting.com/ Which is right for you depends on what capabilities yo

Re: [Zope] Uploading files

2005-06-03 Thread Tino Wildenhain
Am Freitag, den 03.06.2005, 11:09 -0600 schrieb Nikko Wolf: > Brian Sullivan wrote: > >> > >>how do i upload a file in Zope using a python script?? > > > > > > http://www.zopelabs.com/cookbook/1006887320 > > > > is probably a place to start. > > On that topic: I've got my file upload working p

Re: [Zope] Uploading files

2005-06-03 Thread Nikko Wolf
Brian Sullivan wrote: how do i upload a file in Zope using a python script?? http://www.zopelabs.com/cookbook/1006887320 is probably a place to start. On that topic: I've got my file upload working properly (it forwards the file data to an external site, then saves only if validation work

Re: [Zope] Calling a page template from a DTML document

2005-06-03 Thread J Cameron Cooper
John Poltorak wrote: Is there any way of getting a DTML document to use a page template to build part of a page? Some sample code would be handy as an illustration if what I want to do is possible. Just call it exactly like you might do with, well, anything else:: Did you try this?

Re: [Zope] Uploading files

2005-06-03 Thread Brian Sullivan
> > how do i upload a file in Zope using a python script?? > > http://www.zopelabs.com/cookbook/1006887320 is probably a place to start. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML enco

[Zope] Uploading files

2005-06-03 Thread Varun Parange
hi,   how do i upload a file in Zope using a python script??   regards, varun__Do You Yahoo!?Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ Zope maillist - Zope@z

Re: [Zope] MySQL timestamp issue

2005-06-03 Thread Hugo Ramos
Yellow, I wrote the wrong version. I'm using MySQL 4.0.24 + Zope 276 + mysql-python 1.0.0 + ZMySQLDA 2.0.9b3 This is the DTML code generating the error: docdataemissao is a timestamp field in a table like: 200406011023 The traceback: Error Type: ValueError Error Value: unsupported format chara

[Zope] Calling a page template from a DTML document

2005-06-03 Thread John Poltorak
Is there any way of getting a DTML document to use a page template to build part of a page? Some sample code would be handy as an illustration if what I want to do is possible. -- John ___ Zope maillist - Zope@zope.org http://mail.zope.org/mai

Re: [Zope] recommend a provider

2005-06-03 Thread Martin Koekenberg
I can offer you zope hosting in the Netherlands (Zwolle).We are just starting this service after good experiance with zope development foor ourselfs.   Martin -Original Message-From: fs1 <[EMAIL PROTECTED]>To: Martin Koekenberg <[EMAIL PROTECTED]>Date: Fri, 03 Jun 2005 08:20:59 -0400S

Re: [Zope] recommend a provider

2005-06-03 Thread Martin Koekenberg
Hello Frank,   Where do you want a zope provider and what do you expect from that provider ?   Martin Koekenberg   -Original Message-From: fs1 <[EMAIL PROTECTED]>To: zope@zope.org Date: Fri, 03 Jun 2005 08:13:15 -0400Subject: [Zope] recommend a provider Can someone recommend a zope enab

[Zope] recommend a provider

2005-06-03 Thread fs1
Can someone recommend a zope enabled internet provider? Frank ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org/mailman/listinfo/zope-announ

Re: [Zope] MySQL timestamp issue

2005-06-03 Thread Andy Dustman
On 6/3/05, Hugo Ramos <[EMAIL PROTECTED]> wrote: > I already know what exactly makes Zope hang! > The problem is located at times.py that was installed by MySQL-Python > 1.2.0 (MySQL-python.exe-1.2.0.win32-py2.4.zip) This is a package for Python-2.4. Are you using Python-2.4 with Zope-2.7? If you

Fwd: [Zope] Just getting started

2005-06-03 Thread Lennart Regebro
> thanks for the reply. Can you suggest a provider? Sorry, no. But I'm sure others can. > and do you think I could be up and running in a short time frame? Sure setting up CPS is usually not a big problem at least. -- Lennart Regebro, Nuxeo http://www.nuxeo.com/ CPS Content Management

RE: [Zope] Max Connections

2005-06-03 Thread Germer, Carsten
Thanks a bunch *off tweaking parameters* >-Original Message- >From: Pascal Peregrina [mailto:[EMAIL PROTECTED] >Sent: Friday, June 03, 2005 1:45 PM >To: Germer, Carsten >Cc: 'zope@zope.org' >Subject: RE: [Zope] Max Connections > > >cache-size is the max number of objects each connection w

RE: [Zope] Max Connections

2005-06-03 Thread Pascal Peregrina
cache-size is the max number of objects each connection will try to keep in memory. You can see how it is currently performing when you go to the ZMI -> Control Panel -> Database Management -> main -> Cache Parameters Each line of the table is a connection of the pool. The total number of active a

Re: [Zope] Just getting started

2005-06-03 Thread Lennart Regebro
On 6/3/05, fs1 <[EMAIL PROTECTED]> wrote: > Can someone help me with the following general questions > > 1.My goal is to use CMF so that it acts like an online newspaper. If I > decide to install CMF, do I need my own in-house server? Or can I pick and > choose from any provider to install th

[Zope] Just getting started

2005-06-03 Thread fs1
Can someone help me with the following general questions   1.My goal is to use CMF so that it acts like an online newspaper.  If I decide to install CMF, do I need my own in-house server? Or can I pick and choose from any provider to install the package?2. Does knowing some  PHP, ASP an

RE: [Zope] Max Connections

2005-06-03 Thread Germer, Carsten
Yay, fine, thanks! And while we're at it: What exactly does "cache-size 8000" do? 8000 what? Objects, Kilobytes? Per connection in Pool size or over all? Can someone point me out to a document explaining that? /Carsten >-Original Message- >From: Janko Hauser [mailto:[EMAIL PROTECTED] >S

RE: [Zope] Max Connections

2005-06-03 Thread Pascal Peregrina
Yup, that's what I did. I read somewhere that if you don't increase the pool size, as each request needs a connection object to the ZODB, then some of them may have to wait until one connection is freed by the others, which makes the zserver-threads increase useless... Pascal -Message d'orig

Re: [Zope] Max Connections

2005-06-03 Thread Janko Hauser
Am 03.06.2005 um 12:54 schrieb Germer, Carsten: Pascal, Would you be so kind to send the -part of your config? I Increased the zserver-threads for exactly the mentioned reasons but I was not aware of the "connectio pool"-parameter, nor can I find it anywhere in my zope.conf :) Carsten loo

RE: [Zope] Max Connections

2005-06-03 Thread Germer, Carsten
Pascal, Would you be so kind to send the -part of your config? I Increased the zserver-threads for exactly the mentioned reasons but I was not aware of the "connectio pool"-parameter, nor can I find it anywhere in my zope.conf :) Thanks in Advance! /Carsten >-Original Message- >From: [E

RE: [Zope] Max Connections

2005-06-03 Thread Pascal Peregrina
2 parameters in zope.conf : zserver-threads (main section) : the number of threads (i.e. incoming request) Zope will try to handle simultaneously But if you increase this value, you must also increase : pool-size ( section) : the connection pool size to the ZODB By default, zserver-threads is se

[Zope] Max Connections

2005-06-03 Thread Nicholas Avenell
Watching our Zope servers, they don't ever seem to be handling very many connections at a time. Where can I find out (and increase, probably) the Max number of connections Zope's serving? (This is Z2.6.4) ___ Zope maillist - Zope@zope.org http://mail.

Re: [Zope] MySQL timestamp issue

2005-06-03 Thread Hugo Ramos
I already know what exactly makes Zope hang! The problem is located at times.py that was installed by MySQL-Python 1.2.0 (MySQL-python.exe-1.2.0.win32-py2.4.zip) ==OLD== def mysql_timestamp_converter(s): """Convert a MySQL TIMESTAMP to a Timestamp object.""" s = s +

Re: [Zope] importing encode_base64

2005-06-03 Thread Chris Withers
Andreas Jung wrote: ..the standard answer: allow_module is not a solution for all and everything. WEll, it SHOULD work as advertised. I've always felt that stuff was flakey, be interesting to see some concrete bug reports... cheers, Chris -- Simplistix - Content Management, Zope & Python

Re: [Zope] MySQL timestamp issue

2005-06-03 Thread Chris Withers
Hugo Ramos wrote: Could anyone explain me why this works in Zope 2.7.0 final and doesn't work in Zope 2.7.6 final and/or 2.8.0b1 ?? If Zope is really hanging, look at DeadlockDebugger and find out where it's hanging... Chris -- Simplistix - Content Management, Zope & Python Consulting