Re: [Zope] subfolder wrong absolute_url

2000-05-18 Thread Steve Alexander
Ulrich Wisser wrote: The path is used by the browser, not Zope. IE and Netscape will store your login/password to send it with every GET request which is in the path, e.g.: authenticate on / - path is / - all request will be with auth info authenticate on /sub - path is /

Re: [Zope] Zope 2.2.0a1 permission problems

2000-05-18 Thread Kyler B. Laird
I just installed release 2.2.0a1 on a glibc Linux box, but I keep getting a permission problem when accessing a database query. I have encountered the same problem using ZOracleDA under SPARC Solaris. File /data/www/Zope/Zope-2.2.0a1-src/lib/python/DocumentTemplate/DT_In.py, line 602, in

[Zope] Broken ZWiki

2000-05-18 Thread Tom Smith
when I install ZWiki Product, the FrontPage, HelpPage etc are all brokendoes it rely on another class being present? cheers tom [EMAIL PROTECTED] [EMAIL PROTECTED] http://www.dmrl.com http://www.OTHERmedia.com

Re: [Zope] Cache

2000-05-18 Thread Dr. Peer Griebel
Jonothan Farr wrote: How can I disable the browser cache in my zope documents ? One thing you can do is set the 'Expires' header like so: dtml-call "RESPONSE.setHeader('Expires', _.DateTime().rfc822())" This works using Netscape. But for IE I had to use: dtml-call

RE: [Zope] Cache

2000-05-18 Thread Mabe, Brad
Does this work in IE5? I'm using similar META tags which work for IE4 and Netscape but don't work in IE5. -=Brad=- -Original Message- From: Dr. Peer Griebel [mailto:[EMAIL PROTECTED]] Sent: Thursday, May 18, 2000 10:32 AM To: [EMAIL PROTECTED] Subject: Re: [Zope] Cache

Re: [Zope] ZWiki RecentChanges problem with 2.1.6

2000-05-18 Thread Chris Withers
Chris Withers wrote: [snip rubbish ;-)] This actually isn't the case, someone had just helpfully turned off 'Access Contents Information' higher up the tree... Doh! Chris ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] ZSQL-Methods: last inserted id

2000-05-18 Thread Ron Bickers
You can get a ZSQLMethod that's used for inserting to return the last inserted ID by doing the following: INSERT ...whatever... dtml-var sql_delimiter SELECT LAST_INSERT_ID() AS newid You get the results as you would with any ZSQLMethod: dtml-in my_zsql_method Inserted ID: dtml-var

RE: [Zope] Newbie: MS Access ODBC connection strings

2000-05-18 Thread michael angelo ruberto
i had a similar problem recently. my access DB was not showing up in the data sources list until i deleted the ODBC connection from windows control panel and recreated it - i guess i messed up the first time. make sure your DB shows up in the "User Data Sources" list in the ODBC Data Source

RE: [Zope] listmate + CSV problem

2000-05-18 Thread michael angelo ruberto
hi, Heiko it works! i had to replace all whitespaces in column names with under_scores. it's the whitespace that created a problem. now i have to enter "NULL" in all the empty cells to make the table line up properly -( but this is not your fault, it's mine. i think many people in my company are

[Zope] Zope Product tools.

2000-05-18 Thread Jerry Spicklemire
Bryan Patrick Coleman asked: I was wondering if there were any products for the following Genre's configuration managment, Project managment, bug tracking, cvs browsing etc for Code / Bug Tracking check out : http://www.zope.org/Members/klm/TrackerWiki/FrontPage

Re: [Zope] how do you pronounce 'ZOPE'?

2000-05-18 Thread Chris McDonough
At DC, we pronounce it J-I-M F-U-L-T-O-N. :-) But some people pronounce it like "soap" with a Z instead of an S at the beginning. Stephen Nosal wrote: Folks - Just a recurring question around the office, is there an official pronunciation for 'ZOPE'? - Steve

RE: [Zope] zsql method??/

2000-05-18 Thread Eric L. Walstad
Oops, I forgot to mention that the CONV function is used in your ZSQL method. Here's the ZSQL Method I use (returns upcoming birthdays falling within this, and the next, month): SELECT FirstName, LastName, MONTH(Birthday) AS Month, DAYOFMONTH(Birthday)AS Day, DATE_FORMAT(Birthday, '%M %D, %Y')

[Zope] Limits on text posting

2000-05-18 Thread Carlos A. Carnero Delgado
Hello again, zopistas! Actually, this is not directly related to Zope, but I just wanted to know. I have a simple form with a textarea, exactly, how much text fits in a text area? I mean, is there an upper limit to the number of characters the end user can type in the textarea? -- [ c a r l o s

[Zope] Local File System

2000-05-18 Thread Tom Scheidt
Hi and thanks, I want to view images in a local fs on a web page so i have: dtml-with images dtml-in images start=0 size=50 orphan=0 reverse img src="dtml-var "(THE IMAGE ID'S)""br /dtml-in /dtml-with I've read that I can get the filenames as id's by using getObject, but I can't seem to

Re: [Zope] Zope and PHP

2000-05-18 Thread andres
On Thu, May 18, 2000 at 12:13:51PM -0400, Chris Herrnberger wrote: Greetings, In discussions with friends the question came up is zope compatible with php, specifically if zope is run through apache. Check out one way to integrate PHP output within Zope at:

Re: [Zope] Zope and PHP

2000-05-18 Thread Chris Herrnberger
On Thu, 18 May 2000, [EMAIL PROTECTED] wrote: On Thu, May 18, 2000 at 12:13:51PM -0400, Chris Herrnberger wrote: Greetings, In discussions with friends the question came up is zope compatible with php, specifically if zope is run through apache. Check out one way to integrate PHP

Re: [Zope] Some examples of DTML scripts ?

2000-05-19 Thread Cornelis J. de Brabander
go to http://www.zope.org and click on the 'dtml source' link at the bottom of every page cb -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [EMAIL PROTECTED] Aan: [EMAIL PROTECTED] [EMAIL PROTECTED] Datum: vrijdag 19 mei 2000 11:55 Onderwerp: [Zope] Some examples of DTML scripts ? Hi,

[Zope] Zope log rotation

2000-05-19 Thread Dan L. Pierson
Chien-pin Wang writes: Dear All: Quick question about Zope admin. Can zope automatically rotate its access log? Thanks. 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

Re: [Zope] gotcha for zope on solaris2.7 - make sure you use pthreads.

2000-05-19 Thread Anthony Baxter
Let's see: network lookups would fail, sometimes, strangely, signals would be delivered to _all_ children (not just the one that had installed a signal handler) -- so if you had an external method that popen'd another program, when the SIGCHLD came in, it would kill the mainloop. The signals

Re: [Zope] help with rpms on RedHat6.2

2000-05-19 Thread Chris McDonough
Peter, A step-by-step guide to installing Zope is available at http://www.zope.org/Members/mcdonc/HowTos/zopeinstall/ZOPE-INSTALL-HOWTO Peter Halliday wrote: I am developer who really loves python, and want to start using it to develop my web applications. I run Apache 1.3 on a Red Hat 6.2

Re: [Zope] SiteAccess smashes 'REQUEST.resolve_url(...)' in DTML ?

2000-05-19 Thread Martin Grönemeyer
i have some strange problmes by using the "REQUEST.resolve_url('http://mydomain/...')" in DTML if SiteAccess is active. I have also some Sites in use without SiteAccess and no problems with the above method. Tell me more about the problem, please. SiteAccess replaces REQUEST.traverse, which

Re: [Zope] Representing rows from a ZSQL method

2000-05-19 Thread J. Atwood
Good and bad news.. There is no real "product" to do this.. but it is not at all hard to do with Zope tools.. For example: -Displaying an order on the web with the order header (consisting of the client name, address, ZIP, etc.) and the order lines with the products to purchase. This is a

[Zope] Zope SQL Database Connection

2000-05-19 Thread joel grimes
Beginner Question I'm trying to add a database connection to a site (my first one). I tried adding a SQL Method and am told I need to add a Zope Database Connection. I can't find that in the list of available objects. Can someone direct me to a resource that explains how? It's not

Re: [Zope] Fw:

2000-05-19 Thread R. David Murray
On Fri, 19 May 2000, Tom Scheidt wrote: Do you know if I can limit the id to the last 3 letters, rather than the first? My images have _xl, _l etc. on the end. [...] ul dtml-in "tester.fileValues()" dtml-if "type=='image/jpeg'" dtml-if "id[0:3]=='tn_'" img

Re: [Zope] SiteAccess smashes 'REQUEST.resolve_url(...)' in DTML ?

2000-05-19 Thread Evan Simpson
- Original Message - From: Martin Grönemeyer [EMAIL PROTECTED] dtml-with "REQUEST.resolve_url('http://mydomain/home/index_html')" dtml-var title /dtml-with throws Error Type: ValueError Error Value: Different namespace. REQUEST.resolve_url requires that the URL you pass to it

Re: [Zope] Local File System

2000-05-19 Thread Jonothan Farr
I'm just getting started, but managed to use the following to display only JPG's, and then only ones starting with "tn_" (my thumbnails): There's an easier way. =) ul dtml-in "tester.fileIds(spec='tn_*.jpg')" img src="tester/dtml-var sequence-item" /dtml-in /ul --jfarr "Perl is

Re: [Zope] Zope/Apache Image Catalog

2000-05-20 Thread Steve Alexander
Tom Scheidt wrote: Hi I want to be able to upload images into a folder on Apache using a form page in Zope, and at the same time have the ids cataloged with keywords into a ZCatalog. Basically, to be able to search on keywords and have the related images displayed on a page. Does

Re: [Zope] SiteAccess smashes 'REQUEST.resolve_url(...)' in DTML ?

2000-05-20 Thread Oleg Broytmann
Hi! On Fri, 19 May 2000, Evan Simpson wrote: From: Martin Grönemeyer [EMAIL PROTECTED] Error Type: ValueError Error Value: Different namespace. REQUEST.resolve_url requires that the URL you pass to it begins with REQUEST.script Oops! Can you tell more details on this? What is

Re: [Zope] detect root folder

2000-05-20 Thread Steve Alexander
Sin Hang Kin wrote: Hi, Is it possible to detect the top folder in dtml? I means I would like to prevent squishdot to show the ../ when it is already in the top level. dtml-if "_.len(PARENTS) == 1" We're at the root folder dtml-else You can go up from here /dtml-if -- Steve

[Zope] Using ReportLab with Zope

2000-05-20 Thread Richard Folwell
To sound out what, if anything, other people are doing in this area: I am interested in using ReportLab with Zope, to provide an improved printed version of web-published documents. What I want to do is fairly straightforward, to create a PDF file with: - a title/cover page with control

[Zope] Refresh adds objects to Add list again

2000-05-20 Thread Kevin Dangoor
Hi, I'm working with a very simple Product. Whenever I Refresh it, it shows up an additional time in the Add list. Is this expected behavior? I don't think I'm doing anything odd at all in the __init__.py or in the product itself. The __init__.py consists of basically just a single

[Zope] FYI: Latest gem appears in CVS

2000-05-20 Thread Paul Everitt
Howdy folks. As mentioned previously, a gem is ready to appear in CVS: mountable databases. What are these? I'll answer with a question. Ever want to have your data segregated into multiple Data.fs files? Ever want to have some of your object data in the regular FileStorage, some in a

[Zope] FYI: Latest gem appears in CVS

2000-05-20 Thread Jerry Spicklemire
Paul Everitt wrote: Howdy folks. As mentioned previously, a gem is ready to appear in CVS: mountable databases. snip If you want to send thanks, send them to Jim Fulton and Shane Hathaway. From the way this sounds, I need to go update the "DevTestProd" page in the "HighAvailabilityZope"

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

2000-05-20 Thread Bill Anderson
Paul Everitt wrote: Howdy folks. As mentioned previously, a gem is ready to appear in CVS: mountable databases. Am I correct in thinking this are ready to appear, but not _in_ CVS yet? I've been looking for the last 15 minutes with no luck, though the history tab is certainly there! :-)

RE: [Zope] Memory creep

2000-05-21 Thread Chris McDonough
John, If you can figure out how to use them, the pair of methods implemented on the Control_Panel named "manage_debug" and "manage_profile" might help you... e.g. http://yourserver/Control_Panel/manage_debug . I can't give much in the way of explanation of them, there might be some good

Re: [Zope] ZScheduler

2000-05-21 Thread Loren Stafford
What happens when you execute the event's "trigger" method from the browser's location line? e.g. http://my.site.dom/my_scheduled_method/trigger -- Loren In article 000101bfc01a$1ec3e2e0$[EMAIL PROTECTED], Loren Stafford [EMAIL PROTECTED] writes You can try out ZScheduler on Windows (I

Re: [Zope] SQLSession vs FSSession for ultra-high scalability and speed.

2000-05-21 Thread chas
Thank you very much for the comprehensive and speedy reply, J. Let me give it a try (or just dump all of what I know). Much more than I expected - and greatly appreciated. Thank you. First of all it looks like you are going to want ZEO. If you don't know ZEO, get to know ZEO, it fits

[Zope] Zclass inheritence

2000-05-21 Thread John Morton
What does a product need to do in order to be a base class for a ZClass? Can another Zclass act as a base class for a ZClass? If not, why not? John ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross

RE: [Zope] Zclass inheritence

2000-05-21 Thread Chris McDonough
What does a product need to do in order to be a base class for a ZClass? It needs contain a class that is registered as a base class in the product's __init__.py "initialize()" method via "context.registerBaseClass()" e.g. context.registerBaseClass(ZCatalog.ZCatalog) See

RE: [Zope] Calling External Method...

2000-05-21 Thread Eric L. Walstad
// Am I on the right track with this? Shouldn't it be easy ( secure) to // launch a C app on the server and pipe the results back to // Zope? If so, how. // The approach I took (above) was recommended by someone else on // the list. // // I think you should probably make sure the function

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

[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] 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] 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! **

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

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] 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-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] 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] 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-23 Thread Erik Enge
Tres Seaver [EMAIL PROTECTED] writes: If you fill out the ID and press 'Add', le voilà! Yeah, your right! But that still means I need to do some hacking about, and me and my semantics does not like that ;-) (Actually it looks like a duplicate of #811). How can I see number 811, it just

Re: [Zope] does this app exist?

2000-05-23 Thread Heiko Stoermer
paul beard wrote: 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? I think the largest

Re: [Zope] Updating one data.fs from another

2000-05-23 Thread Chris Withers
I export a whole subtree from by Dev instance and import it into the production instance... HTH, Chris Graham Chiu wrote: -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

[Zope] How to change object with variable ?

2000-05-23 Thread
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 ? _ Do You Yahoo!? µn°O§K¶Oªº @yahoo.com.tw ¹q¤l¶l¥ó @ http://mail.yahoo.com.tw Get your free

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

2000-05-23 Thread Paul Browning
Message: 48 From: "Wolfgang Strobl" [EMAIL PROTECTED] Organization: GMD To: [EMAIL PROTECTED] Date: Mon, 22 May 2000 14:10:32 +0200 Subject: Re: [Zope] Win98 and WEBDAV - you ought to see it if you can On 22 May 2000, 6:41 Paul Browning wrote: Question: If WEBDAV works so well under

Re: [Zope] does this app exist?

2000-05-23 Thread Chris Withers
Heiko Stoermer wrote: What I can tell you is this: if you develop a "ZScheduler" and it becomes part of the Zope Standard distribution, the Zope community will be VERY glad. ZScheduler already exists, it's just very buggy. Check the mail archives for 'ZScheduler' and have a look at:

[Zope] python nigglettes

2000-05-23 Thread Tom Smith
hi all, I'm currently experimenting with zope and noodling with pythoncan anyone give me an answer on these? Python is beautiful (nearly as beautiful as Prograph (but that's another story)). I'm a BIG fan of human readable code, I loved HyperCard and pathelogically refused to get my

[Zope] Catching SQL Exceptions in an external method

2000-05-23 Thread Stolker, Wim
Hi, I have a burning question ... Does anyone know how to catch exceptions from SQL methods ( via ZodbcDA ) in an external method? I do not know how the exceptions are named. If I catch the exception with a general 'except:' statement it works but I cannot see the info from the exception, so I

Re: [Zope] Zope concepts

2000-05-23 Thread J. Atwood
Title: Re: [Zope] Zope concepts I intend to build an intranet with zope...though it's not as simple as that...I'd like 90% of the site to be password protected (giving access to members of my company)...do I use acl_users for this? Yes or any of the other models (UserDB, etc) I'd also like

Re: [Zope] Catching SQL Exceptions in an external method

2000-05-23 Thread jq-zope
"Stolker, Wim" [EMAIL PROTECTED] writes: I do not know how the exceptions are named. If I catch the exception with a general 'except:' statement it works but I cannot see the info from the exception, sys.exc_* should work, as in import sys try: raise "Blubber" except: print

Re: [Zope] DTML Document size limit?

2000-05-23 Thread Tino Wildenhain
Hi Andrew, as discussed earlyer, there is no hard coded limit in the size of the files (ok, you might not go over 2GB per file) Althought its usually not nessecary to edit such big files. Use inheritance, reuseable code and part your document into smaller pieces. This is what Zope is for.

[Zope] installing products.

2000-05-23 Thread Pierre Rougier
well, this can sound a newbie question... well,it is one... in fact I never used a zope product from the zope site. I downloaded the SiteAccess product. what do I have to do to use it??? thanks for your attention (special thanks for mindlace)

Re: [Zope] installing products.

2000-05-23 Thread J. Atwood
in fact I never used a zope product from the zope site. I downloaded the SiteAccess product. what do I have to do to use it??? I was about to just send you the installation instructions when I saw that they are pretty meager. Actually, very. (shame shame) 1) Go to your root Zope directory

Re: [Zope] uploading a batch of files

2000-05-23 Thread Itamar Shtull-Trauring
"R. David Murray" wrote: Perhaps the load_site (or whatever it's name is) product would help with this? I've never looked at it. Yes - it has command line and GUI clients for uploading multiple files to Zope. And you shouldn't use the one included with Zope - it trashes HTML entities like

[Zope] Feedback Requested: Editor Applet for Zope?

2000-05-23 Thread Heiko Stoermer
Hi all, I've been working with Zope for quite some time now, and one point that always slows me down is DTML or SQL source editing in the well-known wonderful textboxes. You all like them... My question: Do you like the idea of having a slim java-based editor applet instead of the textarea?

[Zope] Mailing List problems?

2000-05-23 Thread Satheesh Babu
Hello, Is there any problem with mailman list manager for this list? It looks like some mails are getting sent as if it is from my id. I'm forwarding one such mail... Can the list manager please take a look? Thanks ~ V.Satheesh Babu [EMAIL PROTECTED](Xt: 5348) . .

Re: [Zope] SQLSession vs FSSession for ultra-high scalability andspeed.

2000-05-23 Thread Pavlos Christoforou
On Sun, 21 May 2000, chas wrote: Hi Folks, Sorry if this has been asked before, but can anybody advise on FSSession vs SQLSession for: a) Speed. b) Scalability. FSSession does not use ZODB to store data, but stores session pickles directly on the harddisk. It will also update

  1   2   3   4   5   6   7   8   9   10   >