RE: [Zope-dev] Calling rendered objects from a product

2000-06-15 Thread Dr. Ross Lazarus
More than one way to skin that particular cat I'll warrant. here's one cut from a heavily used external method to render a zope dynamic page to a disk file. import Globals ... o = getattr(self,thingtorender) rendered_doc = o(client=o,REQUEST=REQUEST,globals=globals()) ...

[Zope-dev] Zope vs. .... missing features

2000-06-15 Thread Thomas Weholt
Hi, Have anybody compared Zope to Roxen? Midgard? Or similar products? I saw Roxen had document revision system, a thing I "reported missing" earlier in this list. It also had full support for XML 1.0 and XSLT 1.0 or at least that`s what they claimed. These two features should be stuffed into

Re: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Shane Hathaway
"Phillip J. Eby" wrote: At 01:58 PM 6/15/00 +1000, Stuart 'Zen' Bishop wrote: Its not a problem with ZScheduler, it a problem that no one has written a plug-in logging system that is good enough for what you are trying to do. The existing zLOG API is fine (well - it could be better), but

Re: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Phillip J. Eby
At 12:42 PM 6/15/00 -0400, Shane Hathaway wrote: Agreed; I see this as by far the best approach. It's a tried and true pattern. Not only that, but it gives you extremely fine-grained control over what you do and don't log. And, if the other events like adds and deletes on folders are in

RE: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Loren Stafford
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Stuart 'Zen' Bishop Sent: Wednesday, June 14, 2000 20:58 To: Loren Stafford On Wed, 14 Jun 2000, Loren Stafford wrote: I need some advise for designing a flexible system for logging the

RE: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Loren Stafford
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Phillip J. Eby Sent: Wednesday, June 14, 2000 21:21 To: [EMAIL PROTECTED]; Loren Stafford At 01:58 PM 6/15/00 +1000, Stuart 'Zen' Bishop wrote: Its not a problem with ZScheduler, it a problem that

RE: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Stuart 'Zen' Bishop
On Thu, 15 Jun 2000, Loren Stafford wrote: It would be a good idea if there was a field in the ZEvent that defined the subsystem used in the zLOG call. I didn't follow your point here. By "subsytem" do you mean which logger in the loggers tuple? Then do you mean that different ZEvents

RE: [Zope-dev] Observable and ZPatterns (was Logging for ZScheduler?)

2000-06-15 Thread Phillip J. Eby
At 01:40 PM 6/15/00 -0700, Loren Stafford wrote: Where is Observer-Observable in the development plan? ZPatterns 0.4? -- Loren No. 0.4 is targeted for 2.1.6 compatibility, and Observable will require Zope 2.2's new Traverse features. Also, 0.4 is due out tomorrow and I'm way behind on

Re: [Zope-dev] Logging for ZScheduler?

2000-06-15 Thread Kevin Dangoor
- Original Message - From: "Loren Stafford" [EMAIL PROTECTED] To: "Phillip J. Eby" [EMAIL PROTECTED]; [EMAIL PROTECTED]; "Loren Stafford" [EMAIL PROTECTED] Cc: "zope-dev" [EMAIL PROTECTED] Sent: Thursday, June 15, 2000 4:40 PM Subject: RE: [Zope-dev] Logging for ZScheduler? Cool! Then

Re: [Zope-dev] Zope vs. .... missing features

2000-06-15 Thread Martijn Faassen
Thomas Weholt wrote: Have anybody compared Zope to Roxen? Midgard? Or similar products? I saw Roxen had document revision system, a thing I "reported missing" earlier in this list. While Zope may not have that, it does have versions and undo. More version control facilities would indeed be

Re: [Zope-dev] Zope ...2.1.7 update - patches for MailHost

2000-06-15 Thread Adam Karpierz
Patches for MailHost product for Zope 2.1.7 begin 666 __init__.py.patch M*BHJ(%]?:6YI=%]?+G!Y+F]R9PEFD@07!R(#(Q(#$P.C$Q.C$Q(#(P,# * M+2TM(%]?:6YI=%]?+G!Y"49R:2!*=6X@,38@,#,Z-#DZ,#4@,C P, HJ*BHJ M*BHJ*BHJ*BHJ*BH**BHJ(#$P,2PQ,#4@*BHJ*@H@(" @(" @(" @*0H@(" @ M(" I"B @"BT@("

Re: [Zope] zope-web issues was: (Re: [Zope] How do you search Tiny Tables?)

2000-06-15 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], ethan mindlace fremen [EMAIL PROTECTED] writes Graham Chiu wrote: There is a TinyTables+ product, but da***ed if I can find it thru the search mechanism on www.zope.com Graham, I'm trying to get the search engine

Re: [Zope] SuperCannotOwn

2000-06-15 Thread Bill Anderson
"Hellekin O. Wolf" wrote: ... La suite... Hello people ! I just installed a fresh v2.2.0b1 and bumped into some annoying problem. As the security model seems to have been changed, the superuser cannot own anything. That means we now need to install a new user with management

Re: [Zope] Version Paradox

2000-06-15 Thread Cornelis J. de Brabander
I've inadvertently created a version paradox. I created a version and joined it, then I realized that I did a stupid naming mistake I tried to UNDO the creation of the version. It allowed me to undo the creation of the version, however I was in the version at the time, and now I am stuck in

[Zope] fingding problem in using ZCatalog

2000-06-15 Thread P Chandra Sekhar
Hi Everybody... I'm trying with ZCatalog. I've installed it properly and after creating one ZCatalog object, when I'm trying to click on it, it is asking for user name and password even though I'm super user for the Zope. It is showing the problem as unauthorized. I didn't get the point what I

[Zope] Virtual hosts: How to make proper intra-site URL's?

2000-06-15 Thread Rob W. W. Hooft
I have set up a site: www.site In this site, there are a few virtual hosts: www.host1 -- www.site/Host1 www.host2 -- www.site/Host2 Thanks to a nice access rule, both the left and right names can be used to refer to the information. So far so good. In www.site/Host1 I have define

[Zope] private Z Classes

2000-06-15 Thread Armin Wappenschmidt
Hi all, I'm trying to create a product with a Z Class (call it Z_Super) that contains other (private) Z Classes (call them Z_Subs). Creating Z_Super is no problem, but creating Z_Sub in Z_Super gives me the following traceback: Traceback (innermost last): File

[Zope] SQL snippet...

2000-06-15 Thread Tony McDonald
Here's a quickie. If you're using MySQL and return integers, you'll see L added to the end of your numbers (it's a Python thing!) Try this dtml-var result fmt="%u" et volia!, no L added to the end of your numbers... Ithangyu. Tone. -- Dr Tony McDonald, FMCC, Networked Learning

Re: [Zope] private Z Classes

2000-06-15 Thread Shalabh Chaturvedi
Hi Could it be the infamous "Resouce Not Found" bug? The following link has information about the bug and how to work around it. http://www.zope.org/Members/gtk/containers HTH, Shalabh - Original Message - From: Armin Wappenschmidt [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [Zope] Simple tabular data. Do I need SQL?

2000-06-15 Thread Rik Hoekstra
On my web site, I have made a "News" page. The "News" items themselves are listed as a "lines"-property named "Items" on the News folder: date1;text1 date2;text2 ... They are accessed in a dtml-method: dtml-var standard_html_header h2dtml-var title/h2 DL dtml-in Items

Re: [Zope] Virtual hosts: How to make proper intra-site URL's?

2000-06-15 Thread Rik Hoekstra
Thanks to a nice access rule, both the left and right names can be used to refer to the information. So far so good. I have not been able to produce this effect using either BASE0..N or URL0..N. Help? You probably need the SiteAccess product by Evan Simpson to do this. It is at

Re: [Zope] private Z Classes

2000-06-15 Thread Armin Wappenschmidt
Shalabh Chaturvedi wrote: Hi Could it be the infamous "Resouce Not Found" bug? The following link has information about the bug and how to work around it. http://www.zope.org/Members/gtk/containers Yes - that's it! Thanks! armin :) -- Armin Wappenschmidt - Consultant Engineer

[Zope] Living dangerously - lost objects re-appear after database packing

2000-06-15 Thread Paul Browning
Hi - I don't recall any mention of this sort of experience before so I thought I'd share it and would be interested in reactions. Yesterday around 18:30 (BST) two Linux boxes of mine which both run Zope re-booted - as they sit next to each other on the same electrical supply I've assuming

[Zope] sorry just testing list

2000-06-15 Thread jholland
___ 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/mailman/listinfo/zope-dev )

Re: [Zope] Virtual hosts: How to make proper intra-site URL's?

2000-06-15 Thread Evan Simpson
- Original Message - From: Rob W. W. Hooft [EMAIL PROTECTED] I have set up a site: www.site In this site, there are a few virtual hosts: www.host1 -- www.site/Host1 www.host2 -- www.site/Host2 Thanks to a nice access rule, both the left and right names can be used to

Re: [Zope] problem with PTK and LoginManager

2000-06-15 Thread Tino Wildenhain
Hi, Tim Lynch wrote: Hi, I can't seem to get PTK to install. When I put both PTKBase and PTKDemo in the Products directory, PTKBase is OK, but PTKDemo is 'broken'. The traceback is: This is already mentioned in the Install-Document on the download-page. (in short: you have to restart

[Zope] GUF broken with Zope 2.2 beta 1?

2000-06-15 Thread Tom Schwaller
The Generic User Folder (GUF) Product seems broken with the new beta relaese. Has anybody the same problem? I use a kind of thing modelled after http://www.zope.org/Members/hippy/GUF_SQL_crypt_1_2 I imported the folder from an older installation, but the underlying Zope-API which GUF uses

[Zope] DCOracle source examples...

2000-06-15 Thread Juan Jose Garcia Garcia
Hello... How can I get real DCOracle source examples ?? Many, many thanks... -- - Juan Jose Garcia INFORMATICA EL CORTE INGLES S.A. Departamento de Desarrollo de Plataformas Sectoriales Laboratorio StoreFlow Avda. de

Re: [Zope] Virtual hosts: How to make proper intra-site URL's?

2000-06-15 Thread Rob W. W. Hooft
"ES" == Evan Simpson [EMAIL PROTECTED] writes: ES - Original Message - From: Rob W. W. Hooft ES [EMAIL PROTECTED] I have set up a site: www.site In this site, there are a few virtual hosts: www.host1 -- www.site/Host1 www.host2 -- www.site/Host2 Thanks to a nice

[Zope] PCGI application Question?

2000-06-15 Thread kwan
Hi: In the way of PCGI work. PCGI Wrapper sends request to PCGI Application throught INET port. This is what mention on ZAG document. However, it also has a note said that the PCGI Wrapper is capable of launching the PCGI application, if it is not currently running My problem is, how to found

[Zope] Mozilla for mgmt

2000-06-15 Thread jholland
Has anyone besides me had trouble using Mozilla to manage Zope ie access the control panel via log in? This is on Windows yes I know it doesn't matter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

Re: [Zope] Importing data

2000-06-15 Thread Oleg Broytmann
On Thu, 15 Jun 2000, J. Michael Mc Kay wrote: I have a Data.fs file from a previous instal of Zope. How can import parts of that data base to a current data.fs? Just copy it in place. Data.fs files are compatible across 2.0+ versions, across different OSes and even different

[Zope] indexing sub-objects?

2000-06-15 Thread Philipp Dunkel
Hi all, I have simple question: Is it possible to story properties of zclass's subobjects together with the zclass? TIA * Philipp DunkelICQ# 60149094 * * zReal Productions* * meet me at DALNet chan #phidu

Re: [Zope] Importing data

2000-06-15 Thread J. Michael Mc Kay
Well, I meant that I have some products w/ data setup in the new .fs. If I copy the old over then I loose what I am currently working on. - Original Message - From: J. Michael Mc Kay To: [EMAIL PROTECTED] Sent: Thursday, June 15, 2000 12:26 PM Subject: [Zope]

Re: [Zope] Importing data

2000-06-15 Thread Chris McDonough
Have you tried pushing the 'Export' button in the management interface? -- Chris McDonough Digital Creations Publishers of Zope - http://www.zope.org ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

Re:[Zope] Importing data

2000-06-15 Thread Jim Washington
Please, no HTML posts. I crashed Netscape Mail twice trying to reply. Thanks. But to answer, exporting and importing works just fine if you want to copy parts of an existing zope site. It even works recursively, so if you want to export an entire folder of stuff (or Squishdot site) with

[Zope] Difference between dtml-myvar; and dtml-var myvar

2000-06-15 Thread Hung Jung Lu
This has been something that I've never been very careful about. Until I got bitten in generating a JavaScript. What is the difference between dtml-var myvar and dtml-myvar; ? I have noticed some differences before, but I don't remember the details, now. I guess one of them mangles

[Zope] LocalFS cross platform bug

2000-06-15 Thread Dan L. Pierson
If you upload from a browser on a Windows machine to a server running on Linux, the id (and thus the file name) of the new file will be the complete Windows path instead of just the file name. This happens because os.basename on Linux doesn't know how to handle Windows pathname syntax. Here's a

Re: [Zope] left(string, n) equivalent (newbie q.)

2000-06-15 Thread Luis Cortes
You should be able to use python's slice like so: dtml-if "word[:4] == 'help'" ... where "word" is the variable you want to use only 4 characters of. Hope this helps, bye. - Original Message - From: joel grimes [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 15, 2000

[Zope] Zope security alert and 2.1.7 update [*important*]

2000-06-15 Thread Brian Lloyd
Hello all, We have recently become aware of an important security issue that affects all released Zope versions including the recent 2.2 beta 1 release. The issue involves an inadequately protected method in one of the base classes in the DocumentTemplate package that could allow the

Re: [Zope] Containment or context

2000-06-15 Thread Evan Simpson
I have paraphrased your example at http://www.zope.org/Wikis/zope-dev/AcquisitionFeedback We are considering providing some way for you to acquire properties in the way you expected. You can read more about this in the pages connected to the AcquisitionFeedback page. - Original Message

[Zope] Catalog Aware ZClass

2000-06-15 Thread Scott Burton
Hello fellow Zopists, I want to create a catalog aware Zclass. I would like to include some specific indexable metadata when creating an instance of that object. So when I add an instance of that object it asks me for some information that gets indexed by ZCatalog to be searched later on. I have

[Zope] Re: virtual hosts: SUCCESS!

2000-06-15 Thread Alexander N Gould
Never mind the last message. A typo in the vhosts dtml method was the culprit, combined with my near total ignorance of Python which prevented me from spotting it. Change line 5 from dtml-if "_[hostname]" to dtml-if "[hostname]" That does it! Thanks! -- Building highways to reduce

[Zope] Zope 2.1.5/6/7 ZSQLMethods problem

2000-06-15 Thread Ron Bickers
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brian Lloyd Sent: Thursday, June 15, 2000 5:26 PM To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: [Zope] Zope security alert and 2.1.7 update [*important*] A Zope 2.1.7

Re: [Zope] left(string, n) equivalent (newbie q.)

2000-06-15 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article 000901bfd712$42628800$[EMAIL PROTECTED], Luis Cortes [EMAIL PROTECTED] writes You should be able to use python's slice like so: dtml-if "word[:4] == 'help'" ... where "word" is the variable you want to use only 4 characters of. Hope

[Zope] left(string) equivalent

2000-06-15 Thread joel grimes
I should have given a little more detail. I have an odbc connection and a zsqlmethod that work fine when the zsqlmethod says: select description, datein from san_jose But I just want the first 4 characters of the description field. So I've tried: select substring(description, 1, 4), datein

[Zope] sql and zope-2.2

2000-06-15 Thread Bak @ kedai
hi all, i managed to upgrade my site from 2.1.6 to 2.2b1 with no problems (thanks Brian) but now, something else cropped up. what used to work on my 2.1.6 doesn't anymore. following are the sql snippets and tracebacks --show_subtree_index dtml-in "qry_msg_thread(_.None,_,par_id=obj_id)" font

Re: [Zope] Zope 2.1.5/6/7 ZSQLMethods problem

2000-06-15 Thread Martijn Pieters
On Thu, Jun 15, 2000 at 07:42:04PM -0400, Ron Bickers wrote: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Brian Lloyd Sent: Thursday, June 15, 2000 5:26 PM To: '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]'; '[EMAIL PROTECTED]' Subject: [Zope]