[Zope] Client.py

2000-08-09 Thread Bak @ kedai
hi all has anybody successfully used Client.py that ships with Zope-2.2.0? i can't seem to run it. even on the command line. i've searched the mailing list, but to no avail this is what i did: python Client.py http://www.zope.org and here's the traceback. Traceback (innermost last):

Re: [Zope] Client.py

2000-08-09 Thread Kapil Thangavelu
"Bak @ kedai" wrote: hi all has anybody successfully used Client.py that ships with Zope-2.2.0? i can't seem to run it. even on the command line. i've searched the mailing list, but to no avail this is what i did: python Client.py http://www.zope.org and here's the traceback.

[Zope] SV: [Zope] getitem('string') but with HTML

2000-08-09 Thread peter be
Yeah! It worked. I didn't use you dtml-in at all, and I guess you didn't understand my unwell-formated question. However, getitem(arg,1) worked! Can somebody tell me the difference between: _.getitem(arg) and _.getitem(arg,1) ?? And what does _.getitem(arg,n) do? Where n is 0,1,2,3,4,...

[Zope] substring search on zcatalog textindex

2000-08-09 Thread pja
Hi people, Got a slight problem. I've got a zcatalog with a heap of names in it, and I want to be able to search for and find a name, given I only know part of the name. I did have it going through the entire catalog and by using the substring function, had it only display a result if there

Re: [Zope] SV: [Zope] getitem('string') but with HTML

2000-08-09 Thread Curtis Maloney
On Wed, 09 Aug 2000, peter be wrote: Yeah! It worked. I didn't use you dtml-in at all, and I guess you didn't understand my unwell-formated question. However, getitem(arg,1) worked! Can somebody tell me the difference between: _.getitem(arg) and _.getitem(arg,1) ?? And what does

[Zope] Input/output error w/ Portal News Items

2000-08-09 Thread ralf . herold
Hello, after having moved to Zope 2.2 and fiddling with updating a Portal based on the PTK, I get rather strange errors when trying to read a news item. (I am posting this to both mailing lists because I do not know which one this error could related to.) There is _no_ error immediately after

Re: [Zope] More threading

2000-08-09 Thread Andrew Kenneth Milton
+[ Chris Withers ]- | Nicholas Lo wrote: | so, is there anyway to make database routines run in separate threads? | | Me too! (tm) | | What I'd really like to do is to cpu intensive stuff (like mass | cataloging ;-) in a seperate thread or

[Zope] LDAP Usersource for LoginManager

2000-08-09 Thread Chris Withers
Hi, Has anyone got an LDAP usersource working with LoginManager? More specifically, hitting the LDAP service provides my a Lotus Notes NAB... Any ideas? cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] SiteAccess-Apache: passing HOST header

2000-08-09 Thread Dr. Dieter Maurer
Does anybody know how to convince Apache to pass the information from the HTTP HOST header down to ZServer. This would be very useful for SiteAccess Access Rules. Dieter ___ Zope maillist - [EMAIL PROTECTED]

[Zope] ZMySQLDA on Win32 - connect then crash

2000-08-09 Thread William BC Crandall
Dear Phil: Thanks for your "How-To: ZMySQLDA on Win32 (2000/02/14)". And for your inquiry about troubles with the set up. Following the steps you outlined, I was able to establish a (very) minimal working connection. That is to say, I can use Zope's 'Z MySQL Database Connection' 'Test' page

Re: [Zope] SiteAccess-Apache: passing HOST header

2000-08-09 Thread Martijn Pieters
On Wed, Aug 09, 2000 at 12:25:32PM +0200, Dr. Dieter Maurer wrote: Does anybody know how to convince Apache to pass the information from the HTTP HOST header down to ZServer. This would be very useful for SiteAccess Access Rules. HTTP_HOST _is_ passed on to ZServer. I built a generic

[Zope] Problems publishing simple object directly thru ZServer

2000-08-09 Thread Max Møller Rasmussen
-- I have made a very simple class that I am trying to publish thru ZServer: -- class hello: """A very simple publishable objet in zope""" def

[Zope] Very strange problem with updating an objects properties

2000-08-09 Thread Peter Arvidsson
I have made two products, one news-product and one product for pressreleases. The products are exactly equal except that they have a bit different properties. All the code for processing these two products are equal (except then for the handling of their different properties). Everything works

[Zope] dtml-with confusion

2000-08-09 Thread Chris Withers
Can someone explain the difference between: dtml-with "PARENTS[-1]" dtml-with squishdot ...do stuff here... /dtml-with /dtml-with and dtml-with "PARENTS[-1].squishdot" ...do stuff here... /dtml-with cheers, Chris ___ Zope maillist - [EMAIL

Re: [Zope] ZMySQLDA on Win32 - connect then crash

2000-08-09 Thread William BC Crandall
Phil Harris wrote: What version of MySQL are you using and also what version of the Zope Adapter? MySQL Server version: 3.23.21-beta-debug Was using: ZMySQLDA-1.1.3-nonbin, as per your How-To. Just got: ZMySQLDA-1-1-4 (most recent stable). Same problems. Non-results SQL, 'use tmm', works,

[Zope] Installing Zope on a TRU64 platform

2000-08-09 Thread Alexandru Cucereanu
Dear Sirs, I have downloaded the source of zope 2.2.0 and I have tried to install it on a DEC 2100 A 500 MPR machine. The operating system is Tru64 v. 4.04 E (formerly Digital Unix). I followed the instructions from INSTALL.txt file so I entered the following command line python w_pcgi.py. First

Re: [Zope] SiteAccess-Apache: passing HOST header

2000-08-09 Thread Marcin Kasperski
"Dr. Dieter Maurer" wrote: Does anybody know how to convince Apache to pass the information from the HTTP HOST header down to ZServer. This would be very useful for SiteAccess Access Rules. I asked similar question about week ago. Someone advised me to use non-standard apache module

[Zope] FTP editing in version?

2000-08-09 Thread Marcin Kasperski
Is it in any way possible to edit via FTP within a version? FTP editing is very nice (I love XEmacs and EFS, I hate netscape editing control). But I do not see any way to edit file via FTP within version. Do I miss something? -- Serwis nie tylko mieszkaniowy: http://www.mk.w.pl | | Teams do

RE: [Zope] substring search on zcatalog textindex

2000-08-09 Thread Chris McDonough
If I remember correctly, partial searching was implemented against text indexes. I have no idea how to use it, however, as AFAIK it was never documented. Maybe someone else can help? -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, August 09,

[Zope] Requested Zope feature

2000-08-09 Thread J. Atwood
A lot of the time I end up going into a document/folder/method just so I can click on the 'view' tab popping up a new window so I can see it (option click / right click). It would be very nice if DC could add a icon (or take over the existing icon) to pop a new window with the object ( a

Re: [Zope] Client.py

2000-08-09 Thread Loren Stafford
See collector item #1480 http://classic.zope.org:8080/Collector/1480/view - Original Message - From: "Bak @ kedai" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: August 08, 2000 11:08 PM Subject: [Zope] Client.py hi all has anybody successfully used Client.py that ships with

Re: [Zope] FTP editing in version?

2000-08-09 Thread Meeting Maker Webmaster
Hello, At 15:02 09.08.2000 +, Marcin Kasperski wrote: Is it in any way possible to edit via FTP within a version? FTP editing is very nice (I love XEmacs and EFS, I hate netscape editing control). But I do not see any way to edit file via FTP within version. Do I miss something? Give a

[Zope] XML: manage_add is always method

2000-08-09 Thread Gijs Reulen
Hi I am doing some experiments with XML (using xmlrpc.exe; see /Members/greulen :-) and it turns out manage_addDMTLMethod and manage_addDocument BOTH add a METHOD ?! Therefore it is not possible to add a Document with the XML interface ? Are this kind of API calls not used by Zope itself ? If I

Re: [Zope] threading cont ...boundary=------------98A416F9F4157B1993D63C72

2000-08-09 Thread Loren Stafford
ZScheduler has been superceded by Xron http://www.zope.org/Members/lstaffor/Xron -- Loren From: "Martijn Pieters" [EMAIL PROTECTED] On Wed, Aug 09, 2000 at 10:12:50AM +0800, Nicholas Lo wrote: In fact, I'm trying to use ZOPE to do some automation, eg. reminder emails, news clipping, or

[Zope] It should do! :-)

2000-08-09 Thread Chris Withers
Meeting Maker Webmaster wrote: Give a look at http://www.zope.org/Members/htrd/howto/VersionFTPServer I don't know if that works with 2.2. I can't think of any reasons why it wouldn't... cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

[Zope] List

2000-08-09 Thread William JOYE
Hello, I'm a newbie in zope. I think is a simple problem but I can find a solution. I would like to show 2 lists (ex: list1 and list2) like this : list1 = 1, 2, 3,... list2 = A, B, C,... list1 + list2 = 1 A 2 B 3 C How can I iterate 2 lits in one dtml-in ? Can you help me ?

RE: [Zope] Requested Zope feature

2000-08-09 Thread Seb Bacon
yup, this is how i work too. how about adding some javascript to the manage_* methods that reload the related window (if it's open) whenever the source changes, too? a problem with this might be ending up with a mass of windows all over your desktop, which is invariably horrible. otoh,

Re: [Zope] Requested Zope feature

2000-08-09 Thread Tim Cook
"J. Atwood" wrote: A lot of the time I end up going into a document/folder/method just so I can click on the 'view' tab popping up a new window so I can see it (option click / right click). It would be very nice if DC could add a icon (or take over the existing icon) to pop a new window

[Zope] install_problems_on_FreeBSD

2000-08-09 Thread George Osvald
Please help! Install problems on FreeBSD I've installed ZOPE several times before on different systems (win98, NT, Linux) for testing purposes. Always logged in as 'root' I never encountered any problems. Recently I finally decided to upgrade my web-site to a ZOPE-Site and that's when the

re: [Zope] Client.py

2000-08-09 Thread Steve Alexander
bak wrote: has anybody successfully used Client.py that ships with Zope-2.2.0? i can't seem to run it. even on the command line. i've searched the mailing list, but to no avail There's a bug in Client.py. Change line 212 of lib/python/ZPublisher/Client.py from this:

[Zope] security settings go blank on change!

2000-08-09 Thread Paul Abrams
Yikes! Every time I try to change my security settings all of the checkboxes become unset when I save the form! 1. Open up any "Security" tab 2. Change a checkbox 3. Save the form 4. Click 'Ok' 5. ALL of the checkboxes are empty! Has anbody else seen this problem? I have a workaround, but I'd

RE: [Zope] Very strange problem with updating an objects properties

2000-08-09 Thread Casey Duncan
I have made two products, one news-product and one product for pressreleases. ... For news this works perfectly but for pressreleases this doesnt work. I am completely puzzled because the code for doing this is the same for both of them. Here is how it looks: dtml-with "newsEntries"

[Zope] Install problems on FreeBSD

2000-08-09 Thread George Osvald
Please help! Install problems on FreeBSD I've installed ZOPE several times before on different systems (win98, NT, Linux) for testing purposes. Always logged in as 'root' I never encountered any problems. Recently I finally decided to upgrade my web-site to a ZOPE-Site and that's when the

RE: [Zope] substring search on zcatalog textindex

2000-08-09 Thread Casey Duncan
So the question is, does anyone know of a simple way to get the zcatalog to also find substring matches on a textindex? -- Peter Armstrong For Text Indexes you can use wildcards like * and ? in searches. So that searching for Foo* would find Foo, FooBar, fool, etc. I'm not sure if this

[Zope] Importable Xron

2000-08-09 Thread Peter Bengtsson
I want to use the Xron product but I don't understand how to use it. (http://www.zope.org/Members/lstaffor/Xron/) All this Zope Zen jargon makes me dissy. What I don't understand is where and why to put reschedules at certain places. Subclasses and DTML Methods...etc. Can you please include a

Re: [Zope] Requested Zope feature

2000-08-09 Thread Martijn Pieters
On Wed, Aug 09, 2000 at 12:52:35PM -0400, [EMAIL PROTECTED] wrote: On Wed, Aug 09, 2000 at 04:48:07PM +0100, Seb Bacon wrote: yup, this is how i work too. how about adding some javascript to the manage_* methods that reload the related window (if it's open) whenever the source

Re: [Zope] ZPoPyDA installation: help needed

2000-08-09 Thread Hung Jung Lu
you stumbled across a tiny problem there :-) Danke. The problem does not seem so tiny, after all. :-) postgres SQL database server itself as well as you are not running a libc6 but mereley a libc5 system ? Correct. RedHat Linux 5.2. try this: rpm -qf /lib/libc.so* glibc-2.0.7-29 Old enough

[Zope] What's Wrong ? ZMySQLDB, insert Ok, select Empty!

2000-08-09 Thread iap_y2fun.com
I just installed a "MySQL connection" in Zope. Then add a "SQL Method" to insert data into a table named "staff" in MySQL, and succeccfully inserted several entries. I have checked it by mysql (a client program of MySQL). My problem is : I created another "SQL Method" which do "select" from

Re: [Zope] security settings go blank on change!

2000-08-09 Thread Martijn Pieters
On Wed, Aug 09, 2000 at 10:08:20AM -0700, Paul Abrams wrote: Yikes! Every time I try to change my security settings all of the checkboxes become unset when I save the form! 1. Open up any "Security" tab 2. Change a checkbox 3. Save the form 4. Click 'Ok' 5. ALL of the checkboxes are

[Zope] TypeError trying to use Dtml-in on Zclass

2000-08-09 Thread weboats
Hi All, I have a Zclass object called States built with folder and renderable When I try dtml-in States dtml-var sequence-item /dtml-in I get Error Type: TypeError Error Value: hasattr, argument 2: expected string, int found Does anyone know why this is happening? Thank you for your

Re: [Zope] TypeError trying to use Dtml-in on Zclass

2000-08-09 Thread Rik Hoekstra
I have a Zclass object called States built with folder and renderable When I try dtml-in States dtml-var sequence-item /dtml-in I get Error Type: TypeError Error Value: hasattr, argument 2: expected string, int found Does anyone know why this is happening? because you feed it (some

Re: [Zope] dtml-with confusion

2000-08-09 Thread Rik Hoekstra
Can someone explain the difference between: dtml-with "PARENTS[-1]" dtml-with squishdot ...do stuff here... /dtml-with /dtml-with and dtml-with "PARENTS[-1].squishdot" ...do stuff here... /dtml-with Do they behave differently? In what way? Rik

[Zope] view index_html of zlass

2000-08-09 Thread technology
Zope version 2.1.6 on redhat 6.2 using apache integration zia zope.cgi I have created the cdclass example in the zope developer guide on zope.org. I have created a dtml document in the cdclass zclass with dtml-var id and dtml-var title statements in it. The zclass instance is called mycd.

[Zope] A Newbie question

2000-08-09 Thread Hassan Aurag
Hi, I have seen on the howtos how to let apache serve static pages, but I still haven't seen an answer to the following question: Suppose I already have a big site that uses perl/cshell. Now suppose I want to move to Zope but without loosing any of that site or even converting. What

[Zope] Transactions

2000-08-09 Thread Kapil Thangavelu
quick question. Is there a way to turn off transactions for a given python operation? Kapil ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

Re: [Zope] Transactions

2000-08-09 Thread Kapil Thangavelu
Let me a bit more specific. i'm developing a python product which does some fairly intensive list processing over a long list and adds stuff to the zodb based on that. If it bombs somewhere in the middle of the processing i don't want the whole transaction rolled back. i'm doing my own data

Re: [Zope] view index_html of zlass

2000-08-09 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: Zope version 2.1.6 on redhat 6.2 using apache integration zia zope.cgi I have created the cdclass example in the zope developer guide on zope.org. I have created a dtml document in the cdclass zclass with dtml-var id and dtml-var title statements in it. The

Re: [Zope] TypeError trying to use Dtml-in on Zclass

2000-08-09 Thread Kapil Thangavelu
[EMAIL PROTECTED] wrote: Hi All, I have a Zclass object called States built with folder and renderable When I try dtml-in States dtml-var sequence-item /dtml-in I get Error Type: TypeError Error Value: hasattr, argument 2: expected string, int found Does anyone know why

Re: [Zope] A Newbie question

2000-08-09 Thread rgines
Hi, I have seen on the howtos how to let apache serve static pages, but I still haven't seen an answer to the following question: Suppose I already have a big site that uses perl/cshell. Now suppose I want to move to Zope but without loosing any of that site or even converting. What would

Re: [Zope] List

2000-08-09 Thread Kapil Thangavelu
William JOYE wrote: Hello, I'm a newbie in zope. I think is a simple problem but I can find a solution. I would like to show 2 lists (ex: list1 and list2) like this : list1 = 1, 2, 3,... list2 = A, B, C,... list1 + list2 = 1 A 2 B 3 C How can I iterate 2 lits in one dtml-in

Re: [Zope] Importable Xron

2000-08-09 Thread Loren Stafford
Xron is alpha-level software, which means (among other things) that it is new, hasn't received a lot of use, doesn't have a lot ready examples, may be lacking documentation quantity or quality. If you want to use Xron in its current alpha state you must be willing to invest a little effort in

Re: [Zope] CorruptedDataError

2000-08-09 Thread Dieter Maurer
Daniel Rusch writes: My colleague had a dtml document turn itself into a folder. When we try to delete it we get a "CorruptedDataError". Any thoughts on how to kill the offending vermin? Zope 2.2 contains a "fsrecover.py" in "ZODB". Alternatively, there is the "tranalyser" product.

Re: [Zope] a corrupted ZODB?

2000-08-09 Thread Dieter Maurer
tav writes: was working happily on the server, when all of a sudden it keeled over and didnt restart automatically. so, i went to restart it manually, and got the following error message: ZODB.FileStorage.FileStorageFormatError: /usr/local/zope/z1/var/Data.fs

Re: [Zope] TypeError trying to use Dtml-in on Zclass

2000-08-09 Thread weboats
Thank you Kapil, Yes, the problem was I didn't understand the difference between dtml-in and dtml-with. I wasn't trying to process a list. dtml-with States dtml-var index_html /dtml-with Does what I wanted it to do. Thanks again. Kevin Smith Quoting Kapil Thangavelu [EMAIL PROTECTED]:

Re: [Zope] interating though REQUEST.form in python???

2000-08-09 Thread Dieter Maurer
Kevin Howe writes: for name,value in REQUEST.form.items: Try: for name,value in REQUEST.form.items(): "items" is a method that must be called to return a sequence of tuples. Dieter ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] List

2000-08-09 Thread Dieter Maurer
William JOYE writes: I'm a newbie in zope. I think is a simple problem but I can find a solution. I would like to show 2 lists (ex: list1 and list2) like this : list1 = 1, 2, 3,... list2 = A, B, C,... list1 + list2 = 1 A 2 B 3 C How can I iterate 2 lits in one

Re: [Zope] Bug in dtml-in size=1

2000-08-09 Thread Dieter Maurer
Marcus Gruendler writes: I am working on a project with Zope. Unfortunately I am having a problem whith the dtml-in tag. I am using the batch processing feature and want to show only one element per sequence. I do this by setting size=1 and orphan=1. But th dtml-in tag only iterates

Re: [Zope] dtml-with confusion

2000-08-09 Thread Dieter Maurer
Chris Withers writes: Can someone explain the difference between: dtml-with "PARENTS[-1]" dtml-with squishdot Here, your namespace contains all attributes (owned or acquired) of "squishdot" and of "PARENTS[-1]". ...do stuff here... /dtml-with /dtml-with and dtml-with

[Zope] dtml-with confusion

2000-08-09 Thread Dan L. Pierson
Chris Withers writes: Can someone explain the difference between: dtml-with "PARENTS[-1]" dtml-with squishdot ...do stuff here... /dtml-with /dtml-with Push the root (PARENTS[-1]) on the namespace stack. Push squishdot on the namespace stack. ...do stuff here... dtml-with

Re: [Zope] List

2000-08-09 Thread Kapil Thangavelu
never mind... web python methods don't have access to map... so my example wouldn't work on a through the web python method... without defining a map function... dieter's method is better. Kapil Thangavelu wrote: William JOYE wrote: Hello, I'm a newbie in zope. I think is a simple

[Zope] How to read raw data from HTMLFile?

2000-08-09 Thread Kevin Howe
I would like to pre-process a DTML file (accessed using HTMLFile) before displaying it in the web browser. Example Code: dtml=HTMLFile('manage/mycode', globals()) def cleanUp: # eliminate blank lines and !-- comments-- from DTML . def printDTML(self): return

[Zope] It's a call for getting programmers.

2000-08-09 Thread Jonathan Desp
Hi, I'd like to know if anyone would like to help us to build this nanotechnology. I'm searching someone that would like to become the webmaster of Atomasoft. here you can see the site so far: www.atomasoft.com Since 1997 we try to make a good organisation, and presently we have a small

[Zope] Squishdot upgrade HELP- screwy max posts behaviour

2000-08-09 Thread sean
I upgraded my 3.x version of Squishdot to 4.1 I followed all the instructions, but when I got to the part where you "push this button once" after the upgrade to 4, I got an error (so of cource I pushed it many times and now get the message that: Error Type: Index Exists Error Value: The

[Zope] Request for Comment: Zope API naming convention

2000-08-09 Thread Jim Fulton
There is a proposal to adopt a naming convention for all new Zope API methods at: http://dev.zope.org/Wikis/DevSite/Proposals/APINamingConvention Comments are gratefully accepted at: http://dev.zope.org/Wikis/DevSite/Proposals/APINamingConventionDiscussion Please make comments by

[Zope] RE: Request for Comment: Zope API naming convention

2000-08-09 Thread Chris McDonough
Plenty of time... :-) Please make comments by Wednesday April 16. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! Technical Director (888) 344-4332http://www.python.org Digital Creationshttp://www.digicool.com http://www.zope.org

[Zope] Re: [Zope-dev] RE: Request for Comment: Zope API naming convention

2000-08-09 Thread Steve Alexander
Chris McDonough wrote: Please make comments by Wednesday April 16. Jim Plenty of time... :-) Especially considering that the next Wednesday April 16 is in 2003. -- Steve Alexander Software Engineer Cat-Box limited http://www.cat-box.net

[Zope] Re: [Zope-dev] Request for Comment: Zope API naming convention

2000-08-09 Thread Jim Fulton
Jim Fulton wrote: There is a proposal to adopt a naming convention for all new Zope API methods at: http://dev.zope.org/Wikis/DevSite/Proposals/APINamingConvention Comments are gratefully accepted at: http://dev.zope.org/Wikis/DevSite/Proposals/APINamingConventionDiscussion

[Zope] Re: [Zope-dev] Permission

2000-08-09 Thread Jim Fulton
Tom Deprez wrote: Hi, I have this q'n already a long time in my head and I still don't know the answer to it. It has to do with the security-view. I hope that someone can shed a light on my brains. Why is their an Acquire permission (referred to as acq_perm in following text) checkbox

Re: [Zope] Requested Zope feature

2000-08-09 Thread jpenny
On Wed, Aug 09, 2000 at 04:48:07PM +0100, Seb Bacon wrote: yup, this is how i work too. how about adding some javascript to the manage_* methods that reload the related window (if it's open) whenever the source changes, too? a problem with this might be ending up with a mass of windows

Re: [Zope-dev] remote procedure calls to manage functions

2000-08-09 Thread Chris Withers
andrew wrote: Have been delving into ZPublisher.Client to make remote procedure calls under Zope 2.2.1. Did someone slip 2.2.1 without mentioning it?! I thought XML-RPC was now favoured over ZClient? cheers, Chris ___ Zope-Dev maillist -

[Zope-dev] __setattr__

2000-08-09 Thread Chris Withers
I'm building a DataBlob class (which inherits from SimpleItem.Item, Persistent and RoleManager), a generic object for storing data is such that you can do the following in a form-processing method: dtml-with "manage_addProduct['DataBlob']" dtml-call "manage_addDataBlob(id='Fred')" dtml-call

Re: [Zope-dev] __setattr__

2000-08-09 Thread Chris Withers
Chris Withers wrote: snip last idea At Steve Alexander's suggestion, I'm going to try subclassing DataBlob from PersistentMapping. So now I need to add attribute support... How do the following three methods sound: def __getattr__(self,name): try: return

Re: [Zope-dev] __setattr__

2000-08-09 Thread Chris Withers
Chris Withers wrote: def __setattr__(self,name,value): self.__setitem__(self,name,value) Erk... first problem, why does a Zope __setattr__ take four arguments?! DataBlob.py, line 62, in __setattr__: Error Type: TypeError Error Value: too many arguments; expected 3, got 4 Do either

Re: [Zope-dev] __setattr__ -- Zope Crash :S

2000-08-09 Thread Chris Withers
Steve Alexander wrote: The application, ./python.exe, generated an application error The error occurred on 8/ 9/2000 @ 11:48:41.189 The exception generated was c0fd at address 7800118b (lock) DrWatson also said this was a Stack Overflow error. Now what am I doing wrong? ;-)

[Zope-dev] Wrap or not wrap i Zope source

2000-08-09 Thread Peter Bengtsson
What I want to do is simple. Modify the source of Zope so that one can select either wrap=off or wrap=virtual in the textarea box of the documentEdit.dtml I bet you all recognize these HTML bits (documentEdit.dtml): INPUT NAME=SUBMIT TYPE="SUBMIT" VALUE="Taller" INPUT NAME=SUBMIT

[Zope-dev] Permission

2000-08-09 Thread Tom Deprez
Hi, I have this q'n already a long time in my head and I still don't know the answer to it. It has to do with the security-view. I hope that someone can shed a light on my brains. Why is their an Acquire permission (referred to as acq_perm in following text) checkbox column? In order to

Re: [Zope-dev] Request for Comment: Zope API naming convention

2000-08-09 Thread Jim Fulton
Jim Fulton wrote: There is a proposal to adopt a naming convention for all new Zope API methods at: http://dev.zope.org/Wikis/DevSite/Proposals/APINamingConvention Comments are gratefully accepted at: http://dev.zope.org/Wikis/DevSite/Proposals/APINamingConventionDiscussion

[Zope-dev] ZCatalog brains

2000-08-09 Thread Steve Alexander
Is there any good reason that the "brains" returned by ZCatalog searches don't have a standard property that reflects the URL of the object they have meta-data from? This would seem to me to be more object-oriented, and would save calls to someCatalog.getpath(data_record_id_) in loops. Am I

Re: [Zope-dev] remote procedure calls to manage functions

2000-08-09 Thread Michel Pelletier
Chris Withers wrote: andrew wrote: Have been delving into ZPublisher.Client to make remote procedure calls under Zope 2.2.1. Did someone slip 2.2.1 without mentioning it?! I thought XML-RPC was now favoured over ZClient? It's not really favored, both are quite useful. xml-rpc is

Re: [Zope-dev] remote procedure calls to manage functions

2000-08-09 Thread Jim Fulton
Michel Pelletier wrote: Chris Withers wrote: andrew wrote: Have been delving into ZPublisher.Client to make remote procedure calls under Zope 2.2.1. Did someone slip 2.2.1 without mentioning it?! I thought XML-RPC was now favoured over ZClient? It's not really favored,

Re: [Zope-dev] Problems with Zap

2000-08-09 Thread Shane Hathaway
Alvaro Carneiro wrote: Apache is exiting! I must be getting tired... at first I thought I read "Apache is exciting!" :-) Shane ___ Zope-Dev maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope-dev ** No cross posts or HTML

Re: [Zope-dev] remote procedure calls to manage functions

2000-08-09 Thread Michel Pelletier
Jim Fulton wrote: Michel Pelletier wrote: I thought XML-RPC was now favoured over ZClient? It's not really favored, both are quite useful. xml-rpc is more for when you want two different system to interoperate. ZClient is very zope specific and probably gives you a bit more

[Zope-dev] Re: [Zope] Permission

2000-08-09 Thread Dieter Maurer
Tom Deprez writes: The Acq_perm column doesn't exists. Assume that acquisition of a permission is always Active. The checkboxes of the role show their actual value (according to the acquisition). Thus if permissionA is checked in the parent-object, permissionA is also checked. If you

Re: [Zope-dev] Weird Data.fs corruption...zope-dev@zope.org

2000-08-09 Thread Dieter Maurer
Martijn Pieters writes: Ai, NFS! There is a known no-no about using NFS for Data.fs storage, it leads to data corruptions. Zope and NFS do not mix. Huch, why that? I use Data.fs (occasionally) over NFS and did not yet have had problems. And appending to a file should work over NFS. Locking

[Zope-dev] Broken product instances when using SiteAccess

2000-08-09 Thread Helge Tesdal
We have set up a site using SiteAccess. The site itself works just fine, but when moving Data.fs to other machines the instances of our products appear broken. There is no problem adding new instances. Currently we're running Zope 2.1.6, and will probably continue to do so unless this is

Re: [Zope-dev] ZPatterns Question

2000-08-09 Thread Steve Alexander
Thanks for your answers, Phillip. Here's what I've learned. I still need to try these out on a test system, to prove to myself that they work the way I think they do. 1: ZClass instances can have PropertySheets added to them, independently of any sheets declared in the ZClass class definition.

Re: [Zope-dev] Weird Data.fs corruption... zope-dev@zope.org

2000-08-09 Thread Martijn Pieters
On Wed, Aug 09, 2000 at 10:56:44PM +0200, Dieter Maurer wrote: Martijn Pieters writes: Ai, NFS! There is a known no-no about using NFS for Data.fs storage, it leads to data corruptions. Zope and NFS do not mix. Huch, why that? I use Data.fs (occasionally) over NFS and did not yet have

[Zope-dev] Membership Security Update

2000-08-09 Thread Bill Anderson
A day or so ago, I made an announcement that there may be a problem with Zope storing passwords for members in the clear in the SystemProperties propertysheet. After som einvestigation, it does exactly what it is supposed to do. That is, store them encrypted with crypt by default. The catch

[Zope-dev] Request for Comment: Zope API naming convention

2000-08-09 Thread Jim Fulton
There is a proposal to adopt a naming convention for all new Zope API methods at: http://dev.zope.org/Wikis/DevSite/Proposals/APINamingConvention Comments are gratefully accepted at: http://dev.zope.org/Wikis/DevSite/Proposals/APINamingConventionDiscussion Please make comments by

[Zope-dev] RE: Request for Comment: Zope API naming convention

2000-08-09 Thread Chris McDonough
Plenty of time... :-) Please make comments by Wednesday April 16. Jim -- Jim Fulton mailto:[EMAIL PROTECTED] Python Powered! Technical Director (888) 344-4332http://www.python.org Digital Creationshttp://www.digicool.com http://www.zope.org

[Zope-dev] OFS.objectManager checking object Ids

2000-08-09 Thread Jay, Dylan
This seems to be a new thing in Zope 2.2, however it is breaking functionality that I had before. I was able to add objects with ids that had a "?" in them. This gets quoted in links and seems to be handled fine by zope (both 2.2 and older versions). Why can't I have question marks in my objects

RE: [Zope-dev] OFS.objectManager checking object Ids

2000-08-09 Thread Jay, Dylan
As I said, when the url is quoted there is no problem. http://azonia.auslabs.lucent.com/Auslabs/AuslabsFAQ/Where%20is%20X%3f causes no problems. The above object is sitting happily inside Zope with a question mark at the end. I had to let the bad_id check let it pass but is there any reason why

Re: [Zope-dev] Permission

2000-08-09 Thread Jim Fulton
Tom Deprez wrote: Hi, I have this q'n already a long time in my head and I still don't know the answer to it. It has to do with the security-view. I hope that someone can shed a light on my brains. Why is their an Acquire permission (referred to as acq_perm in following text) checkbox

Re: [Zope-dev] Weird Data.fs corruption...

2000-08-09 Thread Carl Robitaille
Hi, That's because your problem only existed for a few hours. Sigh. I'm using the CVS version of Zope2. We try to keep this stable, but no guarantees. Some changes were checked into CVS on Monday night that caused the problem you observed. That's all right. I'm just an unlucky