[Zope] SQLSession Problem

2000-05-22 Thread wai
Hi All, I'm using zope 2.1.6 with apache server on NT platform. and I had a problem with SQLSession. I tried to put in the '_force_new_session' flag whenever I called a session, so I can have a fresh SessionID. But I always got a error return with a message "TypeError". So I wonder if this is t

[Zope] How to change object with variable ?

2000-05-22 Thread calvin33
My script :     How to change "C" with another variable "V" which is an object like imae or file ?

[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

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.

[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 ftp'ing

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 Managemen

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

[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

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

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 Then, if that list is non-empty, I format as many entries from it as I need -- in this

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

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

2000-05-22 Thread Andrew Kenneth Milton
+[ Graham Chiu ]- | | > | > | > | > | > | > | > | >This works for me. | | This code is in the index_html of the same folder containing the | tinytables. It doesn't work for me unless I specify the folder as in | | thisfolder.o

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

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 the

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_sit

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 c

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

2000-05-22 Thread Dr. Ross Lazarus
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 worth peeking at what I've done bec

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

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 spl

[Zope] Re: [Mailman-Users] Zope + Apache + Mailman

2000-05-22 Thread Jim Hebert
At the risk of posting something embarrassingly broken, here's what Works For Us: ;-) (My mailer propably will wrap some of these lines. Your paths will be different. Yadda Yadda.) RewriteEngine on RewriteRule ^/static/(.*) /home/httpd/html/$1 [l] #RewriteRule ^/images/(.*) /home

[Zope] Q; Date / ZCatalog / Search

2000-05-22 Thread Jørgen Skogstad
Kindest sir, I have a small question I hope someone could share some wisdom with. I am not that familiar with the various objects available within the Zope framework yet. .. I have made a ZCatalog which works seamlessly for text only searches etc. However; I need to search on a date basis on th

[Zope] LocalFS Question

2000-05-22 Thread Jim Sanford
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. They will not run with the CR/LFs replaced with LFs.

Re: [Zope] uploading a batch of files

2000-05-22 Thread Dieter Maurer
Jonathan Park writes: > I need to upload a batch of files into the zope database, what would be the > best way FTP, mput? More difficult: a Python script generating appropriate HTTP Post requests Dieter ___ Zope maillist - [EMAIL PROTECTED] htt

Re: [Zope] Calling External Method...

2000-05-22 Thread Dieter Maurer
Eric L. Walstad writes: > I am trying to invoke a C++ program from an external method. Platform is > Linux. The C++ program returns HTML. Note that the Python function is > working properly from the Python command line; That is, > ExecCGI.xCGI("./websim") outputs all the expected html. I h

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

Re: [Zope] DTML Document size limit?

2000-05-22 Thread J. Atwood
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 limit to a DTML Document,

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 w

[Zope] dtml-in Tag problem

2000-05-22 Thread Tom Scheidt
Related Stories gives me an error that says: "list index out of range" The related_stories property contains: King Kong website^www.kong.com Empire State Building Website^www.empirestate.com It worked at first but when I made any changes to other properties it gave me that

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 > > > > > > > >This works for me. This code is in the index_html of the same folder containing the tinytables. It doesn't work for me unless I spec

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 an

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. Unfort

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: >> >> >> >> >> > >Is this code in a DTML document or method? > >> I would like to print out the title attribute of the tiny table now, but >> >

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 Thursday

[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] 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] 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 - [E

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

2000-05-22 Thread Steve Alexander
[EMAIL PROTECTED] wrote: > > 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 tru

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, I

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] 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: > > > You may have to change the string.split if the subdomain is important. ~ethan ___ Zope maillist - [EMA

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

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

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 >

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 ZWi

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

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 kn

Re: [Zope] ZClass acting up?

2000-05-22 Thread Erik Enge
"Kevin Dangoor" <[EMAIL PROTECTED]> writes: > You're correct, there is no way to select a ZClass that is the child of > another in the subobject list. (It is assumed to be available). Yeah, but what you should probably do is to make the top ZClass one of the base classes (but do not add it along

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

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 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] Broken ZWiki

2000-05-22 Thread Evan Simpson
- Original Message - From: Jason Cunliffe <[EMAIL PROTECTED]> > - 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

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 d

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

2000-05-22 Thread Jason Spisak
Dr. Ross Lazarus writes: Have you guys seen MetaPublisher?! http://hive.beehive.de/Beehive/www.beehive.de/Zope/MetaPublisher/ A very strong offering in this direction. > I think the general idea of automating html generation for data entry > web forms is a very > good one, but IMHO it's heroic

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 /z2.py for this. Enter your username/password

Re: [Zope] ZClass acting up?

2000-05-22 Thread Morten W. Petersen
> 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 (=) > My apologies, seems I forgot to speak in english: Tried it, and it worked. Looks like a Debian specific problem again, *cough,cough* ;). Serious

[Zope] Ann: Free Zope hosting from NIP

2000-05-22 Thread Simon Coles
Hi, New Information Paradigms Ltd (NIP) is proud to announce Free Zope Hosting as one of the three new Zope hosting options it is now providing. These options are briefly described below, please see http://www.nipltd.net/ for full details. Free Zope Hosting - This hosting option

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.c

[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] Win98 and WEBDAV - you ought to see it if you can

2000-05-22 Thread Rik Hoekstra
>When I try to "Add a Web Folder" on Win98 I get a 404 error on the resource >_vti_bin both on my own web sites and on www.zope.org. Any idea why or what >is _vti_bin? > Yes, it is (one of the) the dreaded Frontpage extension(s). Why you would get it and someone else wouldn't ... I don't know.

[Zope] Re: Zope.org feedback

2000-05-22 Thread Chris Withers
Neil Burnett wrote: > I have downloaded and imported it, restarted Zope and created a new > ZWikiWeb object, but all the ZDocuments report that they are broken. > My Zope is 2.1.6 and has no other products installed. (I use NT) ^

[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! ** (R

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

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] http://lis

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

2000-05-22 Thread Loren Stafford
When I try to "Add a Web Folder" on Win98 I get a 404 error on the resource _vti_bin both on my own web sites and on www.zope.org. Any idea why or what is _vti_bin? -- Loren - Original Message - From: Paul Browning <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: May 21, 2000 10:41 PM S

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] 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 p

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

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 t

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

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., rewrit

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

2000-05-22 Thread Chris Withers
Graham Chiu wrote: > > > > > Is this code in a DTML document or method? > I would like to print out the title attribute of the tiny table now, but > > > > chokes on title with an attribute error. What's wrong with just ? cheers, Chris __

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. | | | | | | | | doesn't do anything. Clues? I don't think you need the []'s

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

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

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

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

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 web

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

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

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

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

2000-05-22 Thread Geir Bækholt
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> GC> GC> GC> GC> GC> doesn't do anything. Clues? [snip] perhaps (untested) would work ?? -- Geir Bækholt web

[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. doesn't do anything. Clues? - -- Regards, Graham Chiu gchiucompkarori.co.nz http://www.compkarori.co.nz/index.php Powered b

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

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 schem

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 (surname,search_name,initials,

[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 (0.

Re: [Zope] Zope log rotation

2000-05-22 Thread Duncan Booth
> Dear All: > > Quick question about Zope admin. > Can zope automatically rotate its access log? Thanks. Edit z2.py. Change the line: lg = logger.file_logger(LOG_PATH) to: lg = logger.rotating_file_logger(LOG_PATH, freq='daily', maxsize=400) You can use 'daily', 'weekly' or 'mon

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

Re: [Zope] Deleting folder-like objects.

2000-05-22 Thread Bill Anderson
Chris Withers wrote: > > John Morton wrote: > > 1) You can delete them with the same practiced easy as any other object, > > along with everything in it. No 'Are you sure you want to shoot yourself > > in the foot' dialogs, or anything. (How hard to implement with > > manage_beforeDelete?) > > R

Re: [Zope] Netscape Image Problems

2000-05-22 Thread Bill Anderson
[EMAIL PROTECTED] wrote: > > I just noticed something strange..it is only doing it when you are inside > a Portal (ptk)...very strange.. Are the URLs to the images relative or absolute? I am wondering if you are seeing a combination of aquisition and relative image URLs. ISTR s

Re: [Zope] ZMysqlDA

2000-05-22 Thread Phil Harris
Brenton, What version of MySQL are you using? Later versions have changed slightly and you need to edit MySQLmodule.c to compensate. I think if you remove the '&' in the lines mentioned in the error message it should work ok, well it did for me. hth Phil [EMAIL PROTECTED] - Original Mess

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

Re: [Zope] FYI: Documentation

2000-05-22 Thread Chris Withers
Paul Everitt wrote: > 1) Can somebody out there _please_ send in a graphic to replace the help > button? What's wrong with using the button that's there now? I don't see the point of adding to the bandwidth burden by replacing it with a graphic (some of us have to work through slow dialup sometim

Re: [Zope] Deleting folder-like objects.

2000-05-22 Thread Chris Withers
John Morton wrote: > 1) You can delete them with the same practiced easy as any other object, > along with everything in it. No 'Are you sure you want to shoot yourself > in the foot' dialogs, or anything. (How hard to implement with > manage_beforeDelete?) Remember that Zope has an 'Undo' button

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

[Zope] Deleting folder-like objects.

2000-05-22 Thread John Morton
After a few experiments, I've observed a couple of things about deleting folder-like objects: 1) You can delete them with the same practiced easy as any other object, along with everything in it. No 'Are you sure you want to shoot yourself in the foot' dialogs, or anything. (How hard to implement

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