Re: [Zope] Netscape Image Problems

2000-05-22 Thread john
I just noticed something strange..it is only doing it when you are inside a Portal (ptk)...very strange.. j At 12:45 AM 5/22/00 -0500, you wrote: I'm experiencing the same thing with Navigator 4.08 on NT4 against Zope 2.1.6 from Debian "potato". Disabling Navigator's cache

[Zope] ZMysqlDA

2000-05-22 Thread Brenton Bills
Hi people, I am trying to get ZMysqlDA running on a 4.0 Release BSD machine, I have compiled this fine before on Linux but no luck on bsd. I am new to Bsd so if this is a bsd problem I appolagise in advance, but the ZMysqlda documentation is not clear on what libs are required. Python 1.5.2

[Zope] Zope + Apache + Mailman

2000-05-22 Thread pehr anderson
Dear Mailmen, I've been studying this all weekend and finally, *finally* understood enough to get it to work. I wanted to proxypass both sites into zope, however I needed access to CGI scripts and images to run mailman. I had to find the appropriate rewrite rule to allow this to work. The

Re: [Zope] ZMysqlDA

2000-05-22 Thread Andrew Kenneth Milton
+[ Brenton Bills ]- | | Hi people, I am trying to get ZMysqlDA running on a 4.0 Release BSD | machine, I have compiled this fine before on Linux but no luck on bsd. I | am new to Bsd so if this is a bsd problem I appolagise in advance, but the |

Re: [Zope] Deleting folder-like objects.

2000-05-22 Thread Chris Withers
Bill Anderson wrote: 2) Deleting a folder effectively removes everything under it (well, you [snip] catalog (leaving a nasty mess behind them...) Yeah, that can be annoying. Is there is any reason for it? Chris ___ Zope maillist - [EMAIL

[Zope] SQLSession users - who's using what DB?

2000-05-22 Thread Anthony Baxter
A short survey for SQLSession users out there: What database are you using for SQLSession? If you're using Gadfly, are you using the base64oneline encoding, or have you patched your gadfly install? I plan to stop supporting anything but the base64 encoding method in the next release

Re: [Zope] Zope Pgsql 7.0/SQL Schema HeLp!

2000-05-22 Thread Richard Moon
Here is a ZSQL Method (called insert_author) which inserts into a PostgreSQL table which has a serial column called author_id. Arguments surname search_name initials known_name user_id notes Query Template -- insert into author

Re: [Zope] SQLSession users - who's using what DB?

2000-05-22 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], Anthony Baxter [EMAIL PROTECTED] writes A short survey for SQLSession users out there: What database are you using for SQLSession? Interbase. Also - how many people would be upset if the default table schema was

[Zope] ZClass acting up?

2000-05-22 Thread Erik Enge
Hi, I have discovered this extremely irritating "feature" with ZClasses. Sorry for this long and rather ugly explanation, but I don't know what the problem is, so it has to be like this: Add test_product product in Control Panel - Product Management In test_product: Add a

[Zope] how do you iterate over tiny tables?

2000-05-22 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I have a folder full of Tiny Tables. I would like to go over each table, and iterate thru their contents. dtml-in "objectValues(['TinyTable'])" dtml-in sequence-item dtml-var valuebr /dtml-in /dtml-in doesn't do anything. Clues? - --

Re: [Zope] Deleting folder-like objects.

2000-05-22 Thread Bill Anderson
Chris Withers wrote: Bill Anderson wrote: 2) Deleting a folder effectively removes everything under it (well, you [snip] catalog (leaving a nasty mess behind them...) Yeah, that can be annoying. Is there is any reason for it? Chris None I can think of off hand...

[Zope] ZMySQLDA and dtml-in (bug?)

2000-05-22 Thread Morten W. Petersen
When I use an ZSQL method to fetch data, the manage test tab gives a result of 14 items. When the same method is used in a dtml-in tag, with batches of size 10, it only shows the first 10 items, with no "Show next x missions". It previously showed "Show next 4 missions", but after altering 10 of

Re: [Zope] SQLSession users - who's using what DB?

2000-05-22 Thread Bill Anderson
Anthony Baxter wrote: A short survey for SQLSession users out there: What database are you using for SQLSession? Getting ready, will be using postgres it appears ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Win98 and WEBDAV - you ought to see it if you can

2000-05-22 Thread Wolfgang Strobl
On 22 May 2000, 6:41 Paul Browning wrote: Question: If WEBDAV works so well under Win98 does it also work just as well under Win2K? Perhaps someone who will admit to using Win2K can confirm this? It might even motivate me to upgrade from NT . I'm using Win2000 at work. Opening a webdav

[Zope] ZCatalog SQL Content?

2000-05-22 Thread Oliver Wrede
I was trying to figure out, how to use ZCatalog to index text in databases. I access articles in the following way: http://mysite/23/article The "23" is used as an Record ID for the ZSQL Query to get the content of the article from the database. This is done with the SiteAccess product.

Re: [Zope] Apache mod_rewrite module...

2000-05-22 Thread Pierre Rougier
My URL references to Apache example: http://margo.pla.fr/intra/machin.html and I want to use httpd.conf to transform it (only for html and htm files) in http://margo.pla.fr/intra/?machin.html (which is my ZServer) Does someone know the rewrite I sould use regular

Re: [Zope] how do you iterate over tiny tables?

2000-05-22 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], Geir BXkholt [EMAIL PROTECTED] writes on Monday, May 22, 2000 Graham Chiu wrote : [snip] GC I have a folder full of Tiny Tables. I would like to go over each GC table, and iterate thru their contents. GC dtml-in

[Zope] Re: Zope log rotation

2000-05-22 Thread Frank Tegtmeyer
I use logrotate on Linux for this. Unfortunately I have to use the before and after config options to stop zserver before and restart it after -- otherwise zserver just keeps appending to the old log. If you log to a pipe you can use any mechanism you like without bothering Zserver. I use

Re: [Zope] how do you iterate over tiny tables?

2000-05-22 Thread Andrew Kenneth Milton
+[ Graham Chiu ]- | | | I have a folder full of Tiny Tables. I would like to go over each | table, and iterate thru their contents. | | dtml-in "objectValues(['TinyTable'])" | dtml-in sequence-item | dtml-var valuebr | /dtml-in |

Re: [Zope] how do you iterate over tiny tables?

2000-05-22 Thread Chris Withers
Graham Chiu wrote: dtml-in "thisdirectory.objectValues(['TinyTable'])" dtml-in sequence-item dtml-var valuebr /dtml-in /dtml-in Is this code in a DTML document or method? I would like to print out the title attribute of the tiny table now, but dtml-var

Re: [Zope] Apache mod_rewrite module...

2000-05-22 Thread Peter Sabaini
you might want to use apaches proxy module in conjunction with mod_rewrite. from the docs of mod_rewrite (http://www.apache.org/docs/mod/mod_rewrite.html): """ proxy|P' (force proxy) This flag forces the substitution part to be internally forced as a proxy request and immediately (i.e.,

Re: [Zope] ZClass acting up?

2000-05-22 Thread Kevin Dangoor
- Original Message - From: "Erik Enge" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, May 22, 2000 7:36 AM Subject: [Zope] ZClass acting up? Hi, I have discovered this extremely irritating "feature" with ZClasses. Sorry for this long and rather ugly explanation, but I don't

Re: [Zope] ZClass acting up?

2000-05-22 Thread Erik Enge
"Kevin Dangoor" [EMAIL PROTECTED] writes: This seems like odd behavior to me. Did you check your Subobjects tab to make sure that the appropriate subobjects are still selected? There is no way to select a Z Class that is a child of another Z Class in the subobject list. Should I be able to

Re: [Zope] Broken ZWiki

2000-05-22 Thread Jason Cunliffe
- Original Message - At 15:16 18/05/2000 +0100, Tom Smith wrote: when I install ZWiki Product, the FrontPage, HelpPage etc are all brokendoes it rely on another class being present? Tom - Did you get this sorted? I have the same problem. - Neil ...same problem here :-( -Jason

Re: [Zope] Generate edito form from dtmlDocument : property type

2000-05-22 Thread Jason Spisak
Sin Hang Kin writes: I wrote a small how-to on form wizards. http://www.zope.org/Members/jspisak/wizard_keys Hello, I have the method form_dtmlDocument which generate the data entry form from an existing dtmldocument, How can I determine the type of the properties? Moreover, if the

Re: [Zope] Zope.org membership

2000-05-22 Thread mindlace
Graham Chiu wrote: Can it be changed so that it remembers both my userid and password, or just my password? I usually remember who I am! This is certainly true. Unfortunately, Microsoft has made it so that anyone with a modicum of javascript skills can read *all* your cookies (if you use

Re: [Zope] ZClass acting up?

2000-05-22 Thread Morten W. Petersen
Did you try it at your installation? With the same result? Prøvde det, og det funka. Ser ut til at det er problemer med Debian igjen, *host,host* ;). Seriøst, funker helt fint her. -Morten (=) ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] ZClass acting up?

2000-05-22 Thread Kevin Dangoor
- Original Message - From: "Erik Enge" [EMAIL PROTECTED] To: "Kevin Dangoor" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, May 22, 2000 12:08 PM Subject: Re: [Zope] ZClass acting up? "Kevin Dangoor" [EMAIL PROTECTED] writes: This seems like odd behavior to me. Did you check

[Zope] uploading a batch of files

2000-05-22 Thread Jonathan Park
I need to upload a batch of files into the zope database, what would be the best way thanks :) -jon Have a great day!!! ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! **

[Zope] Zope tutorial

2000-05-22 Thread Chris Herrnberger
Accessing the tutorial gives me a keyboard error and url not found error. Cookies are turned on as indicated in the list archive as a possible source for errors. The examples are all installed with the product and appear in the management screen. No idea what Im doing wrong. Any insights would be

Re: [Zope] FYI: Latest gem appears in CVS

2000-05-22 Thread Jason Spisak
Paul Everitt wrote: Howdy folks. As mentioned previously, a gem is ready to appear in CVS: mountable databases. Awe darn. And I was just going to add to my worthless MultipleSimultaneouStorage Wiki. Chant for the Gladiator... Jim, Jim, Jim Exstaticly, Jason Spisak CIO HireTechs.com

Re: [Zope] uploading a batch of files

2000-05-22 Thread Rik Hoekstra
I need to upload a batch of files into the zope database, what would be the best way thanks :) What about ftp? Zope comes with a built-in ftp server. Point your favorite ftp client to your server. Don't forget to set the right port - see zopehome/z2.py for this. Enter your

RE: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread john
Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... If you hit reload it breaks the images on the root level, if you put your cursor in the Location, or URL field and hit enter it reloads fine. I truly don't understand this problem and it only

Re: [Zope] Zclass inheritence

2000-05-22 Thread Chris McDonough
OK, I've found that this may be a bug. You can't subclass ZClasses across products. Sorry. I have no "esimated time to resolution" for this either. For now, you should be able to create a subclass of STX_Document inside the product to which it belongs and work from there. John Morton wrote:

Re: [Zope] ZClass acting up?

2000-05-22 Thread Erik Enge
"Morten W. Petersen" [EMAIL PROTECTED] writes: Prøvde det, og det funka. Ser ut til at det er problemer med Debian igjen, *host,host* ;). Jeg bruker Red Hat 6.2 akkurat nå. Seriøst, funker helt fint her. Hm. Og du fulgte samme prosedyre? Da må jeg nok ringe deg :) -- Erik Enge

Re: [Zope] ZClass acting up?

2000-05-22 Thread Erik Enge
"Morten W. Petersen" [EMAIL PROTECTED] writes: My apologies, seems I forgot to speak in english: So did I.. *smuck!* Tried it, and it worked. Looks like a Debian specific problem again, *cough,cough* ;). Yeah, you think? I use Red Hat at the moment. Seriously, worked fine here. And you

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Chris Withers
[EMAIL PROTECTED] wrote: Well I have determined that it has nothing to do with PTK or Login Manager, well I think anyway... I would agree as I've experienced this exact same problem with Netscape 3.04 and my Squishdot site at http://www.bay-c.co.uk cheers, Chris PS: I'd love to know

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread john
O.K If you just load the document in a Netscape Browseryou get the imagethen when you hit reload you get a Zope error message that says: Zope Error Zope has encountered an error while publishing this resource. Error Type: OverflowError Error Value:

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Chris Withers
Jon Delheimer wrote: Checking the Z2.log file shows that Zope is returning a 500 status code (Internal Server Error) when the broken images appear. That's not good :( That means something is causing the requests to go astray. Can you see what the requested object is compared with the URL

Re: [Zope] Broken ZWiki

2000-05-22 Thread Chris Withers
Jason Cunliffe wrote: when I install ZWiki Product, the FrontPage, HelpPage etc are all brokendoes it rely on another class being present? ZWikiWeb Either see Evan's post or read: http://www.zope.org/Members/chrisw/ZWikiWeb/install ...particularly the bit about ZWikiWeb requiring ZWiki

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Shane Hathaway
John, Add the following lines just before line 186 of image.py and tell us what comes out on the console (not your browser, but the console--assuming the console is visible). print header print DateTime(header) print DateTime(header).timeTime() Shane [EMAIL PROTECTED] wrote: O.K

[Zope] Zope.org tracker

2000-05-22 Thread mindlace
Zopistas! There is now a zope.org tracker at http://www.zope.org/Tracker for bugs and feature requests for Zope.org. If there's anything that's been driving you nuts about the zope.org website, or something you'd just like to see, please feel free to add it to the Tracker! Thanks, ethan

Re: [Zope] Apache mod_rewrite module...

2000-05-22 Thread mindlace
Pierre Rougier wrote: The problem is that by doing that, as in the HTML pages, paths are relatives, the redirection change all the relative address to the port 8080 (because the final served URL is on this port), and I want my Images to be served by apache What I think you need to do

Re: [Zope] Apache mod_rewrite module...

2000-05-22 Thread mindlace
mindlace wrote: What I think you need to do is use SiteAccess so that it strips out the port. You can use an access rule like so: dtml-let basename="_.string.join(_.string.split(HTTP_HOST, ':')[-2:-1])" dtml-call "REQUEST.set('SiteRootBASE','http://'+basename)" /dtml-let You may have

Re: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread john
Shane, Nope the console is not visible, couldn't even log in. j At 02:23 PM 5/22/00 -0400, you wrote: John, Add the following lines just before line 186 of image.py and tell us what comes out on the console (not your browser, but the console--assuming the console is visible).

Re: [Zope] Zope Pgsql 7.0/SQL Schema HeLp!

2000-05-22 Thread ozric
--snip-- I got help from one of our DBA's today here is what I was missing. This in not in Bruce's Book. INSERT INTO address (per_id,street_num,city,state,zip) SELECT per_id,'$3','$4','$5','$6' FROM person WHERE last = '$1' AND first = '$2'; $1-6 will be supplied by user input from Zope,

[Zope] Executing an external program

2000-05-22 Thread Mabe, Brad
Is there a way for zope to call an external program (exe, batch file, etc.) and have it execute on the server? I have several home grown utilities on my server that I would like to access/execute via the browser. -=Brad=- ___ Zope maillist -

Re: [Zope] Executing an external program

2000-05-22 Thread Chris McDonough
Brad, look into external methods. There is a howto on the zope.org website at http://www.zope.org/Documentation/How-To/ExternalMethods You'll need to know some Python, probably most importantly read about the os module's "popen" method at http://www.python.org/doc/current/lib/os-newstreams.html

[Zope] DTML Document size limit?

2000-05-22 Thread Andrew Diller
I can't get a DTML Document to be bigger than about 105k. Is there a size limit to a DTML Document, and if so, how big? 105k isn't that large. -andy diller ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

RE: [Zope] Netscape Image Problems (LoginManager?)

2000-05-22 Thread Jon Delheimer
Shane, I made the changes you suggested to Image.py. Here are the results: Thursday, 11-May-00 16:21:32 GMT 1900/05/11 16:21:31 GMT -2197697908.0 Sunday, 14-May-00 04:03:14 GMT 1900/05/14 04:03:14 GMT -2197483006.0 Thursday, 11-May-00 15:53:50 GMT 1900/05/11 15:53:50 GMT -2197699570.0

Re: [Zope] how do you iterate over tiny tables?

2000-05-22 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], Chris Withers [EMAIL PROTECTED] writes Graham Chiu wrote: dtml-in "thisdirectory.objectValues(['TinyTable'])" dtml-in sequence-item dtml-var valuebr /dtml-in /dtml-in Is this code in a DTML document or

Re: [Zope] Zope.org membership

2000-05-22 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], mindlace [EMAIL PROTECTED] writes Graham Chiu wrote: Can it be changed so that it remembers both my userid and password, or just my password? I usually remember who I am! This is certainly true. Unfortunately,

RE: [Zope] Executing an external program

2000-05-22 Thread Eric L. Walstad
Hi Brad, I'm working on this now, too. Here's what I've got so far: --Start Python Module-- import sys, os, string def rn(): """ docstring """ f = os.popen("/usr/local/Zope/Extensions/a.out") lines = f.readlines() status = f.close() if status: "There was

Re: [Zope] Executing an external program

2000-05-22 Thread Jonothan Farr
Note that it works from the Python command line, but not from a Zope external method. I'm still trying to figure out why it is failing from within Zope (anybody have an idea?). How does it 'not work' from an external method? --jfarr "Perl is worse than Python because people wanted it

Re: [Zope] DTML Document size limit?

2000-05-22 Thread Shane Hathaway
"J. Atwood" wrote: I have built them to over 200K... J From: [EMAIL PROTECTED] (Andrew Diller) Date: Mon, 22 May 2000 16:09:16 -0400 To: [EMAIL PROTECTED] Subject: [Zope] DTML Document size limit? I can't get a DTML Document to be bigger than about 105k. Is there a size

Re: [Zope] dtml-in Tag problem

2000-05-22 Thread Jim Sanford
A traceback is always helpful and would have been useful. Is it possible that there is a 3rd, empty item, or an item with no ^, in "related_stories"? An empty item when split would return only 1 subitem and your code is assuming you will always have two. A test for the ^ in the item before

Re: [Zope] LocalFS Question

2000-05-22 Thread Jonothan Farr
Does anyone out there know how I can prevent LocalFS from translating CR/LF pairs in a text file to LFs when serving up the file? Or will I need to "massage" it in Zope before sending it? In this case the files are Windows/DOS batch files. It sounds like the files have unix endlines on

Re: [Zope] Q; Date / ZCatalog / Search

2000-05-22 Thread J. Atwood
I too have not been able to get this to work... anyone to help... please? J From: Jørgen Skogstad [EMAIL PROTECTED] Date: Tue, 23 May 2000 00:25:22 +0200 To: [EMAIL PROTECTED] Subject: [Zope] Q; Date / ZCatalog / Search Kindest sir, I have a small question I hope someone could share

Re: [Zope] uploading a batch of files

2000-05-22 Thread R. David Murray
On Mon, 22 May 2000, Dieter Maurer wrote: FTP, mput? More difficult: a Python script generating appropriate HTTP Post requests An equally difficult alternative to b: a temporary python external method that creates file objects and reads the content from the file system. Perhaps the load_site

Re: [Zope] uploading a batch of files

2000-05-22 Thread Jim Sanford
This could be implemented in javascript. After using a form to get a list of files to upload, use javascript to launch a new window that would be used to programatically upload the files one at a time. When each upload finishes the reply from the server would include javascript code to notify

Re: [Zope] RE: Generate edito form from dtmlDocument : property type

2000-05-22 Thread Jason Spisak
Dr. Ross Lazarus writes: Yes, it's definitely a very interesting product and goes a long way toward what I was thinking about. It's a step toward what could be a killer app for zope I think - most web developers would kill for an open source through the web RAD tool. I still think it's

Re: [Zope] how do you iterate over tiny tables?

2000-05-22 Thread Andrew Kenneth Milton
+[ Graham Chiu ]- | | dtml-in "objectValues('TinyTable')" | dtml-var titlebr | dtml-in sequence-item | dtml-var valuebr | /dtml-in | /dtml-in | | This works for me. | | This code is in the index_html of the same folder

Re: [Zope] uploading a batch of files

2000-05-22 Thread Jonothan Farr
There's an external method that loads a batch of files from the local machine into the zope database. I've got a copy if you're interested, since I can't seem to find it on the site anymore. --jfarr "Perl is worse than Python because people wanted it worse." Larry Wall, 14 Oct 1998 -

Re: [Zope] Q; Date / ZCatalog / Search

2000-05-22 Thread Loren Stafford
For an events database, I catalog properties "startdate" and "enddate" of type "date" as field indexes; then I search it in two steps: First create a temporary list of events that meet the date criteria dtml-call "REQUEST.set('NewsEventsList',[])" dtml-in "NewsEventCat(meta_type='News Event',

[Zope] Portuguese Zope Portal

2000-05-22 Thread Hugo Ramos
Yellow, Portuguese Zope Portal Finally open The first portuguese Zope portal is finally online but still alpha. ZopersORG is online... but why so soon, you may ask?? because everybody was flooding our mailbox asking for it to be online!! So we've decided to go online with a limited number of

[Zope] Re[2]: [Zope] Deleting folder-like objects.

2000-05-22 Thread John Morton
On Mon, 22 May 2000 04:54:26 -0600 you wrote: [Deleteing folderlike objects doesn't invoke manage_beforeDelete for it's children] Yeah, that can be annoying. Is there is any reason for it? None I can think of off hand... Right. I'm going to consider it a bug and submit

Re: [Zope] Zope.org membership

2000-05-22 Thread mindlace
Graham Chiu wrote: I went there, clicked on the buttons, and got DNS errors. This link should show you all the cookies you have at www.zope.org: http://www.securityspace.com%2fexploit%2fexploit_1b.html%3fdomain==.www.zope.org/#exploit_1 Well, you only have to save one half of a pair. I

Re: [Zope] ZClass acting up?

2000-05-22 Thread Tres Seaver
Erik Enge [EMAIL PROTECTED] asked: I have discovered this extremely irritating "feature" with ZClasses. Sorry for this long and rather ugly explanation, but I don't know what the problem is, so it has to be like this: Add test_product product in Control Panel - Product Management

[Zope] Updating one data.fs from another

2000-05-22 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I do development on my site on my notebook, and then rather than overwriting my production data.fs, I then manually make the changes to the production data.fs by create/cut/paste from my development data.fs which is all very painful. I tried

Re: [Zope] Zope.org membership

2000-05-22 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], mindlace [EMAIL PROTECTED] writes This link should show you all the cookies you have at www.zope.org: http://www.securityspace.com%2fexploit%2fexploit_1b.html%3fdomain==.www.zope.org /#exploit_1 Interesting. I run a

[Zope] does this app exist?

2000-05-22 Thread paul beard
We're considering using zope to handle some internal groupware-type functions, with WorldPilot as the base. What we need is the true Outlook killer: scheduling. Any word on this as a feature to WorldPilot or hints on how hard this would be implement? By scheduling, I mean the notion of creating

[Zope] How to change object with variable ?

2000-05-22 Thread calvin33
My script : dtml-call "A.B.C.manage_addProperty(D,E,F)" How to change "C" with another variable "V" which is an object like imae or file ?

Re: [Zope] how do you iterate over tiny tables?

2000-05-22 Thread Graham Chiu
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 In article [EMAIL PROTECTED], Andrew Kenneth Milton [EMAIL PROTECTED] writes dtml-in "objectValues('TinyTable')" dtml-var titlebr dtml-in sequence-item dtml-var valuebr /dtml-in /dtml-in This works for me. This code is in the

Re: [Zope-dev] Re: Superuser ownership (was Adding LoginManager at the root)

2000-05-22 Thread Chris Withers
Robin Becker wrote: [stuff about 2.2] You can't create any objects except User Objects as the superuser. Create a manager, re-login as that manager and then add yoru objects. Can't speak for TinyTables but make sure the Anonymous role has the 'access TinyTables contents' permission. A lot of

[Zope-dev] catlogged specialist and rack

2000-05-22 Thread Jephte CLAIN
Hello, for those who are in a need for search and enumeration capabilities for specialist and racks in ZPatterns-0.3.0 right now like I am, the following could be interesting. Searchable.py defines: CatalogAwareAttributeProvider, CatalogAwareAcquiredAttributeProvider

[Zope-dev] Re: Superuser ownership (was Adding LoginManager at the root)

2000-05-22 Thread Robin Becker
In article [EMAIL PROTECTED], Chris Withers [EMAIL PROTECTED] writes Robin Becker wrote: [stuff about 2.2] You can't create any objects except User Objects as the superuser. Create a manager, re-login as that manager and then add yoru objects. Can't speak for TinyTables but make sure the

[Zope-dev] Q1: ZCatalog Search Expressions

2000-05-22 Thread Chris Withers
Hi, I've read the Interfaces Wiki and other bits of documentation I could fidn and still haev a coupla questions: 1. Is there any way to build complex queries for ZCatalogs? I saw mention of a QueryObject but it's not documented anywhere that I could find. The current method of putting stuff

[Zope-dev] Q2: ZCatalog Intelligent Objects

2000-05-22 Thread Chris Withers
Hi, Here's the second question: 2. I've seen various mentions of that fact that objects being catalogued can be intelligent about what gets catalogued, for example: stripping out HTML, but where can I find out how to produce an object that does this? Does it make a difference if it's a

Re: [Zope-dev] Re: Superuser ownership (was Adding LoginManager at the root)

2000-05-22 Thread Chris Withers
Robin Becker wrote: What kind of idiotic permissions model is this where God cannot create anything? What is the function of the super user if not to manage? The super user is not god, that was seen to be an insecure thing. The super user is a facilitator for creating god... ;-) Seems to be

Re: [Zope-dev] Q2: ZCatalog Intelligent Objects

2000-05-22 Thread Steve Alexander
Chris Withers wrote: 2. I've seen various mentions of that fact that objects being catalogued can be intelligent about what gets catalogued, for example: stripping out HTML, but where can I find out how to produce an object that does this? deletia This could make a hacky-workaround for

[Zope-dev] how to download a entire ZWiki site?

2000-05-22 Thread Jephte CLAIN
Hello, Where I work, I do not have access to the internet, and as such, I have to move software and docs back and forth to my office. I understand that it is better for collaborative work to use ZWikis, but I wonder, how do I download the entire site to view it offline??? ok this is not really

Re: [Zope-dev] Re: Superuser ownership (was Adding LoginManager at the root)

2000-05-22 Thread Chris Withers
Robin Becker wrote: What steps should I try to allow my currently unowned documents/tinytables to be made accessible. When I press the change ownership button I get a help browser with an error message in the content frame. That sounds like a 2.2 bug to me... oh well... it is Alpha so fair

Re: [Zope-dev] Q2: ZCatalog Intelligent Objects

2000-05-22 Thread Chris Withers
Steve Alexander wrote: In PTK, PortalContent-derived classes have the method def SearchableText(self): "text for indexing" So, if I get this correctly, Catalog will index both attributes and methods(that have only the self argument?) with the same name as an index? If so, then

Re: [Zope-dev] Re: Superuser ownership (was Adding LoginManager at the root)

2000-05-22 Thread Bill Anderson
Robin Becker wrote: In article [EMAIL PROTECTED], Chris Withers [EMAIL PROTECTED] writes ... Might help if you said what problems you were experiencing... ... I already did. I cannot use the preexisting database tinytables. Following your suggestion I can create God, and then having

Re: [Zope-dev] how to download a entire ZWiki site?

2000-05-22 Thread Chris Withers
Jephte CLAIN wrote: Hello, Where I work, I do not have access to the internet, and as such, I have to move software and docs back and forth to my office. I understand that it is better for collaborative work to use ZWikis, but I wonder, how do I download the entire site to view it

Re: [Zope-dev] Q2: ZCatalog Intelligent Objects

2000-05-22 Thread Steve Alexander
Chris Withers wrote: Steve Alexander wrote: In PTK, PortalContent-derived classes have the method def SearchableText(self): "text for indexing" So, if I get this correctly, Catalog will index both attributes and methods(that have only the self argument?) with the same name

Re: [Zope-dev] 2.2.0a1 won't work with query objects

2000-05-22 Thread T.J. Mannos
Kyler B. Laird ([EMAIL PROTECTED]) posted a quick n' dirty fix on the Zope mailing list. I'll include it here for convenience: -- snip -- After beating on this over the last day or so trying to understand what was happening at the Web interface level (thinking that I must have just screwed up

Re: [Zope-dev] ZPatterns Wiki updated

2000-05-22 Thread Phillip J. Eby
At 03:29 PM 5/22/00 +0300, Itamar Shtull-Trauring wrote: "Phillip J. Eby" wrote: FYI, the ZPatterns Wiki at: http://www.zope.org/Members/pje/Wikis/ZPatterns/ Ooh, this is cool stuff. At what version would it be resonable to start implementing software using ZPatterns? It depends on what

Re: [Zope-dev] ZPatterns framework improvements

2000-05-22 Thread Tres Seaver
"Phillip J. Eby" wrote: At 03:51 PM 5/21/00 -0400, Tres Seaver wrote: This is really just the classic Observer pattern, a la GoF Design Patterns. "ObjectAdded" and "ObjectRemoved" are events a "RackObserver" would register for; "AfterCreate", "Changed", and "BeforeDestroy" are events

Re: [Zope-dev] Documentation?

2000-05-22 Thread Michel Pelletier
Chris Withers wrote: Hi, I'm trying to get a grip of the ins and outs of the following classes, where should I look? -IOBTree (and the other IO* classes) The BTree classes implement the Python mapping interface. They are quite easy to use. There are three kinds: Object to Object

Re: [Zope-dev] Zope 2.1.6 Memory issue

2000-05-22 Thread Shane Hathaway
Jason, Try /Control_Panel/manage_debug ... it will tell you exactly which kinds of objects are eating memory. Take a "snapshot" then refresh the page after a couple of minutes, and the table should list at the top the name of the class that's taking up more than its fair share. Shane Jason

Re: [Zope-dev] Subclassing LoginManager

2000-05-22 Thread Dan L. Pierson
Phillip J. Eby writes: LoginManager will behave just like your outline, if you give it a BasicCookie LoginMethod, and a BasicAuth LoginMethod, in that order. LoginManager does not climb up the acquisition hierarchy, as that is properly the province of ZPublisher to do. It will provide

Re: [Zope-Dev] Zope 2.1.6 Memory issue

2000-05-22 Thread Jason Spisak
Shane Hathaway writes: I had to restart Zope. I was about to start swapping, and now everyone's a lunch. It's so weird. Even though there is really no one on it that memory is just flying out the window. Jason Spisak wrote: Shane Hathaway writes: Okay, here's the output. (BTW is

Re: [Zope-Dev] Zope 2.1.6 Memory issue

2000-05-22 Thread Jason Spisak
Shane Hathaway writes: Go to Control Panel - Database Management - Flush Cache and click "minimize". Then go to Control Panel - Database Management - Cache Parameters. After a minimize operation, the "Total number of objects in all of the caches combined" should be relatively low (

[Zope-dev] Memory 2.1.1

2000-05-22 Thread Jason Spisak
Shane: Holy cripe! I just saw a huge drop (half the available mem) and went to the Undo tab to see what was going on. The last transaction was my /Control_Panel/Database/manage_cache_age. Then I went to the manage_debug and my DateTime.DateTime.DateTime is DateTime.DateTime.DateTime 2460

Re: [Zope-Dev] Zope 2.1.6 Memory issue

2000-05-22 Thread R. David Murray
On Mon, 22 May 2000, Jason Spisak wrote: i did it again, and now I'm down to 160 objects total. That's more liek it. But system memory is still dropping. I was at 173632 available (This is only a half our after the Zope restart BTW. It ate 100MB in under that time.) before the second pass

Re: [Zope-Dev] Zope 2.1.6 Memory issue

2000-05-22 Thread Jason Spisak
Shane Hathaway writes: Jason Spisak wrote: You must have a large site. 300,000 + objects Whoa... ;-) Tell me, what are you doing with 300K objects? Shane After being up for about a half-hour my objects reading are: Total number of objects in the database 300280 Total number

Re: [Zope-dev] Please HELP: Nested ZClass, Nested instance

2000-05-22 Thread Rik Hoekstra
snip First part is to create the parent object, which works just fine. But the sencond part to create the child object doesn't seem to work. If I take the easy way, that is, creating othere ZClass on the top of the products folder of Control Panel, I can do it. But I don't think it is a good

Re: [Zope-dev] Subclassing LoginManager

2000-05-22 Thread Dan L. Pierson
Never mind. I found the bug of mine. I now hope to get a PTK/LoginManager patch out tomorrow. ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML encoding! ** (Related lists -

[Zope-dev] Re: Zope 2.1.6 Memory issue

2000-05-22 Thread Jason Spisak
David Kankiewicz writes: Jason Spisak wrote: After being up for about a half-hour my objects reading are: Total number of objects in the database 300280 Total number of objects in all of the caches combined 150995 Is this typical? Half? I doubt it. My target size is about

  1   2   >