[Zope-dev] Newbie SQL Question

2000-10-10 Thread Yvonne Totty
HI! I am having a slight newbie problem and for the life of me cannot find any references for how to do it. I have input boxes on a page. I want the information from that box to be input into a database table upon clicking the Submit button. I cannot figure out how to get that information from

[Zope-dev] Help, please!!! __call__ problems with DTML templates

2000-10-10 Thread Stephen Simmons
Today is not a good day:-( I've just spent 2 days trying to force __call__ to render my product properly, got every error possible at least seven times, and wasted last night working out what was wrong with Refresh (I was calling refresh on the wrong product. Duh!). Please, please, please,

Re: [Zope-dev] Newbie SQL Question

2000-10-10 Thread Christopher Petrilli
On 10/10/00 11:33 AM, "Yvonne Totty" [EMAIL PROTECTED] wrote: HI! I am having a slight newbie problem and for the life of me cannot find any references for how to do it. I have input boxes on a page. I want the information from that box to be input into a database table upon clicking

Re: [Zope-dev] Help, please!!! __call__ problems with DTML templates

2000-10-10 Thread Steve Alexander
Stephen Simmons wrote: 1.) How do you magically get the DTML context from 'dtml-var A' without having to resort to 'dtml-var "A(_,REQUEST)"' in the templates? Give your class a class attribute of isDocTemp=1. This tells the DTML method calling machinery that you want to receive the

Re: [Zope-dev] Help, please!!! __call__ problems with DTML templates

2000-10-10 Thread Steve Alexander
Stephen Simmons wrote: 2.) How to convert an arbitrary text string into rendered DTML inside a python product method? How do you get the object's properties, REQUEST and acquisition context all in the namespace? I've been trying code like: template = 'span class="purpose"dtml-var

Re: [Zope-dev] Help, please!!! __call__ problems with DTML templates

2000-10-10 Thread Evan Simpson
From: Stephen Simmons [EMAIL PROTECTED] 1.) How do you magically get the DTML context from 'dtml-var A' without having to resort to 'dtml-var "A(_,REQUEST)"' in the templates? A.isDocTemp = 1 # or make it a shared class attribute 2.) How to convert an arbitrary text string into rendered

[Zope] zope 2.2.2 not compiling

2000-10-10 Thread Roland Tepp
Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on WinNT to run without pcgi and it fails (console output following this letter). I tried to track down the problem but I don't seem to make any progress. Could You help me please...

[Zope] locking help

2000-10-10 Thread Mark Twiddy
Hi, Can someone please tell me what is going on. while querying a postgres database i am unable to access any crap from zope. I have tried creating a db connection in a enternal method and querying through that but it still locks and wont serve any requests. a Mark

[Zope] Still need help about Product namespace

2000-10-10 Thread Pierre-Julien Grizel
Hi, I still need help about my product needing to know its namespace... Look at the following piece of DTML Meth/Doc : dtml-let STRING="'Hello, world !'" dtml-var MyProduct /dtml-let Right. MyProduct is my product's instance, defining the following method : def __call__

[Zope] REQUEST.set size

2000-10-10 Thread Paul Zwarts
Hi all, I am new to Zope but worked for 2 years in a dev-env called Uniface so Im fairly up to speed on Zope quickly. But I am having a problem writing data through a REQUEST.set that is larger than its apparent limit. (sorry can remember the exact error i get from Zope) What I am trying to do

RE: [Zope] Animated GIFs

2000-10-10 Thread Max Møller Rasmussen
From: Lars Heber [mailto:[EMAIL PROTECTED]] Sorry, I think you misunderstood me! I _don't_ want to stop the gif, but it does after the last frame! -- Now I tried the same Zope page in NS and IE, this phenomenon appears only with NS... I did understand you, but I could not replicate your problem

Re: [Zope] input type=checkbox name not pushed to zsql methodnamespace

2000-10-10 Thread Dieter Maurer
Francisco =?ISO-8859-1?Q?Jos=E9?= Esteban =?ISO-8859-1?Q?Risue=F1o?= writes: this is the standard behaviour in a HTML form. To avoid this problem we include an line like this: dtml-if "REQUEST.has_key('CheckBox_name')" dtml-else dtml-call "REQUEST.set('CheckBox_name', 'N')"

Re: [Zope] cookies don't obey me

2000-10-10 Thread Dieter Maurer
Roland Reumerman writes: 1) When I set a cookie with the path set to the root dtml-call "RESPONSE.setCookie('account',AUTHENTICATED_USER,path='/')" Be careful with "cookies"! The value of a cookie it quite severely restricted (must not contain many characters; you read the cookie

Re: [Zope] dtml-tree advice, please

2000-10-10 Thread Dieter Maurer
Brian Withun writes: I have two ZClasses. One ("Album") is folderish, and serves as a photo album. The other ("Photo") isn't and serves as a photo in an Album. Albums can contain only Albums and Photos. I would like to have a dtml-tree represent this hierarchy of Albums and

RE: [Zope] overriding __str__ method?

2000-10-10 Thread Dieter Maurer
Seb Bacon writes: I know how to create a form that does what I want (update properties, whatever). What I don't know is how to include it as part of the rendered content programmatically. At the moment users have to go to www.widgets.com/manage_content, log in, and see a set of forms

[Zope] (no subject)

2000-10-10 Thread Dieter Maurer
Chris Withers writes: Toby Dickenson wrote: Those people were concerned that too many things were exposed via ZPublisher also My interpretation was that the issue is one of access control, not publishing protocol. I think the issue is that you can't limit the visibility of

[Zope] Namespace within a product... (argh...)

2000-10-10 Thread Pierre-Julien Grizel
Well, beeing very straightforward, I read this, in OSFP/Help/DTMLDocument.py : """ A DTMLDocument implicitly pass itself as a client argument in addition to the specified client, so names are looked up in the DTMLDocument itself. Passing in a namespace to a

Re: [Zope] Still need help about Product namespace

2000-10-10 Thread Toby Dickenson
On Tue, 10 Oct 2000 10:51:09 +0200, Pierre-Julien Grizel [EMAIL PROTECTED] wrote: I still need help about my product needing to know its namespace... You also need to read the answers already provided. http://www.zope.org/Members/htrd/howto/FunctionTemplate Toby Dickenson [EMAIL PROTECTED]

Re: [Zope] Web statistics

2000-10-10 Thread J. Atwood
At 2:03 PM + 10/7/2000, Stephan Goeldi wrote: Is there something like webalizer for Zope? I would like to create a statistic of my website's visits. Webalizer and Analog will work great. Zope logs are standard. J ___ Zope maillist - [EMAIL

Re: [Zope] Still need help about Product namespace

2000-10-10 Thread Pierre-Julien Grizel
Toby Dickenson wrote: On Tue, 10 Oct 2000 10:51:09 +0200, Pierre-Julien Grizel [EMAIL PROTECTED] wrote: I still need help about my product needing to know its namespace... You also need to read the answers already provided. http://www.zope.org/Members/htrd/howto/FunctionTemplate

[Zope] Quoting

2000-10-10 Thread Chris Withers
Dieter Maurer wrote: Note, that probably Zope user names may contain characters not allowed in Cookie values. I wonder how hard it would be to implement the following: dtml-var something cookie_quote Quote all characters not allowed in a cookie dtml-var somethinh id_quote Quote all

[Zope] pop back namespace from stack ?

2000-10-10 Thread Beuserie Frédéric (stbrice dsi)
hi, How can I pop back one namespace from the stack ?. In fact I need the id from the dtml-method I'm was called from. thanks a lot. - Beuserie Frederic DSI / Système et Exploitation - 3 Suisses Belgique Tel: +3269/882485 / Fax: +3269/882491 Email:

Re: [Zope] How: /foo?var=bar equiv to /foo/bar

2000-10-10 Thread Chris Withers
Heymann William wrote: I am trying to get rid of those question marks in my urls since it seems to confuse the users but I am not sure really how to do that. I have heard that it can but done but so far I have not found out how it can be done. I want for the last piece of the url to be

Re: [Zope] Black Magic

2000-10-10 Thread Chris Withers
Pierre-Julien Grizel wrote: It seems that in fact the DTML document doesn't actually pass _.None and _ to my object. WHY ?? This is deep voodoo that I don't fully understand. To me, it appears that what you get depends on how your __call__ was called... The arguments vary dependign on

Re: [Zope] REQUEST.set size

2000-10-10 Thread Paul Zwarts
Hi again, Some extra info from reproducing the error again: ValueError: PQsendQuery() -- query is too long. Maximum length is 16382 This error comes from the traceback AFTER the method is called to store the list in the dbms so I assume that the error is actually the DBMS field size and NOT

Re: [Zope] zope 2.2.2 not compiling

2000-10-10 Thread Jens Vagelpohl
roland, there is a precompiled Win32 version available to download at: http://www.zope.org/Products/Zope/2.2.2/Zope-2.2.2-win32-x86.exe use that instead. jens on 10/10/00 3:02, Roland Tepp at [EMAIL PROTECTED] wrote: Hi. I downloaded Zope 2.2.2 source and I am trying to compile it on

[Zope] ZODB question: get older object versions without undo

2000-10-10 Thread Philipp Auersperg
I have two questons concerning ZODB: 1. Since ZODB does not overwrite objects on change one can get the older versions when undoing the changes. My question now: how can I access older versions of objects without undoing transactions? (I had a short glance at the ZODB classes, but found

RE: [Zope] Access Control vs Publishing Protoco

2000-10-10 Thread Seb Bacon
This is because the thing which makes the problem hard is that something like standard_html_header wants to be editable by Managers TTW, which means it also has to be visible TTW. However, it's probably not something you want exposed to anonymous users, especially as a TTW

RE: [Zope] Quoting

2000-10-10 Thread Seb Bacon
dtml-var something cookie_quote Quote all characters not allowed in a cookie wouldn't dtml-var something url_quote do the job? That reminds me, it's silly that there's not dtml-something url_unquote, so I patched my zope to provide it. I was wondering if there's a mechanism for getting this

Re: [Zope] Quoting

2000-10-10 Thread Chris Withers
Seb Bacon wrote: dtml-var something cookie_quote Quote all characters not allowed in a cookie wouldn't dtml-var something url_quote do the job? Dunno... Dieter? That reminds me, it's silly that there's not dtml-something url_unquote, so I patched my zope to provide it. I was

Re: [Zope] ZODB question: get older object versions without undo

2000-10-10 Thread Chris McDonough
Philipp Auersperg wrote: I have two questons concerning ZODB: 1. Since ZODB does not overwrite objects on change one can get the older versions when undoing the changes. My question now: how can I access older versions of objects without undoing? transactions? (I had a short glance at

[Zope] Zope.org Feature Request - Product Download Counter

2000-10-10 Thread J. Atwood
It would be really nice to know how many people are downloading the products. This would also be a great feature to add to the actual Zope distribution. I know you could get this from the logs (easily) but you could also add a small counter to the product 'view' method, something along the

Re: [Zope] ZODB question: get older object versions without undo

2000-10-10 Thread Bill Welch
A work around is to pack the DB regularly (Control_Panel/Database_Management). On Tue, 10 Oct 2000, Philipp Auersperg wrote: 2.Is it possible ( or will be ) to define ZODB objects for which updates are done by overwriting ___ Zope maillist -

Re: [Zope] Animated GIFs

2000-10-10 Thread Lars Heber
Hello, it's me again. I found out what the matter of my problems was. I tried the animGif on several other computers with different versions of NS, on every of them it worked. And here's the kicker: It also worked on another computer which had the same version installed like me! Therefore,

[Zope] Where is the difference between URL0 and BASE3

2000-10-10 Thread Loibl Johann
Hi together, Could someone tell me where is the difference between URL0 and BASE3 or URL1 and BASE2 ... Thanks for your helping hand, Hannes ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or

Re: [Zope] pop back namespace from stack ?

2000-10-10 Thread Daniel Rusch
In fact I need the id from the dtml-method I'm was called from Try dtml-var HTTP_REFERER Dan Beuserie Frédéric (stbrice dsi) wrote: hi, How can I pop back one namespace from the stack ?. In fact I need the id from the dtml-method I'm was called from. thanks a lot.

Re: [Zope] Newbie question : ZopeTime permissions

2000-10-10 Thread Aaron Straup Cope
Yes, it was a misunderstanding regarding basic user permissions and the Anonymous role on my part. I did not want to allow the Anonymous role *any* permissions, and the site I am working in is contained in a folder beneath the root Zope folder. The problem was that I had disabled the "Access

Re: [Zope] Black Magic

2000-10-10 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] Pierre-Julien Grizel wrote: It seems that in fact the DTML document doesn't actually pass _.None and _ to my object. WHY ?? This is deep voodoo that I don't fully understand. To me, it appears that what you get depends on how your __call__ was

Re: [Zope] REQUEST.set size

2000-10-10 Thread Evan Simpson
From: Paul Zwarts [EMAIL PROTECTED] ValueError: PQsendQuery() -- query is too long. Maximum length is 16382 This is purely a PostgreSQL issue; Some (all? not sure.) versions of PostgreSQL have a hard limit on the length of query strings. You have to break your query into multiple smaller

[Zope] how to call sequence-item

2000-10-10 Thread Joachim Schmitz
Hello, I'm using the photo-product, when one has created a photo-instance "image" you can render this like so: dtml-var "image(display='thumbnail')" now I wanted to loop over all photos in a folder "Images" and did: dtml-with Images dtml-in "objectItems('Photo')" dtml-call

Re: [Zope] how to call sequence-item

2000-10-10 Thread Chris Withers
Joachim Schmitz wrote: dtml-call "REQUEST.set('bild',_['sequence-item'])" Here's your problem, thanks to _'s 'itneresting' implementation of __getitem__... ...what you really want is: dtml-call "REQUEST.set('bild',_.getitem('sequence-item',0))" cheers, Chris

Re: [Zope] Black Magic

2000-10-10 Thread Fred Yankowski
Evan, The information you just provided about the DTML Method "call signature" and the like is very useful. Is this kind of reference material written down somewhere in a guide/how-to/wiki/...? I tried to figure out the call signature of a Python method by having the called function use just

[Zope] Error List

2000-10-10 Thread Yvonne Totty
Hi! Is there somewhere I can get a list of errors and their meanings? Thanks! Yvonne ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Error List

2000-10-10 Thread Daniel Rusch
Take a look at this http://www.python.org/doc/current/lib/module-exceptions.html Dan ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Bizarre ZMySQLDA problem...

2000-10-10 Thread Tony McDonald
Hi all, I've just installed Zope-2.2.1 onto a clean Solaris 8 machine. I've built Python 1.5.2 from source and have MySQL 3.22 on the server. I've compiled up the ZMySQLDA product and put the MySQLModule.so in the correct place (ie one directory up from the src directory). I've restarted the

Re: [Zope] Zope.org Feature Request - Product Download Counter

2000-10-10 Thread Andy McKay
Of course the only problem with a hit counter is that high traffic requests mean continually writing the object into the ZODB each time it gets hit / downloaded, whatever. Thats why I release FSCounter which uses the file system. I would like to expand this to cover multiple objects... -

Re: [Zope] Zope.org Feature Request - Product Download Counter

2000-10-10 Thread J. Atwood
Yup... the ZODB does grow with each hit. Not much of course, but some. I am sure for a site such as Zope.org it would not be unmanageable. They most certainly have automated ways of packing the DB. J From: "Andy McKay" [EMAIL PROTECTED] Date: Tue, 10 Oct 2000 10:05:24 -0700 To: [EMAIL

Re: [Zope] How: /foo?var=bar equiv to /foo/bar

2000-10-10 Thread Andy McKay
ZSQLMethods does exactly that, have a look at that. Look at michel's wiki. - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Heymann William" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Tuesday, October 10, 2000 3:56 AM Subject: Re: [Zope] How: /foo?var=bar equiv to

Re: [Zope] ZODB question: get older object versions without undo

2000-10-10 Thread Joachim Werner
Hello Philipp! 1. Since ZODB does not overwrite objects on change one can get the older versions when undoing the changes. My question now: how can I access older versions of objects without undoing transactions? (I had a short glance at the ZODB classes, but found nothing) The code for

Re: [Zope] locking help

2000-10-10 Thread Mike Renfro
On Tue, Oct 10, 2000 at 04:58:46PM +0930, Mark Twiddy wrote: Can someone please tell me what is going on. while querying a postgres database i am unable to access any crap from zope. I have tried creating a db connection in a enternal method and querying through that but it still locks and

[Zope] Fighting htmllib in external method

2000-10-10 Thread Jason Spisak
Howdy Zopsters, I want to catalog some html files but I want to strip the html tags out. htmlparser does a good job of that, but when I try to acces that from an external method, I run into trouble. import htmllib import formatter def index(self, html): fmtr =

Re: [Zope] Black Magic

2000-10-10 Thread Evan Simpson
From: Fred Yankowski [EMAIL PROTECTED] The information you just provided about the DTML Method "call signature" and the like is very useful. Is this kind of reference material written down somewhere in a guide/how-to/wiki/...? The only thing I could find offhand is

Re: [Zope] Namespace within a product... (argh...)

2000-10-10 Thread Lalo Martins
On Tue, Oct 10, 2000 at 11:56:11AM +0200, Pierre-Julien Grizel wrote: So - I had a look at DTMLDocument.py and saw the following method : def __call__ (self, client = None, REQUEST = {}, **kw): ... SO - I try to create this method for my product : def __call__ (self, client =

[Zope] Disadvantages of using DTML

2000-10-10 Thread Jason Spisak
Zopists, Can anyone tell me off hand any big disadvantages to not using DTML (Caching, etc...) and using a package like HyperText http://dustman.net/andy/python/HyperText to produce html display for your objects, and use python to process it? Jason Spisak [EMAIL PROTECTED]

[Zope] Fighting htmllib in external method

2000-10-10 Thread Jason Spisak
Howdy Zopsters, I want to catalog some html files but I want to strip the html tags out. htmlparser does a good job of that, but when I try to acces that from an external method, I run into trouble. import htmllib import formatter def index(self, html): fmtr =

[Zope] Upload just file headers?

2000-10-10 Thread Paul Winkler
I'd like to make a form that looks like the typical file upload form, but will upload ONLY the header of the chosen file. Anyone know how / if this can be done? -- .paul winkler.. slinkP arts: music, sound, illustration, design, etc. web

Re: [Zope] Quoting

2000-10-10 Thread Dieter Maurer
Chris Withers writes: Seb Bacon wrote: dtml-var something cookie_quote Quote all characters not allowed in a cookie wouldn't dtml-var something url_quote do the job? Dunno... Dieter? I reread the cookie spec: in cookie values forbidden are: semi-colon, comma and

RE: [Zope] Access Control vs Publishing Protoco

2000-10-10 Thread Dieter Maurer
Seb Bacon writes: For me, the 'visibility' problem is a real bugbear. Apart from the 'security' issue of anon. users being able to list objectIds, it means I am loathe to allow clients to manage their sites through the manage interface. This is because they'll see it littered with

Re: [Zope] Newbie question : ZopeTime permissions

2000-10-10 Thread Dieter Maurer
Aaron Straup Cope writes: I did not want to allow the Anonymous role *any* permissions, and the site I am working in is contained in a folder beneath the root Zope folder. The problem was that I had disabled the "Access contents information" privilege for the Anonymous user (whose

[Zope] Help with a DTML expression/comparison

2000-10-10 Thread Rudd-O
Hey to everyone, I'm shooting myself in the foot here with this construct: select name="begin_day" size="1" dtml-in "_.range(1,32,1)" option value="dtml-sequence-item;" dtml-if expr="begin_day == _.getitem('sequence- item')" selected /dtml-if

Re: [Zope] Zope.org Feature Request - Product Download Counter

2000-10-10 Thread mindlace
Andy McKay wrote: Of course the only problem with a hit counter is that high traffic requests mean continually writing the object into the ZODB each time it gets hit / downloaded, whatever. Thats why I release FSCounter which uses the file system. I would like to expand this to cover

Re: [Zope] Zope.org Feature Request - Product Download Counter

2000-10-10 Thread Andy McKay
Yes Apache and caching adds a whole new layer of complexity. But most simple Zope installations dont use it and for quick rough counts it can be useful, of course its rare to be able to replace the log files in terms of accuracy. - Original Message - From: "mindlace" [EMAIL PROTECTED]

Re: [Zope] Fighting htmllib in external method

2000-10-10 Thread Jonothan Farr
Try using a StringIO object as your file. import htmllib import formatter from cStringIO import StringIO def index(self, html): file = StringIO() fmtr = formatter.AbstractFormatter(formatter.DumbWriter(file)) p = htmllib.HTMLParser(fmtr) p.feed(html) file.seek(0) return

Re: [Zope] Help with a DTML expression/comparison

2000-10-10 Thread Tim Cook
"Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http://www.alomega.com/" wrote: BUT, the comparison between the two, won't work. Even comparing two _.getitems doesn't work. So it's expected that at no point does the selected property appear in my html source.

Re: [Zope] Zope.org Feature Request - Product Download Counter

2000-10-10 Thread J. Atwood
Ooops... sorry Ethan, didn't mean to send this to the wrong place. Just wanted to see what others felt about it. If it is undoable, cool. If someone figures out a way, it would be really appreciated and certainly a boost to Zopista's and product developers to see how popular and used our products

[Zope] Fighting htmllib in external method

2000-10-10 Thread Jason Spisak
Jonothan Farr, Thanks very much! I am new to Python. I coded my first Zope app in entirely DTML, so now I'm moving deeper. That's a handy thing to have. All my best, Jason Spisak [EMAIL PROTECTED] Try using a StringIO object as your file. import htmllib import formatter from

[Zope] Disadvantages of using DTML (fwd)

2000-10-10 Thread Jason Spisak
Andy, I am actually just starting working with it. As long as I can have help futzing with the aq_parent stuff to get it to work, I'll be using it in my intranet app. My real desire is to find a way to construct these type of html objects from html. Like a poor man's HyperDOM. :) Cool, do I

Re: [Zope] locking help

2000-10-10 Thread Dieter Maurer
Mark Twiddy writes: Can someone please tell me what is going on. while querying a postgres database i am unable to access any crap from zope. I have tried creating a db connection in a enternal method and querying through that but it still locks and wont serve any requests. We saw a

Re: [Zope] Fighting htmllib in external method

2000-10-10 Thread Dieter Maurer
Jason Spisak writes: I want to catalog some html files but I want to strip the html tags out. htmlparser does a good job of that, but when I try to acces that from an external method, I run into trouble. You may look at

Re: [Zope] pop back namespace from stack ?

2000-10-10 Thread Dieter Maurer
Beuserie =?ISO-8859-1?Q?Fr=E9d=E9ric?= (stbrice dsi) writes: How can I pop back one namespace from the stack ?. In fact I need the id from the dtml-method I'm was called from. You can not (from DTML). The caller must help you, e.g. by: calling method: dtml-let

Re: [Zope] Where is the difference between URL0 and BASE3

2000-10-10 Thread Dieter Maurer
Loibl Johann writes: Could someone tell me where is the difference between URL0 and BASE3 or URL1 and BASE2 ... URLn removes "n" URL path components from the right, BASEn consists of the first "n+1" or "n+2" URL components. Thus, if you URL is "host/u1/u2//un", then URL0 is URL, URL1

Re: [Zope] fmt=structured-text seems wrongish

2000-10-10 Thread Dieter Maurer
Dennis Nichols writes: dtml-var "myDoc.description" fmt=structured-text And shouldn't the fmt specification tell how myDoc.description is to be presented instead of how it is stored? I agree with you that "fmt" should specify how the value should be formatted and not how it

[Zope] Second question ?=)

2000-10-10 Thread Rudd-O
This is my second question: Id like to run a dtml-in sqlquerymethod with specific parameters to its namespace This is the deal I want to construct a dropdown list, with all values retrieved from a SQL stored procedure, so if I open the form with no variables, all of them appear, but if i

[Zope] Medusa Monitor

2000-10-10 Thread Hung Jung Lu
Hi, Zope comes with the Medusa monitor (port 8099 by default) which is kind of cute and allows one to get into the guts of Zope. But do people really use it? How do people use it? Is there any document describing the usages of this monitor? Are there some features of this monitor that makes

Re: [Zope] Bizarre ZMySQLDA problem...

2000-10-10 Thread Phil Harris
Tone, What version of the MySQL DA are you using, there is a bug in one of them that causes no data to be returned in specific circumstances, at least as far as I can see. I did at one time fix it, give me a few hours to see what I did and I'll mail you back. hth Phil - Original Message

Re: [Zope] Fighting htmllib in external method

2000-10-10 Thread Jason Spisak
Dieter: Thanks Dieter. Jason Spisak writes: I want to catalog some html files but I want to strip the html tags out. htmlparser does a good job of that, but when I try to acces that from an external method, I run into trouble. You may look at

Re: [Zope] Medusa Monitor

2000-10-10 Thread Terry Kerr
Use it for debugging sometimes. Is very easy to use. Basically import Zope z = Zope.app() then z is the root of your zope tree so you can do anything. You will need to import any other python modules you need too. terry Hung Jung Lu wrote: Hi, Zope comes with the Medusa monitor (port

Re: [Zope] Help with a DTML expression/comparison

2000-10-10 Thread Phil Harris
Manuel, You'll probably find that your comparing a string 'begin_day' to an integer 'sequence-item'. Try something like: dtml-if expr="_.int(begin_day) == _.int(_.getitem('sequence-item'))" hth Phil - Original Message - From: "Manuel Amador (Rudd-O) Gerente de desarrollo Alpha

Re: [Zope] locking help

2000-10-10 Thread Mark Twiddy
Hi thanks for the reply The problem is whenever i do really big query everything stops and waits. im using ZPyGreSQLDA-0.3-rjr2 and py-PyGreSQL-2.4 thanks Mark On Tue, 10 Oct 2000, Mike Renfro wrote: On Tue, Oct 10, 2000 at 04:58:46PM +0930, Mark Twiddy wrote: Can someone please tell

Re: [Zope] locking help

2000-10-10 Thread Philipp Auersperg
this Postgres adapter is not multithreaded, check out the ZPoPyDA from zope.org. That is an alternative Postgres adapter that is multithreaded and does not lock up. phil *** REPLY SEPARATOR *** On 11.10.2000 at 08:48 Mark Twiddy wrote: Hi thanks for the reply The problem is

Re: [Zope] locking help

2000-10-10 Thread Mark Twiddy
Hi all, Thanks for all the help Ive installed PoPy-1.36 and ZPoPyDA-0.64 and it works like a bastard : Thanks all Mark On Wed, 11 Oct 2000, Philipp Auersperg wrote: this Postgres adapter is not multithreaded, check out the ZPoPyDA from zope.org. That is an alternative Postgres adapter

Re: [Zope] LoginManager - how does it work?

2000-10-10 Thread ed colmar
Thanks for the help! Still looking for that HOWTO.txt So, now I have a UserSource Installed into my LoginManager. It is called "pgcrypt" and is supposed to authenticate to a SQL database. The password stored in the DB is encryputed using the same scheme. Any ideas why it doesn't let me in?

[Zope] Re: Upload just file headers?

2000-10-10 Thread Paul Winkler
Still haven't found an answer, after 4 hours searching the egroups archive. Just to clarify: I need to read the headers of the files BEFORE I upload the entire file, because the files may be very large and I need to be able to give a warning if the file does not meet certain criteria. Example: a