[Zope] Splitting ZSQL results across pages

2000-08-10 Thread John Morton
I'd like to split the output of a ZSQL query across different instances of a page in the same fashion as zope.org does with ZCatalog output, but I can't for the life of me find any documentation on how it's done. Does anyone know the magic incarntations or where the documents are? Thanks, John

[Zope] MessageDialog with dtml?

2000-08-10 Thread Peter Arvidsson
Is it possible to display a MessageDialog with dtml only? I have searched the mailinglist archives and found some postings about this but the instructions there doesnt seem to work. Maybe MessageDialog has been changed to 2.2 or something? ___ Zope

Re: [Zope] Squishdot upgrade HELP- screwy max posts behaviour

2000-08-10 Thread Chris Withers
[EMAIL PROTECTED] wrote: 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

Re: [Zope] Checking for broken Hyerlinks

2000-08-10 Thread John Chandler
Is it possible to check for broken hyperlinks in Zope? If you mean check a Zope site for broken links, you should be able to use any off-the-shelf link checking software without any problem. We use a customised link checker written in Python for our Zope sites at NIP. On the other hand, if

Re: [Zope] Checking for broken Hyerlinks

2000-08-10 Thread John Chandler
Is it possible to check for broken hyperlinks in Zope? If you mean check a Zope site for broken links, you should be able to use any off-the-shelf link checking software without any problem. We use a customised link checker written in Python for our Zope sites at NIP. Just to add to

[Zope] Reloading file objects?

2000-08-10 Thread Peter Arvidsson
I have file-objects containing pdf-files. When I change the object to contain another pdf-file (with "manage_upload") I get a problem. When I want to view the file it still shows the old file. However when I choose save to disk I get the new object and if I take a look at its properties (size

[Zope] ZClass strangeness: broken basic management actions

2000-08-10 Thread Darran Edmundson
I'm almost at my wit's end (again). I have several very simple ZClasses (*none* of which are subclassed from CatalogAware). The "Basic" tab shows them all to be subclassed from "ZObject, ZObjectManager". Recently I posted asking how to implement copy/paste programatically. It turns out this

Re: [Zope] Reloading file objects?

2000-08-10 Thread Peter Arvidsson
Something like that will probably work but I cant tell everyone that visit the site to change their IE settings :/ Gijs Reulen skrev: Have you tried to disable the browser cache (or 'temp internet files') ? -Oorspronkelijk bericht- Van: [EMAIL PROTECTED] [mailto:[EMAIL

[Zope] dtml-in sort question

2000-08-10 Thread Jean Jordaan
Hi all I'd like to sort bunch of objects, and this doesn't seem to work: dtml-in "PARENTS[0].objectItems(['ccDocClassMetaType'])" sort=id Should it work? How does one sort the results returned by an expression such as the above? -- jean ___

[Zope] AArgh. Zope-2_2-branch and head of CVS breaks SQLMethods.

2000-08-10 Thread Anthony Baxter
The current Zope-2_2-branch and head of CVS is busted - you cannot add or edit SQLMethods. It appears that Products.ZSQLMethods.__init__.__methods__ doesn't get into the namespace of the product properly, as neither the add or edit screens can see SQLConnectionIDs. Blah. More to come - I'll

[Zope] Zope MySQL on Win98

2000-08-10 Thread William BC Crandall
Hello Zope and MySQL users, I'm trying to access MySQL through Zope. I hope someone can point out my set-up error(s). Environment: Windows98: 4.10.98 MySQL Server: 3.23.21-beta-debug Zope v.: 2.2.0 (binary release, python 1.5.2, win32-x86) Python v.: 1.5.2 (#0, Jul 30 1999,

RE: [Zope] Reloading file objects?

2000-08-10 Thread Jens Vagelpohl
a simple workaround, but one that pretty much prevents any caching anywhere, is to append the URL for this file with a changing query string, e.g. a timestamp. this is what it would look like: untested a href="dtml-var name="my_file"?x=dtml-var expr="ZopeTime()" fmt="%H%M%S""My File/a /untested

Re: [Zope] AArgh. Zope-2_2-branch and head of CVS breaks SQLMethods.

2000-08-10 Thread Anthony Baxter
Aha! Nailed it. It's the 1.131 version of OFS/Application.py cvs log entry: revision 1.131 date: 2000/08/02 17:31:54; author: brian; state: Exp; lines: +71 -46 branches: 1.131.4; Merged fix for products with old-style initialization not being properly filtered

[Zope] Multiple record input into Postgresql

2000-08-10 Thread William Herring
I am new to using Zope, but have been succesfull at using a psql input wizard to generate forms to dump data to a postgresql table. However, I have a dilema. I would like to generate a form that can dump multiple inserts to a variable, say x1, into a postgresql table. However, there is an

Re: [Zope] a corrupted ZODB?

2000-08-10 Thread Marcus Mendes
Hello Dieter, I canĀ“t find the Tranalyze Product at Zope.org. Where is? Thanks. Marcus Mendes Dieter Maurer wrote: 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

Re: [Zope] Install problems on FreeBSD

2000-08-10 Thread Steve Spicklemire
Hi George, "George" == George Osvald [EMAIL PROTECTED] writes: George Install from source: demon:~/zope $ ./start Traceback George (innermost last): File George "/home/virtuals/gosvald/zope/z2.py", line 554, in ? exec George "import "+MODULE in {} File "string", line 1, in ?

[Zope] Adding a bunch of ZTopics at once

2000-08-10 Thread Jean Jordaan
Hi Zopers How would one programmatically add a whole bunch of ZTopics? For example, I'd like to have ones for: Getting to know Manual Presentation Press Release Press Coverage Technical Paper User Guide White Paper And adding them

RE: [Zope] Transactions

2000-08-10 Thread Chris McDonough
Kapil, I don't know if you've run across this yet, but the method call: get_transaction() In Python (after you've imported the ZODB module) returns the result of the get_transaction global, which helps do some transaction-related things: get_transaction().commit() get_transaction().abort()

Re: [Zope] Squishdot upgrade HELP- screwy max posts behaviour

2000-08-10 Thread albert boulanger
AFAIK, item_list(used on the main page) returns the following: - all the articles (not only those from the current day), if their number is less than a third of self.max_itemlist - A number of articles equal to a third of self.max_itemlist, even if

[Zope] Simple DTML date-stamp

2000-08-10 Thread William BC Crandall
Just starting to set things up, and I would like a standard_html_footer with a date-stamp. As a start, I tried: hr pLast modified: dtml-var name="date" fmt="aCommonZ"/p pdtml-var ZopeAttributionButton/p /body /html Why does this break? Minimal format breaks in the same way: hr pLast

[Zope] Sendmail Tag - No Buffer Space

2000-08-10 Thread Tim Cook
Anyone have an idea what could cause this error when attempting to send email? Besides the header, the email is only one line of plain text (no dtml). Sendmail is running on port 25 and works okay. OS is Linux 2.2.5-15 Zope 2.2 final

[Zope] DTML script (or python method) to change the object type of

2000-08-10 Thread Lucas Hofman
Could anybody point me in the right direction regarding making a script that converts all DTML Documents is a directory tree to DTML Methods? Thanks, -- Lucas Hofman PGS Serestel: +47 67514059 PO Box 354 fax: +47

[Zope] application/octet-stream vs. application/msword

2000-08-10 Thread Jean Jordaan
Hi Zopers How does Zope recognize the type of a file? Mostly it recognizes .doc's correctly as 'application/msword', but sometimes they turn up as 'application/octet-stream'. Others, like .fh8 (Freehand) and .exe (self-extracting zip) are (unsurprisingly) also turning up as

[Zope] Why is 'Shutdown' an Error?

2000-08-10 Thread William BC Crandall
Another start-up question. Why does the Control Panel "Shutdown" button generate an Error: Zope Error Zope has encountered an error while publishing this resource. exceptions.SystemExit Zope has exited normally. Traceback (innermost last): File C:\Program

RE: [Zope] AArgh. Zope-2_2-branch and head of CVS breaks SQLMethods.

2000-08-10 Thread Brian Lloyd
Thanks Anthony - I've checked in a fix to the 2.2 branch and the trunk. Brian Lloyd[EMAIL PROTECTED] Software Engineer 540.371.6909 Digital Creations http://www.digicool.com -Original Message- From: Anthony Baxter [mailto:[EMAIL PROTECTED]] Sent:

RE: [Zope] substring search on zcatalog textindex

2000-08-10 Thread Casey Duncan
TextIndexes index individual words separately (using a vocabulary object to identify each word in the catalog). All non-alphanumeric characters (such as punctuation) are dropped so that excludes searching for "?" or "*" or any other non-alphanumerics using TextIndexes. Not much of this is

Re: [Zope] Simple DTML date-stamp

2000-08-10 Thread Holger Hoffmann
Hi, William BC Crandall wrote: Just starting to set things up, and I would like a standard_html_footer with a date-stamp. As a start, I tried: hr pLast modified: dtml-var name="date" fmt="aCommonZ"/p pdtml-var ZopeAttributionButton/p /body /html Why does this break? Minimal

[Zope] zope2.2.0 and what is high load

2000-08-10 Thread bak @ kedai
oo zopistas i have a question. being a small time site maintainer, i don't quite know how to classify the situation i'm having now. the site is front ended with apache, with mod_pcgi2. zope 2.2.0 (running with -t 25) and rh 6.2 how can i know that the load i'm having is a big load? i've been

[Zope] _[] and Non-persistent ZClass objects

2000-08-10 Thread Chris Withers
Petr Knapek wrote: When I put the code below dtml-let myTest="_['Control_Panel']['Products']['TestProduct']['TestClass']" dtml-var "myTest.foo()" /dtml-let I can see this error: Error Type: AttributeError Error Value: __call__ This is 'cos the implementation of _[] is really broken

[Zope] In-tag Batch processing

2000-08-10 Thread Tom Deprez
Perhaps a stupid question, But how can you provide a link to the next batch of items at the start of the batch table? or : assume you have a result from a query, which is shown in batches of 5 items and you want to be able to allow the users to choose a page. How can you show these possible

[Zope] ZClass

2000-08-10 Thread Petr Knapek
Hi Zopists, I have created a ZClass (TestClass) with an external python function 'foo'. Now I would like to create an instance (myTest) of my TestClass in a dtml template and call its method foo. When I put the code below dtml-let

[Zope] Multiple record input into Postgresql

2000-08-10 Thread Spicklemire, Jerry
William wrote: inserts to a variable, say x1, into a postgresql table. However, there is an additional variable, x2 that would have to be only entered once and would be the same for every record for which a different x1 is entered. it seems the dtml-in should do this. Assign the

RE: [Zope] zope2.2.0 and what is high load

2000-08-10 Thread Chris McDonough
It sounds like your load may not be very small. Your -t25 setting to threads does not help too much, because the number of database connections is hard-limited to 7 in the ZODB source. It might help to visit the debug section of the control_panel to get an understanding of how many threads are

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

2000-08-10 Thread Stephen Harrison
Simon Coles wrote: We started to write it up on Zope.org but it appears we never completed the HOW-TO. I'll get on it. Having been spured into action, I have now knocked the HowTo into a reasonable shape. You can see it at: http://www.zope.org/Members/stephen/ApacheProxyPatch if it's not

[Zope] Problems with LDAPmodule on sunos5

2000-08-10 Thread Jarkko Veijalainen
I have created Zope site on Linux wich uses external methods to access LDAP. I transferred my site to Solaris8/sunos5 but i can't manage to get LDAPmodule working on sunos. Finally after two days of work and with pretty slick manouvers, i managed to build LDAPmodule

Re: [Zope] Splitting ZSQL results across pages

2000-08-10 Thread Bill Anderson
John Morton wrote: I'd like to split the output of a ZSQL query across different instances of a page in the same fashion as zope.org does with ZCatalog output, but I can't for the life of me find any documentation on how it's done. Does anyone know the magic incarntations or where the

Re: [Zope] Why is 'Shutdown' an Error?

2000-08-10 Thread Jonothan Farr
Because it throws a SystemExit exception. If you're not running in debug mode "-D" you won't see the traceback. --jfarr "Work like you don't need the money, love like you've never been hurt, and dance like no one is watching!" Anonymous - Original Message - From: William BC Crandall

[Zope] SECURITY: Zope security alert and hotfix product...

2000-08-10 Thread Brian Lloyd
Hi all - We have recently become aware of an important security issue that affects all released Zope versions prior to 2.2.1 beta 1. The issue involves the fact that the getRoles method of user objects contained in the default UserFolder implementation returns a mutable Python

Re: [Zope] Importable Xron

2000-08-10 Thread Loren Stafford
From: "Graham Chiu" [EMAIL PROTECTED] On Wed, 9 Aug 2000 14:45:58 -0700 "Loren Stafford" [EMAIL PROTECTED] wrote: *This message was transferred with a trial version of CommuniGate(tm) Pro* Xron is alpha-level software, which means (among other things) that it is new, hasn't received

[Zope] ANNOUNCE: Zope 2.2.1 beta 1 released

2000-08-10 Thread Brian Lloyd
Hi all - Zope 2.2.1 beta 1 has been released - you can download it from Zope.org: http://www.zope.org/Products/Zope/2.2.1b1/ This release contains many bug fixes, including the fix for the recently announced security issue. It also includes fixes to the ZODB code for supporting

[Zope] Note on 2GB limit for ZODB FileStorage (was Re: [Zope] Re: ZEO and 2gbmax limit for linux .. not for solaris etc.)max limit for linux .. not for solaris etc.)

2000-08-10 Thread Jim Fulton
Please note that we recently found a bug in ZODB FileStorage that causes it to fail miserably if a file gets over 2GB. This bug is fixed in Zope 2.2.1, which is being released in beta today. Note that even with this fix, your OS/File-System/Python-config must support files over 2GB to allow

[Zope] ZEO 0.2.1 doesn't work with Zope 2.2.1 FileStorage

2000-08-10 Thread Jim Fulton
There is a bug in ZEO 0.2.1 which was made effective by Zope 2.2.1 (which has just beed released in beta). I plan to release ZEO 0.2.2 shortly, which fixes this bug. If you are using ZEO, please hold off of using Zope 2.2.1 (or an up-to-date Zope public CVS) until you can install ZEO 0.2.2.

Re: [Zope] DTML script (or python method) to change the object type of

2000-08-10 Thread Kapil Thangavelu
Lucas Hofman wrote: Could anybody point me in the right direction regarding making a script that converts all DTML Documents is a directory tree to DTML Methods? Thanks, code up an external method - here is some sample pseudo code(looks like python buts its not:). this one sits in the

Re: [Zope] application/octet-stream vs. application/msword

2000-08-10 Thread Kapil Thangavelu
Jean Jordaan wrote: Hi Zopers How does Zope recognize the type of a file? Mostly it recognizes .doc's correctly as 'application/msword', but sometimes they turn up as 'application/octet-stream'. Others, like .fh8 (Freehand) and .exe (self-extracting zip) are (unsurprisingly) also

[Zope] ZClass inheriting from image question

2000-08-10 Thread Meeting Maker Webmaster
Hello, I am still working on my "users preferences" I mentioned earlier. For now I will stay with the standard acl_users as they seem to offer everything I currently need to authenticate the user. On the other side, I am creating a new ZClass that will be used to store the user information in

[Zope] ANNOUNCE ZEO 0.2.2 Released

2000-08-10 Thread Jim Fulton
A new bug-fiz release of ZEO is abailable at: http://www.zope.org/Products/ZEO. This release fixes a serious bug that was made effective by Zope 2.2.1 and recent changes checked into the Zope CVS. This release also provides fixes and documentation for the -S option to the server startup

Re: [Zope] Splitting ZSQL results across pages

2000-08-10 Thread Dieter Maurer
John Morton writes: I'd like to split the output of a ZSQL query across different instances of a page in the same fashion as zope.org does with ZCatalog output, but I can't for the life of me find any documentation on how it's done. Does anyone know the magic incarntations or where the

Re: [Zope] application/octet-stream vs. application/msword

2000-08-10 Thread Dieter Maurer
Jean Jordaan writes: How does Zope recognize the type of a file? It uses "OFS.content_types.guess_content_type" (look at the source in OFS/Image.py), unless the manage_addFile specifies an explicit "content_type". Can Zope be taught more types? Look at the source of "OFS.content_types".

Re: [Zope] dtml-in sort question

2000-08-10 Thread Dieter Maurer
Jean Jordaan writes: I'd like to sort bunch of objects, and this doesn't seem to work: dtml-in "PARENTS[0].objectItems(['ccDocClassMetaType'])" sort=id Should it work? How does one sort the results returned by an expression such as the above? I think so. Does it not? I

Re: [Zope] In-tag Batch processing

2000-08-10 Thread Dieter Maurer
Tom Deprez writes: But how can you provide a link to the next batch of items at the start of the batch table? You need Zope 2.2 or the patch at URL:http://www.dieter.handshake.de/pyprojects/zope/dt_in.pat or you use the "next" argument of the "in" tag. Dieter

[Zope] newbie question -- can't delete toplevel folder

2000-08-10 Thread Guy Middleton
I just installed Zope, and tried playing with it a bit. I can create a toplevel folder (in the "Zope" directory), but it then seems to be undeletable. Is this a problem, or is there something special about toplevel folders that I don't know? I can delete any contents I put in the folder with

Re: [Zope] ZClass inheriting from image question

2000-08-10 Thread Kapil Thangavelu
Meeting Maker Webmaster wrote: Hello, I am still working on my "users preferences" I mentioned earlier. For now I will stay with the standard acl_users as they seem to offer everything I currently need to authenticate the user. On the other side, I am creating a new ZClass that will be

[Zope] file uploading from IE browser

2000-08-10 Thread David Zhu
Hi All, I'ved followed the online How-To on implementing a simple service for parsing uploaded files via the browser. But strangely, it only works for Netscape browsers. When I test the uploading using IE, the supposed file object becomes a string object, causing all sorts of problems. How am

RE: [Zope] Splitting ZSQL results across pages

2000-08-10 Thread Wilkinson Charlie E
Title: RE: [Zope] Splitting ZSQL results across pages -Original Message- From: Dieter Maurer [[EMAIL PROTECTED]] John Morton writes: I'd like to split the output of a ZSQL query across different instances of a page in the same fashion as zope.org does with ZCatalog output, but I

Re: [Zope] List

2000-08-10 Thread Steve Alexander
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

[Zope] Redhat 6.2 problems

2000-08-10 Thread Scott Burton
I am trying to run the latest version of Zope (2.2.1 beta) on a Redhat 6.2 Linux system. When I run the ./start script it gets to the Zope Server Monitor and sits there. It never returns back to the bash prompt. I can get to Zope's management interface from a browser so Zope *is* running. However

Re: [Zope] ZClass inheriting from image question

2000-08-10 Thread Meeting Maker Webmaster
Hello, At 16:31 10.08.2000 +, Kapil Thangavelu wrote: I am still working on my "users preferences" I mentioned earlier. For now I will stay with the standard acl_users as they seem to offer everything I currently need to authenticate the user. On the other side, I am creating a new

Re: [Zope] Redhat 6.2 problems

2000-08-10 Thread Phil Harris
Scott, By default Zope runs in debug mode, edit the script and remove the -D and it should run as a daemon. Phil - Original Message - From: Scott Burton [EMAIL PROTECTED] To: Zope List [EMAIL PROTECTED] Sent: Thursday, August 10, 2000 11:32 PM Subject: [Zope] Redhat 6.2 problems I

Re: [Zope] Reloading file objects?

2000-08-10 Thread Terry Kerr
are u using netscape? this seems to be a netscape cache problem. The same happens with images. You have to download the image to harddisk for netscape to update its cache. Peter Arvidsson wrote: I have file-objects containing pdf-files. When I change the object to contain another pdf-file

Re: [Zope] ZClass inheriting from image question

2000-08-10 Thread Kapil Thangavelu
Meeting Maker Webmaster wrote: Hello, At 16:31 10.08.2000 +, Kapil Thangavelu wrote: I am still working on my "users preferences" I mentioned earlier. For now I will stay with the standard acl_users as they seem to offer everything I currently need to authenticate the user. On

Re: [Zope] Redhat 6.2 problems

2000-08-10 Thread Luis Cortes
You can run it as a background process. ./start or you can create/modify the initialize file in /etc/rc.d/init.d/Zope if it is not there, create one, if it is check it to see that it is pointing to the correct path. Also, in the boot script make sure that you have a to start it as a

[Zope] ANNOUNCE NewsCenter 0.0.5

2000-08-10 Thread Kapil Thangavelu
A week's worth of hacking to present NewsCenter. I'll bump of the version numbers once I get a few more features and get some feedback from the community regarding any fixes and pretty up the interface. Its stable for me and works well. Thanks to Amos and Shane of DC for contributing

Re: [Zope] Redhat 6.2 problems

2000-08-10 Thread Curtis Maloney
On Fri, 11 Aug 2000, Scott Burton wrote: I am trying to run the latest version of Zope (2.2.1 beta) on a Redhat 6.2 Linux system. When I run the ./start script it gets to the Zope Server Monitor and sits there. It never returns back to the bash prompt. I can get to Zope's management interface

[Zope] zope221b1 - broken zclass instances

2000-08-10 Thread Dr. Ross Lazarus
zope220 working fine, redhat 6.2, intel hardware. Installed zope221b1 (tried installing the upgrade tar over a copy and compiling - repeated with the source tar - same results). All zclass instances broken - the zclass products are healthy looking in the Products folder and new instances added

Re: [Zope] Importable Xron

2000-08-10 Thread Loren Stafford
From: "Bill Anderson" [EMAIL PROTECTED] Loren Stafford wrote: ... So how about this: I invite other developers to create rescheduler sub-products for Xron. If you create a rescheduler product, let me know about it, and I'll link to it from the Xron product page. Your product could be

Re: [Zope] Importable Xron

2000-08-10 Thread Bill Anderson
Loren Stafford wrote: From: "Bill Anderson" [EMAIL PROTECTED] Loren Stafford wrote: ... So how about this: I invite other developers to create rescheduler sub-products for Xron. If you create a rescheduler product, let me know about it, and I'll link to it from the Xron product

Re: [Zope] ZClass strangeness: broken basic management actions

2000-08-10 Thread Bill Anderson
Darran Edmundson wrote: I'm almost at my wit's end (again). I have several very simple ZClasses (*none* of which are subclassed from CatalogAware). The "Basic" tab shows them all to be subclassed from "ZObject, ZObjectManager". Recently I posted asking how to implement copy/paste

[Zope] ANNOUNCE: Xron alpha version 0.0.8

2000-08-10 Thread Loren Stafford
Xron Version 0.0.9 Date: 2000/08/10 1. Added simple rescheduling capability to the "reschedule" method. Now you can make repetitive events without creating a subclass. http://www.zope.org/Members/lstaffor/Xron -- Loren ___ Zope maillist - [EMAIL

[Zope] Speeding up Zope by disabling logging of hits

2000-08-10 Thread David Trudgett
I'm using zope behind a front-end server and don't require any logging of hits. Is there a way to disable Zserver hit logging to increase speed and decrease disk utilisation? (I suppose I can send output to /dev/null, but that doesn't stop the logging code from being executed, and I would also

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

2000-08-10 Thread David C. Kankiewicz
"Jay, Dylan" wrote: 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

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

2000-08-10 Thread Itamar Shtull-Trauring
Jim Fulton wrote: 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 functionality than xml-rpc (because it has the 'remote object' abstraction). I

RE: [Zope-dev] RE: [Zope] ZPatterns Question

2000-08-10 Thread RC Compaan
At 01:57 PM 8/8/00 +0200, RC Compaan wrote: I've added a propertysheet called "properties" to my ZClass and i notice there is Persistent Sheetprovider under the default rack already. The Sheetprovider has properties Sheet_Names and Sheet_Namespaces. I guess Sheet_Names should refer to the

Re: [Zope-dev] ZCatalog brains

2000-08-10 Thread Chris Withers
Steve Alexander wrote: 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? That sounds like a good idea :-) This would seem to me to be more object-oriented, and would save

[Zope-dev] permission mapping error when importing a ZClass-based product.

2000-08-10 Thread Anthony Baxter
I'm trying to export/import a ZClass based product from one Zope2.2 system to another, and I'm getting the following: Error Type: Permission mapping error Error Value: Attempted to map a permission to a permission, Edit ekit Partner, that is not valid. This should never happen.

[Zope-dev] Re: permission mapping error when importing a ZClass-based product.

2000-08-10 Thread Anthony Baxter
Ok, I got a quick workaround by making a new Product, and creating the permissions it needed inside there. I _suspect_ the problem was caused by nested ZClasses. Uuuugly. Anthony Anthony Baxter wrote I'm trying to export/import a ZClass based product from one Zope2.2 system to

Re: [Zope-dev] Permission

2000-08-10 Thread Jim Fulton
Tom Deprez wrote: Thanks Jim, for answering my q'n. In order to change a permission for a certain role, we have to check or uncheck this permission at the roles permission checkbox. I don't understand this. You can grant permissions to a role locally, regardless of whether you

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

2000-08-10 Thread Jim Fulton
Itamar Shtull-Trauring wrote: Jim Fulton wrote: 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 functionality than xml-rpc (because it has the

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

2000-08-10 Thread Toby Dickenson
On Wed, 09 Aug 2000 16:06:36 -0400, Jim Fulton [EMAIL PROTECTED] wrote: That's interesting..Hm. ZClient has to marshal. I suspect that xml-rpc wants some sort of optimization. xmlrpclib will by default use python's standard library xmllib.py for parsing, which is terribly slow. There is

Re: [Zope-dev] Permission

2000-08-10 Thread Tom Deprez
B)Assume I want to give Anonymous the right to 'Add Folders' Then I only have to check the 'Add Folders' permission for Anonymous and the permission will be granted to Anonymous (even, although in the root-folder Anonymous doesn't has the right? Right. Acquisition doesn't takes part,

[Zope-dev] zpatterns: how to invalidate the attribute cache?

2000-08-10 Thread Jephte CLAIN
Hello, I feel a need to invalidate a dataskin attribute cache after it has been edited, because other objects might want to use the just modified dataskin, but with the new values. Of course, these values come from some attribute providers that should be re-queried. Any thoughts? It seems that

[Zope-dev] Cache-bug in handling of files

2000-08-10 Thread Peter Arvidsson
I started this thread on the regular zope mailinglist but now I found a similar posting to my problem in the archives. I have fileobjects where I store pdf-files. If I want to change the pdf-file I use the method "manage_upload". The problem is that if I try to view it it always choose the one

Re: [Zope-dev] zpatterns: how to invalidate the attribute cache?

2000-08-10 Thread Phillip J. Eby
At 05:23 PM 8/10/00 +0400, Jephte CLAIN wrote: Hello, I feel a need to invalidate a dataskin attribute cache after it has been edited, because other objects might want to use the just modified dataskin, but with the new values. Of course, these values come from some attribute providers that

[Zope-dev] ZPatterns Question - Talking to a Specialist....

2000-08-10 Thread Steve Spicklemire
Hmm... this is probably more of a plain Zope question than a ZPatterns question.. but since I'm *using* ZPatterns, I thought I'd check what other folks are doing to implement apps with ZPatterns. I've been creating Specialists with DataSkin subclassed objects in their defaultRacks. The

Re: [Zope-dev] ZPatterns Question

2000-08-10 Thread Phillip J. Eby
At 11:58 PM 8/9/00 +0100, Steve Alexander wrote: 1: ZClass instances can have PropertySheets added to them, independently of any sheets declared in the ZClass class definition. I've been working with Zope for a while, but this had never occurred to me. I guess this is just another one of those

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

2000-08-10 Thread Jim Fulton
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 had problems. And appending to a file

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

2000-08-10 Thread Michel Pelletier
Jim Fulton wrote: Michel Pelletier wrote: I made a test script to make about 300 xmlrpc calls to various manage_ methods. I had to kill it after about a half-hour cuz it was takin so long. This sounds pretty fishy. Are you saying that you made less than 300 calls in half an

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

2000-08-10 Thread Dieter Maurer
David C. Kankiewicz writes: "Jay, Dylan" wrote: 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

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

2000-08-10 Thread Jay, Dylan
-Original Message- From: Jim Fulton [mailto:[EMAIL PROTECTED]] Sent: Thursday, August 10, 2000 9:51 PM To: David C. Kankiewicz Cc: Jay, Dylan; '[EMAIL PROTECTED]' Subject: Re: [Zope-dev] OFS.objectManager checking object Ids "David C. Kankiewicz" wrote: "Jay, Dylan" wrote: