Re: [Zope] Problems with Coding differences to do same stuff...boundary="------------EAFFAD5A57052936695E91D7"

2000-07-21 Thread Felipe E Barousse Boue
Hi, thanks for your comment !! I know about not beeing allowed to access attributes that start with "_". Actually what is intended here is for _[titulo] to be evaluated to the name of a folder, the one that has just been created by the manage_addDTMLDocument call (which worked fine)with the name

Re: [Zope] GUF Authentication Problems

2000-07-21 Thread Andy McKay
Nope that was a lie. I still have the same problem. Damn. - Original Message - From: "Andy McKay" <[EMAIL PROTECTED]> To: "Mario Premke" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 19, 2000 4:39 PM Subject: Re: [Zope] GUF Authentication Problems > Thanks to you, an

Re: [Zope] GUF Authentication Problems

2000-07-21 Thread Andy McKay
Thanks to you, and thanks to Brad. That works... now there are a whole bunch of other security issues of course :) - Original Message - From: "Mario Premke" <[EMAIL PROTECTED]> To: "Andy McKay" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Wednesday, July 19, 2000 3:41 PM Subject: Re

[Zope] Encoding URL Vars

2000-07-21 Thread Kapil Thangavelu
i recently had a problem with encoding url vars in a dtml-call such as this isn't always optimal since you might not know all the variables and you just want to pass along all of the form variables. hence PythonMethod #2 name: url_encode_form_vars parameters: namepace # the namepace='_' try

Re: [Zope] GUF Authentication Problems

2000-07-21 Thread Andy McKay
Did anyone find a solution to this problem? I have the exact same problem when try to access that object: 2000-07-19T22:09:27 ERROR(200) GUF http://127.0.0.1:8080/acl_users/userAuthenticate raised an exception (('Unauthorized', 0, )) Thanks - Original Message - From: "Mario Premke" <[E

Re: [Zope] NESTED IN STATEMENTS AND PASSING VARIABLES in DTML

2000-07-21 Thread Dieter Maurer
[EMAIL PROTECTED] writes: > This is FAQ material and should be inserted into either the DTML programmer's guide > or the ZSQL Methods guide. It bites everyone who uses SQL methods eventually. > > ZSQL methods do not perform acquisition, but will look at REQUEST, change it > to. A minor clar

Re: [Zope] How to skip processing the rest of a dtml document?

2000-07-21 Thread Dieter Maurer
Juan Carlos =?ISO-8859-1?Q?Coru=F1a?= writes: > > > > >some code that inserts a line in the order > >some code that deletes a line from the order > > > > Error. There is no action or action is incorrect. > > > ..The dtml document must

Re: [Zope] Problems with Coding differences to do same stuff...boundary="------------EAFFAD5A57052936695E91D7"

2000-07-21 Thread Dieter Maurer
Felipe E Barousse Boue writes: > I know about not beeing allowed to access attributes that start with "_". I gave you a solution in my post, didn't I? Again, try: > Actually what is intended here is for _[titulo] to be evaluated to the name > of a folder ... Of

Re: [Zope] Working with Lists

2000-07-21 Thread Dieter Maurer
Terry Babbey writes: > Here is my code and my error. > > > > > > > > > Zope has encountered an error while publishing this resource. > >Error Type: IndexError >Error Value: string index out of range > > CL is a property of a dtml document and is a

Re: [Zope] Broken products in 2.2 - bug?

2000-07-21 Thread Dieter Maurer
Peter Arvidsson writes: > The strange thing is that the product itself is not broken only all the > instances become broken everytime I restart... Try the following: delete the products (okay start with a single one, just to try) from "ControlPanel/Products" (this of cause will be possibl

Re: [Zope] packing on ZSPs (was Re: [Zope] zope.org down)

2000-07-21 Thread Loren Stafford
- Original Message - From: "Simon Michael" <[EMAIL PROTECTED]> > > Related, though specific to Codeit users: I need to pack to avoid the > above, but fear the data-corrupting packing bugs which were fixed in > more recent versions of zope. Codeit, perhaps time for an upgrade ? At > least

Re: [Zope] URL quoting in python

2000-07-21 Thread Kapil Thangavelu
Thanks for the tip Duncan, I find it strange that this utility function is not in the _ namepace... time to make a trip to the Tracker. It seems like a url-encoding function should be directly accessible from zope. Thanks Kapil Duncan Booth wrote: > > > I often create an external method for t

Re: [Zope] Anyone built a classifieds or review product?

2000-07-21 Thread Dieter Maurer
J. Atwood writes: > ZCLassifieds: > > A product that allows users to post classifieds for sale with categories, > pictures, start and end dates, email contacts, etc. Could be anonymous or > require a log in that plays upon the strengths of Zope. > > ZReview: > > A generic review produc

[Zope] Re: [Zope-dev] getting request variables values

2000-07-21 Thread Dieter Maurer
Leonardo Kenji Shikida writes: > How do I get HTTP headers and environment variables on Zope > I know that shows me everything, but I only want to get 1 > specific variable. If your variable is named NAME, you can use If there is a potential name clash and you want to be sure, you get the

Re: [Zope] Is there a function which evaluate a python expression situated in a string variable ?

2000-07-21 Thread Dieter Maurer
Frederic QUIN writes: > I have a string variable "expres" which contains a python expression. > I would like to do but > Zope raises an error. expres is considered as a string and is not > interpreted by Zope. So I wonder if there is a function which evaluate the > python expression situated

Re: [Zope] URL quoting in python

2000-07-21 Thread Dieter Maurer
Chris Withers writes: > How about doing the equivalent on html_quote in python? from DocumentTemplate. import DT_Util def html_quote(str): return DT_Util.html_quote(str) Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman

[Zope] Re: Zope pcgi

2000-07-21 Thread Bill Anderson
Michael Arndt wrote: > > Hi Bill > > this seems to address our Problem: > Response: > Some platforms may require setting: > > PCGI_CLOSE_FDS=0 > > in the pcgi resource file, since configure cannot > reliably discover this at c

[Zope] packing on ZSPs (was Re: [Zope] zope.org down)

2000-07-21 Thread Simon Michael
ethan mindlace fremen <[EMAIL PROTECTED]> writes: > Well, folks, zope.org is down again, because the site was packed without > enough space on the device. ... > To keep this from happening again, we will be adding an additional 40gb > drive that should do us just fine until the Data.fs hits 2 GB.

Re: [Zope] dumb dtml-in question

2000-07-21 Thread Jonothan Farr
How about just: --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 - Original Message - From: Andy McKay <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 21, 2000 3:53 PM Subject: Re: [Zope] dumb dtml-in question > > > > >

Re: [Zope] A Better Way (Stupid DTML code)

2000-07-21 Thread Andy McKay
Other smug answers include: - dont put - in your SQL methods - use your SQL to give the variable a different name - use python - Original Message - From: "Phil Harris" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; "Dennis Baker" <[EMAIL PROTECTED]> Sent: Friday, July 21, 2000 4:29 PM Subj

Re: [Zope] A Better Way (Stupid DTML code)

2000-07-21 Thread Phil Harris
Search for Member Information - Original Message - From: Dennis Baker <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Saturday, July 22, 2000 12:08 AM Subject: [Zope] A Better Way (Stupid DTML code) > Ok, there has to be a better way of doing this, I

Re: [Zope] How to require an @ symbol in email form field??

2000-07-21 Thread R. David Murray
On Tue, 18 Jul 2000, Duncan Booth wrote: > Use javascript to check that all required fields are present before > the form is actually submitted. Here is some of the code I use: Note, however, that using Javascript to do the checking client side is only useful as a user convenience. If you have

[Zope] An observation about manage_* methods

2000-07-21 Thread albert boulanger
This has a question to it if I am not overlooking something. I often want to design dtml_methods that allow the end user to manage content under his control. An example of a typical manage method that you often see is like: >From TinyTable.py: def manage_editData(self, data, REQUEST=None):

[Zope] zope.org down

2000-07-21 Thread ethan mindlace fremen
Well, folks, zope.org is down again, because the site was packed without enough space on the device. because the error is relatively subtle, I'm restoring from yesterday's backup, so please check to be sure that everything you've done recently is preserved. To keep this from happening again, we

[Zope] A Better Way (Stupid DTML code)

2000-07-21 Thread Dennis Baker
Ok, there has to be a better way of doing this, I just want to show a dialog if there minimum value of a field is lower than 20,000. This is the only way I could figure out to do this, Python seems to choke on variables with Hyphens so I have to use the dtml-let It works but it's a STUPID

Re: [Zope] dumb dtml-in question

2000-07-21 Thread Andy McKay
This prints out the value every time though so you might do a return or do a request set depending upon what you are doing, or use a first / last system... Prints only once - Original Message - From: "Tom Scheidt" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, July 21

[Zope] dumb dtml-in question

2000-07-21 Thread Tom Scheidt
I'd like to use the dtml-in tag to get the number of files in a specific folder. Tom Scheidt | www.falsemirror.com | [EMAIL PROTECTED] --- ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.

Re: [Zope] ZCatalog & dynamic sites

2000-07-21 Thread Dieter Maurer
> I have a Zope site that uses MySQL to dynamically create some pages. > What I want is the ability to search throughout the site, INCLUDING > the pages that are database-driven. It seems to me that ZCatalog only=20 > finds items that exist *in zope*. > > Is it something ZCatalog can't do o

Re: [Zope] all DTML Methods of current folder and subfolder

2000-07-21 Thread Dieter Maurer
Wolfgang Klinger writes: > I have a dtml method in a folder which should > display all "document_title"s of all > "DTML Method"s in the current folder and > all sub folders! > > I tried > > where "Info" is the current folder where the > method itself is stored > but that didn't work

Re: [Zope] ZEO and a front end...

2000-07-21 Thread Bill Anderson
Toby Dickenson wrote: > > On Wed, 19 Jul 2000 10:07:30 -0600, Bill Anderson <[EMAIL PROTECTED]> > wrote: > > >Toby Dickenson wrote: > >> > >> On Tue, 18 Jul 2000 16:08:48 -0600, Bill Anderson <[EMAIL PROTECTED]> > >> wrote: > >> > >> >> I might be reading more into his words than was intended, b

Re: [Zope] Re: [Zope-dev] Datebug?

2000-07-21 Thread Bill Anderson
Peter Arvidsson wrote: > > > > > > > try this: > > > > "> > > > > I think it's a round problem with the float representation of the date. > > > > martin > > Since it is adding 24 hours Are you _sure_ it is adding 24 hours? The string you gave only shows date, not time. Try showing the time as

Re: [Zope] Monitor

2000-07-21 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: > > Isn't anyone using the medusa/monitor_client.py script to debug their > zopes? I can start it up fine and view the sequence of objects I have > created, but my question is how do I access the return value of a DTML > method? The Zope Debugging how-to is a little scant

[Zope] review product proposal

2000-07-21 Thread kamon ayeva
Hi, "J. Atwood" (I was unable to get his email from the mailing list search >interface) wrote some days ago: On my list of products that I would like to build / help build ZCLassifieds: A product that allows users to post classifieds for sale with categories, pictures, start and

RE: [Zope] ZBabel performance??

2000-07-21 Thread Albert Langer
For non-cacheable pages that can't be speeded up by a reverse proxy, there might be two other possibilities worth looking at as well. If Zbabel is mainly needed for the production/maintenance of translations rather than for really dynamic pages it might be possible to use ZMirror for semi-static

Re: [Zope] ZServer Statistics

2000-07-21 Thread Robert Wohlfahrt
Hi, > Is there way to determine how many (and which)pages > ZServer serves? I am running ZServer as my primary Have a look into /path_to_your_zope/var/Z2.log Robert -- Robert Wohlfahrt ([EMAIL PROTECTED]) Tel: 0179 / 2980074 Fax: 0351 / 2880145 __

RE: [Zope] request for advice

2000-07-21 Thread Chris McDonough
Steve Spicklmire has also written the ZCVSMixin product (which I've never actually used) that might let you integration filesystem versioning with Zope more easily as well... > -Original Message- > From: Patrick Lewis [mailto:[EMAIL PROTECTED]] > Sent: Friday, July 21, 2000 12:50 PM > To:

[Zope] Monitor

2000-07-21 Thread darryl
Isn't anyone using the medusa/monitor_client.py script to debug their zopes? I can start it up fine and view the sequence of objects I have created, but my question is how do I access the return value of a DTML method? The Zope Debugging how-to is a little scant on the subject. -D _

Re: [Zope] request for advice

2000-07-21 Thread Patrick Lewis
On Fri, Jul 21, 2000 at 04:29:01PM +0100, Seb Bacon wrote: > Hello folks, > > I'm just beginning to design my first big Zope application. I'm writing to > ask zopististitiatatas for some advice, since I'm a bit of a newbie and I > want to make sure: > > [a] I reuse as much code as possible > [

Re: [Zope] Re: Folderish objects and that BASE tag...

2000-07-21 Thread R. David Murray
On Mon, 17 Jul 2000, Chris Withers wrote: > If you go to: > http://my.zope/site/file.html/ > > It will just return the DTML document :-) > > I wonder if it is redirecting to http://my.zope/site/file.html? I belive that it is returning: http://my.zope/site/file.html/index_html --RDM

[Zope] Wiki apps other than ZWiki 0.6.1

2000-07-21 Thread Geoff Gardiner
I've been happily adding ManagedMode functionality to ZWiki 0.6.1 but wonder what other Wiki-on/in-Zope technologies there are that I should consider working with. I'm looking for cataloging, graphics upload, differencing, rename and delete and don't really want to have to work on them myself if t

[Zope] request for advice

2000-07-21 Thread Seb Bacon
Hello folks, I'm just beginning to design my first big Zope application. I'm writing to ask zopististitiatatas for some advice, since I'm a bit of a newbie and I want to make sure: [a] I reuse as much code as possible [b] I make my code as reusable as possible [c] my application is stable and

[Zope] LoginManager ... USER SOURCE

2000-07-21 Thread Wolfgang Klinger
Hi! LoginManager needs a User Source ... what can I use as User Source? I need detailed instructions ;-) Wolfgang ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

[Zope] more catalog issues

2000-07-21 Thread ed colmar
Strange... Now my 2.2 catalog is giving me the problems were supposed to be bugs in zope (catalog) 2.1.5 and lower... Inconsistancy, and missing indexes...??? When I update the catalog it corrects itself. h Any clues as to why my objects get cataloged incorrectly to start with? Is there

[Zope] ZServer Statistics

2000-07-21 Thread Demos Economacos
Is there way to determine how many (and which)pages ZServer serves? I am running ZServer as my primary server. What kind of statistics should I be looking for? For example should I be concerned about how long it takes to load pages, and how long users stay on a specific page etc? I am new to w

RE: [Zope] ZBabel performance??

2000-07-21 Thread Albert Langer
Wow! >From 1) to 2) - both you and Zope DELIVER 1) "I can look at adding caching into ZBabel, but, it's not high on my priority list at the moment... I'm currently pounding the bricks. I'll try to make time over the weekend to have a look (I may be able to use the Zope Machinery to do the cachin

Re: [Zope] Zope and Mac

2000-07-21 Thread Phil Harris
Peter, If you mean that IE renames the file to xxx.ar instaed of xxx.tar.gz then all you have to do is rename it after you have downloaded and all will be well. hth Phil - Original Message - From: "Peter Bengtsson" <[EMAIL PROTECTED]> To: "Tom Scheidt" <[EMAIL PROTECTED]> Cc: <[EMAIL P

[Zope] RE: [ Zope] ZCatalog & dynamic sites

2000-07-21 Thread Corey Zimmet
Write a brains class that you would call to catalog and uncatalog insert/update/delete ZSQLmethods: For example: class MyObject: """ Some arbitrary object - MyObjectID - the id of your object MyCatalog - the catalog you want to use to index the sql

Re: [Zope] Zope and Mac

2000-07-21 Thread Tom Scheidt
Thanks for your help. It seems to download an uncompress fine. It's alos showing up in the Zope management interface, but I get this when I look at the product in the Product Management Folder: Traceback (innermost last): File "/usr/local/Zope-2.1.5-src/lib/python/OFS/Application.py", line 395

[Zope] Zope with Apache

2000-07-21 Thread James W. Howe
We are running Zope behind an Apache server. We've got things configured so that it mostly works. However, we noticed that the "breadcrumbs" list at the top of a workspace screen doesn't work correctly. For example, if I'm looking at the object /Foo/Bar/Baz, the list of items in the breadcr

[Zope] Catalog contains items, but no results

2000-07-21 Thread ed colmar
Hmmm, more catalog strangeness.. I've finally gotten my product to add objects to a catalog correctly (with the correct URL) Whee! On my 2.2 development machine all appears fine, but on the 2.1.6 production server all searches come back with no results. When I look in "cataloged objects" in

Re: [Zope] Zope and Mac

2000-07-21 Thread Peter Bengtsson
Have had similar problems, but not on Mac, but on Windows98. My problem has been that IE saves files from zope.org with a different extension than that show on the Products page. This has caused archives to be incomplete, hence broken products. If you download a xxx.tar.gz, make sure it's called

Re: [Zope] Datebug?

2000-07-21 Thread Erich Seifert
Hi Peter, I had the same problem. The fmt tag outputs GMT time but the methods of DateTime, i.e. day(), month(), year(), etc. do not. So I used them. Peter Arvidsson wrote: > > Forgot to say that... I run 2.2 final :/ > > Chris Withers skrev: > > > Peter Arvidsson wrote: > > > It cant really

RE: [Zope] Zope-killer: zSQL method that crashes Zope

2000-07-21 Thread Chris McDonough
If you haven't added your problems to the Collector on Zope.org, it would be very good to do so... it doesn't seem that anybody from the community is coming up with a fix and a lot of folks from DC out at the O'Reilly open source convention... putting this in the Collector ensures that it'll get a

[Zope] Zope and Mac

2000-07-21 Thread Tom Scheidt
Hi, I'm having problems installing products from a Macintosh. I downloaded them onto my hard drive and uncompressed the .tgz files with Stuffit Expander. I then FTPed them with Fetch to my server, then restarted Zope. The products were listed in the Product Management folder, but they had broken

Re: [Zope] Zope-killer: zSQL method that crashes Zope

2000-07-21 Thread Daniel Rusch
If it matters to anyone, Andy isn't the only one with Zope killing ZSQL Methods I just spent way too much time trying to figure out why our stage enviroment was crashing. Turns out to be a ZSQL method which fails. Of course it wasn't wrapped in a try/except . Oh well, so much for standards...

RE: [Zope] ZCatalog & dynamic sites

2000-07-21 Thread Chris McDonough
Dimitris, Yes, ZCatalog cannot index methods which require call arguments. Pages generated from SQL data either use "brains" of SQL methods or squery string arguments of a DTML method, and therefore need to be passed arguments and cannot be cataloged. -Original Message- From: [EMAIL PR

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread Shane Hathaway
[EMAIL PROTECTED] wrote: > Perhaps you can suggest a simple way to do something like the following: > > > > > > > This is probably the best you're going to get. :-) Shane ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.

Re: [Zope] zzLocale 0-0-3a released on Zope Japan

2000-07-21 Thread Peter Bengtsson
IN SWEDISH - ABOUT SWEDISH Finns det ett intresse av fler an mig att jobba med detta? Om, det gor det, hur manga blir vi, och hur ska vi lagga upp arbetet? Smidigast vore ju att ge deltagare access till .dtml filer, med version'ing, pa en och samma server. Syftet ar nog mest att skriva om sidor

[Zope] ZUBB/Ztree permission problem

2000-07-21 Thread Riku Voipio
Unless the ZDiscussion object has Anonymous/access information permission, nobody, including manager and owner, can't access the The Zdiscussion which has any content. running ZDiscussions-0.3.2 on Zope 2.1.6-5 Debian/Frozen. traceback follows: Traceback (innermost last): File /usr/lib/zo

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread andres
Thanks guys, > > Replace the whole mess with:- > > > > missing> -- Andres Corrada-Emmanuel Email: [EMAIL PROTECTED] -- ___ Zope maillist

Re: [Zope] ZEO

2000-07-21 Thread Martijn Pieters
On Fri, Jul 21, 2000 at 12:46:11PM +0200, Sven Hohage wrote: > is the filesize of the Zope Storage Server also limited to 2 GB? If you are running on a default Linux filesystem, the answer is yes. ZODB FileStorage isn't limited to 2GB, it's the filesystem that can't handle larger files that is t

Re: [Zope] all DTML Methods of current folder and subfolder

2000-07-21 Thread George Donnelly
sorry to butt-in on this thread :^) how can i get the contents of sub-folders as well? i tried ZopeFind but i am just getting errors. thanks Regards, GEORGE DONNELLY [EMAIL PROTECTED] http://cyklotron.com/ The first precondition of self-esteem is that radiant selfishness of soul which desires

Re: [Zope] ZEO and a front end...

2000-07-21 Thread Toby Dickenson
On Wed, 19 Jul 2000 10:07:30 -0600, Bill Anderson <[EMAIL PROTECTED]> wrote: >Toby Dickenson wrote: >> >> On Tue, 18 Jul 2000 16:08:48 -0600, Bill Anderson <[EMAIL PROTECTED]> >> wrote: >> >> >> I might be reading more into his words than was intended, but I think >> >> this demonstrates the pr

[Zope] ZEO

2000-07-21 Thread Sven Hohage
Hallo, is the filesize of the Zope Storage Server also limited to 2 GB? Thanks ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related l

Re: [Zope] all DTML Methods of current folder and subfolder

2000-07-21 Thread Gerard Metrailler Jr.
Hello, At 07:21 21.07.2000 +, Wolfgang Klinger wrote: >I have a dtml method in a folder which should >display all "document_title"s of all >"DTML Method"s in the current folder and >all sub folders! > >(should work as navigation frame) > >How can I do that? > >I tried > >where "Info" is the c

[Zope] Re: [Zope-dev] Datebug?

2000-07-21 Thread Peter Arvidsson
> > > try this: > > "> > > I think it's a round problem with the float representation of the date. > > martin Since it is adding 24 hours there is not enough to add 0.5 to the date. I could add 1 to the date but then I would get other problems on my site which is not good. I have reported the bug

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread Chris Withers
There ya go: cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce http://lists.zope.org/m

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread Andrew Kenneth Milton
+[ [EMAIL PROTECTED] ]- | | Perhaps you can suggest a simple way to do something like the following: | | | | | | | Replace the whole mess with:- -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The

[Zope] zzLocale 0-0-3a released on Zope Japan

2000-07-21 Thread Yves-Eric Martin
Hi Zopistas, This is the second alpha release of zzLocale, a Zope locale support Product. zzLocale provides a framework for Zope interface internationalization (Zope and Products management screens). The localization is done on a per request basis, which allows developers from diffe

Re: [Zope] second step (many of You are going to laungh ;-)

2000-07-21 Thread Peter Bengtsson
Use the QuickStart tutorial included in the Zope. Or. Go back to zope.org and download various tutorials A really useful thing to do, is to understand how Zope is built and what you can do with it. There are lots of good article links on the .org site. - Original Message - From: Vincent <

[Zope] (XML-RPC) Calling Database.manage_pack

2000-07-21 Thread Oleg Broytmann
Hello! I wrote a simple script to pack Data.fs on a regular basis. It is very simple, actually, just urllib.urllretrieve("http://my.zope/Control_Panel/Database/manage_pack?days:float=3") (a little bit harder than that, but I did it) Now I am trying to achieve the same with XML-RPC. No

Re: [Zope] Entity syntax and 2.2

2000-07-21 Thread andres
On Fri, Jul 21, 2000 at 10:05:08AM +0100, Chris Withers wrote: > [EMAIL PROTECTED] wrote: > > > > And how about: > > > > &dtml.missing-REQUEST.form['foo']; > > over my dead body! ;-) > > I thought the point of the entity syntax was to keep it simple... which > including python expressions does

RE: [Zope] URL quoting in python

2000-07-21 Thread Duncan Booth
> I often create an external method for this... > > em: > > def url_quote(s): >import urllib >return urllib.quote_plus(s, safe='') > > Silly, but it works. > > I think the alternative is to hack the DT_Util.py module in the > DocumentTemplate directory to expose urllib or a derived f

Re: [Zope] Datebug?

2000-07-21 Thread Peter Arvidsson
Forgot to say that... I run 2.2 final :/ Chris Withers skrev: > Peter Arvidsson wrote: > > It cant really be a timezone issue because it is decreasing the date by > > 24 hours and I only live 1 hour from GMT. The date on my computer and > > the server are correct. Does someone knows why this hap

Re: [Zope] Enitity syntax and 2.2

2000-07-21 Thread Chris Withers
[EMAIL PROTECTED] wrote: > > And how about: > > &dtml.missing-REQUEST.form['foo']; over my dead body! ;-) I thought the point of the entity syntax was to keep it simple... which including python expressions does not... cheers, Chris ___ Zope maill

Re: [Zope] Datebug?

2000-07-21 Thread Chris Withers
Peter Arvidsson wrote: > It cant really be a timezone issue because it is decreasing the date by > 24 hours and I only live 1 hour from GMT. The date on my computer and > the server are correct. Does someone knows why this happens when I use > "fmt" or is this a DateTime bug? It could be one of a

Re: [Zope] all DTML Methods of current folder and subfolder

2000-07-21 Thread Chris Withers
Wolfgang Klinger wrote: > I tried > > where "Info" is the current folder where the > method itself is stored > but that didn't work ... :-( In what way didn't it work? (Please include any tracebacks,etc...) cheers, Chris ___ Zope maillist - [EMAI

Re: [Zope] Is there a function which evaluate a python expression situated in a string variable ?

2000-07-21 Thread Tino Wildenhain
Hi Frederic, Frederic QUIN wrote: > > Hi all, > > I have a string variable "expres" which contains a python expression. > I would like to do but > Zope raises an error. expres is considered as a string and is not > interpreted by Zope. So I wonder if there is a function which evaluate the > py

[Zope] a very simple question

2000-07-21 Thread pbiot
        Sorry for this question, but I want to understand a DTML example which is in the DTML.pdf The sendmail example oblige to put the different variables on : - the variables subject and body are supplied from the FeedbackForm -  the variables support and feedback are supplied from Folder pr

Re: [Zope] Display the icon of a meta_type

2000-07-21 Thread Gerard Metrailler Jr.
Hello, At 22:42 20.07.2000 +, Maik Roeder wrote: > > I am using a ZCatalog object on my site. When I do a query, I want the > > results do display the meta_type of the document found with it's icon. >I've > > seen that on Zope.org and loved this idea... the only problem is that it >is > > a m

[Zope] Datebug?

2000-07-21 Thread Peter Arvidsson
I have encountered a strange and irritating problem. As I live in Sweden we use timezone 'GMT+1'. I have a form like this: And when I press submit I come to this page: The input field are correctly displaying the date (in GMT+1) but when I submit the form and use the "fmt" the date is

Re: [Zope] Broken products in 2.2 - bug?

2000-07-21 Thread Peter Arvidsson
Unfortunately I deleted the product and then made an equal product (after that it worked) so I cant tell if this was a bug. I'll let someone else who has the same problems try it. Peter Dieter Maurer skrev: > Peter Arvidsson writes: > > The strange thing is that the product itself is not brok

[Zope] all DTML Methods of current folder and subfolder

2000-07-21 Thread Wolfgang Klinger
Hi! I have a dtml method in a folder which should display all "document_title"s of all "DTML Method"s in the current folder and all sub folders! (should work as navigation frame) How can I do that? I tried where "Info" is the current folder where the method itself is stored but that didn't