Re: [Zope] Deleting a Role Doesn't Appear to Remove Permissions

2001-01-11 Thread Chris Withers
Jason Grigsby wrote: If I am correct about this, this means that if we create a role and then delete it, we will need to make sure that the role does not exist for any users or they will continue to have the access that they had before. Has anyone else run into this or seen a reported bug

Re: [Zope] ZWikiWebs Product

2001-01-11 Thread Chris Withers
Simon Michael wrote: The separate zwikiwebs product is due to be retired and not recommended. It has been :-) cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

[Zope] type in python methods

2001-01-11 Thread Juan Carlos Coruña
How can I compare the type of 2 variables in a python method? The instruction "if type(var1) == type(var2): " doesn't work. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding!

Re: [Zope] MySQLDA and MySQL-python - patch needed?

2001-01-11 Thread Holger Lehmann
Am Donnerstag, 11. Januar 2001 00:16 schrieben Sie: -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, January 10, 2001 9:30 AM -snipp--- FYI: I installed from these rpms

[Zope] ZServer

2001-01-11 Thread Tom Deprez
Hi, Can anybody tell me what the following warning means, or where I can find documentation on this warning? ZServer warning : server accept() threw EWOULDBLOCK Thanks in advance Tom Deprez ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] log file.

2001-01-11 Thread Joachim Werner
Is the Zope log file in Common Log File Format? Yes. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

RE: [Zope] Storing and Using Object references

2001-01-11 Thread Tom Jenkins
Thanks for th pointer Shane, My original attempt with Andy's help was to use the REQUEST's resolve_url. However, the SiteAccess2 product breaks that method. I'll try your suggestions. Thanks Tom -Original Message- From: Shane Hathaway [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January

Re: [Zope] log file.

2001-01-11 Thread Holger Lehmann
Am Donnerstag, 11. Januar 2001 08:21 schrieben Sie: hi, Is the Zope log file in Common Log File Format? whatever you mean by that ... it looks to me like the one from apache and a webalizer works without any quirks j. ... .. Jason C. Leach University

Re: [Zope] does xml-rpc work with zope and pcgi/apache?

2001-01-11 Thread Martijn Pieters
On Thu, Jan 11, 2001 at 12:00:17AM -0600, Roman Milner wrote: I'm having problem getting xml-rpc calls to work with zope running on apache/pcgi. I'm using the python xml-rpc module to send an xml-rpc request that looks like this (when captured at the socket level): POST /asdf/1/ HTTP/1.0

[Zope] href on a local file

2001-01-11 Thread tilo . schwarz
Hi everybody, it's now my third day with Zope and I'm already pretty happy with it. Finally I got external python methods running with passing parameters to them and getting return values back. Although there is a lot of documentation, I couldn't find any about the Zope internals. Does

[Zope] RE: SQL Method, dtml-with and namespace weirdness

2001-01-11 Thread Mayers, Philip J
Heh. Oh well, you win some, you lose some! I appear to be losing some - maybe I should drink less caffine? I can work around the problem for the moment, but either: 1) I *totally* misunderstand how dtml-with works 2) It's misbehaving itself under some circumstances To recap: two SQL method

[Zope] Downloading All Zope products

2001-01-11 Thread Jerome Alet
Hi, I was bored by the current search interface for downloading Zope products: you have to spend hours just clicking to download lots of products. I want to put Zope and the maximum number of available products on a CDROM to be able to do demos and so on to people not connected to the Net. I've

Re: [Zope] log file.

2001-01-11 Thread Oleg Broytmann
On Wed, 10 Jan 2001, Jason C. Leach wrote: Is the Zope log file in Common Log File Format? Yes. You can run every standard log files analyzer on it. Oleg. Oleg Broytmann http://www.zope.org/Members/phd/ [EMAIL PROTECTED] Programmers don't die, they just GOSUB

Re: [Zope] PoPy Installation. Where's the BEEF?

2001-01-11 Thread Steve Spicklemire
Did you move this Zope from it's original location in /usr/local/zope? I'm guessing you did.. and those paths are in the .pyc files. try: find /usr/local/EcoZope -name "*.pyc" -delete then (optionally) rerun w(o?)_pgci.py which will (among other things) rebuild the .pyc files. If you don't,

Re: [Zope] type in python methods

2001-01-11 Thread Luciano Ramalho
The instruction "if type(var1) == type(var2): " doesn't work. It does work: - Python 1.5.2 (#0, Jul 30 1999, 09:52:18) [MSC 32 bit (Intel)] on win32 Copyright 1991-1995 Stichting Mathematisch Centrum, Amsterdam x = 'spam' y = 'eggs' z = 99 type(x) == type(y) 1 type(x) ==

[Zope] worldpilot --almost?!

2001-01-11 Thread tom
hi, I have worldpilot almost working on a latest version of zope on NT. The only problem is that when reading a message I don't get the text of the message, everything else is file. The docs mention something about setting the default domain, how do I do that? thanks, tom

[Zope] How do I get the size of an item ?

2001-01-11 Thread Dimitris Andrakakis
...anyone ? Say I have these folders: / /news /news/files What I need is, from a dtml method in /news, to get the size of an object (a file, say /news/files/file01.pdf) in /news/files. Thanks in advance, Dimitris ___ Zope maillist - [EMAIL

Re: [Zope] type in python methods

2001-01-11 Thread Evan Simpson
From: Juan Carlos Corua [EMAIL PROTECTED] How can I compare the type of 2 variables in a python method? The instruction "if type(var1) == type(var2): " doesn't work. _.same_type(var1, var2) should do it. (Without the "_." in Scripts). Cheers, Evan @ digicool 4-am

Re: [Zope] Zope vs. java solutions : looking forward ?

2001-01-11 Thread J. Atwood
Just some quick thoughts. (I have worked with both) - This is not about Java vrs Python since that is a different discussion. This should be about Zope vrs Enhydra. - Zope has a great future which can be shown by Digital Creations success, Zope involvement and activity - In terms of

RE: [Zope] worldpilot --almost?!

2001-01-11 Thread Norman Khine
I think you have to change the WorldPilot.py file in your ~/lib/python/Products/WorldPilot/ folder it is a one line file containing DOMAIN='type.your.domain.name.here' I'll be intrested to know how you get on, as I am trying to configure it on my NT but without success. If you could write a

Re: [Zope] Downloading All Zope products

2001-01-11 Thread Martijn Pieters
On Thu, Jan 11, 2001 at 02:36:11PM +0100, Jerome Alet wrote: I was bored by the current search interface for downloading Zope products: you have to spend hours just clicking to download lots of products. I want to put Zope and the maximum number of available products on a CDROM to be able to

Re: [Zope] log file.

2001-01-11 Thread Dennis Nichols
At 1/11/01 12:25 PM, Oleg Broytmann wrote: On Wed, 10 Jan 2001, Jason C. Leach wrote: Is the Zope log file in Common Log File Format? Yes. You can run every standard log files analyzer on it. Using analog (http://analog.cx) against my Zope 2.2.2 logs, I found that the standard analog

RE: [Zope] type in python methods

2001-01-11 Thread Juan Carlos Coruña
Yes, it works. Thanks. -Mensaje original- De: Evan Simpson [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 11 de enero de 2001 15:49 Para: Juan Carlos Corua; [EMAIL PROTECTED] Asunto: Re: [Zope] type in python methods From: Juan Carlos Corua [EMAIL PROTECTED] How can I compare the

Re: [Zope] Downloading All Zope products

2001-01-11 Thread Jerome Alet
On Thu, 11 Jan 2001, Martijn Pieters wrote: BTW, did you knw I made a page for the exact same purpose a while ago? http://www.zope.org/Members/mj/AllProds Of course not, otherwise I hadn't made it by myself. I thought it was a cool idea (and above all it was very easy to do), unfortunately

Re: [Zope] worldpilot --almost?!

2001-01-11 Thread J. Atwood
Had the same problem. Most likely it is that the people that are sending the messages are using MTF (Microsoft Text Format, or MRTF) which is their variation on RTF that WorldPilot cannot read. Thanks Bill! :) J At 12:28 PM -0500 1/11/01, tom wrote: hi, I have worldpilot almost working on a

RE: [Zope] MySQLDA and MySQL-python - patch needed?

2001-01-11 Thread paul_s_johnson
Paul S. Johnson URS Corporation 700 Third Street South Minneapolis, MN 55415-1199 612-373-6389

[Zope] Pub. Company trying to patent object publishing?

2001-01-11 Thread sean . upton
Hi folks, Not trying to hijack the list for a rant, but I thought this might be of interest to some folks. Belo, a media company that owns a variety of TV stations, newspapers, and online operations, looks to be trying to patent what looks to essentially be object publishing (in a similar sense

[Zope] Problem with zope.org?

2001-01-11 Thread Joachim Werner
Hi! I'm getting this or similar errors quite frequently these days: Proxy Error The proxy server received an invalid response from an upstream server. The proxy server could not handle the request GET /foo. Reason: Document contains no data Additionally, a 502 Bad Gateway error was

[Zope] Zope vs. Enhydra

2001-01-11 Thread Paul Browning
From the horse's mouth as it were. I'll let the list know where to find it when it appears. Paul --- Begin Forwarded Message --- Date: Wed, 10 Jan 2001 15:16:42 -0800 From: David Young [EMAIL PROTECTED] Subject: Lutris Enhydra Journal (3nd issue) is coming! Sender: David Young [EMAIL

[Zope] MySQLdb

2001-01-11 Thread Martin Fekete
sombody compiled MySQLdb under WIN32 ? Martin Fekete

Re: [Zope] Downloading All Zope products

2001-01-11 Thread Marcin Kasperski
Jerome Alet wrote: Hi, I was bored by the current search interface for downloading Zope products: you have to spend hours just clicking to download lots of products. I want to put Zope and the maximum number of available products on a CDROM to be able to do demos and so on to people not

RE: [Zope] Zope vs. java solutions : looking forward ?

2001-01-11 Thread sean . upton
Frankly, it is a lot easier to program in python; it is much more forgiving in a lot of senses. If your developers like the idea of Java because it is OO, have them consider python's strong abilities, and the fact that they will be working with a persistent object system / ODB that can make

RE: [Zope] MySQLDA and MySQL-python - patch needed?

2001-01-11 Thread paul_s_johnson
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of [EMAIL PROTECTED] Sent: Wednesday, January 10, 2001 9:30 AM To: [EMAIL PROTECTED] Subject: [Zope] MySQLDA and MySQL-python - patch needed? My Zope-MySQL connection is still not quite working. It

Re: [Zope] Help getting zope to do frames!

2001-01-11 Thread paul_s_johnson
To properly reference your frames by their absolute urls, instead of this: frame name="A" src="dtml-var top" frame name="B" src="dtml-var main" Try this: frame name="A" src="dtml-var "top.absolute_url()"" frame name="B" src="dtml-var "main.absolute_url()"" -PSJ

Re: [Zope] Limited File object size?

2001-01-11 Thread Chris Withers
What version of Zope are you using? Stuart Foster wrote: When uploading a file to Zope I am getting an error about commit_sub. I uploaded some other files to the same folder but am having problems with two in particular. He only difference I can see is that the others where 10k to 60k and

[Zope] Limited File object size?

2001-01-11 Thread Stuart Foster
When uploading a file to Zope I am getting an error about commit_sub. I uploaded some other files to the same folder but am having problems with two in particular. He only difference I can see is that the others where 10k to 60k and the two problem files are 100k and higher. Is there a limit

Re: [Zope] Downloading All Zope products

2001-01-11 Thread Andy McKay
On a totally different note I found I want to get information on a product in a more friendly xml, so I started (but not finished, not up to date etc) this: http://zope.agmweb.ca/Zope/products (click on the x for xml). -- Andy McKay. - Original Message - From: "Marcin Kasperski"

RE: [Zope] MySQLDA and MySQL-python - patch needed?

2001-01-11 Thread Bill Welch
I haven't been following this thread, so I apologize in advance for any redundancy. Several weeks ago I had an existing mysql fail as you describe after I upgraded mysqldb in /usr/lib/python. I fixed it by moving ZMySQLDA/MySQLdb-0.1.2/_mysqlmodule.so up one level as described in README.txt.

Re: [Zope] Limited File object size?

2001-01-11 Thread Stuart Foster
Zope version: Zope 2.2.2 (source release, python 1.5.2, linux2) Python version: 1.5.2 (#1, Sep 30 2000, 18:08:36) [GCC 2.95.3 19991030 (prerelease)] System Platform: linux-i386 I should mention I was able to ftp the files to the folder. Original Message On 1/11/01, 10:27:00 AM, Chris

[Zope] [newbie] sqltest question

2001-01-11 Thread Martin Fekete
documentation says that sqlvar support expressions dtml-sqlvar Variable|expr="VariableExpression"andthisworks dtml-sqlvar "'%'+arg+'%'" type=stringbut documentation also says that sqltest support expressions dtml-sqltest Variable|expr="VariableExpression" so this should work

Re: [Zope] log file.

2001-01-11 Thread Andy McKay
Its not the same as IIS, but that is nowhere near a common format :) Its relatively trival to hack the log file format if you are comfortable with hacking the Zope source. -- Andy McKay. - Original Message - From: "Dennis Nichols" [EMAIL PROTECTED] To: "Jason C. Leach" [EMAIL

RE: [Zope] MySQLDA and MySQL-python - patch needed?

2001-01-11 Thread Bill Welch
A binary distribution comes with python built-in so that it will run without the installer having to also go get python. PYTHONPATH is the key to understanding module sharing. Unless you (or the packager) change something, a binary Zope uses only the modules in the built-in python (or, at least,

[Zope] Authentication problems on FreeBSD with Apache

2001-01-11 Thread Drew Sanford
I have recently installed Zope on FreeBSD running the Apache web server. When I attempt to access the management page from http://my.web.server/cgi-bin/Zope.cgi I get authentication failures. I'm sure there are things that I've missed in what I've seen, and the section on running Zope with

RE: [Zope] MySQLDA and MySQL-python - patch needed?

2001-01-11 Thread Ron Bickers
On my box only DA is symlinked to a different location. The rest of my products reside in a child directory of the main Zope installation. I am only running one Zope instance. This shouldn't be a problem, right? This should not be a problem. From Zope management database connection Test

Re: [Zope] Authentication problems on FreeBSD with Apache

2001-01-11 Thread Bill Welch
First off, bypass apache and go straight to zope - typically port 8080. Did you make note of the superuser name and password the installation script produced? If not, use zpasswd.py to create a new one. I'm presuming that you're using 2.2.x. Don't forget to create a manager user and switch to it

Re: [Zope] Zope.org is down?

2001-01-11 Thread Drew Sanford
Looks like it from here:( Diego Rodrigo Neufert wrote: Is it realy down? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Zope.org is down?

2001-01-11 Thread Diego Rodrigo Neufert
Is it realy down? -- Diego Rodrigo Neufert Webmaster / Web Developer - Magic Web Design --- [EMAIL PROTECTED] www.magicwebdesign.com.br Curitiba - PR - Brasil ___ Zope maillist - [EMAIL

RE: [Zope] Storing and Using Object references

2001-01-11 Thread Tom Jenkins
Shane, You are DA MAN. That getPhysicalPath() unrestrictedTraverse() methods work perfectly, even with SiteAccess installed. Thank you very much. Tom -Original Message- From: Shane Hathaway [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 10, 2001 3:11 PM To: Tom Jenkins Subject:

Re: [Zope] reindex when a zclass is edited

2001-01-11 Thread Tim Hicks
- Original Message - From: Ivan Cornell [EMAIL PROTECTED] To: Tim Hicks [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 10, 2001 7:53 PM Subject: Re: [Zope] reindex when a zclass is edited Tim Hicks wrote: I can't for the life of me figure out or find anywhere

Re: [Zope] logging: Can I switch it off?

2001-01-11 Thread Andy McKay
Run z2.py with the -r flag. This may be too much for your needs. -r Run ZServer is read-only mode. ZServer won't write anything to disk. No log files, no pid files, nothing. This means that you can't do a lot of stuff like use PCGI, and zdaemon. ZServer will log hits to

Re: [Zope] ZServer

2001-01-11 Thread Curtis Maloney
On Thursday 11 January 2001 21:13, Tom Deprez wrote: Hi, Can anybody tell me what the following warning means, or where I can find documentation on this warning? Since nobody else has , yet... ZServer warning : server accept() threw EWOULDBLOCK Odd... this is a Sockets level error,

[Zope] hasRole bug or feature in 2.2.?

2001-01-11 Thread Ron Bickers
I'm having a problem with AUTHENTICATED_USER.hasRole() I have a user with the role 'Member' defined at the root level (and nowhere else). I also have the following DTML method at the root level: dtml-if "REQUEST['AUTHENTICATED_USER'].hasRole(PARENTS[-1], ['Member'])" You are a Member.

Re: [Zope] Zope vs. Enhydra

2001-01-11 Thread corey
And upon Thursday of January 11, the illustrious Paul Browning spake thusly... From the horse's mouth as it were. I'll let the list know where to find it when it appears. snip The next issue of the Lutris Enhydra Journal will be delivered to you on Monday, 15 January 2001. Articles

[Zope] Acquisition loops and web robots

2001-01-11 Thread Andrews, Martin
I have run into several cases where authors at our site have accidentally employed acquisition to link documents in such a way that an infinite tree of URLS are possible - for example: /a/foo contains a link to "b/bar" /b/bar contains a link to "a/foo" This really causes a problem with our web

Re: [Zope] How do I get the size of an item ?

2001-01-11 Thread ethan mindlace fremen
Dimitris Andrakakis wrote: ...anyone ? Say I have these folders: / /news /news/files What I need is, from a dtml method in /news, to get the size of an object (a file, say /news/files/file01.pdf) in /news/files. dtml-with files dtml-var "_.get_size(_['file01.pdf'])" /dtml-with

Re: [Zope] Downloading All Zope products

2001-01-11 Thread ethan mindlace fremen
Jerome Alet wrote: I've decided to do something to solve this problem, so I've created the "Zope Complete Products List for easy batch download". You can find it at http://www.zope.org/Members/jerome/ZCPL This document dynamically lists all available Zope products (from zope.org) and

Re: [Zope] href on a local file

2001-01-11 Thread Dieter Maurer
[EMAIL PROTECTED] writes: "LocalFS" is a very nice product. I would go for it. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Zope BUG (was: [Zope] Limited File object size?)

2001-01-11 Thread Dieter Maurer
Stuart Foster writes: When uploading a file to Zope I am getting an error about commit_sub. I uploaded some other files to the same folder but am having problems with two in particular. He only difference I can see is that the others where 10k to 60k and the two problem files are

Re: [Zope] broken products not indicated after Zope 2.2.5 install

2001-01-11 Thread Dieter Maurer
Fred Yankowski writes: I activated Zope logging as you suggested and restarted Zope, but the logfile does not report any exceptions. It only contains routine startup messages such as "ZServer HTTP server started ...". And the Products list still makes it look like they're all OK, when

Re: [Zope] hasRole bug or feature in 2.2.?

2001-01-11 Thread Chris McDonough
You're gonna laugh. Get ready. You didn't protect the isMember document. It's viewable by Anonymous. The Zope security machinery short-circuits authentication for resources that don't require it. This means that when you view a resource that's unprotected, you view it "as Anonymous".

Re: [Zope] How do I get the size of an item ?

2001-01-11 Thread Dieter Maurer
Dimitris Andrakakis writes: What I need is, from a dtml method in /news, to get the size of an object (a file, say /news/files/file01.pdf) in /news/files. You know Zope's integrated online help? There you would find that files have a method "getSize" that returns their size. In

RE: [Zope] hasRole bug or feature in 2.2.?

2001-01-11 Thread Ron Bickers
-Original Message- From: Chris McDonough [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 11, 2001 6:25 PM To: Ron Bickers; [EMAIL PROTECTED] Subject: Re: [Zope] hasRole bug or feature in 2.2.? You're gonna laugh. Get ready. You didn't protect the isMember document. It's

Re: [Zope] Memory problems

2001-01-11 Thread Dieter Maurer
Dimitris Andrakakis writes: Dieter wrote: "ps" is still a bit stupid and does not visualize that they are threads rather than normal (full blown) processes. ps -axf ? Thank you! But it displays the children hierarchy without an indication what children are full blown processes and

[Zope] way to cleanup form input text?

2001-01-11 Thread Chris Beaumont
Is there a simple way to clean up text that's input to HTML forms in Zope? I have a situation where one of my users is copying text from her web browser and pasting it into Zope. I'm sure this is a common problem.. The input text ends up having runs of whitespace characters in it that I'd

[Zope] RE: SQL Method, dtml-with and namespace weirdness

2001-01-11 Thread Dieter Maurer
Mayers, Philip J writes: To recap: two SQL method returning [different] (name,domain) are used like this: dtml-in SQL_method1 Pdtml-name;/P - POINT A Pdtml-domain;/P dtml-in SQL_method2 Pdtml-name;/P- POINT B Pdtml-domain;/P dtml-with

Re: [Zope] href on a local file (you can serve files from local file system)

2001-01-11 Thread sathya rangaswamy
Hello tilo There is a product that will allow you to serve files from the file system. Look under external access in download area. With this you can serve your local files without adding to zodb sathya - Original Message - From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday,

[Zope] document_src not doing what I thought it did

2001-01-11 Thread Tim Hicks
I have a dtml-documentish zclass and have created a custom edit method for it so that I can do an automatic reindex when each instance is edited. I created this custom form by simply copying the source html that is generated for the standard edit form, and then replacing the static parts of what

[Zope] with a variable

2001-01-11 Thread josh on
Hi, a small problem!, This works: dtml-with 979226100 dtml-var attribute /dtml-with This doesn't: dtml-call "REQUEST.set('userid', 979226100)" dtml-with "_.getitem('userid')" dtml-var attribute /dtml-with Nor this: dtml-call "REQUEST.set('userid', 979226100)" dtml-with "userid" dtml-var

[Zope] ZMySQLDA and aggregate functions on Win

2001-01-11 Thread Markus Kemmerling
I have a problem with ZMySQLDA and aggregate functions in combination with grouping on Windows. When I say: SELECT COUNT(*) FROM mytable GROUP BY myfield; I get an KeyError 'Unhandeld'. SELECT COUNT(*) FROM mytable; works fine, so does SELECT myfield FROM mytable GROUP BY myfield;

Re: [Zope] with a variable

2001-01-11 Thread Steve Spicklemire
How about this: dtml-call "REQUEST.set('userid', 979226100)" dtml-with "_[userid]" dtml-var attribute /dtml-with or dtml-call "REQUEST.set('userid', 979226100)" dtml-with "_.getitem(userid)" dtml-var attribute /dtml-with -steve Hi, a small problem!, This works: dtml-with 979226100

Re:[Zope] Storing and Using Object references

2001-01-11 Thread Tres Seaver
Tom Jenkins [EMAIL PROTECTED] wrote Hello all, i have a question and I hope someone can point me in the right direction to solve it. I need one zope object to hold a reference to another zope object so the first object can call methods of the second object. oh, these are python classes.

Re: [Zope] Need help with ZGotW

2001-01-11 Thread Tres Seaver
LARRY CHUON [EMAIL PROTECTED] wrote I have Zope-2-2-4 and just install ZGotW. When I try to add ZGotW Issue and ZGotW Root, I receive errors such as "Empty entry when integer expected" or "sequence index must be integer." The product you downloaded (version 0.0.2) was built for Zopes before

RE: [Zope] MySQL

2001-01-11 Thread Eric Walstad
http://www.zope.org/Members/alanpog/zmysqlda_steps Should get you started... Eric. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of vishnu prasad Sent: Tuesday, January 09, 2001 3:17 PM To: [EMAIL PROTECTED] Subject: [Zope] MySQL can anyone update me

Re: [Zope] Authentication problems on FreeBSD with Apache

2001-01-11 Thread Jason C. Leach
hi, Did you create an Administrators account in zope and set the passwd for it? j. .. . Jason C. Leach ... University College of the Cariboo. .. On Thu, 11 Jan 2001, Drew Sanford wrote: I have recently installed Zope on FreeBSD running the Apache web server. When

[Zope] Re: ZGDchart -- passing parameters to SQL Metho

2001-01-11 Thread Olaf Zanger
hi there, thanks was a good tip. is all "exampled" in the "index_html" of gdchartdemo. good work. olaf Chui Tey schrieb: Look at the gdchartdemo, there is an example of it. it looks something like dtml-var "chtSales(sales=2500)" Chui - Original Message - From: Olaf Zanger

[Zope] 2.3.0a2 - missing a file

2001-01-11 Thread corey
I just downloaded and installed Zope 2.3a2, after setting up a new database connection ( ZMySQLD ), I went to to test it and lo-and-behold! No customDefaultReport.dtml for which to display the results! Anyhow, I just grabbed it off the 2.3.0a1 tree and put it in it's rightful place (

Re: [Zope] MySQL

2001-01-11 Thread Petter Enholm
Hi, I did not get mySQL running using the HOW-TO below. It seems to be outdated, as there is not need for patching anymore. The following HOW-TO is newer; http://www.zope.org/Members/MikeP/ZMySQLDA. I had mySQL up and running in no time when following this HOW-TO. If you are using mySQL on

RE: [Zope] type in python methods

2001-01-11 Thread Juan Carlos Coruña
-Mensaje original- De: Luciano Ramalho [mailto:[EMAIL PROTECTED]] Enviado el: jueves, 11 de enero de 2001 15:21 Para: Juan Carlos Coruña CC: [EMAIL PROTECTED] Asunto: Re: [Zope] type in python methods The instruction if type(var1) == type(var2): doesn't work. It does work:

[Zope] Help getting zope to do frames!

2001-01-11 Thread Scott Chapman
I am trying to get some frames to work where you can load a url and have a frame around it. I created a folder called test. I tried loading http://ipaddress/test and I get a recursion of frames and have to stop it loading. Here's the contents of the test folder. I'm very new to Zope and HTML

[Zope] Attention users of Interbase

2001-01-11 Thread Steve Drees
http://slashdot.org/articles/01/01/11/1318207.shtml summary: Backdoor user/password discovered. Script Kiddies already probing for interbase. -- Steve Drees SysAdmin/Software Developer/Web Geek/Chief Bottle Washer A problem well-stated is a problem half-solved.

Re: [Zope-dev] New UI for 2.3

2001-01-11 Thread Chris Withers
Steve Alexander wrote: However, I do not like the 3-frame interface. I feel that the top frame is wasted space. The Zope logo and "Logged in as username | Logout" could as easily go at the bottom of the tree-view frame on the left. I haven't seen this yet, but I have to agree. Two frames is

Re: [Zope-dev] Re: ComputedAttribute

2001-01-11 Thread Steve Alexander
Martijn Pieters wrote: But because _v_* variables don't get pickled, another thread will never see them. If you want non-persisting (volatile) variables shared between threads, you'll have to devise your own mechanism for assuring the thread-safety of those variables. Or, instead of

Re: [Zope-dev] first zope-2.3.0a2 bug :-)

2001-01-11 Thread Martijn Pieters
On Thu, Jan 11, 2001 at 11:54:04AM +0400, Jephte CLAIN wrote: well, this one is easy. 8-- --- lib/python/Shared/DC/ZRDB/Aqueduct.py.origThu Jan 11 10:59:42 2001 +++ lib/python/Shared/DC/ZRDB/Aqueduct.py Thu Jan 11

Re: [Zope-dev] _v_ variables

2001-01-11 Thread Martijn Pieters
On Thu, Jan 11, 2001 at 10:26:18AM +, Chris Withers wrote: Martijn Pieters wrote: But because _v_* variables don't get pickled, another thread will never see them. Hmm, is there any situation where a single request can be handled by more than one thread? Nope. -- Martijn

[Zope-dev] Delete users in Membership acl_users

2001-01-11 Thread Kamon Ayeva
Hi, Has anyone been able to use the delUserForm to delete users added within a PersistentUserSource in the PortalMembershipSystem object ? I am not sure if this piece of code in delUserForm preceding the HTML form snippet does the right job: dtml-let idList="[]" dtml-in

Re: [Zope-dev] Zope-2.3a2 and Loginmanager

2001-01-11 Thread Chris McDonough
"super" still exists. It's aliased to the emergency user. There's a comment in User to the effect that the use of super is deprecated, and that emergency_user should be used instead. I don't believe the reading of the access file is a bug (it's there to provide backwards-compatibility).

Re: [Zope-dev] Zope-2.3a2 and Loginmanager

2001-01-11 Thread Steve Alexander
Ulrich Eck wrote: hi out there, i just setup a box with Zope-2.3a2 and Loginmanager. didn't work because of Changes in AccessControl.User: - Super doesn't exist anymore (is emergency_user the replacement ??) - Zope-2.3a2 installs itself with a file "inituser" as access-file,

Re: [Zope-dev] New UI for 2.3

2001-01-11 Thread Andy McKay
I haven't seen this yet, but I have to agree. Two frames is bad enough btu addign another one with all the wasted border space, etc, sounds like a bad idea... This would leave extra screen space for doing work. Hear, hear, could anyone post some screenshots? -- Andy McKay

RE: [Zope-dev] New UI for 2.3

2001-01-11 Thread Brian Lloyd
I think the new UI for 2.3 is great improvement over 2.2. I'm already finding the sorted tables of folder contents useful, and having the add new items select at the top saves time. However, I do not like the 3-frame interface. I feel that the top frame is wasted space. The Zope logo

RE: [Zope-dev] New UI for 2.3

2001-01-11 Thread Casey Duncan
I agree that it looks better. The addition of another whole frame for this though is my main beef with it. Perhaps this could be integrated some other way. Frames should only be added when there is no other option. It's just that browsers waste so much space up there anyway, and the extra 32

Re: [Zope-dev] New UI for 2.3

2001-01-11 Thread Phil Harris
Brian, Good answer, I for one would like to add a vote for the new UI. +1 Phil [EMAIL PROTECTED] On Thu, 11 Jan 2001, Brian Lloyd wrote: I think the new UI for 2.3 is great improvement over 2.2. I'm already finding the sorted tables of folder contents useful, and having the add new

Re: [Zope-dev] How do I create a folder with subfolders, docs etc?

2001-01-11 Thread Phil Harris
Espen, How about untested, but similar works in Python External method: dtml-call expr="manage_addFolder('newfolder')" dtml-call "REQUEST.set('newf',_['newfolder'])" dtml-call expr="newf.manage_addFolder('anotherfolder')" maybe?!? Phil On Thu, 11 Jan 2001, Espen Sorbye Frederiksen wrote:

Re: [Zope-dev] How do I create a folder with subfolders, docs etc?

2001-01-11 Thread Casey Duncan
--- Espen Sorbye Frederiksen [EMAIL PROTECTED] wrote: Thank you for your reply. I relised that my example was not quite what I ment. What if newfolder is a variable taking a random string value. How can I emediatly after creating the folder, with the variable newfolder id, create a

[Zope-dev] How does a subclass call its ancestor's method in zope?

2001-01-11 Thread Dirksen
Here is a ZClass testa, with a dtml method 'do'. Its subclass testb overrides do. How does testb call its ancestor's 'do'? In python, it can be done as 'testa.do()', but what's the equivallent in zope? Dirksen __ Do You Yahoo!? Yahoo! Photos -

[Zope-dev] Management interface tree menu

2001-01-11 Thread richard
I added something to the Management Interface Quick Fix wiki item, but it seems to have vanished. My proposal was that the tree not automatically sort the items alphabetically. It should be up to the ObjectManager class and its ilk to sort those items in its tpValues method. That way, when I