Re: [Zope] len() of unsized object error

2000-11-20 Thread Dieter Maurer
Peter Bengtsson writes: If found this TypeError description in many places in the mailing list archive, but no solution to my sendmail problem. The problem was, that "dtml-sendmail" was incompatible with a debugging tool from Shane (I forgot its name, but the list archive will tell it to

Re: [Zope] Question about security

2000-11-20 Thread Dieter Maurer
Joaldo Junior writes: Does anyone can inform if is there any kind of function, which a common user can change your password by the same way a superuser can do in ACL_User? Look at the built-in Zope API reference: User object. The User object has methods to read and change the information

Re: [Zope] how-to list all the zclasses constructors ?

2000-11-20 Thread Dieter Maurer
Didier Georgieff writes: I guess it should be simple to generate the list of constructors and proposing the associated methods, but i just can't figure how to do that ;- I answer with a general remark: Whenever you see that the Zope management interface does something you are interested

[Zope] Re: tag for knowing how many have logged under the same URL (present time)

2000-11-21 Thread Dieter Maurer
jacintha menezes writes: Kindly let me know how can we find out how many have logged (present time)into zope under the same URl.If there is an dtml-tag for this kindly give me that. Obviously, you do not know yet how logging in works: HTTP is a stateless protocol. There is not

Re: [Zope] security problems .. should be fairly easy...

2000-11-21 Thread Dieter Maurer
Bowyer, Alex writes: I can't find any examples in any of the Zope documentation about how to manage permissions for class methods. Does anyone know where I could find such documentation or examples if there are any? Did you look at the upcoming Zope book? Dieter

Re: [Zope] ZClass/DTML Document transparency

2000-11-21 Thread Dieter Maurer
Randall Kern writes: In the case of DTML Documents, the following works fine: dtml-var sequence-item In the case of ZClasses, I have to use something like this: dtml-with sequence-item dtml-var index_html /dtml-with But this is rather ugly, and it's the sort

Re: [Zope] External Method

2000-11-21 Thread Dieter Maurer
Kini Natekar writes: How can I pass parameters to an External Method? I know of one way to do this, is to use dtml-var tag. Is there any other way? Anywhere, you can use 'expr=""'. This means almost all DTML tags: call, var, in, with, let (without 'expr='!) ... Example:

Re: [Zope] random object with properties

2000-11-21 Thread Dieter Maurer
Kevin Worth writes: I'm trying to find/write a method that will choose a random image from a folder (easy, using the random how-to) But I also want to display the caption for the image, which is a property of that image. This method: dtml-var

Re: [Zope] Date

2000-11-21 Thread Dieter Maurer
Tom Deprez writes: Does someone knows how to calculate the date after 6 months of a certain date? eg ZopeTime() + 6 months? Is there an easy formula for this? Or do I've to check myself for a new year, leap year When I would need it (and did not find a better method), I would use

Re: [Zope] expiring dtml documents

2000-11-21 Thread Dieter Maurer
wade naveja writes: this is great! i'll give this - or something similar - a try in the near future. in know that zope has a reputation for less than cohesive documentation, but can someone point me in the direction of some zope api documentation? The ZQR (Zope Quick Reference; search

[Zope] Re: is it possible to see whether any user is using a perticular zope object

2000-11-22 Thread Dieter Maurer
subrahmanyan kalathur writes: Now I would like to know is it possible to know if any body is using the zope object. I mean , if one user is running one DTML method , I want to know that one user is using that object. Is there any DTML tag for that. No. The standard Zope objects do

Re: [Zope] random object with properties

2000-11-22 Thread Dieter Maurer
Kevin Worth writes: dtml-let photo="_.whrandom.choice(objectValues('Photo'))" dtml-var photo dtml-with photo dtml-if caption/dtml-if /dtml-with This does not work with a "Photo" from the ZPhoto product. Anyone know why? It grabs the caption from the folder containing

Re: [Zope] Zope / DCOracle / ZOracleDA / Oracle 7.3.3 crash/respawn problem

2000-11-22 Thread Dieter Maurer
Chris Beaumont writes: Unfortunately, if what you meant was to remove the -DDCOracle8 flag from the end of my Setup file and recompile, that didn't do it. Zope is still crashing and restarting on perhaps one out of every 100 requests. It seems to be more common when it hasn't been

[Zope] Analysing Zope startup problems (was: [Zope] zope 2.24b1upgrade on win98 crashing. errno 9?) upgrade on win98 crashing. errno 9?)

2000-11-22 Thread Dieter Maurer
jimbo writes: IOError: [Errno 9] Bad file descriptor Whenever there is a Zope startup problem, you should edit the command line starting Zope (in "start.bat"). Add "STUPID_LOG_FILE=zope.log". Start Zope. Of cause, it will crash again. Look into "zope.log". Maybe you have a change to see what

Re: [Zope] Date

2000-11-22 Thread Dieter Maurer
Tom Deprez writes: Hum, but then you also have to take into account the possible year change. But a nice idea. This is handled by the Python "mktime" and "localtime/gmtime". You need not to worry about. Dieter ___ Zope maillist - [EMAIL

Re: [Zope] External Methods

2000-11-22 Thread Dieter Maurer
Kini Natekar writes: I have got a html form which accepts an input from the user. This input has to be passed to a Python script, as a parameter, which is added as an external method in zope. Is there any way to do this ? Your method: def my_method(REQUEST): '''my_method

[Zope] BUG: Nasty dtml-sendmail bug - Zope 2.2.4b1, Zope 2.1.6

2000-11-22 Thread Dieter Maurer
Today, I spend 3 hours to analyse a nasty dtml-sendmail bug (Zope 2.1.6): Zope reported an SMTP exception: "recipient required" It turned out that the "messageText" that arrived in "Products.MailHost.MailHost.send" started with an empty line. Therefore, "decapitate" could not find the

Re: [Zope] Speaking of Python Methods....

2000-11-22 Thread Dieter Maurer
Steve Drees writes: What's the PythonMethod equivalent of: dtml-with callTypes dtml-var "_.getitem(_.str(2)).Name" /dtml-with To get the object: getattr(callTypes,'2').Name then you must do something with it. "dtml-var" would render it. This means call it, if it is callable and

Re: [Zope] Executing Z SQL Methods via a URL request

2000-11-22 Thread Dieter Maurer
Please do *NOT* send HTML mails into this list! Nick McDowell writes: I have a Z SQL method that requires an “id” value which it users to perform a select statement. I am trying to pass this “id” value via a URL, which calls a DTML method who in turn calls the Z SQL Method. When I

Re: [Zope] External Methods

2000-11-23 Thread Dieter Maurer
Phil Harris writes: Wouldn't it be better to pass in self? As in: def my_method(self,REQUEST=None): '''my_method interpreting *REQUEST*.form.''' if REQUEST is None: REQUEST=self.REQUEST # safety_valve in case you forget to pass in REQUEST form= REQUEST.form # this

[Zope] Re: is it possible to see whether any user is using a perticular zope object

2000-11-24 Thread Dieter Maurer
subrahmanyan kalathur writes: which RDBMS will u suggest. MySQL or Postgres and for that what are the changes need to be done for my zope. Install the RDBMS and the corresponding Zope database adapter. Replace your Zope Gadfly connection(s) by corresponding Zope XXX connection(s). Maybe,

Re: [Zope] Medusa Monitor

2000-11-24 Thread Dieter Maurer
Anderson Ami writes: Anybody knows What is Medusa Monitor ? What it do ? How can I use it ? The Medusa monitor allows you to connect to a running Zope Server and get a Python interpreter in this context. With it, you can (in principle) analyse your Zope system. However, this way of debugging

Re: [Zope] ZPyGreSQLDA on Tru64?

2000-11-24 Thread Dieter Maurer
Stephane Bortzmeyer writes: ImportError: dlopen: cannot load /usr/local/lib/python2.0/site-packages/_pgmodu le.so I expect, that "_pgmodule.so" needs some other shared object or symbol that is unavailable. Try "import _pg" in an interactive Python interpreter. I remember that in some cases I

Re: [Zope] view DTML source

2000-11-24 Thread Dieter Maurer
Anders Eriksson writes: ... view source traceback ... (Object: standard_html_header) AttributeError: __call__ That is very strange as "standard_html_header" does have a "__call__" method. Thus, I can not tell you, why you see this behaviour. However, you may use "document_src"

Re: [Zope] images last-modified bug?

2000-11-24 Thread Dieter Maurer
Júlio Dinis Silva writes: I read sometime ago of a bug in zope not sending images header last-modified, which cause browsers to always get images from zope not using the browser's cache This only affects "App.ImageFile" objects. These are image objects that are in the filesystem and not

Re: [Zope] ZEO

2000-11-24 Thread Dieter Maurer
Anderson Ami writes: I´m trying install the ZEO in my Zope ( Windows NT System ) and when I use this command : python ..\lib\python\ZEO\start.py -p 8800 to start the ZEO I get this : Traceback (innermost last): File "..\lib\python\ZEO\start.py", line 304, in ? if

Re: [Zope] ZopeBook - URL to SQL

2000-11-24 Thread Dieter Maurer
Chris Gray writes: The Zope book discusses calling a ZSQL Method via a URL, saying that a request for a URL like: http://localhost:8080/zsql_method/parameter/value "will return a result object", but what I get is the index_html document at the root, although I do get a rendered

[Zope] Re: is it possible to run a DTML method without using a browser.

2000-11-24 Thread Dieter Maurer
subrahmanyan kalathur writes: what is RPC ? , ZEO, ZODB. how to install it. where to install it. It seems to me that you have to do some homework. A good start would be to read the upcoming Zope book. It will tell you what ZODB and ZEO is, how to install it and where to install it. It

Re: [Zope] images last-modified bug?

2000-11-24 Thread Dieter Maurer
Stefan H. Holek writes: http://classic.zope.org:8080/Collector/1737/view its fixed for 2.2.4, sadly no patch for 2.2.2 afaik :( I have put a partial patch into the collector. It can be applied against 2.2.2. Dieter ___ Zope maillist -

[Zope] Re: Re[2]: [Zope] view DTML source

2000-11-26 Thread Dieter Maurer
Anders Eriksson writes: DM ... use "document_src" to view the source ... AFAIU there is two problems with using document_src directly 1) I can't use the html_quote param You do not need to (unless you are interested in standard wrapping for e.g. corporate identity or navigation).

Re: [Zope] manage_addFolder unusable from DTML-call?

2000-11-26 Thread Dieter Maurer
Kyler B. Laird writes: I have a simple DTML method: dtml-call "manage_addFolder('Folder', 'my new folder')" I can go through the management interface to create and destroy folders, but as soon as I view this method, (it tries to reauthenticate me and)

Re: [Zope] Authenticating Users.

2000-11-26 Thread Dieter Maurer
Jason C. Leach writes: How can I authenticate a user from a form. Pretty much exactly how zope.org logges you in? I have looked at both zope.org's login and logged_in (the action for login) and don't see where it actually goes and checks the username/password? This check is performed

Re: [Zope] getattr in Python Method problem

2000-11-27 Thread Dieter Maurer
Peter Bengtsson writes: In the folder where dosomething_pym (Python Method) is located, is also a string property set called 'en' with the value 'English' The Python Method object is called with no parameters, but is defined with the 'self' parameter inside the Python Method object.

Re: [Zope] Instance within Instance

2000-11-27 Thread Dieter Maurer
Daryl Stultz writes: I have a product folder called "TestClass" with 2 ZClasses: class1 and class2. The following is an exerpt from the class1 constructor: dtml-with "class1.createInObjectManager(REQUEST['id'], REQUEST)" dtml-call "REQUEST.set('id', 'myClass2')" dtml-call

Re: [Zope] AND operator and ZCatalog

2000-11-27 Thread Dieter Maurer
Bak @ kedai writes: i have a ZCatalog that indexes news. i use keyword index, and text index. when i try dtml-in "Catalog(publication=myPub,section=mySec,date_posted=myDate)" . it seems that the search was ORed, not ANDed. i hope i'm clear enough. I tried it out:

Re: [Zope] WebDav-support / Index_html versus index.html

2000-11-27 Thread Dieter Maurer
Pieter Biemond writes: ... access Zope via WebDAV from MS products Can anybody answer the following questions: * Has anybody implemented something like this before? Any pittfals I should watch out for? Search the searchable list archiv. You will find some article about this issue.

Re: [Zope] security

2000-11-27 Thread Dieter Maurer
Bowyer, Alex writes: Can some one explain how the Define Permissions screen works. I really don't understand the concept behind it, what does it mean for a permission setting to own a permission? All I need to do is to make certain ZClass methods have a certain level of security and

Re: [Zope] acquisition/acl_users/permissions: is something broken? 2e post on this pb.

2000-11-27 Thread Dieter Maurer
Gilles Lavaux writes: My problem: I am logged in as 'operator'. Sometime, accessing '/sms/shtml/stations/check' show me: -Logged in as: Anonymous User and has role(s):Anonymous instead of: -Logged in as: operator and has role(s): sms_admin why (this with IE and

Re: [Zope] External Methods

2000-11-28 Thread Dieter Maurer
Kini Natekar writes: How to call an External Method from another External Method and pass parameters ? I am just a beginner, so intricate details would be appriciated. def Method1(self, ...further args...): . self.Method2(self, ...params for method2...) # or:

Re: [Zope] Instance within Instance

2000-11-28 Thread Dieter Maurer
Daryl Stultz writes: "REQUEST.set" to influence where instance is created "createInObjectManager" is uninterested in "REQUEST". It creates the new object (usually, exception when its object has a special "Destination" attribute) in the parent (aq_parent) of its object. Your

Re: [Zope] ZCatalog: How to request boolean NOT searches?

2000-11-28 Thread Dieter Maurer
Doug Morse writes: ... negating a ZCatalog index lookup ... Only ZCatalog text indexes support a restricted form of negation. Keyword and field indexes do not. Text indexes support only "and not": e.g. "Zope and not databases". Free standing "not" or combined with "or" (rather than "and") is

Re: [Zope] Instance within Instance

2000-11-28 Thread Dieter Maurer
Daryl Stultz writes: Tim Cook wrote: The problem here is that even though you set REQUEST, it is a string. You need to be in the context of the parent _object_. You should try dtml-with "_.getitem(parent_id)". Sorry, I thought of more... It's my understanding that dtml-with

Re: [Zope] html expertise anyone.3A23A8D6.ECDD8BBF@nipltd.com

2000-11-28 Thread Dieter Maurer
Robin Becker writes: In article [EMAIL PROTECTED], Chris Withers [EMAIL PROTECTED] writes Robin Becker wrote: I can do this using a class So maybe do it using a class then? ;-) Chris yes I am, but surely there has to be a way to do this stuff in line. That way I

Re: [Zope] context in Python Script

2000-11-28 Thread Dieter Maurer
Chris Gray writes: "context" in external Python Script I do not yet know, what an external Python script is. In the old "external methods", you had to use "self" as first parameter. Then (in most cases), you could use "self" inside the function body, as you would now use "context".

Re: [Zope] Possible disaster upgrading to 2.2.4

2000-11-28 Thread Dieter Maurer
Jonathan Cheyne writes: just to clarify three key messages that apprae immediately after starting up. couldnt' import product.ZDbase Thus, install "ZDbase" or determine, why it can not import it. [some blurge here] unpack sequence of wrong size Hopefully this is a consequence of the

Re: [Zope] Index_html versus index.html

2000-11-28 Thread Dieter Maurer
Chris Withers writes: Dieter Maurer wrote: Pieter Biemond writes: * Why is the default file index_html and not index.html (Windows doesn't want to open files without extensions). I assume, because preferences of Python, Zope's implementation language, have had

Re: [Zope] Question about dtml-in

2000-11-05 Thread Dieter Maurer
Sean McGrath writes: ... "dtml-in" treats sequences of two element tuples specially ... You are right. This is to support the frequent case of iterating over item sequences. There should be a "dtml-in" argument to switch off this special treatment. If I had your problem, I would go for such a

[Zope] [ANN] Zope 2.2 patch for cDocumentTemplate/Acquisition bug

2000-11-05 Thread Dieter Maurer
Appended is a patch for the cDocumentTemplate/Acquisition bug. Usually, this bug manifests itself by an "AttributeError: __call__" for a folder object. The usual context is: DTML Document: . dtml-with folder !-- here is the Attribute Error --

Re: [Zope] Zope restarting itself?

2000-11-29 Thread Dieter Maurer
Martin Winkler writes: maybe someone of you heard of a feature that Zope can restart itself when it dies abnormally. (Linux/Unix version). I found such a service for Windows NT, but not for Linux, although I am sure that I saw it a while ago somewhere... Is this just a parameter for z2.py

Re: [Zope] Help with Nested ZSQL methods

2000-11-29 Thread Dieter Maurer
[EMAIL PROTECTED] writes: ... passing parameters to Z SQL methods ... This is an FAQ. You already know the searchable list archive at NIP? Z SQL methods do *NOT* take parameters from the DTML namespace. They only look at "REQUEST". You have two options: 1. put your parameters into the

[Zope] Re: (no subject)

2000-11-29 Thread Dieter Maurer
jacintha menezes writes: I have developed a product in windows 95/98. Is it possible to port that product to NT Machine. If so please tell me how?. Did you try it? What did not go? I expect it to work without any change. At least, if you speak of a Zope product. Dieter

Re: [Zope] trouble: products created inside Zope, updating from 2.1 to 2.2

2000-12-03 Thread Dieter Maurer
Thies =?ISO-8859-1?Q?B=E4hr?= writes: authorization problems for TTW products after 2.1 -- 2.2 transition The reason is simple that you do not find upgrade documentation for TTW products: there should be nothing to worry about. Thus, you have a case, that should not be. Let the

Re: [Zope] Intercepting NotFoundError with standard_error_message

2000-12-03 Thread Dieter Maurer
Philipp Auersperg writes: missing control over stack trace I agree with you: you should have control over this stack trace. However, I fear, you will need to change the Zope source to get this. It should be easy to implement: Bind the traceback to a variable in the

Re: [Zope] Making lots of external data searchable?

2000-12-03 Thread Dieter Maurer
Anselm Lingnau writes: indexing big mail archives from Zope You can use the Zope product "LocalFS" (maybe also "ExternalFile") to wrap external files into Zope objects (without storing then in the ZODB). Newer versions of "LocalFS" allow you the catalog its contents with ZCatalog.

Re: [Zope] Custom tpValues for dtml-tree

2000-12-03 Thread Dieter Maurer
Randall Kern writes: Error Type: AttributeError Error Value: 'tuple' object has no attribute 'append' File /usr/src/Zope-2.2.2-src/lib/python/TreeDisplay/TreeTag.py, line 566, in apply_diff (Info: ([None, ([140975456, []],)], [140974880, 140974088]))

Re: [Zope] Help - cannot import zexp

2000-12-03 Thread Dieter Maurer
Oleg Broytmann writes: functions as default parameters to external method functions cause import problems "Cannot import default_render from module __main__". Oops! What's that? The default_render isn't in __main__, sure. I tried to create External Method before

Re: [Zope] database query

2000-12-03 Thread Dieter Maurer
Lee writes: ERROR: The call can not be completed as dialed. Error Type: IOError Error Value: [Errno 13] Permission denied: '/usr/local/Zope-2.1.6-src/var/gadfly/demo/demo.gfl' This is a file permission problem with "/usr/local/Zope-2.1.6-src/var/gadfly/demo/demo.gfl" Check that the

Re: [Zope] weird bug?

2000-12-03 Thread Dieter Maurer
michael angelo ruberto writes: one of the DTML methods i've created recently has started to create problems. the method adds properties to documents as people browse zope. it worked fine for a while but now it's causing zope to prompt for a password. i gave the method manager proxy which

Re: [Zope] ZopeBook ZCatalog Question

2000-12-03 Thread Dieter Maurer
Chris Gray writes: Zope Book - Chapter 9 - 2nd sentence: "You can also use it to search external data such as relational data, files, and remote web pages." Can anyone point me to further information on how to do these things? ZCatalog uses the method "objectItems" to find the

Re: [Zope] Passing lists in a get request (ZCatalog Search)

2000-12-03 Thread Dieter Maurer
Darin Lee writes: ... but when I try to sort the column (with a ?sort_on=index "get" request), the selected criteria are forgotten and the entire result set is returned sorted. You add also the search criteria to your URL? I.e. you use your_method?sort_on=themetheme=xxxtheme=yyy If

Re: [Zope] Help! Accessing product constructors methods programmatically

2000-12-03 Thread Dieter Maurer
[EMAIL PROTECTED] writes: Can anyone suggest an approach to this problem? Any relevant documents I need to read? I like to repeat my general remark (you find it several time in the (searchable) list archiv ;-)): Whenever, you can do something with the Zope management interface, you

Re: [Zope] dtml methods and properties

2000-12-04 Thread Dieter Maurer
Willem Broekema writes: As a DTML method is said to work with the properties of the object it is called at: DTML method "m": dtml-var bobobase_modification_time root folder of site/m displays the date/time when the last change happened to any file in the root folder

Re: [Zope] REQUEST.set('n', n+1) broken on zope.org

2000-12-04 Thread Dieter Maurer
Richard Jones writes: As the subject says, REQUEST.set('n', n+1) is broken on zope.org. The following DTML will raise an AttributeError on __add__: dtml-call REQUEST.set('n', 1) dtml-call REQUEST.set('n', n+1) There may be a simple explanation (someone else already pointed out, that

Re: [Zope] Accessing hierarchical information in a CORBA server

2000-12-04 Thread Dieter Maurer
[EMAIL PROTECTED] writes: Dies ist eine mehrteilige Nachricht im MIME-Format. --=_alternative 0034F414C12569AB_= Content-Type: text/plain; charset="us-ascii" Can you avoid to send MIME messages into this list? ... tree for hierarchical data on CORBA server ... ... from

Re: [Zope] Passing lists in a get request (ZCatalog Search)

2000-12-04 Thread Dieter Maurer
[EMAIL PROTECTED] writes: | Someone else suggested to use a post (rather than get) request. | In general, I would warn you against this solution. | It will break the "dtml-in" batch support. Could you elaborate on this? "dtml-in"'s batch support uses the CGI variable QUERY_STRING. This

Re: [Zope] ZSQLMethods

2000-12-04 Thread Dieter Maurer
Tom Deprez writes: I'm wondering how the following can be done. I've 2 databases. I want to do a 'join' with 2 tables, both in a different database. Is it possible to retrieve data of both tables with a ZSQLMethod and then do a programatically join? What's the easiest python way?

Re: [Zope] confusing access error

2000-12-04 Thread Dieter Maurer
Matthew Wilbert writes: I am getting an access error I don't understand at all, dtml-in "ZopeFind(this())" dtml-var sequence-item Zope Error Zope has encountered an error while publishing this resource. Unauthorized You are not authorized to access title_or_id.

Re: [Zope] The inverse of REQUEST.set is ??

2000-12-04 Thread Dieter Maurer
Dennis Nichols writes: ... deleting an item from request ... DTML will not let you do that. In Python, you can use "del REQUEST.other['something']" Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] where (required)

2000-12-04 Thread Dieter Maurer
Tom Deprez writes: ... optional tests and optional paramters in Z SQL methods ... The "where" of "dtml-group" will generate a "where" keyword, if the enclosed query is not empty. However, you must pass the declared parameters whether or not you use them. You can provide default values,

Re: [Zope] Simple site - hard to make ?

2000-12-05 Thread Dieter Maurer
Michael Jenner writes: I would like to set up a site with the following contents / requirements: 1. One main-page (no header / footer). Mainly a clickable image + a few links. 2. A section with articles. Including the "Print this page" option. This section should use one set of

Re: [Zope] just curious

2000-12-06 Thread Dieter Maurer
michael angelo ruberto writes: how do i remove all of the 7000 + company documents from Zope? You locate them with "ZopeFind" and delete them with "manage_deleteObjects". Both methods are described in the ZQR (Zope quick reference) on zdp.zope.org. Dieter

Re: [Zope] Newbie question, help with navigation method

2000-12-06 Thread Dieter Maurer
Richard Blumberg writes: Navigation works when called directly, does not work when included in "index_html" Navigation: dtml-in objectValues Is this a bug in Zope, or am I doing something wrong? Not directly. Almost surely, your "index_html" is a DTML

Re: [Zope] Comment elimination...

2000-12-06 Thread Dieter Maurer
Curtis Maloney writes: ... finding objects with "comment" in them You can use the "Find" tab and fill the "containing" field with "comment". Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Zope Beginner

2000-12-06 Thread Dieter Maurer
Mark A. Pappas writes: zope running on port 80 All ports below 1024 are priviledged ports. Under Unix, a process must run as "root" to bind to them. Dieter ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Cut/copy/paste problems

2000-12-06 Thread Dieter Maurer
Oleg Broytmann writes: Cut/copy/paste problems in Zope behind Apache To help me to resolve the problem I want to ask the helpful community provide me some information. Of those who run Zope behind Apache please tell me: 1) which way do you connect? (mod_proxy,

Re: [Zope] Disabling Services

2000-12-06 Thread Dieter Maurer
Chris Withers writes: ZServer Medusa (V1.16.4.3) ... Which of those handles WebDAV requests? WebDAV runs on top of HTTP. You must disable ZServer Medusa. Maybe, you accept WebDAV? Dieter ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] REQUEST.set doesn't set in 2.2.4

2000-12-07 Thread Dieter Maurer
Brad Clements writes: This code: dtml-call "REQUEST.set('verrormessage',orderobject.chargeCard(REQUEST,Holmes.CyberCash,Rec))" !-- charge result is dtml-verrormessage;-- Prints out _.None as the result. However a print statement in my ordeobject.chargeCard method shows

Re: [Zope] uploading Files when using GUF

2000-12-07 Thread Dieter Maurer
urs.beyeler writes: i try to allow users uploading files through a web-interface on zope2.2.1. this works fine unless i try this in a GenericUserFolder-controlled folder ... i always get Error Type: AttributeError Error Value: getUserById I do not have the GenericUserFolder

Re: [Zope] Indirect addressing

2000-12-07 Thread Dieter Maurer
Ragnar Beer writes: Howdy Zopistas! I have a directory structure like this: + myfolder index_html my_external_method dtml_method_1 dtml_method_2 ... In index_html I want to include either dtml_method_1 or dtml_method_2, ... (one method for every

Re: [Zope] Authentication Problem : External method returning object :Zope 2.2.4Zope 2.2.4

2000-12-07 Thread Dieter Maurer
Hi Sean Sean McGrath writes: ... I have an external method that returns an object. I have a dtml method that tries to reference an attribute of that object. The attempted attribute reference causes the HTTP authenticate dialog to appear. No username/password seems to appease it. Have

Re: [Zope] Zope 2.2.4 dying under Solaris 2.6

2000-12-07 Thread Dieter Maurer
Michael Best writes: I have had Zope 2.0.1, Zope 2.1.6 and Zope 2.2.4 running on Solaris 2.6 and inexplicably, every so often (no definiate amount of time) the Zope dies. A typical entry from STUPID_LOG is: 2000-12-07T18:23:22 ERROR(200) zdaemon zdaemon: Thu Dec 7 11:23:22

RE: [Zope] just curious

2000-12-07 Thread Dieter Maurer
michael angelo ruberto writes: what i meant was, is there a way to remove my files in Zope back to the filesystem? i'm having serious concerns about the stability of this product and need to know if i can gracefully revert back. If they are stored in "DTML Documents/Methods" you can simple

Re: [Zope] Using aquisition inside a dtml method of a product ?

2000-12-07 Thread Dieter Maurer
Hi Andreas, Andreas Jung writes: Inside a product my index_html is set to "index_html=HTMLFile('index_html',globals())" The index_html.dtml calls dtml-var standard_html_header. This DTML method is available in the top-level hierarchy. However When I call index_html Zope

Re: [Zope] Failed upgrade to 2.2.4 - solutions?

2000-12-09 Thread Dieter Maurer
Luke Tymowski writes: like so in my z2.py? it didn't do anything. But I can get a python core dump! If you get a core dump, then use a debugger to look into it. This can give you valuable glues wrt the cause of the problem. Dieter ___ Zope

Re: [Zope] append() and spaces

2000-12-12 Thread Dieter Maurer
Sven Hohage writes: ('car?bought=1amount=%s')%(Amount) yields spaces between the values -[1, 3, 4] You may use: ('car?bought=1amount=%s')%(_.string.join(Amount,'')) Dieter ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Zope (after) install problems

2000-12-12 Thread Dieter Maurer
Kai Hofmann writes: I installed Zope 2.2.2 with Python 1.6 (incl. threads) under Solaris 2.6 (Sparc) without problems at first. When I access the Webserver at Port 4081 I got the welcome message :) But when clicking on "QuickStart" or "management screen" I got only errors:

Re: [Zope] LocalFS question

2000-12-12 Thread Dieter Maurer
Leichtman, David J writes: However, if you try to do the same thing with a LocalFS object, i.e. dtml-var "localfs_object.localfs_subobject.bobobase_modification_time", you get the error NameError: localfs_subobject This leads me to believe that LocalFS subobjects are not really objects.

[Zope] Re: [Zope-dev] Gadfly and Zope 2.2.4

2000-12-12 Thread Dieter Maurer
Josh Zeidner writes: I tried to add a Gadfly Database connection to my Zope installation without changing any of the parameters and got an error message saying: "The parameter, connection, was omitted from the request." . What, if anything, am I doing wrong? You did not "Select a

Re: [Zope] dtml decimals

2000-12-13 Thread Dieter Maurer
Andy McKay writes: dtml-var "3/2" fmt="%.2d" instead of getting 1.50 as I was expecting I get 1.00, I never seem to be getting decimals. Whats the obivous thing Im missing here? This is a Python feature: If both arguments are integers, the division is performed as an integer division.

Re: [Zope] Response.redirect problem **sometimes** on netscape

2000-12-13 Thread Dieter Maurer
Didier Georgieff writes: dtml-call "RESPONSE.redirect(URL1)" In IE5 works fine, but NO REDIRECT on Netscape 4.51 (blank page and the post data still there), while the RESPONSE.redirect **works** on other occasions with N4.51. I use Shane's "tcpwatch" (-- zope.org) to analyse

Re: [Zope] ZWiki hierarchy seems to be brokenZope Folk zope@zope.org

2000-12-14 Thread Dieter Maurer
Timothy Grant writes: However, I seem to have done something somewhere that is preventing the hierarchy headers from showing up on many of the pages. It shows on the first page, and it still shows on all the help pages, but it has disappeared from the pages that I have been adding (They

Re: [Zope] Problem on running the ZOPE by using ZmySQLDA

2000-12-14 Thread Dieter Maurer
Angietel writes: Finally my ZOPE is connected to MySQL succesfully, i can insert, delete = the record,but i can not search and view my record in ZOPE. When i go to = MySQL it can shows all my database records after my modification in = ZOPE. Every time when i want to search or view my

Re: [Zope] Object adding strangeness

2000-12-14 Thread Dieter Maurer
Geoffrey L. Wright writes: So I've created a simple little product to dynamically manage CSS. It consists of three ZClasses and the arrangement looks something like this: STYLEn_containerClass \ \-- STYLEn_styleClass \

Re: [Zope] How to debug access denials?

2000-12-14 Thread Dieter Maurer
Stephane Bortzmeyer writes: I have problem with Zope security model and I would like to know the best way to debug Zope when access is denied. I have two experimental sites: on one of them, anonymous users can go everywhere. On the other, the permissions *look* exactly the same but

Re: [Zope] site structure

2000-12-14 Thread Dieter Maurer
Nuno Goncalves writes: How can we define a structure for an entire site with Zope ? for example i want that all the site's pages have a table with 3 colums. it's kind of a template for the web site ! As others told you, you can use a header and footer to standardize layout. The header

Re: [Zope] How to debug access denials?

2000-12-14 Thread Dieter Maurer
Stephane Bortzmeyer writes: Indeed. What am I supposed to do with that? Why is the 'title' property of the object unauthorized? (The object itself is viewable by Anonymous.) I would expect "AccessContentsInformation" is relevant to access properties. I had to drop most of my DTML

Re: [Zope] stupid file upload question

2000-12-14 Thread Dieter Maurer
Joh Johannsen writes: What sort of object is this "REQUEST.form['attached_file']"? Is there some way to find out this sort of thing when you have a Python object? (I'm new to Python) It is a "ZPublisher.HTTPRequest.FileUpload" object. From its (source) documentation: File upload

Re: [Zope] How to pass parameters to dtml methods in making dtml-call

2000-12-15 Thread Dieter Maurer
Dirksen writes: dtml-call "some_dtml_method(_.None, _, para='blablabla')" We do this often (Zope 2.1.6) and it works as expected. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML

Re: [Zope] default values in forms

2000-12-15 Thread Dieter Maurer
Curtis Maloney writes: a href="dtml-var " 'adr_change_frm?f_id=%sf_name=%s' % ( id, name ) " fmt=url_quotec/a Be careful: In general, the part after "?" must be quoted differently from the part before. After "?", a blank must be coded as '+', before "?", is must be unchanged.

[Zope] Re: [Zope-dev] IE5 / Medusa bug?

2000-12-15 Thread Dieter Maurer
seb bacon writes: IE does not get last 11 bytes - it's always the last 11 bytes that are missing, however large the page is - I've sent exact copies of the HTTP headers to the server, using telnet, and there's no problem there I made the experience that IE is very

<    1   2   3   4   5   6   7   8   9   10   >