[Zope] MemoryError: out of memory

2011-01-26 Thread Jonathan Salazar Santos
Hi Comunity,

I have been in troubles with Zope2.10.5-final since 4 moths ago,
related to the MemoryError: out of memory (in the event.log), every
three or fourth days (more or less) the Zope starts to say in our web:
value error: Memory, and stops to serve some pages (not all), usually
the pages that serve file contents (to download, convert to pdf or
view online). I solve the problem (when appears) by rebooting the zope
server, but its not a solutions, because I dont know when the error
its coming ¿Can you help me to giving me some light to solve the
problem? I have 2gb of RAM, and the server (FreeBSD) it says
no-overloaded, just have 2 services, web(zope) and database(mysql). I
think its something related to the cache memory or kind of (I changed
some values in config file but not success). See some of my event.log


Traceback (innermost last):
  Module ZPublisher.Publish, line 119, in publish
  Module ZPublisher.mapply, line 88, in mapply
  Module ZPublisher.Publish, line 42, in call_object
  Module OFS.DTMLMethod, line 144, in __call__
   - DTMLMethod at //index_html used for //suscribete/adminNewsletter
   - URL: http:///index_html/manage_main
   - Physical Path: //index_html
  Module DocumentTemplate.DT_String, line 476, in __call__
  Module OFS.DTMLMethod, line 137, in __call__
   - DTMLMethod at //suscribete/adminNewsletter/third_header
   - URL: http:///suscribete/adminNewsletter/third_header/manage_main
   - Physical Path: //suscribete/adminNewsletter/third_header
  Module DocumentTemplate.DT_String, line 476, in __call__
  Module DocumentTemplate.DT_In, line 703, in renderwob
  Module Products.MailHost.SendMailTag, line 114, in render
  Module Products.MIMETools.MIMETag, line 198, in render
  Module MimeWriter, line 177, in lastpart
MemoryError: out of memory


-- 
Lic. Jonathan Salazar
Saludos,
___
Zope maillist  -  Zope@zope.org
https://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope-dev )


[zope] ZCatalog question

2008-07-08 Thread Jonathan Salazar Santos
Hi everybody


I have a method that creates a Files and DTML Documents but I need to
Index those news items to a ZCatalog when they are created.

Do you know if there are some dtml calls (like manage_catalogACTION)
to call the action: Index, Reindex, Delete indexed objects with dtml
or Python Scrips.

How can I do to get indexed my new items in a zcatalog automatically?

Some help will be appreciated.

Regards,
-- 
Jonathan Salazar
Vista: http://jonathansalazar.com
___
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-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] m2crypt in Zope 10

2008-06-20 Thread Jonathan Salazar Santos
Hello everybody


I am wondering, if there are some howto patching the zope 10 files
specifically for $MYZOPEHOME/lib/python/ZServer/datatypes.py

Because when I try to patch like: patch datatypes.py
datatypes.py.patch, the result:

patching file datatypes.py
Hunk #1 FAILED at 72.
1 out of 1 hunk FAILED -- saving rejects to file datatypes.py.rej


It is the only file failed, the others one were fine.

Some help will appreciate.

-- 
Jonathan Salazar
Vista: http://jonathansalazar.com
___
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-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Zope+SSL

2008-04-07 Thread Jonathan Salazar Santos
Hello All,

I recently bought a dedicated server at Godaddy.com, the think its, I want
to run zope in https mode, but not success, so...
really: Must I need configure Apache+FastCGI+Zope to get ready SSL on Zope?

Any help will be appreciate, thank you in advance.

Saludos,
-- 
Lic. Jonathan Salazar
Vista: http://jonathansalazar.com
___
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-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] How can I get graph statistics

2007-10-10 Thread Jonathan Salazar Santos
I am wondering if..., ¿Could some body tell me (help me) how to do graph
statistics on the fly with DTML or python?
I need to create reports with statistics on the fly.

Some howto... I will apreciate, thanks in advance.

-- 
Jonathan Salazar
___
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-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] getting atachments with python - pop3

2005-07-24 Thread Jonathan Salazar Santos
Hi, im making a email client in python for zope, but a im stopped
because i cant find the way to get the attacments with python, do you
have a idea how can i do this?, i have studied the email package
already but is a little confused.

-- 
Lic. Jonathan Salazar
Visita: www.jonathansalazar.com
___
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-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] getting atachments with python - pop3

2005-07-24 Thread Jonathan Salazar Santos
Hi, im making a email client in python for zope, but a im stopped
because i cant find the way to get the attacments with python, do you
have a idea how can i do this?, i have studied the email package
already but is a little confused.

--
Lic. Jonathan Salazar
Visita: www.jonathansalazar.com
___
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-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )