[Zope] !--#var title-- = Zope ?!

2000-06-06 Thread Jonathan
? Thnx Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman/listinfo

Re: [Zope] !--#var title-- = Zope ?!

2000-06-06 Thread Jonathan
"Zope" is the name of the main folder so when you do dtml-var title you are getting that folder's title. dtml-var title_or_id will give you the title or id of the object that it is within (DTML Document title or id). That is probably what you want. Well, that don't work either. And if I am

[Zope] Deinstalling Products?!

2000-07-03 Thread Jonathan
Hi all, Removed a product from the Products folder, but Zope still seems to import it from a folder that is not there anymore. Does Zope cache it somewhere or what? Any ideas? Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org

Re: [Zope] Generating PDF: Use ZpdfDocument or Reportlab?

2000-07-03 Thread Jonathan
Yes we have written a faily extensively billing system that uses reportlab to generate the equipment orders in pdf format. We have made a few tweaks here and there to reportlab but in general it works quite well. From within Zope? How do you call ReportLab from within Zope? Thnx Jonathan

Re: [Zope] Deinstalling Products?!

2000-07-03 Thread Jonathan
Are you sure you deleted it from the right place? Also, did you delete it from the Products Management screen of the control panel? Erhm, stupid me. No, I didn't try that, just removed the folder. Thnx Jonathan ___ Zope maillist - [EMAIL PROTECTED

[Zope] Passing Variables; How?

2000-07-12 Thread Jonathan
Hi all, I've got the following situation; a ZGDChart object calls a Z SQL method which requires certain query parameters. Since I call the ZGDChart from within DTML and not the Z SQL method, how can I define the variable the SQL method needs? Thnx Jonathan

[Zope] Weird problem with Z MySQL Connection

2000-07-13 Thread Jonathan
? It didn't in the first install. I haved searched the mailinglist archives already, tried stuff suggested there with similar problems. Still no dice :( Any ideas? Thnx Jonathan -- Traceback (innermost last): File /2ndhome/devel/proj/euhf/zope/lib/python/ZPublisher/Publish.py, line 214

Re: [Zope] Weird problem with Z MySQL Connection

2000-07-14 Thread Jonathan
Hi all, Keep getting an 'invalid connection string' error when trying to make a database connection from Zope. Weird thing is that I first moved a working build to another machine, which resulted in it not working anymore. Did a clean install of Zope 2.1.6 (Source), MySQL 3.22.32 and all

[Zope] Passing 'document_title' to 'standard_html_header' from a method?

2000-07-31 Thread Jonathan
it is in, not the title from the method itself. Any ideas? I didn't really find a solution in the archives; it does work with DTML Documents, but not with DTML Methods? Thnx, Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org

[Zope] Substracting value from variable?

2000-08-01 Thread Jonathan
1990 1995 2000 Possible? Can't seem to find anything in the docs :( Thnx, Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org

[Zope] Select highest four from results?

2000-08-01 Thread Jonathan
want to select the latest four years: 1985 1990 1995 2000 Possible? Can't seem to find anything in the docs :( Thnx, Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] Problem with a calling a stored procedure which returns data (Help!)

2000-12-28 Thread jonathan
Hello, I have a stored procedure in sybase that I would like to run. How do I do this, I can't seem to find it anywhere. The stored procedure is supposed to return several records. I am using the SybaseDAv2. Thanks! Happy Holidays!! :) -jon -Original Message-

[Zope] Zope Projects in NL/Europe?

2001-01-02 Thread Jonathan
is not that bad, uses SOAP/XML-RPC) is next if we don't find a use for our Zope expertise. Thnx Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] Tux Zope?

2001-01-09 Thread Jonathan
for example. Any tried it already? Cya Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http

RE: [Zope] Zope Projects in NL/Europe?

2001-01-03 Thread Jonathan
know ;) Cya Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman

RE: [Zope] Zope Projects in NL/Europe?

2001-01-03 Thread Jonathan
this message. Cya Jonathan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/mailman

Re: [Zope] automagic reindexing of objects

2005-06-17 Thread Jonathan
and then call the catalog/indexing mechanism. We do this for one of our large volume catalogs (1m+ records), by having an object class/catalog that are not 'aware' and then manually (well, thru a python routine) cataloging/indexing the objects. HTH Jonathan

Re: [Zope] Using Catalog in a stand-alone application

2005-06-17 Thread Jonathan
Jonathan ___ 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 )

Re: [Zope] Traversal question

2005-06-22 Thread Jonathan
-arounds just so you can have pretty urls. Jonathan ___ 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

Re: [Zope] Re: Problem with keep-alive timeout

2005-06-22 Thread Jonathan
out. Ugly, but it should work. Jonathan - Original Message - From: Andrew Langmead [EMAIL PROTECTED] To: Ralph [EMAIL PROTECTED] Cc: ZopeList List zope@zope.org Sent: Wednesday, June 22, 2005 1:11 PM Subject: Re: [Zope] Re: Problem with keep-alive timeout If you really need handle

Re: [Zope] Using Zope to Manage an Asset Inventory Database

2005-06-23 Thread Jonathan
://www.zope.org/Documentation/Books/ZopeBook/2_6Edition/SearchingZCatalog.stx hth Jonathan ___ 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

Re: [Zope] general design question

2005-06-23 Thread Jonathan
? You would have to update the dictionary whenever you add/delete an employee (simple to do), but it would give you quick access to the employee id numbers. hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Sharing global data between threads / locking a method

2005-06-27 Thread Jonathan
on a temp_folder for faster performance. hth Jonathan - Original Message - From: Max M [EMAIL PROTECTED] To: zope@zope.org Sent: Monday, June 27, 2005 9:53 AM Subject: [Zope] Sharing global data between threads / locking a method I have a synkronisation script that I run every 10 minutes

Re: [Zope] Sharing global data between threads / locking a method

2005-06-27 Thread Jonathan
), therefore are faster to access, but the downside is that when zope is shutdown all temp_folder content is lost. Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding

Re: [Zope] Sharing global data between threads / locking a method

2005-06-27 Thread Jonathan
have to be done to confirm this. There is a quick solution though: include the following command in your external method after your code that modifies the 'flag': get_transaction().commit() This will invoke the zope commitment machinery immediately. Jonathan

Re: [Zope] Debugging a python routine

2005-06-27 Thread Jonathan
tal:content=python:opt[1] tal:attributes=href python:opt[0]/a/li /tal:block /span I would start by testing the python routine on its own (ie. without any ZPT stuff) to make sure it is producing what you expect, then add in the ZPT stuff bit-by-bit. Jonathan

Re: [Zope] TAL and Javascript

2005-06-29 Thread Jonathan
to provide a location that javascript can reload in order to make 'invisible' (not really, but close enough) calls from the browser to the server hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] how to get info about an object (dir/type)

2005-06-30 Thread Jonathan
!) Jonathan ___ 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 )

Re: [Zope] sending e-mail in external methods

2005-07-08 Thread Jonathan
How about setting the proxy role of your Register script to 'Manager'? (to allow Register to invoke your external method) Jonathan - Original Message - From: Susana Beatson [EMAIL PROTECTED] To: zope@zope.org Sent: Friday, July 08, 2005 9:59 AM Subject: [Zope] sending e-mail

Re: [Zope] DTML bug with database arrays in sqltest

2005-07-08 Thread Jonathan
you run this will be a factor). hth Jonathan - Original Message - From: David Pratt To: zope@zope.org Sent: Friday, July 08, 2005 1:08 PM Subject: [Zope] DTML bug with database arrays in sqltest I am using arrays in Postgres. I need to be able to compare

[Zope] ZCTextIndex - Collector Item #505?

2005-07-20 Thread Jonathan
not access via the ZMI)? 2) Was Collector Item #505 ever fixed (I can not find a reference to issue #505 in any of the zope change logs)? Thanks, Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] Re: ZCTextIndex - Collector Item #505?

2005-07-20 Thread Jonathan
update cycle. Thanks again, Jonathan - Original Message - From: Tres Seaver [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, July 20, 2005 11:47 AM Subject: [Zope] Re: ZCTextIndex - Collector Item #505? -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Jonathan wrote: I have

Re: [Zope] Added Product Doesn't Show Up In ZMI

2005-07-20 Thread Jonathan
level directory of the Issue Dealer subdirectory tree, and also check to see if there are any messages in the log file (.../zope/var/logger.log or something similar). hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman

Re: [Zope] store data as long as the user is logged on

2005-07-21 Thread Jonathan
and store it in a temp_folder (stored in ram, not persistant). The dictionary would only work if you had a reliable way to identify a returning user (ie. do they log in with an ID that you could use as the dictionary key?). hth Jonathan ___ Zope

Re: [Zope] Python formatting question

2005-07-21 Thread Jonathan
- Original Message - From: [EMAIL PROTECTED] To: zope@zope.org Sent: Thursday, July 21, 2005 12:14 PM Subject: [Zope] Python formatting question In a Python script, how can I break up a SQL statement over more than one line? For example, to transform #generate the sql statement

Re: [Zope] Different IPs, one zope instance

2005-07-22 Thread Jonathan
of 5) to the Zope server? I'm not sure, but isn't this something you configure with the front-end http server (ie. Apache)? Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] Re: Token 'ATOM' required, 'and' found

2005-07-25 Thread Jonathan
the operator words like and or not. Any idea how I can do that? Not a zope solution (or issue), but how about using regex in python code? Jonathan On 7/25/05, Chris Withers [EMAIL PROTECTED] wrote: Peter Bengtsson wrote: But, is there a more robust solution to this? The correct thing to do

Re: [Zope] working with urls

2005-07-25 Thread Jonathan
Why don't you identify the variable data portion of the urls you are building as standard http-type arguments: eg. http://www.myweb.com/amethod?var1=val1var2=val2... This way var1, var2 etc will be accessible to your method as entries in REQUEST. Jonathan - Original Message

Re: [Zope] Added Product Doesn't Show Up In ZMI

2005-07-25 Thread Jonathan
- Original Message - From: [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED]; zope@zope.org Sent: Monday, July 25, 2005 12:03 PM Subject: Re: [Zope] Added Product Doesn't Show Up In ZMI I'm trying to get the Issue Dealer (http://www.nidelven-it.no/products/issue_dealer) product

Re: [Zope] use combined propertysheet variables to form a file name fora zObject

2005-07-27 Thread Jonathan
/values are stored in REQUEST (as a result of a user filling in an html form) We call reindex_object because our zclasses are 'catalog aware' and we are reindexing the catalog. hth Jonathan - Original Message - From: Allen Huang To: zope@zope.org Sent: Wednesday, July 27, 2005 12:

Re: [Zope] DTML parsing outside of Zope

2005-07-28 Thread Jonathan
() hth Jonathan ___ 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 )

Re: [Zope] Suppressing dupes in a concatenated ZCatalog query.

2005-07-28 Thread Jonathan
) res=resa[:_.len(resa)] + resb[:_.len(resb)] + resc[:_.len(resc)] dtml-in uniq(items=res) size=50 start=query_start /snip This is not a very elegant solution and will be cpu intensive, but if your catalog is not too large it may work for you. hth Jonathan

Re: [Zope] Composing variables

2005-07-29 Thread Jonathan
you to load variable b1 within a 'pointer' to a variable containing the data you want. hth Jonathan - Original Message - From: Cristi Barladeanu To: Andreas Jung Cc: zope@zope.org Sent: Friday, July 29, 2005 12:02 PM Subject: Re: [Zope] Composing variables He

Re: [Zope] ZASync method calls

2005-08-23 Thread Jonathan
after you change the variable's contents. hth Jonathan ___ 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

Re: [Zope] problem with adding an external method

2005-08-23 Thread Jonathan
/ownership of the directory and python routine files allow zope to access them. 2) try 'hardcoding' the nb_parse routine within nb_fetch.py. If this works, then your problem is definitely related to pythonpath not being set up (or zope can't access the directories/files in the path). hth Jonathan

Re: [Zope] REQUEST.has_key does not find passed argument

2005-08-25 Thread Jonathan
attribute of your html link. hth Jonathan ___ 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

Re: [Zope] Can I use datetime and timedelta in zope?

2005-09-05 Thread Jonathan
to Error Type: ImportError Error Value: No module named datetime There's any way to import this module in Zope or I must create a new product for it. Have a look at: http://zopelabs.com/cookbook/990690237 hth Jonathan ___ Zope maillist - Zope@zope.org

Re: [Zope] Captcha

2005-09-14 Thread Jonathan
From: akonsu [EMAIL PROTECTED] I am not sure if there is a ready product for this, but is there a way in zope to generate an image dynamically? does anyone know how? if there is, any python implementation of captcha can be adapted to zope Google 'python image library' (PIL) Jonathan

Re: [Zope] Aquisition, UserFolder and security

2005-09-27 Thread Jonathan
, and is not very secure, but it may buy you some time to fix the problem properly. Good Luck! Jonathan - Original Message - From: bruno modulix [EMAIL PROTECTED] To: Julien Anguenot [EMAIL PROTECTED] Cc: zope@zope.org Sent: Tuesday, September 27, 2005 10:31 AM Subject: Re: [Zope

Re: [Zope] ZOPE and DEBIAN INSTALLTION

2005-10-05 Thread Jonathan
system. eg. $ which gcc /usr/bin/gcc hth Jonathan ___ 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

Re: [Zope] ZOPE and DEBIAN INSTALLTION

2005-10-06 Thread Jonathan
with exit status 1 make *** [build] Fehler 1 --- I am just guessing, but it looks like your swap file is too small (you need to allocate more disk space to your swap file - this is an operating system modification, nothing to do with zope). hth Jonathan

Re: [Zope] Write log file from script

2005-10-07 Thread Jonathan
How about creating a string or list, then appending your debug info to the string/list, then returning the string/list to the calling routine which then displays the string/list? Jonathan - Original Message - From: Brian Sullivan To: zope@zope.org Sent: Friday

Re: [Zope] write file to FS (LocalFS?)

2005-10-18 Thread Jonathan
These may help: http://www.zope.org/Members/jfarr/HowTo/DTML_with_LocalFS http://www.zope.org/Members/asterisk/ZFSPath/ hth Jonathan - Original Message - From: Rakotomandimby Mihamina [EMAIL PROTECTED] To: zope@zope.org Sent: Tuesday, October 18, 2005 2:00 PM Subject: [Zope

Re: [Zope] Pass dtml-var sequence-item as parameter to External Method

2005-10-19 Thread Jonathan
', 'UTF-8') /td /dtml-in but does not work You can't embedded dtml within dtml. However, this should work: dtml-var CharSetConv(_,_['sequence-item']) hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] Serve large files efficiently from a pipe

2005-11-08 Thread Jonathan
to response one chunk at a time is proper solution? Will Zope store response body or sent it right away? I am not sure that it is the later... It sounds like you are looking for a streaming type of solution. You can google zope and streaming to get more info. Jonathan

Re: [Zope] Setting a session's domain

2005-11-15 Thread Jonathan
that I am I'm using Zope's regular request.SESSION). How about creating subfolders, one for each subdomain, and then use URL rewriting to point to the required subfolder. The top level folder would contain your login/authenication/session info which could be accessed via acquisition. Jonathan

Re: [Zope] Setting a session's domain

2005-11-15 Thread Jonathan
- Original Message - From: Pablo Ziliani [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED]; Zope zope@zope.org Sent: Tuesday, November 15, 2005 8:53 AM Subject: Re: [Zope] Setting a session's domain Jonathan wrote: Hi all, I'm developing a site that has multiple subdomains (i.e

Re: [Zope] Problems using forms to upload files to Zope

2005-11-15 Thread Jonathan
You should use the getContentType() method - look in the zope book (API - File). Jonathan - Original Message - From: Mike Jakowlew To: zope@zope.org Sent: Tuesday, November 15, 2005 9:25 AM Subject: [Zope] Problems using forms to upload files to Zope Here's

Re: [Zope] Re: Problems using forms to upload files to Zope

2005-11-15 Thread Jonathan
out there know what happened to 'getContentType'? However, there is always a work around: REQUEST['fname'].headers['Content-Type'] should get you what you want. Jonathan - Original Message - From: Mike Jakowlew To: zope@zope.org Sent: Tuesday, November 15, 2005 1:19

Re: [Zope] question about Zope capabilities

2005-11-17 Thread Jonathan
with different layouts) and serve them up at random. Jonathan ___ 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] Zope 2.8.4 external methods do not autorefresh

2005-11-18 Thread Jonathan
behavior. No its not. To adopt the code for the modified method the external method needs to be resaved. Yep. Is this a bug or a feature? Feature. Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope

Re: [Zope] EMBED ... problem

2005-11-21 Thread Jonathan
I am guessing that your problem is not the embed/embed tags Jonathan ___ 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

Re: [Zope] How to Update files that are already uploaded

2005-12-01 Thread Jonathan
File objects have a method called 'update_data' which may be of use. Look in the ZopeBook for details. Jonathan - Original Message - From: Mike Jakowlew To: zope@zope.org Sent: Thursday, December 01, 2005 12:12 PM Subject: [Zope] How to Update files

Re: [Zope] Accessing a Subfolder of a Parent Folder

2005-12-05 Thread Jonathan
try googling 'aq_parent'. Jonathan - Original Message - From: Asad Habib [EMAIL PROTECTED] To: zope@zope.org Sent: Monday, December 05, 2005 5:50 PM Subject: [Zope] Accessing a Subfolder of a Parent Folder How do I access the subfolder of a parent folder? I am using the following

Re: [Zope] dtml-tree (urlparam)

2005-12-07 Thread Jonathan
Have you looked at this: http://www.zope.org/Documentation/Guides/DTML-HTML/DTML.15.html Jonathan - Original Message - From: Ulla Theiss [EMAIL PROTECTED] To: Zope Mailing List zope@zope.org Sent: Wednesday, December 07, 2005 4:50 PM Subject: [Zope] dtml-tree (urlparam) Dear list

Re: [Zope] Saving a Rendered DTML Document

2005-12-08 Thread Jonathan
then access via your php routines). You could even create an external method which invokes wget - you could then call this external method from the same routine which creates/modifies your dtml method, so that the html file on the file system stays in sync with the dtml method. hth Jonathan

Re: [Zope] Re: live dtml updating?

2005-12-11 Thread Jonathan
This is client side processing (could be done via repetitive calls to the server, but very inefficient), so you want a javascript-type of solution. Not a zope solution. Trying googling 'javascript dynamic lists'... it should get you going in the right direction. Jonathan - Original

Re: [Zope] about mouse interactions..

2005-12-13 Thread Jonathan
/script/external method) which processes the fields from the form request and returns some object(s)? from the zodb. hth Jonathan - Original Message - From: Allen Huang To: Zope Sent: Tuesday, December 13, 2005 9:32 AM Subject: [Zope] about mouse interactions.. Hi

[Zope] Trapping zope exceptions in python script

2005-12-14 Thread Jonathan
- Line 25 NameError: global name 'BadRequest' is not defined I can work around this problem by checking to see if the item exists in 'afolder' before I try to delete it, but I was curious as to how you go about trapping a 'BadRequest' error in a python script? Thanks, Jonathan

Re: [Zope] Trapping zope exceptions in python script

2005-12-14 Thread Jonathan
Thanks to everyone for the feedback... the bottom line seems to be that you can NOT trap zope exceptions in a python script... which seems a bit odd. Jonathan - Original Message - From: Andreas Jung [EMAIL PROTECTED] To: Nikko Wolf [EMAIL PROTECTED]; zope@zope.org Sent: Wednesday

Re: [Zope] Trapping zope exceptions in python script

2005-12-15 Thread Jonathan
- Original Message - From: J Cameron Cooper [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope@zope.org Sent: Wednesday, December 14, 2005 4:33 PM Subject: Re: [Zope] Trapping zope exceptions in python script Jonathan wrote: Thanks to everyone for the feedback... the bottom

Re: [Zope] Unauthorized exception when trying to access a list item

2005-12-15 Thread Jonathan
the following test script: list = [61282125371L, 1, 6, 0] ret = [] tup = (0,1,2) factortup = (1,2) factor = 2 for i in range(len(list)): if i in tup: if i in factortup: x = list[i] * factor print x return printed and it returned: 2 12 No errors, so it must be something else. Jonathan

Re: [Zope] Trapping zope exceptions in python script

2005-12-15 Thread Jonathan
- Original Message - From: Tino Wildenhain [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope@zope.org Sent: Thursday, December 15, 2005 8:18 AM Subject: Re: [Zope] Trapping zope exceptions in python script Jonathan schrieb: ... It seems strange that one can, using plain

Re: [Zope] Trapping zope exceptions in python script

2005-12-15 Thread Jonathan
the rationale for this). My 2 cents. Jonathan ___ 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

Re: [Zope] Trapping zope exceptions in python script

2005-12-15 Thread Jonathan
- Original Message - From: Tino Wildenhain [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED]; zope@zope.org Sent: Thursday, December 15, 2005 8:48 AM Subject: Re: [Zope] Trapping zope exceptions in python script ... Try: context.afolder.manage_delObjects(['someitem']) where

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

2006-01-08 Thread Jonathan
is way too expensive for my resources and needs .../snip Some IP's have an upgrade to their service which will give you a static IP (for a few dollars more per month of course!) which would allow you to run on your home server. Jonathan - Original Message - From: Daniel

Re: [Zope] Leave the ivory tower now!

2006-01-08 Thread Jonathan
my 1-1/2 cents. Jonathan - Original Message - From: Greg Fischer Cc: zope@zope.org Sent: Sunday, January 08, 2006 5:06 PM Subject: Re: [Zope] Leave the ivory tower now! Yes, we need hype! And a "hot" looking site, WITH Web 2.0 feat

Re: [Zope] Zope background variables

2006-01-12 Thread Jonathan
. hth Jonathan - Original Message - From: Alric Aneron To: zope@zope.org Sent: Thursday, January 12, 2006 4:39 PM Subject: [Zope] Zope background variables Hello,I was wondering if there is a way to store a global variable on the server, and have

Re: [Zope] Re: Zope vs Plone: performance issues!

2006-01-25 Thread Jonathan
are common across your dynamically created pages, which will then make use of front end caching). Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] add folder from the filesystem

2006-01-25 Thread Jonathan
to the folder (you need to determine which objects you want to add): manage_addFile manage_addImage manage_addDocument manage_addDTMLMethod hth Jonathan - Original Message - From: George To: zope@zope.org Sent: Wednesday, January 25, 2006 7:17 AM Subject: [Zope

Re: [Zope] zodb queries, importing and exporting

2006-01-25 Thread Jonathan
/receive data in the agreed upon XML format (that's what its for!). Jonathan - Original Message - From: Cliff Williams [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, January 25, 2006 11:23 AM Subject: [Zope] zodb queries, importing and exporting LEAD UP: I've got a site that I

Re: [Zope] dealing with scripts that take too long

2006-01-25 Thread Jonathan
/scripts. LWP, CURL (and others) give you the ability to control the timeout parameters. hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

[Zope] Zope - future planning

2006-01-26 Thread Jonathan
anyone know the long term fate of Zope 2? (ie. is the plan to eventually move everything into Zope 3, then slowly fade Zope 2 from the picture, or will Zope 2 be with us forever?). Any and all thoughts gratefully appreciated! Thanks, Jonathan ___ Zope

Re: [Zope] Zope - future planning

2006-01-27 Thread Jonathan
a complete leap to Zope 3! Thanks again, Jonathan - Original Message - From: Jake [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope@zope.org Sent: Thursday, January 26, 2006 2:13 PM Subject: Re: [Zope] Zope - future planning If it is fairly extensive I would think your best

Re: [Zope] Ignore stopwords/characters in alphabetical results

2006-02-02 Thread Jonathan
FreeBSD6. Until I was hit with this request, the default ZCatalog and ZCTextIndexes have given good results. ZCTextIndex has a list of stop words that you could probably modify. This should get you pointed in the right direction: http://www.zope.org/Members/dedalu/ZCTextIndex_python hth Jonathan

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Jonathan
You can create a small utility external method to call dir() and type() - very useful!Jonathan - Original Message - From: George To: zope@zope.org Sent: Friday, February 10, 2006 8:11 AM Subject: [Zope] Method to return the properties of an object

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Jonathan
How would you shoot yourself? - Original Message - From: Tino Wildenhain [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: George [EMAIL PROTECTED]; zope@zope.org Sent: Friday, February 10, 2006 8:36 AM Subject: Re: [Zope] Method to return the properties of an object Jonathan

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Jonathan
: Tino Wildenhain [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope@zope.org Sent: Friday, February 10, 2006 8:45 AM Subject: Re: [Zope] Method to return the properties of an object Jonathan schrieb: How would you shoot yourself? dont you think these methods arent accessible from ZMI code

Re: [Zope] Method to return the properties of an object

2006-02-10 Thread Jonathan
Jonathan schrieb: The idea of using an external method for dir/type is simply to allow a developer to quickly investigate attributes/methods of objects - if you are silly enough to actually incorporate this mechanism into 'production' code then you should shoot yourself. And how did you

Re: [Zope] about zope and mouse event handling

2006-02-10 Thread Jonathan
Handling mouse eventsis a _javascript_/DOM issue. If you are interested in having _javascript_ communicate with zope you could look into Ajax (although I prefer Json to XML). This might help: http://www.zope.org/Members/ree/jsonserver2 Jonathan - Original Message - From

Re: [Zope] Python equivalent to Javascript escape/unescape

2006-02-23 Thread Jonathan
escape/unescape functions in a Python script but for some reason I just can't find out how to do it. Maybe I can't see the forest for the trees. Anybody out there have a cluestick to whack me with? Try googling:urllib.urlencode It should get you going in the right direction Jonathan

Re: [Zope] Dynamic dictionary keys?

2006-02-27 Thread Jonathan
easier in python script, but if you really want to use dtml: dtml-call REQUEST.set('eventsDict', {}) dtml-call eventsDict.update({'calstart' : id}) hth Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Dynamic dictionary keys?

2006-02-27 Thread Jonathan
- Original Message - From: Andrew Hedges [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Sent: Monday, February 27, 2006 12:14 PM Subject: Re: [Zope] Dynamic dictionary keys? Thanks, much, Jonathan! We're moving to Zope 3 on the next version of our software, but what I'm working

Re: [Zope] External Methods newbie question

2006-02-28 Thread Jonathan
for executing bash commands. hth Jonathan - Original Message - From: Alric Aneron To: zope@zope.org Sent: Tuesday, February 28, 2006 8:14 PM Subject: [Zope] External Methods newbie question Hello,I see I can only execute python functions in external methods

Re: [Zope] Zope Managed Server

2006-03-08 Thread Jonathan
. Jonathan - Original Message - From: Dan Gaibel [EMAIL PROTECTED] To: zope@zope.org Sent: Tuesday, March 07, 2006 9:28 PM Subject: [Zope] Zope Managed Server Hello Folks, I'm interested in finding a company that will do monthly managed zope hosting. We're looking for a dedicated machine

Re: [Zope] nested records

2006-03-11 Thread Jonathan
Have a look at: http://www.zope.org/Members/Zen/howto/FormVariableTypes Jonathan - Original Message - From: Michael Shulman [EMAIL PROTECTED] To: zope@zope.org Sent: Saturday, March 11, 2006 6:27 PM Subject: [Zope] nested records Am I correct that zope's item.subitem:record

Re: [Zope] nested records

2006-03-12 Thread Jonathan
This page shows of ALL of the supported form variable types (ie. if its not there its not supported). Jonathan - Original Message - From: Michael Shulman [EMAIL PROTECTED] To: Jonathan [EMAIL PROTECTED] Cc: zope@zope.org Sent: Saturday, March 11, 2006 7:26 PM Subject: Re: [Zope

Re: [Zope] ZCatalog Strategy

2006-03-22 Thread Jonathan
easy to clear and then reload the catalog) and time them to see which gives you better performance. hth good luck! Jonathan - Original Message - From: Mark Gibson [EMAIL PROTECTED] To: zope@zope.org Sent: Wednesday, March 22, 2006 9:28 PM Subject: [Zope] ZCatalog Strategy I'm

Re: [Zope] reading cookies from external methods

2006-03-31 Thread Jonathan
...) REQUEST = self.REQUEST cookie = REQUEST.get('some_cookie') That should do it! HTH Jonathan ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http

Re: [Zope] Zope crashes on request of certain page

2006-04-07 Thread Jonathan
be useful to add debug info into a python list object, as your external method progresses, and then return this list to the calling routine (which then displays the contents of the list within your normal html page). HTH Jonathan ___ Zope maillist

  1   2   3   4   5   6   7   8   >