Re: [Zope-dev] why does my externalmethod generate a ZODB transaction

2000-07-06 Thread Joachim Schmitz
Hi, answering to myself, cause nobody else could find the reason in the code I provided, because I didn't include the real culprit. Here is the very much abreviatet version, which also generates a transaction: def workform(self,REQUEST): "Die Masken EinAusgabe" self.form=REQUEST.form

Re: [Zope-dev] ExtensionClass and __radd__()?

2000-07-06 Thread Pavlos Christoforou
On Wed, 5 Jul 2000, Greg Ward wrote: Well, it's a nice theory. It doesn't explain why '__add__()' works for ExtensionClass while '__radd__()' does not; perhaps ExtensionClass implements that much of Python's class semantics, but doesn't go as far as '__radd__()'. A quick note which you

[Zope-dev] SQL-Output

2000-07-06 Thread Andre Schubert
Hi, i have a little problem on outputting data from an SQL-Query. The Problem is, that the user should select his own Fieldnames he want to show for output. The input form sends a request to the output form, with a query-string and some other stuff and a key named ausgabe. The key ausgabe is a

RE: [Zope-dev] why does my externalmethod generate a ZODB transaction

2000-07-06 Thread Chris McDonough
Any method called directly through the web (e.g. like this one, which I assume is through an HTTP POST) will be bounded in a transaction. Why would you not want this to happen? -Original Message- From: Joachim Schmitz [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 06, 2000 3:30 AM

Re: [Zope-dev] ExtensionClass and __radd__()?

2000-07-06 Thread Greg Ward
On 06 July 2000, Pavlos Christoforou said: A quick note which you probably already know: grep add ExtensionClass.c gives: [...lots...] whereas grep radd ExtensionClass.c returns nothing Yep, did the same myself shortly after posting. It's not really clear what 'py__add__' is and how it

[Zope-dev] Re: [Python-Dev] ExtensionClass and __radd__()?

2000-07-06 Thread Jim Fulton
Greg Ward wrote: Hi all -- looks like ExtensionClass doesn't recognize/implement the '__radd__()' protocol. Speculation below; first, a demonstration. Normal case: a regular class Number that knows how to add itself to other number-like things: (demonstration snipped) Speculation

[Zope-dev] why does an error in my externalmethod ...

2000-07-06 Thread Joachim Schmitz
make the folder from which it was invoked inaccessable ? continuing work on my external, I removed all modifications of self, so no transactions or better modifications of the ZODB took place. During the development cycle: editing the external methods, testing it through calling it through the

[Zope-dev] Request for amplification on new Product permissions API.

2000-07-06 Thread R. David Murray
OK, I read Brian's excellent HowTo on the 2.2 Product permissions API, but it unfortunately doesn't give me the answer to my current 2.2 problem (or if it does there's something else I don't know that is preventing me from figuring it out). I'm trying to update EMarket to work under 2.2.

Re: [Zope] Is Zope slow?

2000-07-06 Thread Firestar
Hi, thanks for your comment. Absolutely. Apache is many times faster than Zope. (Don't know much about AOLserver, but anything with AOL. :) However, Apache can't do squat compared with Zope when it comes to dynamic content. Not true. I have been programming using PHP and PERL, and

Re: [Zope] Is Zope slow?

2000-07-06 Thread Bill Anderson
Firestar wrote: Hi, I'm considering using Zope as the development tool for my next web project. However, I read from a recent benchmark test (from Qube, i think) that Zope(running thru Zserver?) is much SLOWER than Apache and AOLserver. Is that true? To all Zope users and 'guru's, what

[Zope] R: [Zope] Substract Date

2000-07-06 Thread Marcel Preda
- Original Message - From: F.Richter [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 06, 2000 7:58 AM Subject: [Zope] Substract Date Hi, I'm a newbi in Zope had a problem. I want substract a date from an other and set the result of this to "DAYOFYEAR". For

Re: [Zope] Is Zope slow?

2000-07-06 Thread Firestar
Hi Bill, thanks for your reply. --Original Message-- From: Bill Anderson [EMAIL PROTECTED] To: Firestar [EMAIL PROTECTED] Sent: July 6, 2000 8:19:39 AM GMT Subject: Re: [Zope] Is Zope slow? Define slow. Slow compared to what? Doing what? That's a ig difference between Zope and Apache

Re: [Zope] Is Zope slow?

2000-07-06 Thread Phill Hugo
Firestar wrote: I have been programming with PHP and PERL, and they are quite fast, even when serving dynamic pages. Of course, they do not provide all the features of Zope, but they are able to handle things like sessions, authentication, database API...which is quite adequate for most

Re: [Zope] Calling Stored Procedures using DCOracle

2000-07-06 Thread Monty Taylor
I have **exactly** the same problem. I've tried 8.1.5 and 8.1.6. I would LOVE any help anyone could give. Monty Original Message On 7/6/00, 9:47:09 AM, Ronnie Sengupta [EMAIL PROTECTED] wrote regarding [Zope] Calling Stored Procedures using DCOracle: Hi, I am using DCOracle Ver 1.3.1

[Zope] questions on creating a ZClass

2000-07-06 Thread Jerome Alet
I'm currently trying to create a ZClass (based on ObjectManager) from a Folder I've got. This folder contains a ZCatalog named Catalog. If I copy and paste all existing methods and objects into my ZClass, do what must be done (adapt the addForm and add method, define a propertysheet, set the

Re: [Zope] Is Zope slow?

2000-07-06 Thread Martijn Pieters
On Thu, Jul 06, 2000 at 04:27:22AM -0400, Firestar wrote: Well, i do appreciate the 'extra' features that Zope provides, but speed is still a matter of concern here. Imagine showing my boss "what my website can do" and all those advanced features, but it crawls like a snail... "Slow" does

[Zope] keyword index and netscape vs ie

2000-07-06 Thread Jonathan Cheyne
Hi all. I am using a keyword index as per the excellent howto. I use the following snippet to list the keywords as a series of links to further searches. (this is the objects index_html) related topics: dtml-in keywords a href="search?key=dtml-var sequence-item"dtml-var sequence-item/abr

[Zope] Re: keyword index and netscape vs ie

2000-07-06 Thread Jonathan Cheyne
So my question to the gurus is is there an attribute or expression I can use to get round this? How can I specify that the two (or more) words in a keyword phrase are separated by pluses when the link is generated? ... embarrassing to work it out only a minute after sending in a query

Re: [Zope] Calculate values?

2000-07-06 Thread Peter Arvidsson
Chris Withers wrote: Peter Arvidsson wrote: I am about to do dtml-call "REQUEST.set('a', (a - b) * 15" I presume that should be: dtml-call "REQUEST.set('a', (a - b) * 15)" ? ;-) Anyway, two options: 1. On your form, change your input to be: input type="TEXT" name="a:int" 2.

[Zope] Reportlab and Zope

2000-07-06 Thread Jorge Magalhaes
Hi: In this post i report my experience with Reportlab in Zope: 1. Install the Reportlab package in /usr/local/Zope/lib/python1.5 directory 2. in the Zope directory i create a sub folder ./pdffiles and: cd /usr/local/Zope/pdffiles su chmod 777 3. in the Extensions folder i create

[Zope] Error tracing...

2000-07-06 Thread Peter Arvidsson
How do I trace errors in Zope? I get the following error message: "Empty entry when integer expected " It gives a hint of the problem but I cant see what value is empty.. how do I control the values? Is there some way to write out variables or do I just have to guess???

Re: [Zope] Is Zope slow?

2000-07-06 Thread michael bolger
maybe if we all share "optimum" hardware configuration to improve performance+ -where is your server "hosted" as this is vital(obviously:)) to speed/performance -maybe we could discuss network services/hoster_performance? michael drawingincode ___

RE: [Zope] wierdness with 2.2, Security, and manage_addProduct[' ']..

2000-07-06 Thread Brian Lloyd
Why won't this work in Zope 2.2? Make a DTML method containing: dtml-with "manage_addProduct['ZCatalog']" dtml-call "manage_addVocabulary(id='doofus')" /dtml-with I cannot find a way to make the security system let this through. snip I've pretty much convinced myself it's a bug

Re: [Zope] Error tracing...

2000-07-06 Thread Peter Bengtsson
The tracing error should be comment in the error message page. View Source. Make sure you start up zope with -D for debugging reason. - Original Message - From: Peter Arvidsson [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 06, 2000 6:55 PM Subject: [Zope] Error tracing...

RE: [Zope] Calling Stored Procedures using DCOracle

2000-07-06 Thread Monty Taylor
Here's what happenes from me. You can see from the getSource on PGM140_API that the procedure exists within called select_targets. I can't get anything to recognize it. Help? dbc.getSource('PGM140_API.SELECT_TARGETS') '' dbc.getSource('PGM140_API') 'PACKAGE PGM140_API IS\012-- PL/SQL

[Zope] Re:Web Site newbie

2000-07-06 Thread michael montagne
Tremendous reply!! Just what I needed. I'm curious about one thing tho. If you don't need a regular web server (for serving files outside of Zope), stick with the built-in ZServer. Does this mean that I have to have all my files in the zope folder? Wouldn't I want to do that anyway? Can you

Re: [Zope] LONG insert 2000 chars fail

2000-07-06 Thread Riku Voipio
On Thu, Jul 06, 2000 at 08:48:43AM -0400, Satheesh Babu wrote: Hi, We use Oracle v 8.1.5 and 8.1.6 and there we can go upto 5000 characters for string literals. Anyway, LONG is a deprecated datatype and we decided to use detail tables for text more than 4000 chars. Any given string will be

[Zope] Newbie: Date checking?

2000-07-06 Thread Andy Gates
A quicky for you Zopistas: I have some dates in a database, which govern when a story becomes live and when it expires. I need to do a test along the lines of: dtml-in stories if (startdate is past) and (expirydate is future) show the story /if /in I have seen the fmt parameters

[Zope] R: [Zope] Newbie: Date checking?

2000-07-06 Thread Marcel Preda
- Original Message - From: Andy Gates [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, July 06, 2000 4:06 PM Subject: [Zope] Newbie: Date checking? A quicky for you Zopistas: I have some dates in a database, which govern when a story becomes live and when it expires. I need

Re: [Zope] LONG insert 2000 chars fail

2000-07-06 Thread Andy Gates
Message-ID: [EMAIL PROTECTED] Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" Possibly related: Webform-based news story editor generates long text strings for body text. Using an ordinary form, this ends up

Re: [Zope] R: [Zope] Newbie: Date checking?

2000-07-06 Thread Andy Gates
Message-ID: [EMAIL PROTECTED] Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" dtml-if "_.DateTime(startdate).isPast() and _.DateTime(expirydate).isFuture()" ... /dtml-if I'll work it out one day, honest. Ta.

RE: [Zope] LONG insert 2000 chars fail

2000-07-06 Thread Chris McDonough
Use form action=bleah method=post? -Original Message- From: Andy Gates [mailto:[EMAIL PROTECTED]] Sent: Thursday, July 06, 2000 10:32 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] LONG insert 2000 chars fail Message-ID: [EMAIL PROTECTED] Priority: NORMAL X-Mailer: Execmail

[Zope] howto_GUF

2000-07-06 Thread Mario Premke
Hi, I have installed Genreic User Interface with all the permission settings described in the README, but I cannot log into the folder which I want to protect. When I log in as "jorge" with passwd "secret" I get: Sorry, a Zope error occurred. Traceback (innermost last):

Re: [Zope] Is Zope slow?

2000-07-06 Thread J. Atwood
No. Not when compared to other applications that do the same *type* of thing (which there are very very few). Check out an interesting set of benchmarks I ran against Zope and Tomcat connecting to a PostgreSQL database. http://www.zope.org/Members/BwanaZulia/benchmarks.html J From:

Re: [Zope] R: [Zope] Newbie: Date checking?

2000-07-06 Thread Andy Gates
dtml-if "_.DateTime(startdate).isPast() and _.DateTime(expirydate).isFuture()" ... ... /dtml-if This gives: Error Type: TypeError Error Value: __div__ nor __rdiv__ defined for these operands The dates are pulled from an access (!) database where they are defined as date/time types. Me

[Zope] SquishDot properties

2000-07-06 Thread tom smith
hi, I'd like to add a URL property to a Squishdot article (and remove the "dept" property), is this possible and how would I do it? Also, can I auto-complete the "from" field with the users' username that they have logged in withthis is for an intranet cheers tom

[Zope] MacOSX

2000-07-06 Thread tom smith
I noticed in the how-tos that someone had managed to make a build of zope for MacOSX . Given that I know nothing about unix commands, is there a pre-made binary I can just drop onto my G4 (running OSX DP4) and run? Is this even possible or is it not the unix way? IS there a reason for there not

[Zope] zope/python startup error

2000-07-06 Thread tom smith
newbie question. when zope starts I get the attached error dialog. Any ideas how I can fix this since zope is running on a remote server? It seemed to start going wrong after installing a shed-load of products into zope. cheers tom ps. to go into greater detail... ...I have two copies of

Re:[Zope] Newbie: Date checking?

2000-07-06 Thread Marcel Preda
dtml-if "_.DateTime(startdate).isPast() and _.DateTime(expirydate).isFuture()" ... ... /dtml-if This gives: Error Type: TypeError Error Value: __div__ nor __rdiv__ defined for these operands Is better to put some mor lines from Traceback Exception To see the modul and the line The

[Zope] Newbe question concerning using python classes and external methods

2000-07-06 Thread Gaspard, Bradley S
All, I am a new Zope user and I guess I'm missing something fundemental that I haven't been able to glean from the documentation and various "How-to's". As a learning tool I am trying to implement one of Brian Lloyd's examples I found on the Web implementing a GuestBook. I suspect what I

[Zope] ZWiki with RemoteWikiLink - minor fix and remaining question

2000-07-06 Thread Geoff Gardiner
I needed to create 'proper' URLs with a remote wiki link, but ZWiki 0.6.1 only allowed things of the form ZWikiName:name-with-characters-only. I suppose my locale setting translates too many things to whitespace, but I'm not sure. A simple fix in the ZWikiPage.py file (sorry no diff here): find

Re: [Zope] SquishDot properties

2000-07-06 Thread Chris Withers
tom smith wrote: I'd like to add a URL property to a Squishdot article (and remove the "dept" property), is this possible and how would I do it? The 'proper' response would be 'no'. The hacky response is, just store the URL in the 'dept' property ;-) Adjust your forms slightly (so they say

Re: [Zope] howto_GUF

2000-07-06 Thread Andy McKay
Wild stab in the dark is that there is a problem writing a the standard stupid_log_file if you get rid of -D to stop logging. But IMHO logging is useful and there is a problem writing to the file for some reason, its worth fixing. - Original Message - From: "Mario Premke" [EMAIL

Re: [Zope] Re:Web Site newbie

2000-07-06 Thread Andy McKay
A site might be more than just Zope, it could be a whole of bunch of servers applications etc. For example an e-commerce section written in say Perl, or streaming audio from some other server or some fancy. Most stuff 90% of sites do can be done in Zope and ZServer is great for that. To serve

Re: [Zope] Python or DTML

2000-07-06 Thread Andy McKay
The Zope core is *written* in python (with hotspots coded in python modules written in C), not just integrated with it. Since DTML must be interpreted by the Zope core (an interpreter running in an interpreter), whereas the python code in an external method is simply (more or less) executed

Re: [Zope] Is Zope slow?

2000-07-06 Thread Andy McKay
-maybe we could discuss network services/hoster_performance? This is more of a problem for most people. One evening whilst bored we calculated that Zope could happily serve enough people to fill up our pipe... so the bottle neck is our connection. Mind you we'd had a beer or two so

[Zope] Which PostGreSQL DA should I use?

2000-07-06 Thread Eric L. Walstad
OK, I am thinking about going from MySQL to PostgreSQL for its transactions and subqueries. I am curious which DA I should use and why. I see that I can choose from: 1. SQLRelay 2. ZPoPyDA 3. ZPyGreSQLDA Which are you using and why did you choose it over the others? Thanks for your time.

[Zope] the manage_ methods

2000-07-06 Thread Fabio Akita
Hello I am trying to realize how the manage_ DTML methods works. The only documentation that I found was a quick reference that just say that the methods exist with simple descriptions as: manage_addDTMLMethod(id, [title, file, REQUEST, submit]) But there is no details about how this works,

Re: [Zope] Reusing standard_html_header/footer

2000-07-06 Thread Jeff K. Hoffman
On Thu, 6 Jul 2000, Bill Anderson wrote: Michael Gutmann wrote: This is not a question, I think it's more a request for comment. Problem: I have the following structure of folders. The top folder has the global standard_html_header and acquisition has it, that it is usable in all

Re: [Zope] Persisting a dictionary as a object property

2000-07-06 Thread Andy McKay
Thanks that worked like a charm! - Original Message - From: "Martijn Pieters" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, July 05, 2000 5:21 PM Subject: Re: [Zope] Persisting a dictionary as a object property On Wed, Jul 05, 2000 at

[Zope] FSSession buglette

2000-07-06 Thread Paul Gresham
Hi All, I had some real problems with FSSession tonight. The first problem was when the FSSession tried to load, it would get an error along the lines of failed to import Acquisition. Next step was when the user session tried to rename and the file wasn't there. This threw in error in a Zope

[Zope] Newbie: Build Object Names

2000-07-06 Thread Terry Babbey
I am trying to build my object names and it is not working. Here is my code done in three ways and only one way works. #1 dtml-var "ProgCode+'AR'" #2 dtml-var name="T043AR" #3 !--#let booger="ProgCode + 'AR'"-- dtml-var booger !--#/let-- #1 displays T043AR on the screen #2 displays the

Re: [Zope] Is Zope slow?

2000-07-06 Thread Steve Alexander
Firestar wrote: Check out Jakob Nielsen's website and you would know that speed of serving webpages is one of the main usability factors. The bottleneck is not generally the speed of serving webpages, but rather, the speed of the client downloading the data from webpages, as the data has to

[Zope] Squishdot giving DateTimeError(newbie)

2000-07-06 Thread Rajil Saraswat
hi I am trying to setup squishdot. I had correctly setup the system(psotings etc were going on fine), but a weird thing happened as the 12 in the night passed by the squish stopped running. it is now giving Error:DateTimeError ErrorValue:UnrecognisedTimeZone I am running zope on

[Zope] ANN: Forthcoming Zope Book

2000-07-06 Thread Amos Latteier
Hi, We all know that Zope needs better docs. To this end we've added a help system, API docs and a tutorial to Zope 2.2. Now the important work of replacing the aging guides is job number one. Michel Pelletier has been diligently working on a Zope book for O'Reilly for a number of months. I

[Zope] Redirect when not authenticated

2000-07-06 Thread Paul Gresham
Hi All, I have a secure directory (no Anon access) and when I access it, it will throw me to a login screen in the GUF folder in that dir. What I really want to happen is for the user to be thrown back up a level to the main login/news etc etc screen which is a better place to start. however I

[Zope] Fw: [Zope] Re:Web Site newbie

2000-07-06 Thread Loren Stafford
- Original Message - From: "Loren Stafford" [EMAIL PROTECTED] To: "michael montagne" [EMAIL PROTECTED] Sent: July 06, 2000 01:11 PM Subject: Re: [Zope] Re:Web Site newbie As Andy also said, "It depends". It depends on what you want to do with your website. Write and let us know so

[Zope] Re: FSSession buglette

2000-07-06 Thread Paul Gresham
Pavlos Christoforou wrote: Paul Are you running FSSession0.4.0? If not please upgrade. The problems you mention below have been corrected. Nevertheless the first problem you descripe is not really related to FSSession. What happens is that certain Zope objects that can be pickled should

Re: [Zope] Reportlab and Zope

2000-07-06 Thread Dieter Maurer
Jorge Magalhaes writes: How i can insert the contents of the Local File System in to HTML environment? The easiest way, probably, is Jonothan Farr's LocalFS product. Dieter ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Calling Stored Procedures using DCOracle

2000-07-06 Thread Dieter Maurer
When I execute this : conn.callproc('addarticle',['dfdsf']) I get the following Error : __getattr__ raise error, 'no usable procedure named '+name oci.error: no usable procedure named addarticle How ever if I do this : conn.getSource('ADDARTICLE') It returns

Re: [Zope] Zope-help

2000-07-06 Thread Dieter Maurer
Bruno Nana writes: select * from iekunde !--#if "alphabet!='alle'" -- where (substring(firma,1,1)=substring(!--#var alphabet --,1,1) or substring(firma,1,1) substring(!--#var alphabet --,1,1)) and (substring(firma,1,1)=substring(!--#var alphabet --,3,1) or substring(firma,1,1)

[Zope] PoPy-1.2.tar.gz file is missing...

2000-07-06 Thread Eric L. Walstad
The PoPy-1.2.tar.gz file doesn't seem to be available from the ftp.mixadlive.com site. Would anyone out there mind emailing me the file? Thanks, Eric. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] How do I specify a list element?

2000-07-06 Thread Dieter Maurer
[EMAIL PROTECTED] writes: I have a list (I think) created this way: (date = '31-DEC-1999') dtml-call "REQUEST.set('MyList', _.string.split(date, '-'))" so now REQUEST['MyList'] should contain 3 elements: 31 DEC 1999 How, in dtml, do I say "give me the value of the 1st

Re: [Zope] Sql result searchs with Z Catalog

2000-07-06 Thread Dieter Maurer
[EMAIL PROTECTED] writes: I need to somehow populate an ZCatalog index with the results of a Z SQL Method. If you are familiar with ColdFusion, it needs to have the same functionality as a Verity search on a collection (custom indexed from a query). I am having trouble seeing how this

[Zope] Nested dtml-in loops (was: [Zope-dev] SQL-Output)

2000-07-06 Thread Dieter Maurer
Andre Schubert writes: ... problem with names clashes from nested dtml-in loop ... Your problem may be generalized: -- l1 and l2 are sequences -- dtml-in l1 dtml-in l2 -- here you need to access both components from both the inner and the outer dtml-in There may be a

RE: [Zope] NOTICE: issue with database packing in current Zope releases

2000-07-06 Thread Dieter Maurer
Brian Lloyd writes: Jim found a problem with the algorithm for packing the Zope database that we wanted to announce so that folks can avoid being bitten by it until the fix is out (in b4). I think this is a candidate for a Hotfix. 2.2 upgrades could be problematic and I

RE: [Zope] ANN: Forthcoming Zope Book

2000-07-06 Thread Eric L. Walstad
YAY! Can't wait to see the new docs! Thanks!! -E ___ 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

Re: [Zope] Is Zope slow?

2000-07-06 Thread Ben Leslie
-maybe we could discuss network services/hoster_performance? This is more of a problem for most people. One evening whilst bored we calculated that Zope could happily serve enough people to fill up our pipe... so the bottle neck is our connection. Mind you we'd had a beer or two so

Re: [Zope] Error tracing...

2000-07-06 Thread Dieter Maurer
Peter Arvidsson writes: How do I trace errors in Zope? I get the following error message: "Empty entry when integer expected " It gives a hint of the problem but I cant see what value is empty.. how do I control the values? Is there some way to write out variables or do I just have to

Re: [Zope] Is Zope slow?

2000-07-06 Thread Curtis Maloney
On Thu, 06 Jul 2000, Firestar wrote: Hi, thanks for your comment. Absolutely. Apache is many times faster than Zope. (Don't know much about AOLserver, but anything with AOL. :) However, Apache can't do squat compared with Zope when it comes to dynamic content. Not true. I have

[Zope] calendarTag exception

2000-07-06 Thread Darrell Gallion
Trying to use the calendarTag and get this error. I'm using the example code from http://yyy.zope.org/Members/judell/CalendarTagExample Before I redesign this thing, it seemed I must be doing something dumb. I'm using this version Calendar-0.9.13.tar.tgz and Zope-2.2.0b1 --Darrell Error Type:

Re: [Zope] Is Zope slow?

2000-07-06 Thread Marco Mariani
On Thu, Jul 06, 2000 at 04:13:31AM -0400, Firestar wrote: Of course if i have time, i will play ard with it and see how good it is. Problem is that time is not really on my side and i need to decide on my next development tool fast(i have yet to try out other stuff e.g. ASP, JSP, Servlet..)

[Zope] RE:How do I merge form URL vars into sql easily

2000-07-06 Thread Michael Blewett
Hi Jake, I originally had trouble coming to grips with the concept of variables and forms and passing them from one object to the next. After much testing, trial and error (and guidance from this list), I came up with these conclusions (which I'm sure someone will shoot down if I am wrong): 1)

Re: [Zope] RE:How do I merge form URL vars into sql easily

2000-07-06 Thread R. David Murray
On Fri, 7 Jul 2000, Michael Blewett wrote: trial and error (and guidance from this list), I came up with these conclusions (which I'm sure someone will shoot down if I am wrong): 1) The request object you are setting with your REQUEST.set command is like a big bucket that gets passed

[Zope] newbie questions

2000-07-06 Thread Frank McGeough
Hi, I've setup zope and zwiki to use for internal collaboration. I'm having fun and doing some useful stuff without knowing too much or appearing too stupid. I've decided to do something more adventuresome to learn some more. I'd like to tie in our SourceSafe version control system so I could do

Re: [Zope] RE:How do I merge form URL vars into sql easily

2000-07-06 Thread Michael Blewett
At 20:39 6/07/2000 -0400, R. David Murray wrote: snip Once you generate an output page, the user views it, and then clicks again, you have a brand new REQUEST object that can only get values from the *new* web page. Others have been tripped by this, expecting the REQUEST fields to

Re: [Zope] newbie questions

2000-07-06 Thread Chris McDonough
Hi Frank, It sounds like your SourceSafe tie in could potentially be a fairly complex undertaking. Amos Latteier wrote an example COMObject product that will show you the mechanics of utilizing COM objects from Zope. This might help. And though I know you don't want to VC Zope objects, you

Re: [Zope] newbie questions

2000-07-06 Thread David Trudgett
At 2000-07-06 22:23 -0400, Chris McDonough [EMAIL PROTECTED] wrote: To back up the ZODB, just copy the Data.fs file in the var directory. You may safely do this while Zope is running. To restore, reinstall Zope and all the products you're using and copy the Data.fs into the var directory. I

[Zope] Unable to upload images from client to server

2000-07-06 Thread Kelvin Cheong
Hello All! I have this problem with "UPLOADING". In my HTML form (DTML-embedded-Document) I have data and images to insert into a mySQL DATABASE. Therefore I'm calling SQL statements from my DTML METHOD. However, it seems the SQL insert command does not allow LOAD_FILE procedure as does the

Re: [Zope] ANN: Forthcoming Zope Book

2000-07-06 Thread Bill Anderson
Graham Chiu wrote: [...] We're excited about the book and think that it will fill an important hole the current official Zope docs. As soon as a content license is chosen we'll make our rough drafts available. -Amos Why not invite authors of popular/important products to contribute

Re: [Zope] newbie questions

2000-07-06 Thread Chris McDonough
AFAIK, it would be a bad idea a) if writes were not appends and b) if records written to the FileStorage were not written atomically. But neither is the case, so it's safe to just copy it without shutting it down. The only time this may not be the case is if it were copied during a pack

Re: [Zope] newbie questions

2000-07-06 Thread R. David Murray
On Fri, 7 Jul 2000, David Trudgett wrote: I don't understand this advice. Couldn't the file change while being read? Wouldn't a better way be to pack the database and use the Data.fs.old file as the backup? If you are a belt-and-suspenders type, sure grin. Data.fs only gets appended to,

Re: [Zope] Is Zope slow?

2000-07-06 Thread Luke Tymowski
Hello, I'm considering using Zope as the development tool for my next web project. However, I read from a recent benchmark test (from Qube, i think) that Zope(running thru Zserver?) is much SLOWER than Apache and AOLserver. Is that true? To all Zope users and 'guru's, what is yr experience

[Zope] Problems shutting down Zope

2000-07-06 Thread Firestar
Hi, i have just installed Zope-2.1.6 on a linux server. Starting and stopping Zope from command line - no problem, but when i chose to Shutodwn from the Zope Control Panel, it complained of an error (printed below): --- Traceback (innermost last): File

[Zope] Stability - can you give us some advice?

2000-07-06 Thread tacio
Hi, I'm new to this list (to Zope too!)and I'm really impressed with its traffic. This show us that this project is in active development. In our company we are currently working to create a Web site with lots of dynamic content, database access, webmail, etc.. so we decided to try Zope.

[Zope] Patch to DateTime.py

2000-07-06 Thread Curtis Maloney
Greetings, In my current project, I have to print a lot of dates. Fine, not a problem... _.DateTime().strftime() is just the method, right? Wrong. The people who want this site want the local time, not UTC+0 that strftime enforces. So, I created a tiny patch

Re: [Zope] Problem calling SESSION object

2000-07-06 Thread Anthony Baxter
Ugh. This is a stupid bug on my part. Upgrade to 0.2.9 Anthony [EMAIL PROTECTED] wrote Hi All, Need Help. I'm currently using SQLSession v 0.2.3, with access database ( I had changed the "value" filed in session_data to item_value and also all sql statements that refer to it). I

Re: [Zope] Stability - can you give us some advice?

2000-07-06 Thread David Trudgett
At 2000-07-07 01:50 -0300, [EMAIL PROTECTED] wrote: Hi, I'm new to this list (to Zope too!)and I'm really impressed with its traffic. This show us that this project is in active development. In our company we are currently working to create a Web site with lots of dynamic content, database

Re: [Zope] Problems shutting down Zope

2000-07-06 Thread Chris McDonough
This is a 'normal' message. Zope 2.2 releases suppress the error message on shutdown. Not sure what's up with the tutorial. You may want to try the latest 2.2 beta release as the tutorial comes preinstalled. Firestar wrote: Hi, i have just installed Zope-2.1.6 on a linux server. Starting