Re: [Zope-dev] Common Icons or Free Icon collection

2000-06-26 Thread Holger Lehmann
Linux distributions come bundled with a bunch of "free" icons. And I beleive there are some ...tar.gz archives on metalab.unc.edu (former sunsite.unc.edu). -Holger Am Mon, 26 Jun 2000 schrieben Sie: Hi, I need some icons/pics for my Zope project. Are there any common icons for Zope I could

Re: [Zope-dev] Python 1.6

2000-06-26 Thread Toby Dickenson
On Fri, 23 Jun 2000 21:27:43 +0200 (CEST), Dieter Maurer [EMAIL PROTECTED] wrote: Toby Dickenson writes: I'm about to start looking at running Zope on python 1.6 (Im feeling the need for better Unicode support). Almost surely, it will work. But it probably will not use the Unicode support

Re: [Zope-dev] zpatterns-0.4a4

2000-06-26 Thread mike
Jephte CLAIN wrote: There is a bug (a feature?) in Specialist.getItem in zpatterns-0.4a4: def getItem(self, key): if hasattr(self.aq_base,'retrieveItem'): return self.retrieveItem(key=key) # XXX need DTML check? for rack in self.rackList: item =

Re: [Zope-dev] zpatterns-0.4a4

2000-06-26 Thread Jephte CLAIN
mike wrote: I also think so, Jephte. But I thought 'for rack ...' was just a shorter form of if len( rackList) 0) : return rackList[0].__of__( self).getItem( key) else : return None The intended behavior (at least in zpatterns-0.3) was to get an item from one of the racks. This is

Re: [Zope-dev] zpatterns-0.4a4

2000-06-26 Thread Phillip J. Eby
At 01:08 PM 6/26/00 +0400, Jephte CLAIN wrote: This code should (IMHO) read: def getItem(self, key): if hasattr(self.aq_base,'retrieveItem'): return self.retrieveItem(key=key) # XXX need DTML check? for rack in self.rackList: item = rack.__of__(self).getItem(key)

RE: [Zope-dev] Re: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-26 Thread Brian Lloyd
TJM That did it! But... :) I ended up having to re-create all TJM my ZSQL methods, which was funny because they all worked in TJM the beta 1 but not in beta 2. I kept getting len() of TJM unsized object errors. Anyway, re-creating them all from TJM scratch (ugh..)

RE: [Zope-dev] No feedback for SOAP patch ?

2000-06-26 Thread Brian Lloyd
On Fri, Jun 23, 2000 at 10:34:50PM -0400, Evan Simpson wrote: I've barely had a free second with functioning brain capacity this past week, but I'm interested. More so now that Secret Labs has announced their SOAP client library at http://www.pythonware.com/products/soap If you

[Zope-dev] setup.py scripts

2000-06-26 Thread Andrew Kuchling
Has anyone at DC looked at the setup.py scripts I posted a while back? Any questions? Any opinions? Anyone care for a mint? --amk ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

[Zope-dev] 2.2 permission problem with adding ZClass Instance as user in DTML

2000-06-26 Thread Bill Anderson
OK, I have aproblem that is largely baffling me. I have Meerting Management installed and working properly ... for the most part. If I use the following code to add a Managed Meeting, it works fine: a href="/LAN/manage_addProduct/MeetingManagement/ManagedMeeting_factory"Add LAN Party/a I get

Re: [Zope-dev] New security model and products breaking zope management

2000-06-26 Thread Bill Anderson
"R. David Murray" wrote: OK, I've stared at this for a couple days and have not made any progress. Perhaps others will have some insights. Zope 2.2.0b2, clean install. Works fine. Add EMarket. Now the management is broken. Accessing the base URL of the site with /manage_main appended

Re: [Zope-dev] New security model and products breaking zope management

2000-06-26 Thread R. David Murray
On Mon, 26 Jun 2000, Lalo Martins wrote: I had the same problem ("Contents" tab not appearing) and it didn't even occur to me that it might be a Product (because that happened before the update on Products was released). After much munching trough the code, I made the simple change

[Zope-dev] 2.2.0b3 - try/except changed?

2000-06-26 Thread Dr. Ross Lazarus
This new beta has fixed some problems for me and the documentation on the new security model for products has really helped... However, I seem to be getting errors in previously (2.1.6) dtml try/except structures. 1. dtml-except now seems to die unless there's an error_type parameter (I usually

RE: [Zope] Zope 2.2b2 security conundrum

2000-06-26 Thread Jay, Dylan
-Original Message- From: Bill Anderson [mailto:[EMAIL PROTECTED]] Sent: Monday, June 26, 2000 1:42 PM To: Jay, Dylan Cc: '[EMAIL PROTECTED]' Subject: Re: [Zope] Zope 2.2b2 security conundrum "Jay, Dylan" wrote: I am playing with ZDP-Tools which are ZClassed based. When I

[Zope] Problem with the datatype lines

2000-06-26 Thread Anders Holmbech Nielsen
Hi Zopers, I have found out that when using the datatype "lines" in my own ZClass it won't obey to the locale settings. That means that the words coming from "lines" look like: t/370nk. And therefore they don't get correctly indexed in the database. I'm running Zope 2.1.6 (on both linux and

[Zope] Unique Identifiers for Zope Objects

2000-06-26 Thread Michael Abbott
I'm looking for an internal globally unique identifier for objects in my Zope store. I know that I can use id=object.absolute_url() to create an identifier and then something.resolve_url(id) to recover the object from the identifier -- but I have two problems with this API: 1. The URL is not

RE: [Zope] Can not add Zope Tutorial with 2.2

2000-06-26 Thread Oleg Broytmann
On Sun, 25 Jun 2000, Brian Lloyd wrote: Did you try to _import_ the tutorial or add it from the "add list" in the management interface? It is intended that you should add it from the add list (this should be better documented though...) Both variants didn't work for me - both gave "len()

Re: [Zope] (no subject)

2000-06-26 Thread Bill Anderson
"Jay, Dylan" wrote: -Original Message- From: Marco Mariani [mailto:[EMAIL PROTECTED]] Sent: Friday, June 23, 2000 9:54 PM To: Jay, Dylan; [EMAIL PROTECTED] Subject: Re: [Zope] (no subject) On Fri, Jun 23, 2000 at 04:32:39PM +1000, Jay, Dylan wrote: It seems to me

Re: [Zope] MySQLDA Problems with simple constant/function queries

2000-06-26 Thread Monty Taylor
This is actually fixed in both 1.1.4 and in 1.2.0. The problem has to do with type conversions from a dictionary in the adapter. Any type of non-row function or aggregate returns a type of 'unhandled' which was not mapped in the conversion dictionary. This is fairly much the bug that called for

Re: [Zope] Re: SiteAccess 2.1.6

2000-06-26 Thread Bill Anderson
Oleg Broytmann wrote: On Sun, 25 Jun 2000, ethan mindlace fremen wrote: repeatably make 2.1.6 not work with SiteAccess 1.0.1 , you should let us know about it. I don't think there are millions of failures with SiteAccess. There certainly are. Many people in Russian Python/Zope

[Zope] Translator package/project died or what ?

2000-06-26 Thread Holger Lehmann
Hi everyone, especially J. David Ibáñez and Federico Di Gregorio :-) Since Federico did not reply to my mail I am posting this on the list to gain responses. We **need** a translator package for Zope. We will be hosting a site that will have the feature to "speak" different languages. So I got

[Zope] embed an SQL method inside a dtml-in tag

2000-06-26 Thread wai
Hi, I tried to embed an SQL method statement inside my dtml-in listing, the problem I'm facing was, will Z sql method detact the value I passed in, let say : # This is my first listing dtml-in abc_sql_statement #another sql_statement dtml-in bcd_statement dtml-var xyz

[Zope] help a zope newbie

2000-06-26 Thread Amit Redij
Hello I want to know more about Zope. I have seen few site powered by Zope. One thing I had noticed is that almost all of those sites are mostly static pages. I mean I am interested to see how can Zope be used for a portal. like containing many pages having lots of form variables. database

[Zope] Zope 2.1.6 Bug?

2000-06-26 Thread James W. Howe
I'm running Zope 2.1.6 under Windows 2000. I've encountered a situation where I can cause Zope to completely hang. For example, if I create a DTMLMethod called test in the root folder and give it this contents (leading spaces on the table tag are important): table width="100%"

[Zope] problem with the beta

2000-06-26 Thread frank cuzzocrea
i am using 2.2 Beta 2 and every time i attempt to add a new folder, or a dtml document, i keep having this error Error Type: SuperCannotOwn Error Value: Objects cannot be owned by the superuser I never got this with 2.1.6 is this an error in the 2.2 beta 2 version, or do u think i just have

Re: [Zope] Internationalization

2000-06-26 Thread Rob W. W. Hooft
I only have a few internationalized pages, but I'm more than half-way happy with a very simple approach: 1) an External Method "preferred_lang", which takes a list of possible languages as argument, and returns the language from that list that has the highest ranking in

Re: [Zope] ZODB performance: reads to writes

2000-06-26 Thread Evan Simpson
- Original Message - From: Jimmie Houchin [EMAIL PROTECTED] This is what I understand based on your reply and from the paper by Jim. 1. That there are solutions currently being worked on by DC (implied). Yes, worked on does not mean 'Coming Soon to a Zope near You!' :) 2.

RE: [Zope] help a zope newbie

2000-06-26 Thread Chris McDonough
I have seen few site powered by Zope. One thing I had noticed is that almost all of those sites are mostly static pages. I mean I am interested to see how can Zope be used for a portal. like containing many pages having lots of form variables. database connectivity etc. what is the

Re: [Zope] Zope 2.1.6 Bug?

2000-06-26 Thread Anders Holmbech Nielsen
hi, this is a strange error. I have just tried on my win nt 4.0 Zope 2.1.6 with the same result. I'm running Zope 2.1.6 under Windows 2000. I've encountered a situation where I can cause Zope to completely hang. For example, if I create a DTMLMethod called test in the root folder and give

Re: [Zope] (no subject)

2000-06-26 Thread ethan mindlace fremen
Luc Tonin wrote: does anybody know how to have some statistic about each web pages under zope?? each pages is da result of query on a mysql database ! any id ??? thx by advance I don't know if this is what you mean, but you can use webalizer or another statistics package on the log file

[Zope] URL parsing error in 2.2.0b2

2000-06-26 Thread T.J. Mannos
I used to be able to use URLs like this in Zope 2.1.6: http://mysite.com/somepage?url=http://somewhere.com In Zope 2.2.0b2, I get a "404 File Not Found" error. Do I need to URL-quote the address now? ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] Zope 2.1.6 Bug?

2000-06-26 Thread Satheesh Babu
Ha ha, still stranger results. I tried it on an NT4.0 machine and it hangs as well. Changed it to table border=0 cellspacing=0 cellpadding=0 - no quotes and no width and it works fine. What the %#@%%^ ??? Can't play much with it because there are users on the system :-( Nothing on the

Re: [Zope] ProxyPass

2000-06-26 Thread Pierre Rougier
Hi Roché Thanks Pierre This is a relief, I really didn't want to switch back to pcgi. I have worked a little bit with the rewritemodule but if anybody has an example on how to do this it would really be helpfull. Roché I don't know if it help, but My problem was to serve any

RE: [Zope] Unique Identifiers for Zope Objects

2000-06-26 Thread Chris McDonough
I'm looking for an internal globally unique identifier for objects in my Zope store. The object path would be that. I know that I can use id=object.absolute_url() to create an identifier and then something.resolve_url(id) to recover the object from the identifier -- but I have two

RE: [Zope] More verbose zope errors

2000-06-26 Thread Chris McDonough
Do a view source on the page to show the traceback contents when they don't show up within the page body. -Original Message- From: ethan mindlace fremen [mailto:[EMAIL PROTECTED]] Sent: Monday, June 26, 2000 11:08 AM To: [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Subject: Re: [Zope]

[Zope] HTML Editors that recognize DTML (was bastardized form ofXML)

2000-06-26 Thread Jeff Peterson
As promised I did some checking over the weekend. As for Windows editors, Homesite WILL let you create tags, it works quite well actually. One draw back (or a blessing, depending on your view) would be that it would force you to do dtml attributes long form, for example:

RE: [Zope] geting the type of an object from within dtml ??? == it works

2000-06-26 Thread Chris McDonough
in an external method, would not this work?: def getclass(self, ob): return type(ob) Then use the getclass fn from DTML: dtml-var "getclass(anobject)" -Original Message- From: NABETH Thierry [mailto:[EMAIL PROTECTED]] Sent: Monday, June 26, 2000 4:11 AM To: '[EMAIL PROTECTED]'

Re: [Zope] problem with the beta

2000-06-26 Thread Monty Taylor
It has to do with the new security model. The supuser can no longer own stuff. Monty Original Message On 6/26/00, 3:31:02 PM, frank cuzzocrea [EMAIL PROTECTED] wrote regarding [Zope] problem with the beta: i am using 2.2 Beta 2 and every time i attempt to add a new folder, or a dtml

[Zope] 'string' object has no attribute 'propertysheets'

2000-06-26 Thread Webmaster
Could anyone clue me into what I'm doing wrong here. I have searched the archives and can't find the answer. Thanks!! Error Type: AttributeError Error Value: 'string' object has no attribute 'propertysheets' !-- Traceback (innermost last): File

RE: [Zope] Moving Z Classes around

2000-06-26 Thread Brian Lloyd
Having discovered that [my] Z Class is in the wrong product, I'd like to move it elsewhere. The obvious thing to do is to use Cut + Paste; unfortunately, I get: The item my-item does not support this operation. (The function manage_copyObjects is not happy!) I can't think of

RE: [Zope] Zope 2.2.0b2 - PythonMethods

2000-06-26 Thread Brian Lloyd
I remember DC submitted PythonMethods into CVS, but I cannot find PythonMethod in 2.2.0b2. Are PythonMethods for later versions? Or it will be separated Product forever? I have downloaded latest PythonMethods and successfully installed the component, but shouldn't it be in

RE: [Zope] Moving Z Classes around

2000-06-26 Thread R. David Murray
On Mon, 26 Jun 2000, Brian Lloyd wrote: future to move ZClasses around, but something will still need to be done about existing instances created from a class that moves. So far we have avoided the hard thinking required to If there are no instances to worry about, could one export the

[Zope] R: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Marcel Preda
- Original Message - From: Nestor A. Diaz L. [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, June 26, 2000 7:47 PM Subject: [Zope] How-to Bypass DTML Code? Hi, anyone know how to bypass the dtml-code, that's because i'm writing a howto with showing the use of some "dtml-tags"

Re: [Zope] Generating products that perform a smart clone of a mastersite?

2000-06-26 Thread R. David Murray
On Mon, 26 Jun 2000, [iso-8859-1] Hamish Lawson wrote: What I think I need to do is to develop a facility that makes a tutor's site into a product. Instantiating such a generated product should make a smart clone of the master site, smart in the sense that only active objects are actually

Re: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Dan Rusch
I think the correct syntax is (at least for my my install of zope): lt;dtml-var foogt; -- this rendersdtml-var foo not : gt;dtml-var foolt; -- where as this renders dtml-var foo Dan Chris McDonough wrote: Use gt;dtml-var foolt; instead of dtml-var foo -Original

Re: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Hannu Krosing
"Nestor A. Diaz L." wrote: Hi, anyone know how to bypass the dtml-code, that's because i'm writing a howto with showing the use of some "dtml-tags" so it tries to interpreting it rather than only showing them. try this pre dtml-var "_.str(your_code_sample" pre --- Hannu

Re: [Zope] Products vs. ZClasses- Design Question

2000-06-26 Thread Maik Roeder
Hi Jimmie ! Jimmie Houchin wrote: This sounds weird ! Well, every page on the ZDP site has a Maintainer, and that is displayed on the top right. If you click on that link, you get to the member page, where the email exists. I go back again to make sure of what I saw. In the upper right

[Zope] parsing strings in DTML

2000-06-26 Thread Timothy Wilson
Hi everyone, I'm working on what should be a simple problem. I pulling an address out of an ldap query and the data is in the form of a $-separated string. Example: 101 Main St.$Anytown$MN$12345 Please correct me if I'm wrong, but I could probably do dtml-call "REQUEST.set('parsed_address',

[Zope] Cache X MySQL

2000-06-26 Thread Rogerio Atem de Carvalho
Dear coleagues, I decided to use Zope as an Interface to maintain and search a touristic information database. All text is stored in MySQL tables and images will be stored outside the database, for cache reasons (I will keep only the path as TEXT columns in MySQL tables). My question is:

Re: [Zope] parsing strings in DTML

2000-06-26 Thread R. David Murray
On Mon, 26 Jun 2000, Timothy Wilson wrote: "REQUEST.set('parsed_address', _.string.join(old_address, '$')" except for This is exactly correct. Inside the quotes you are in python, and so you can reference variables from the namespace by their unadorned name. Second question... Once I've got

Re: [Zope] parsing strings in DTML

2000-06-26 Thread Rik Hoekstra
I'm working on what should be a simple problem. I pulling an address out of an ldap query and the data is in the form of a $-separated string. Example: 101 Main St.$Anytown$MN$12345 Please correct me if I'm wrong, but I could probably do dtml-call "REQUEST.set('parsed_address',

Re: [Zope] parsing strings in DTML

2000-06-26 Thread Timothy Wilson
On Mon, 26 Jun 2000, Rik Hoekstra wrote: Please correct me if I'm wrong, but I could probably do dtml-call "REQUEST.set('parsed_address', _.string.join(old_address, '$')" except for the fact that getting "old_address" (the $-separated one) would require its own dtml-var old_address

[Zope] CASE tools and Zope

2000-06-26 Thread Alexander Chelnokov
Hello All, A newbie question. Is there any hints and tricks how to establish connection between CASE like ERwin and Zope? We plan to develop a a medical record system based on SQL database so data scheme is essential. And all business rules will be held in Zope. SQL tables as I realize should be

Re: [Zope] parsing strings in DTML

2000-06-26 Thread Timothy Wilson
On Mon, 26 Jun 2000, Rik Hoekstra wrote: try something like (untested): dtml-call "REQUEST.set('parse_address', _string.split(old_address, '$')" for parsing the string But what if "parse_address" comes from a SQL query? Like this: dtml-in qry_contactInfo dtml-call

[Zope] Zope 2.2.0 beta 3 released...

2000-06-26 Thread Brian Lloyd
Hi all, Zope 2.2.0 beta 3 has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.2.0b3/ This release resolves the "len of unsized object" error some folks were seeing with their SQL methods as well as an issue with broken installed products causing a

Re: [Zope] parsing strings in DTML

2000-06-26 Thread Bill Anderson
Timothy Wilson wrote: On Mon, 26 Jun 2000, Rik Hoekstra wrote: try something like (untested): dtml-call "REQUEST.set('parse_address', _string.split(old_address, '$')" for parsing the string But what if "parse_address" comes from a SQL query? Like this: dtml-in qry_contactInfo

Re: [Zope] parsing strings in DTML

2000-06-26 Thread Jeff K. Hoffman
On Mon, 26 Jun 2000, Timothy Wilson wrote: On Mon, 26 Jun 2000, Rik Hoekstra wrote: try something like (untested): dtml-call "REQUEST.set('parse_address', _string.split(old_address, '$')" for parsing the string But what if "parse_address" comes from a SQL query? Like this:

[Zope] HappySession-0.1.1 available

2000-06-26 Thread Hung Jung Lu
This release fixes a problem with erasing cookie of expired sessions on the Linux platform. Thanks to Felipe Alvarez for pointing out the problem to me. HappySession is an easy-to-use RAM-based session management product. It can be found at:

[Zope] ZOracleDA

2000-06-26 Thread Kiran Jonnalagadda
Hi, I'm trying to install ZOracleDA. I've managed to get DCOracle to build, but the test fails with this traceback: - [root@balrog src]# python DCOracle_test.py Traceback (innermost last): File "DCOracle_test.py", line 1, in ? import Buffer, oci_, sys ImportError:

Re: [Zope] Stupid question of the day

2000-06-26 Thread Andy McKay
Thank you. - Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Friday, June 23, 2000 3:07 PM Subject: Re: [Zope] Stupid question of the day Andy McKay writes: How do I find the size of the results returned by

Re: [Zope] Can not add Zope Tutorial with 2.2: Solved

2000-06-26 Thread Jochen Knuth
Hi Brian, Jochen Knuth wrote: in preparation for the LinuxTag 2000 i tried to add the Zope Tutorial to Zope 2.2.0b2 (and fresh CVS versions of the last three days) but i get the following error (i think it's the same error as Oleg mentioned): Error Type: TypeError

[Zope] Re: HappySession-0.1.1 available

2000-06-26 Thread Hung Jung Lu
Sorry, the URL should be: http://www.zope.org/Members/hungjunglu/Products/HappySession Get Your Private, Free E-mail from MSN Hotmail at http://www.hotmail.com ___ Zope

RE: [Zope] (no subject)

2000-06-26 Thread Dieter Maurer
Jay, Dylan writes: ... Perhaps another example will prove its uglyness. dtml-if "REQUEST.has_key('some_value') and this().has_key(some_value) and _[some_value] == 'a property value' and AUTHENTICATED_USER.has_role('Manager')" a href="a_url" /dtml-if link text dtml-if

RE: [Zope] (no subject)

2000-06-26 Thread Jay, Dylan
-Original Message- From: Marco Mariani [mailto:[EMAIL PROTECTED]] Sent: Monday, June 26, 2000 6:39 PM To: Jay, Dylan Subject: Re: [Zope] (no subject) On Mon, Jun 26, 2000 at 02:56:39PM +1000, Jay, Dylan wrote: dtml-if X a href="a_url" link text /a

RE: [Zope] (no subject)

2000-06-26 Thread Jay, Dylan
-Original Message- From: Dieter Maurer [mailto:[EMAIL PROTECTED]] Sent: Tuesday, June 27, 2000 3:31 AM To: [EMAIL PROTECTED] Cc: '[EMAIL PROTECTED]' Subject: RE: [Zope] (no subject) Jay, Dylan writes: ... Perhaps another example will prove its uglyness. dtml-if

Re: [Zope] How-to Bypass DTML Code?

2000-06-26 Thread Andrew Kenneth Milton
+[ Nestor A. Diaz L. ]- | Hi, anyone know how to bypass the dtml-code, that's because i'm writing a | howto with showing the use of some "dtml-tags" so it tries to interpreting | it rather than only showing them. | It's easy:- Make a method

[Zope] Can't override standard_error_message on NotFound?

2000-06-26 Thread matt
I'm having some problems with standard_error_message on 2.2.0b2. According to the mailing list archives I should be able to override NotFound errors (I even cut-n-pasted http://www.zope.org/standard_error_message/view_source into my own standard_error_message in case I was missing something)

[Zope] Bizarre new problem...

2000-06-26 Thread Curtis Maloney
Green things, I've had a site in development (almost ready to deploy) and in testing for some time. I just went to go through another test run, when a previously working page suddenly generated the following error: Error Type: OperationalError Error Value: (1017, "Can't find file:

Re: [Zope] Bizarre new problem...

2000-06-26 Thread Chris McDonough
I suspect this is coming from MySQLdb. From the Python DB-API spec: OperationalError Exception raised for errors that are related to the database's operation and not necessarily under the control of the programmer, e.g. an unexpected disconnect occurs, the data source name is not found, a