[Zope] SQLSession Problem

2000-05-23 Thread wai
Hi All, I'm using zope 2.1.6 with apache server on NT platform. and I had a problem with SQLSession. I tried to put in the '_force_new_session' flag whenever I called a session, so I can have a fresh SessionID. But I always got a error return with a message "TypeError". So I wonder if this is

Re: [Zope] ZClass acting up?

2000-05-23 Thread Erik Enge
Tres Seaver [EMAIL PROTECTED] writes: If you fill out the ID and press 'Add', le voilà! Yeah, your right! But that still means I need to do some hacking about, and me and my semantics does not like that ;-) (Actually it looks like a duplicate of #811). How can I see number 811, it just

Re: [Zope] does this app exist?

2000-05-23 Thread Heiko Stoermer
paul beard wrote: We're considering using zope to handle some internal groupware-type functions, with WorldPilot as the base. What we need is the true Outlook killer: scheduling. Any word on this as a feature to WorldPilot or hints on how hard this would be implement? I think the largest

Re: [Zope] Updating one data.fs from another

2000-05-23 Thread Chris Withers
I export a whole subtree from by Dev instance and import it into the production instance... HTH, Chris Graham Chiu wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I do development on my site on my notebook, and then rather than overwriting my production data.fs, I then manually

[Zope] How to change object with variable ?

2000-05-23 Thread
My script : dtml-call "A.B.C.manage_addProperty(D,E,F)" How to change "C" with another variable "V" which is an object like imae or file ? _ Do You Yahoo!? µn°O§K¶Oªº @yahoo.com.tw ¹q¤l¶l¥ó @ http://mail.yahoo.com.tw Get your free

Re: [Zope] Win98 and WEBDAV - you ought to see it if you can

2000-05-23 Thread Paul Browning
Message: 48 From: "Wolfgang Strobl" [EMAIL PROTECTED] Organization: GMD To: [EMAIL PROTECTED] Date: Mon, 22 May 2000 14:10:32 +0200 Subject: Re: [Zope] Win98 and WEBDAV - you ought to see it if you can On 22 May 2000, 6:41 Paul Browning wrote: Question: If WEBDAV works so well under

Re: [Zope] does this app exist?

2000-05-23 Thread Chris Withers
Heiko Stoermer wrote: What I can tell you is this: if you develop a "ZScheduler" and it becomes part of the Zope Standard distribution, the Zope community will be VERY glad. ZScheduler already exists, it's just very buggy. Check the mail archives for 'ZScheduler' and have a look at:

Re: [Zope] SQLSession Problem

2000-05-23 Thread Graham Chiu
In article [EMAIL PROTECTED], [EMAIL PROTECTED] writes So I wonder if this is the correct way to call the session component : dtml-call "Session('_force_new_session=1')" This is what I do. dtml-call "REQUEST.set('_force_new_session',1)" dtml-call Session -- Regards, Graham Chiu

[Zope] python nigglettes

2000-05-23 Thread Tom Smith
hi all, I'm currently experimenting with zope and noodling with pythoncan anyone give me an answer on these? Python is beautiful (nearly as beautiful as Prograph (but that's another story)). I'm a BIG fan of human readable code, I loved HyperCard and pathelogically refused to get my

[Zope] Zope concepts

2000-05-23 Thread Tom Smith
Hi all, This is a conceptual rather than technical question I intend to build an intranet with zope...though it's not as simple as that...I'd like 90% of the site to be password protected (giving access to members of my company)...do I use acl_users for this? I'd also like parts of

[Zope] Catching SQL Exceptions in an external method

2000-05-23 Thread Stolker, Wim
Hi, I have a burning question ... Does anyone know how to catch exceptions from SQL methods ( via ZodbcDA ) in an external method? I do not know how the exceptions are named. If I catch the exception with a general 'except:' statement it works but I cannot see the info from the exception, so I

Re: [Zope] Zope concepts

2000-05-23 Thread J. Atwood
Title: Re: [Zope] Zope concepts I intend to build an intranet with zope...though it's not as simple as that...I'd like 90% of the site to be password protected (giving access to members of my company)...do I use acl_users for this? Yes or any of the other models (UserDB, etc) I'd also like

Re: [Zope] Catching SQL Exceptions in an external method

2000-05-23 Thread jq-zope
"Stolker, Wim" [EMAIL PROTECTED] writes: I do not know how the exceptions are named. If I catch the exception with a general 'except:' statement it works but I cannot see the info from the exception, sys.exc_* should work, as in import sys try: raise "Blubber" except: print

Re: [Zope] DTML Document size limit?

2000-05-23 Thread Tino Wildenhain
Hi Andrew, as discussed earlyer, there is no hard coded limit in the size of the files (ok, you might not go over 2GB per file) Althought its usually not nessecary to edit such big files. Use inheritance, reuseable code and part your document into smaller pieces. This is what Zope is for.

[Zope] installing products.

2000-05-23 Thread Pierre Rougier
well, this can sound a newbie question... well,it is one... in fact I never used a zope product from the zope site. I downloaded the SiteAccess product. what do I have to do to use it??? thanks for your attention (special thanks for mindlace)

Re: [Zope] installing products.

2000-05-23 Thread J. Atwood
in fact I never used a zope product from the zope site. I downloaded the SiteAccess product. what do I have to do to use it??? I was about to just send you the installation instructions when I saw that they are pretty meager. Actually, very. (shame shame) 1) Go to your root Zope directory

Re: [Zope] Ann: Free Zope hosting from NIP

2000-05-23 Thread Simon Coles
Hi Again, Thanks to all the people who signed up for our Free Hosting Option. We reached our maximum capacity after 3 hours, 5 times the number of applications we were expecting! :-) Unfortunately, this means that no more Free Hosting accounts are currently available. We plan to monitor usage

Re: [Zope] uploading a batch of files

2000-05-23 Thread Itamar Shtull-Trauring
"R. David Murray" wrote: Perhaps the load_site (or whatever it's name is) product would help with this? I've never looked at it. Yes - it has command line and GUI clients for uploading multiple files to Zope. And you shouldn't use the one included with Zope - it trashes HTML entities like

Re: [Zope] Zope concepts

2000-05-23 Thread Heiko Stoermer
Tom, could you please not post HTML-formatted messages to the list. You message contains stylesheet information that breaks the reply - at least in netscape. thank you. Heiko Stoermer -- [EMAIL PROTECTED] innominate AG

[Zope] Feedback Requested: Editor Applet for Zope?

2000-05-23 Thread Heiko Stoermer
Hi all, I've been working with Zope for quite some time now, and one point that always slows me down is DTML or SQL source editing in the well-known wonderful textboxes. You all like them... My question: Do you like the idea of having a slim java-based editor applet instead of the textarea?

[Zope] Mailing List problems?

2000-05-23 Thread Satheesh Babu
Hello, Is there any problem with mailman list manager for this list? It looks like some mails are getting sent as if it is from my id. I'm forwarding one such mail... Can the list manager please take a look? Thanks ~ V.Satheesh Babu [EMAIL PROTECTED](Xt: 5348) . .

Re: [Zope] SQLSession vs FSSession for ultra-high scalability andspeed.

2000-05-23 Thread Pavlos Christoforou
On Sun, 21 May 2000, chas wrote: Hi Folks, Sorry if this has been asked before, but can anybody advise on FSSession vs SQLSession for: a) Speed. b) Scalability. FSSession does not use ZODB to store data, but stores session pickles directly on the harddisk. It will also update

[Zope] Zope Newbie Questions

2000-05-23 Thread Chris Withers
Hi Daniel, Resources I'd recommend: The Zope Documentation Portal - http://zdp.zope.org The Zope Site - http://www.zope.org The Zope Mailing List - [EMAIL PROTECTED] (see http://lists.zope.org/mailman/listinfo/zope for details) I've copied your questions to the zope list in the hope that

Re: [Zope] Feedback Requested: Editor Applet for Zope?

2000-05-23 Thread Jason Cunliffe
- Original Message - From: Heiko Stoermer [EMAIL PROTECTED] My question: Do you like the idea of having a slim java-based editor applet instead of the textarea? (NO, not a 400k editor with WYSIWYG preview and an exotic scripting engine - it's supposed to be _very_ slim) Please

[Zope] FTP

2000-05-23 Thread David Shen
Hello, Can Zope system be accessed by FTP? If yes, how to do so? Thanks, David

[Zope] worldpilot and imap

2000-05-23 Thread Tom Smith
hi, sorry about the HTML postings. quick questioncan anyone recommend a super simple IMAP server to use on NT Workstation with worldpilot? cheers tom ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] FTP

2000-05-23 Thread Rik Hoekstra
David Shen wrote: Hello, Can Zope system be accessed by FTP? If yes, how to do so? Yes. Assuming you have a standard Zope installation and you've not tampered with the ftp settings of ZServer (you'd know about ftp then wouldn't you). THe ZServer ftp is running under the (non default)

Re: [Zope] SQLSession vs FSSession for ultra-high scalability and speed.

2000-05-23 Thread Anthony Baxter
Pavlos Christoforou wrote OTO an RDBMS maybe a more reliable datastore than the filesystem with better consistency, recovery tools etc etc. The other bigwin for an RDBMS-based one is, of course, that you can share it between zopes. And for me, it's easier to manage a DBMS table than a chunk

[Zope] (fwd) Re: [Zope] DTML Document size limit?

2000-05-23 Thread Andrew Diller
Hi Andrew, as discussed earlyer, there is no hard coded limit in the size of the files (ok, you might not go over 2GB per file) Althought its usually not nessecary to edit such big files. Use inheritance, reuseable code and part your document into smaller pieces. This is what Zope is for. I

Re: [Zope] python nigglettes

2000-05-23 Thread Luis Cortes
On Tue, 23 May 2000, you wrote: hi all, I'm currently experimenting with zope and noodling with pythoncan anyone give me an answer on these? Python is beautiful (nearly as beautiful as Prograph (but that's another story)). I'm a BIG fan of human readable code, I loved HyperCard

[Zope] Multiple ZEO Storage Servers, as Mountable Databases? (wasFYI: Thank you) FYI: Thank you)

2000-05-23 Thread Jerry Spicklemire
Alan Runyan asked: just out of curiosity - can a ZEO StorageServer now have multiple ZODB's? Another way to look at this, with Mountable Databases, is that you can run two ZEO StorageServers. Then the question is, can the ZEO Clients refer to both at once, in the form of Mountable Databases? If

[Zope] still trying to get Catalog to work in my python product

2000-05-23 Thread ed colmar
Thanks to everone who has given me suggestions on this. I really do appreciate it. After looking over the PTK snapshot, I've tried to duplicate the catlog that is implemented there. I could not find any search utilities built in, so I'm assuming this is still done by adding the

[Zope] ZMySQLDA fails to compile

2000-05-23 Thread David Parker
Configuration: Mandrake 7.02 with the following; Zope 2.1.6-1 python 1.5.2MySQL-python 0.2.1-1 Mysql 3.22.32 All the above were installed using binary RPMs except for Mysql database. The path to mysql is /usr/web/databases/mysql I have a symbolic link to mysql at /usr/local/mysql I've

RE: [Zope] FTP

2000-05-23 Thread Stuart Foster
When I try this I get an unauthorized user error. Can you give an example of how to connect to port 8021 with a simple ftp program. -Original Message- From: Rik Hoekstra [mailto:[EMAIL PROTECTED]] Sent: Tuesday, May 23, 2000 7:37 AM To: David Shen Cc: [EMAIL PROTECTED] Subject: Re:

[Zope] Really dumb newbie question

2000-05-23 Thread Andy Gates
This one is so dumb you'll be laughing, but any help would be greatly appreciated. I need to evaluate an IF. That's all. I have a variable called Action that's a string, and it can be null, "Add", "Update" etc. I try something along the lines of: dtml-if action == "add"

Re: [Zope] Really dumb newbie question

2000-05-23 Thread Christopher J. Kucera
dtml-if action == "add" blah /dtml-if dtml-if "action == 'add'" blah /dtml-if Things inside quotes get evaluated as Python expressions. :) Have fun Zopeing! -CJ ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Really dumb newbie question

2000-05-23 Thread Tony McDonald
At 5:01 pm +0100 23/5/00, Andy Gates wrote: This one is so dumb you'll be laughing, but any help would be greatly appreciated. I need to evaluate an IF. That's all. I have a variable called Action that's a string, and it can be null, "Add", "Update" etc. I try something along the lines of:

Re: [Zope] Really dumb newbie question

2000-05-23 Thread Chris Withers
Andy Gates wrote: dtml-if action == "add" dtml-if "action=='add'" Been there, done that, learned the magic incantations ;-) The " " makes it into a python expression... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Variable which delivers the author of an document

2000-05-23 Thread Stefan Pöhnlein
I would like to know,if there is a Variable, which delivers as value the author of a document, similiar to "AUTHENTICATED_USER", which delivers the user name. I couldn't find anything about it in the Zope DTML Reference. Thanks a lot in advance, Stefan

Re: [Zope] ZMySQLDA fails to compile

2000-05-23 Thread David Parker
I fixed my own problem. The version of MySQL that I installed from source appended an extra directory (mysql) to the include and lib directories. I modified my Setup to reflect the full paths below. /usr/web/databases/mysql/include/mysql /usr/web/databases/mysql/lib/mysql I then ran into a

Re: [Zope] Really dumb newbie question

2000-05-23 Thread Stephan Richter
At 05:01 PM 5/23/00 +0100, you wrote: This one is so dumb you'll be laughing, but any help would be greatly appreciated. I need to evaluate an IF. That's all. I have a variable called Action that's a string, and it can be null, "Add", "Update" etc. I try something along the lines of:

[Zope] Switch, Attribution and NT

2000-05-23 Thread peter
Q1. Q1 {A} Is it possible to rewrite the following piece of DTML into something easier and managable? dtml-if "_.string.split(URL,'/')[-1]=='foobar_html'" Cool! You are viewing foobar_html dtml-elif

[Zope] The Zope Weekly News

2000-05-23 Thread Michel Pelletier
The Zope Weekly News The opinions expressed in Zope Weekly News are solely the author's, and not the opinions of Digital Creations, The Zope Community at-large, or the Spanish Inquisition. If you have something newsworthy to contribute, don't forget to include it in the ZWN Wiki:

Re: [Zope] Really dumb newbie question

2000-05-23 Thread Jason Spisak
Andy Gates writes: This one is so dumb you'll be laughing, but any help would be greatly appreciated. I need to evaluate an IF. That's all. I have a variable called Action that's a string, and it can be null, "Add", "Update" etc. I try something along the lines of: dtml-if

Re: [Zope] Switch, Attribution and NT

2000-05-23 Thread R. David Murray
On Tue, 23 May 2000, peter wrote: Q1 {A} Is it possible to rewrite the following piece of DTML into something easier and managable? dtml-if "_.string.split(URL,'/')[-1]=='foobar_html'" Cool! You are viewing foobar_html dtml-elif

[Zope] dtml-in REQUEST

2000-05-23 Thread kwan
I remember I saw somewhere about it. but I couldn't search it out again. Can anyone tell me the correct way to do things like following? dtml-in REQUEST dtlm-var "key":dtml-var "value" /dtml I want to check the indivial item inside the REQUEST one time at a time. but if I do dtml-in

Re: [Zope] dtml-in REQUEST

2000-05-23 Thread Chris Withers
try just plain dtml-var REQUEST That on it's own will probably give you what you want... Chris kwan wrote: I remember I saw somewhere about it. but I couldn't search it out again. Can anyone tell me the correct way to do things like following? dtml-in REQUEST dtlm-var

[Zope] Advocacy FAQ?

2000-05-23 Thread srl
So, I was hanging out on IRC last night, and mentioned Zope to someone who's fairly active in the Python community. I ended up receiving a rant about how "bloated" and slow Zope is, and anecdotal evidence about Zope crashing Linux servers repeatedly. I know there was/is a memory leak that might

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-23 Thread andres
On Mon, May 22, 2000 at 03:10:59PM -0500, Jon Delheimer wrote: Shane, I made the changes you suggested to Image.py. Here are the results: Thursday, 11-May-00 16:21:32 GMT 1900/05/11 16:21:31 GMT -2197697908.0 I have stepped through the debugger with the call of

Re: [Zope] Advocacy FAQ?

2000-05-23 Thread Steve Alexander
srl wrote: So, I was hanging out on IRC last night, and mentioned Zope to someone who's fairly active in the Python community. I ended up receiving a rant about how "bloated" and slow Zope is... "Slow" is a relative term. Zope will always be slower than hard-coding an application in Python.

RE: [Zope] Netscape Image Problems (LoginManager?)

2000-05-23 Thread Dieter Maurer
Jon Delheimer writes: charset="iso-8859-1" Shane, I made the changes you suggested to Image.py. Here are the results: ... Thursday, 11-May-00 15:53:50 GMT 1900/05/11 15:53:50 GMT -2197699570.0 That explains the exception: 1900 is a bit too far in the past.

RE: [Zope] Win98 and WEBDAV - you ought to see it if you can

2000-05-23 Thread Loren Stafford
Aha! I got Web Folders to work when pointed to a Zope/Zserver on the same machine, so the problem is probably with the servers I tried to point to first. I found an explanation in an earlier email on this list: the attempt to access _vti_bin is an attempt by Web Folders to see if the server

[Zope] Zope Advocacy FAQ redux

2000-05-23 Thread srl
So, after poking around on Zope.org for awhile, I haven't found an Advocacy FAQ. Have I missed something? I hope not, because I started one. This is a very rough draft, hacked together from memory. As such, it's quite likely inaccurate on some particulars, and most certainly incomplete. I'll be

[Zope] manage_users problem

2000-05-23 Thread Steve Drees
I have the following code stuffed away in a DTML Method dtml-call "REQUEST.set('name','steve3')" dtml-call "REQUEST.set('password','test')" dtml-call "REQUEST.set('confirm','test')" dtml-call "REQUEST.set('roles','RegisteredUser')" dtml-call "acl_users.manage_users('Add',REQUEST,RESPONSE)"

RE: [Zope] Netscape Image Problems (LoginManager?)

2000-05-23 Thread john
You Rock Dieter, Thanks to everyone for their input! This has solved the nasty Netscape Image problem for now! j [EMAIL PROTECTED] At 09:05 PM 5/23/00 +0200, you wrote: Jon Delheimer writes: charset="iso-8859-1" Shane, I made the changes you suggested to Image.py. Here

Re: [Zope] Zope Advocacy FAQ redux

2000-05-23 Thread J. Atwood
Shane, The Advocacy FAQ is much need here is some help.. Benchmarks: http://www.zope.org/Members/BwanaZulia/benchmarks.html Pro Zope Links: http://www.zope.org/Members/BwanaZulia/zope.html How the competition does it.. Tomcat User Guide: http://jakarta.apache.org/tomcat/index.html (a really

Re: [Zope] manage_users problem

2000-05-23 Thread Evan Simpson
- Original Message - From: Steve Drees [EMAIL PROTECTED] I have the following code stuffed away in a DTML Method dtml-call "REQUEST.set('name','steve3')" dtml-call "REQUEST.set('password','test')" dtml-call "REQUEST.set('confirm','test')" dtml-call

[Zope] calling an Python builtin function

2000-05-23 Thread Felipe Alvarez Harnecker
Hi Zopistas, it's a pain looking to variables defined in a form such as checkboxes that can be a string if one is selected or a sequence if many are. to solve this problem i'd like to do something like: dtml-let checkbox="list(checkbox)" ... ... /dtml-let That is, calling the list function

Re: [Zope] calling an Python builtin function

2000-05-23 Thread Steve Alexander
Felipe Alvarez Harnecker wrote: Hi Zopistas, it's a pain looking to variables defined in a form such as checkboxes that can be a string if one is selected or a sequence if many are. to solve this problem i'd like to do something like: dtml-let checkbox="list(checkbox)" ... ...

Re: [Zope] Passing multi-line field into SQL

2000-05-23 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], Tony Mann [EMAIL PROTECTED] writes We have a form with a textarea on it, that can contain line breaks. When we try to pass it into an SQL statement How do you enter line breaks into a text area? What database adapter

Re: [Zope] FTP

2000-05-23 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED] , Stuart Foster [EMAIL PROTECTED] writes When I try this I get an unauthorized user error. Can you give an example of how to connect to port 8021 with a simple ftp program. Using WS_FTPPro, the address of the ftp server

Re: [Zope] creating a generic field gadget

2000-05-23 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], Graham Chiu [EMAIL PROTECTED] writes To help me with the tedious business of creating forms, I would like to make a generic field gadget. I thus have a dtml-document which has a number of attributes: Eg: fieldname =

Re: [Zope] Header/Sidebar question

2000-05-23 Thread Curtis Maloney
On Wed, 24 May 2000, Luis Cortes wrote: Hi Curtis, You provide this sample code a long time ago. I have a question about it. I really am sort of new at Zope and HTML, and I was wondering ... Do the side bar and header "stick (stay on the screen)" even when you click to a new page

Re: [Zope] creating a generic field gadget

2000-05-23 Thread R. David Murray
On Wed, 24 May 2000, Graham Chiu wrote: But I now want this dtml-document when rendered to read the values of fieldname, and fieldname-error, and then generate the dtml equivalent to this ... dtml-if userid value="dtml-var userid" /dtml-if br dtml-if userid-error font size="2"

[Zope] How to change an object with a variable ?

2000-05-23 Thread calvin33
Ihaveadd a property to an object_O : "path.object_O.manage_addProperty(id,file,content_type)" But i wantedto change "object_O" with another variable "var_V" which is an object like imae or file. How to do it ?

[Zope] [OT] Re: [Zope] python nigglettes

2000-05-23 Thread Bill Anderson
Tom Smith wrote: hi all, I'm currently experimenting with zope and noodling with pythoncan anyone give me an answer on these? Python is beautiful (nearly as beautiful as Prograph (but that's another story)). I'm a BIG fan of human readable code, I loved HyperCard and

Re: [Zope] Advocacy FAQ?

2000-05-23 Thread Bill Anderson
srl wrote: So, I was hanging out on IRC last night, and mentioned Zope to someone who's fairly active in the Python community. I ended up receiving a rant about how "bloated" and slow Zope is, and anecdotal evidence about Zope crashing Linux servers repeatedly. Those conviced by

Re: [Zope] ZClass acting up?

2000-05-23 Thread Tres Seaver
Erik Enge wrote: Tres Seaver [EMAIL PROTECTED] writes: If you fill out the ID and press 'Add', le voilà! Yeah, your right! But that still means I need to do some hacking about, and me and my semantics does not like that ;-) (Actually it looks like a duplicate of #811). How can

Re: [Zope] LocalFS Question

2000-05-23 Thread Tres Seaver
Jim Sanford [EMAIL PROTECTED] wrote: Does anyone out there know how I can prevent LocalFS from translating CR/LF pairs in a text file to LFs when serving up the file? Or will I need to "massage" it in Zope before sending it? In this case the files are Windows/DOS batch files. They

Re: [Zope] creating a generic field gadget

2000-05-23 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED] , R. David Murray [EMAIL PROTECTED] writes Here's a clue grin: dtml-if "_.has_key(fieldname)" value="dtml-var "_[fieldname]"" dtml-else Worked straight away. Thanks, - -- Regards, Graham Chiu

Re: [Zope] FYI: Documentation

2000-05-23 Thread Josh Robb
Can/Should/Will this documentation be avaliable on the Zope.org (or zdp.zope.org) site. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Some newbie questions

2000-05-23 Thread Adam Clark
I think what I really need is a reference: What can you do with REQUEST? RESPONSE? AUTHORIZED_USER? It looks like when you say dtml-var "something" it's plain Python. What's the context? What do I need to do to call some function in a product class? What about a function in a class under

[Zope-dev] Strange, Random Error

2000-05-23 Thread Chris Withers
Can anyone shed any light on the following? It's got me stumped... It has only happened from 1 request so far, although it triggered off the same error for all the images on the page... ?!? Chris Zope reported an error for: http://www.nipltd.net/www/niplogo.gif Error Type: Invalid

[Zope-dev] exec in zope?

2000-05-23 Thread Andrew Edmondson
I'm trying to pass a keyword argument to a function (in this case Catalog), but to generate it from variables. The following doesn't work, but it illustrates my idea: dtml-in "Catalog(_.getitem(search_in) = _.getitem(search_for))" The obvious way to do this in python would be to

[Zope-dev] ZODB3 - updated stored objects

2000-05-23 Thread Thomas Weholt
Hi, I read somewhere on www.zope.org that each time you update an object stored in ZODB3 a new record will be appended. Does this mean the entire object will be stored in a new location with the updated values? If so, isn`t that kinda dumb, at least if there`s no way to override this "feature"?

Re: [Zope-dev] Create an empty DTML Method

2000-05-23 Thread Duncan Booth
I want to write some dtml code that will add a DTML method that is totally empty. The add_DTMLMethod method in Zope puts in the default Zope content. How do I avoid that? Try: manage_addDTMLMethod(id='test1', title='This is a test', file='') The file parameter can be a file like object

[Zope-dev] ZCatalog and Huge Customized Objects in ZODB

2000-05-23 Thread Thomas Weholt
Is it possible to store lots of huge objects, like 2-3 MB in size each, in ZODB and catalog them for easy searching? Can I catalog special properties of custom objects and skip others? Are there any limitations to ZCatalog and the amount of stuff to index, before the speed is affected? If