Re: [Zope] Limiting access to a Zope Site

2007-02-06 Thread Gabriel Genellina
intact. This works fine for our use case. -- Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya

Re: [Zope] How to get modules that are called by external methodsreloaded?

2007-01-19 Thread Gabriel Genellina
Zope. I have encountered this situation many many times. reload(module) inside the E.M., and edit/save it. -- Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo

RE: [Zope] FW: Problem Starting Zope after Installation

2007-01-19 Thread Gabriel Genellina
be the directory name, not datetime. That directory hides the standard Python datetime module. I've just downloaded 2.8.8 and installed it and the directory name is correct, DateTime. So I think you should delete all traces of your Zope installation and start again. -- Gabriel Genellina Softlab

Re: [Zope] Zope pretends to receive and send XMLRPC data, but strace sees nothing ! (fwd)

2007-01-18 Thread Gabriel Genellina
to three times, silently, then it goes logged). -- Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo

Re: [Zope] Urgent Help Required......

2007-01-15 Thread Gabriel Genellina
the Issue Tracker tool. However, I am unable do so. The reason being that I do not exactly know what to do. If all you need is a bug tracker, perhaps installing and maintaing Zope is too much. You may be interested in Roundup: http://roundup.sourceforge.net/ -- Gabriel Genellina Softlab SRL

Re: [Zope] Urgent Help Required......

2007-01-15 Thread Gabriel Genellina
There is a lot of help on the Roundup site, and a mailing list. It's easy to set up - but the demo will work without any setup at all. -- Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo

Re: [Zope] all_meta_types confusion

2007-01-09 Thread Gabriel Genellina
to define permissions everywhere; better use a global name. -- Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta

Re: [Zope] ZSQL Method's Precision

2006-10-23 Thread Gabriel Genellina
. Not so good when dealing with currency ( I don't want to use the money data dype ). Any ideas on how I can get my ZSQL method to keep two decimal places? I assume you get a float type from the DB. 1.30 *prints* as 1.3 but has around 12 decimal digits of precision. -- Gabriel Genellina Softlab

Re: [Zope] How can I import python script into another python script?

2006-08-31 Thread Gabriel Genellina
it as container.Include.Functions.whatever(args...) Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya

Re: Re: [Zope] download a file in a specific folder in the filesystem

2006-08-24 Thread Gabriel Genellina
', 'application/zip-compressed') (uhm, not sure of the right spelling) And return the file object, not its contents. The publisher takes care of sending it on chunks if needed. Gabriel Genellina Softlab SRL

Re: Re: Re: [Zope] download a file in a specific folder in the filesystem

2006-08-24 Thread Gabriel Genellina
-zip-compressed' and perhaps: REQUEST.RESPONSE.setHeader('Content-Disposition', 'attachment; filename=suggested-filename.zip') Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que

Re: [Zope] ONE MORE TIME MAILBOXER!!!!!!!!

2006-08-23 Thread Gabriel Genellina
help from a knowledgeable person near you. Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http

Re: [Zope] Zope.conf File and Pound

2006-08-22 Thread Gabriel Genellina
libraries, recompiling C modules... just Apache+Zope. Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya

Re: [Zope] Some users can't view sent PDFs anymore

2006-08-17 Thread Gabriel Genellina
... Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas

Re: [Zope] Python Scripts and HTML Forms

2006-08-17 Thread Gabriel Genellina
had an error in your html form, have you fixed it? Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo

RE: [Zope] The id s5/begin contains characters illegal in URLs

2006-08-10 Thread Gabriel Genellina
()) Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas

RE: [Zope] The id s5/begin contains characters illegal in URLs

2006-08-10 Thread Gabriel Genellina
At Thursday 10/8/2006 04:01, Sinang, Danny wrote: The object RECEIPT_OF_SOURCE_DOCUMENTS does not support this operation. You should then ask the OpenFlow guys how to rename an item. Gabriel Genellina Softlab SRL

Re: [Zope] how to detect when a object is added through the zmi

2006-08-10 Thread Gabriel Genellina
: ObjectManager.manage_afterAdd Zope3: I don't know... Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya

Re: [Zope] Re: Accumulate vars with dtml-var expr=...

2006-08-08 Thread Gabriel Genellina
to compute some values like this, is not the recommended practice. Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta

Re: [Zope] new user, teething problems

2006-08-04 Thread Gabriel Genellina
At Friday 4/8/2006 05:21, John P. Looney wrote: On 8/4/06, Gabriel Genellina mailto:[EMAIL PROTECTED][EMAIL PROTECTED] wrote: Page Templates are easier to use instead of DTML. True, but this is just starting off, to make sure it works. if it=='Zope': print It works! KeyError: u'date

Re: [Zope] adding product-based objects programmatically

2006-08-03 Thread Gabriel Genellina
. Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas

Re: [Zope] new user, teething problems

2006-08-03 Thread Gabriel Genellina
defined it anywhere? If you just want to show the current date, try: dtml-var expr=DateTime() Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas

Re: [Zope] Mark Pilgrim's Feed Parser in Zope

2006-07-26 Thread Gabriel Genellina
dictionary using the builtin function dict: d = dict(an_object_that_acts_like_a_dictionary) Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas

Re: [Zope] DB in Zope

2006-07-25 Thread Gabriel Genellina
://www.sqlite.org/ Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http://www.yahoo.com.ar/respuestas

Re: [Zope] Accumulate vars with dtml-var expr=...

2006-07-25 Thread Gabriel Genellina
will be: Is it possible to make this accumulated value as a dtml-var expr=[something like sum of values where seq-num =seq-num] Write a simple python script. Input=original list of values. Output=list of (value, accum). Iterate the result with dtml-in as before. Gabriel Genellina Softlab SRL

Re: [Zope] Re: Accumulate vars with dtml-var expr=...

2006-07-25 Thread Gabriel Genellina
, tough, I dont use dtml anymore. Gabriel Genellina Softlab SRL __ Preguntá. Respondé. Descubrí. Todo lo que querías saber, y lo que ni imaginabas, está en Yahoo! Respuestas (Beta). ¡Probalo ya! http

Re: [Zope] ExternalFile - getting back the file

2006-07-19 Thread Gabriel Genellina
if the original file is not there you can't get anything. Or, if you are asking about how to retrieve the (existing) file contents, look in the sources for the getContents() method. Gabriel Genellina Softlab SRL

Re: [Zope] prefix attribute in dtml-in

2006-06-10 Thread Gabriel Genellina
with a column named var_fulltitle. You can use names to see the actual column names: dtml-var expr=getConsulting().names (or perhaps it is .names(), this code is untested) Gabriel Genellina Softlab SRL

Re: [Zope] Internet Explorer does not follows redirect, while Firefox does

2006-06-02 Thread Gabriel Genellina
; REQUEST.RESPONSE.setHeader() is safer. Your Expires header does not appear to be correct; try Expires: 0 (anyway it should have the same effect since invalid dates are considered already expired). Gabriel Genellina Softlab SRL

Re: [Zope] What's the difference between 2.8.x and 2.9.x?

2006-05-31 Thread Gabriel Genellina
/Products/Zope/2.9.0/Zope-2_9_0-released I'm confused too. I see new releases of 2.8x, 2.9x and 2.10x, and I dont understand the differences. Gabriel Genellina Softlab SRL ___ 1GB gratis, Antivirus y

Re: [Zope] Error Value: Can't pickle objects in acquisition wrappers

2006-05-22 Thread Gabriel Genellina
. The error message is not very informative, try adding at least object._p_oid to see which object is failing. Gabriel Genellina Softlab SRL _ Horóscopos, Salud y belleza, Chistes, Consejos de amor: el contenido más

Re: [Zope] windows python differences

2006-05-19 Thread Gabriel Genellina
popen variants, using echo to construct the command is a bit crazy... Anyone know what the difference is on the two platforms? Surely! But this is not the problem here. Gabriel Genellina Softlab SRL __ Yahoo! Autos

Re: [Zope] Memory Leak in Session Data Container

2006-04-10 Thread Gabriel Genellina
on this list a few weeks ago: Please put such _bug_ into the bugtracker. Reporting bugs to the mailinglist hoping that someone picks it up is insane, sorry. That is, go to http://www.zope.org/Collectors/Zope and file a bug report. Gabriel Genellina Softlab SRL

Re: [Zope] how to build a search date range parameter in a search form

2006-04-04 Thread Gabriel Genellina
of dates? You can't. :list joins multiple parameters into a single list, but an option gives just a single parameter. But you don't need such things - you can compute start_date and end_date trivially (inside the form action) from the *only* integer parameter you need, the year. Gabriel

Re: [Zope] Re: (microsoft) webdav and zope 2.8.4

2006-03-02 Thread Gabriel Genellina
At Thursday 2/3/2006 11:55, Einar Næss Jensen wrote: I want to transfer a large amount of images into the zodb, and need an easy way of doing this (from windows). Look at load_site.py inside your Zope bin directory. Gabriel Genellina Softlab SRL

Re: [Zope] Javascript rendering problem?

2006-02-01 Thread Gabriel Genellina
of buttons and objects is not anymore working. IE doesn't complain about any errors, it just don't work. I've default.htm is not a good name for a Zope object. The same for xxx.js or yyy.css. Maybe this is the cause of your problem. Gabriel Genellina Softlab SRL

Re: [Zope] Class instances changing address?

2006-01-20 Thread Gabriel Genellina
Of course you can break the rules if you really really know what you are doing but they are a good starting point. And reading about how persistence works is a big help (it appears you've already read it, I think). Gabriel Genellina Softlab SRL

[Zope] Retrieve zope.conf path

2006-01-13 Thread Gabriel Genellina
line, it might not be there. Gabriel Genellina Softlab SRL ___ 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

Re: [Zope] Applying updates to zope site

2006-01-10 Thread Gabriel Genellina
, and usually the Zope service is restarted. Gabriel Genellina Softlab SRL ___ 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

Re: [Zope] installing zope in a web hosted environment

2006-01-09 Thread Gabriel Genellina
it, unless i get a dedicated server, which is way too expensive for my resources and needs ... Another option would be to keep it on your local server at home and setup a dynamic dns name (try http://www.yi.org/ or many others) Gabriel Genellina Softlab SRL

Re: [Zope] create description when I mouse over a formulator form field???

2006-01-06 Thread Gabriel Genellina
in a tooltip when you place the mouse over the element. No javascript needed. Just make sure you render the field's 'description' as a 'title' attribute; I'm not sure but I think this is what the default render() method does. Gabriel Genellina Softlab SRL

Re: [Zope] migrating a zodb

2006-01-05 Thread Gabriel Genellina
(there are some examples...) you'll have some problems if you install into another directory. But in general, if no such odd things happen, it's just plug and play. Gabriel Genellina Softlab SRL ___ Zope maillist - Zope@zope.org http://mail.zope.org

Re: [Zope] Can't pickle objects in acquisition wrappers

2005-12-19 Thread Gabriel Genellina
to be checked, but has never been a good practice, at least because the memory leak it produces (circular references). Gabriel Genellina Softlab SRL ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] SQL transaction uncommited?

2005-12-18 Thread Gabriel Genellina
commited when the webbrowser gets the no-exception response and rolled back otherwise. I've only used the ZODBCDA adapter and it does not show these phenomena; its SQL transactions *are* coupled to the Zope transaction (I learned that the hard way, in a corner case...) Gabriel Genellina Softlab SRL

Re: [Zope] Can't pickle objects in acquisition wrappers

2005-12-18 Thread Gabriel Genellina
Developers Guide). You are developing your own Product, I presume? Perhaps, you are keeping a direct reference to another persistent object? You should store its id instead, o use a container like ObjectManager. Without more information that's all I can guess... Gabriel Genellina Softlab SRL

[Zope] HTTP compressed response

2005-12-12 Thread Gabriel Genellina
handle it. But I dont know WHEN to do the call - should it be in (every) template used to generate a response? should I modify the response factory (make_response in ZServer\HTTPResponse.py) to invoke this? or what? Gabriel Genellina Softlab SRL

Re: [Zope] Re: DateTime mess

2005-11-22 Thread Gabriel Genellina
? Gabriel Genellina Softlab SRL ___ 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

Re: [Zope] AttributeError: 'NoneType' object has no attribute 'lower'

2005-11-10 Thread Gabriel Genellina
in subsections if not None],(('title','nocase','asc'),)) Note the typo (which was valid Python code anyway so might go undetected), should be: python:sequence.sort([x for x in subsections if x is not None],(('title','nocase','asc'),)) Gabriel Genellina Softlab SRL

Re: [Zope] Problem after upgrade zope from 2.6.0 - 2.8.4

2005-10-28 Thread Gabriel Genellina
the difference; specially if the markup is invalid you can't count on the browser rendering the page in a consistent way. Gabriel Genellina Softlab SRL ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Startup hook

2005-08-17 Thread Gabriel Genellina
Hello I need to execute something each time Zope starts, is there any place where i could put such things? (apart from modifying Zope.Startup.__init__.py) Gabriel Genellina Softlab SRL ___ Zope maillist - Zope@zope.org http://mail.zope.org

[Zope] How to set an object's last modification time

2005-08-09 Thread Gabriel Genellina
-01 10:11:12.00, serial currently committed 0x035f10fe1d242e66 2005-08-03 02:38:06.83) Gabriel Genellina Softlab SRL ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

[Zope-dev] Re: ExternalEditor for Windows setup

2002-05-27 Thread Gabriel Genellina
Uncheck 'Confirm open after download' Gabriel Genellina Softlab SRL ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman