[Zope] Number of zope processes on Linux and OpenBSD

2000-07-06 Thread Ragnar Beer
Howdy! I have a question concerning the number of running zope processes: I used to run Zope under Linux and there was always more than a handful of zope processes running. Now I switched to OpenBSD and there is only one. How comes? I guess the more zope processes I have running the more reque

Re: [Zope] Problems shutting down Zope

2000-07-06 Thread Firestar
--Original Message-- From: Chris McDonough <[EMAIL PROTECTED]> To: Firestar <[EMAIL PROTECTED]> Sent: July 7, 2000 5:05:55 AM GMT Subject: Re: [Zope] Problems shutting down Zope >This is a 'normal' message. Zope 2.2 releases suppress the >error message on shutdown. Phew...for once, i t

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

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 a

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)

[Zope] Problem calling SESSION object

2000-07-06 Thread wai
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 had no problem generate the session id, but however, I had problem calling session object after I inse

[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

[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. Although

[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 /usr

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 >experie

RE: [Zope] 2.2b3 hangs a lot

2000-07-06 Thread Bak @ kedai
> > If you look at the server logs when it hangs, do you see any > pattern as to what was requested when this happens? I haven't > been hearing of any hanging issues with the 2.2 betas, which > makes me suspect that something specific to this site may be > in play here. > > The fact that it

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 . Data.fs only gets appended to, and

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 operatio

Re: [Zope] Is Zope slow?

2000-07-06 Thread Bill Anderson
Curtis Maloney wrote in part: > A friend of mine was a hardcore PHP nut, before I introduced him to Zope, and > was amazed at how simple it made work. I think the thing that slowed his > learning of zope the most was often expecting solutions to problems to be > complex. I'll second that! I r

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

[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 SQ

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.

Re: [Zope] Which PostGreSQL DA should I use?

2000-07-06 Thread Bak @ kedai
On Fri, 07 Jul 2000, Eric L. Walstad wrote: > 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

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 mig

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: > >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 automaticall

Re: [Zope] calendarTag exception

2000-07-06 Thread Darrell Gallion
Thanks. Found the mail on this. Upgraded to Beta3 and changed the demo in this way. Change --> To --> Then things started working. --Darrell - Original Message - From: "Shane Hathaway" <[EMAIL PROTECTED]> To: "Darrell Gallion" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: T

[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 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 bet

Re: [Zope] calendarTag exception

2000-07-06 Thread Shane Hathaway
Zope 2.2.0 revealed a bug in CalendarTag. The maintainer will be fixing it shortly. Shane Darrell Gallion wrote: > > 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 se

Re: [Zope] ANN: Forthcoming Zope Book

2000-07-06 Thread Graham Chiu
In article <[EMAIL PROTECTED]> , Amos Latteier <[EMAIL PROTECTED]> writes >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

[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] Is Zope slow?

2000-07-06 Thread Marco Mariani
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... What are

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] 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: Ke

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

[Zope] Re: [Zope-Annce] ANN: Forthcoming Zope Book

2000-07-06 Thread Patrick Phalen
[Amos Latteier, on Thu, 06 Jul 2000] :: Michel Pelletier has been diligently working on a Zope book for O'Reilly :: for a number of months. I convinced him to take me on as a co-author and :: turn the book into official Zope documentation. O'Reilly is on board and :: is currently choosing between

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

Re: [Zope] the "manage_" methods

2000-07-06 Thread Dieter Maurer
Fabio Akita writes: > 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]) The name is well chose

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

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 htt

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 p

[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 --> <-- here you need to access both components from both the inner and the outer dtml-in There may be a name clash between

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 t

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') > > > > so now REQUEST['MyList'] should contain 3 elements: > 31 DEC 1999 > > How, in dtml, do I say "give me the value of the 1st element of MyList" or > the second or third. > >

[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] Zope-help

2000-07-06 Thread Dieter Maurer
Bruno Nana writes: > select * > from iekunde > > where (substring(firma,1,1)=substring(,1,1) or > substring(firma,1,1) > substring(,1,1)) and > (substring(firma,1,1)=substring(,3,1) or > substring(firma,1,1) < substring(,3,1)) > > > And the error is this: > > Error Type: Error > E

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') >

Re: [Zope] getting queries of a database into variables?

2000-07-06 Thread Dieter Maurer
Rajil Saraswat writes: > How do i put up queried data > into variables so i can conditionally check them? The result of an Z SQL method behaves like a list of row objects. Each row object behaves like an object with the columns as attributes. Thus you can use: hits="_.len(quer

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] http://lists.zope.org/mailman

[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 s

[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

[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 see

[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 con

[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 M

[Zope] Re: FSSession buglette

2000-07-06 Thread Pavlos Christoforou
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 not be stored in FSSession. Initiall

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] 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 #2 #3 #1 displays T043AR on the screen #2 displays the Text I entered into the object (This is what I want) #3 again only displays the T043AR Any suggestions?

[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 commi

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 a

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 us

[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, wha

Re: [Zope] Is Zope slow?

2000-07-06 Thread Bill Anderson
Firestar wrote: > > Hi Bill, thanks for your reply. > [...] > >That's ~6 Million requests/day. Cut it in half, for more > >complicated tasks, and still moving along at a good clip. > >What's better, try Apache doing the same things. > > >Does your next project invlove more than just static fi

[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. Eri

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 calculatio

Re: [Zope] Reusing standard_html_header/footer

2000-07-06 Thread Bill Anderson
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 the subfolders. > > / > standard_html_hea

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) exec

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

2000-07-06 Thread Richard Taylor
"Gaspard, Bradley S" <[EMAIL PROTECTED]> writes: > 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

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 fro

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 PROTECTE

[Zope] Proxy Roles

2000-07-06 Thread Robert Wohlfahrt
Hi, i have a Problem using Proxy-Roles: i have following folders: /foo/ bar1/ comments/ TEMPLATE bar1/ comments/ TEMPLATE barN/ ... /make_a_comment/ submit >From a DTML-Method in "make_a_comment" I want to copy the folder TEMPLATE in

Re: [Zope] Python or DTML

2000-07-06 Thread R. David Murray
On Thu, 6 Jul 2000, Peter Bengtsson wrote: > I know that Python is integrated _very_ closly to the Zope core, but to use > a Python module you'll have to create an External Method and a file in the > Extensions folder; > and this might be slower than using DTML. Right? > > Basically, how much fas

Re: [Zope] zope/python startup error

2000-07-06 Thread Peter Bengtsson
I had that same error before as well. That had nothing to do with Zope, rather Python itself. The problem was that I had not installed TCL properly, and I reinstalled it. But, true, your drivers must have been confused when you installed this "shed-load" of Zope products. Try to reinstall Python

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 U

[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

[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 don't

Re:[Zope] Newbie: Date checking?

2000-07-06 Thread Marcel Preda
> _.DateTime(expirydate).isFuture()"> > > ... > > ... > > > > 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 dates are pulled from an access (!) dat

[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 Pyth

[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 b

[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 ___

Re: [Zope] Z SQL Method

2000-07-06 Thread Richard Moon
On Wed, 5 Jul 2000, Paul Aviles wrote: > > What am I doing wrong?? Also, is there a way to connect to a postgres or > mysql database? Is one better than the other? Postgresql is a true object relational database which includes the ability to define transactions etc., MySQL isn't a true RDBMS.

[Zope] Python or DTML

2000-07-06 Thread Peter Bengtsson
I know that Python is integrated _very_ closly to the Zope core, but to use a Python module you'll have to create an External Method and a file in the Extensions folder; and this might be slower than using DTML. Right? Basically, how much faster is DTML to Python (assuming the codes outputs the s

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

2000-07-06 Thread Andy Gates
> > ... > ... > 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 confoosed. Andy ___ Zope maillist

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: Firesta

[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] LONG insert > 2000 chars fail

2000-07-06 Thread Chris McDonough
Use ? > -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 for Win32 5.1 Build

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" > > ... > I'll work it out one day, honest. Ta. AndyG ___ Zope maillist - [EMAIL

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 (url-en

[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

[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 isPa

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 wi

[Zope] Re:Web Site newbie

2000-07-06 Thread michael montagne
Tremendous reply!! Just what I needed. I'm curious about one thing tho. 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 elaborate? I'd like to stick with the Zserver if I can but I don't want to run into any road blocks too soon do

Re: [Zope] CorruptTransactionError (Bad news for production site!)

2000-07-06 Thread Richard Taylor
Jim Thank you for your prompt response. This is what I love about using Open Source Software, the responses come from peole who really know what they are talking about. Further responses in-line. Jim Fulton <[EMAIL PROTECTED]> writes: > Richard Taylor wrote: > > > > Today I had to role bac

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 S

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] 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: > > > > > > I cannot find a way to make the security system let this > through. > > > > I've pretty much convinced myself it's a bug in the 2.2 > security system... > > Anyone? Brian? It is (or rather was). The fix is

RE: [Zope] Calling Stored Procedures using DCOracle

2000-07-06 Thread Satheesh Babu
Did you try >>> conn.callproc('ADDARTICLE',['dfdsf']) ? As far as I know Oracle stores the object names in upper case in the data dictionary. ~ V.Satheesh Babu [EMAIL PROTECTED] . . http://vsbabu.csoft.net/ /V\ - Duct tape is like the force. It has // \\ a light side, and a dark

Re: [Zope] Error tracing...

2000-07-06 Thread Michael Gutmann
>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??? > Hi Peter, if the va

[Zope] LONG insert > 2000 chars fail

2000-07-06 Thread Riku Voipio
Hi, Looks like DCOracle/Zoracle still doesn't support LONG objects properly. According to Oracle's overly verbose "SERVER MESSAGES" manual the following means that oracle will accept only upto 2000 chars as quoted string, anything more should be uploaded via binded variables... Error Type: oc

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 ___ Zo

Re: [Zope] Reusing standard_html_header/footer

2000-07-06 Thread Michael Gutmann
>On Thu, 6 Jul 2000, Michael Gutmann wrote: > >> :-( Second try: >> Well, this gives me the right object, but it isn't rendered. As >> I reviewed the list archive, I found out, that this seems to be >> normal. Maybe somebody can explain why, if he/she has >> some spareti

Re: [Zope] Zope-help

2000-07-06 Thread Chris Withers
Bruno Nana wrote: > So can i do: > substring(firma,1,1) > substring(UuZ,1,1) > or > substring(firma,1,1) < substring(UuZ,1,1)) > when the two member are comparable(number) Try: > _.int(substring(firma,1,1)) > _.int(substring(UuZ,1,1)) > or > _.int(substring(firma,1,1)) < _.int(substring(UuZ,1,1)

[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] keyword index and netscape vs ie

2000-07-06 Thread Marcel Preda
> > sequence-item> > > > This works fantastic if you are using IE or a keyword is just one word. > Netscape does not seem to do anything intelligent if it is a key phrase > instead and returns an error. Below are examples of the resolved urls it > is trying to load > > IE .../

[Zope] Zope-help

2000-07-06 Thread Bruno Nana
Please would you help me to resolv this problem. That is that some search im Database after you chose a group of letters: <<<   alphabetisch alle Firmen beginnend mit A-D beginnend mit E-H

Re: [Zope] Reusing standard_html_header/footer

2000-07-06 Thread Nils Jeppe
On Thu, 6 Jul 2000, Michael Gutmann wrote: > :-( Second try: > Well, this gives me the right object, but it isn't rendered. As > I reviewed the list archive, I found out, that this seems to be > normal. Maybe somebody can explain why, if he/she has > some sparetime

  1   2   >