RE: [Zope-dev] Zope 2.1.6 ZCatalog: minor bug, missing find import -- with patch

2000-05-30 Thread Brian Lloyd
I just found a minor bug in Zope 2.1.6's ZCatalog (distribution). "ZCatalog.py" does not import "find". If the "containing" field contains a value, a NameError exception is raised. Patch appended. Dieter Thanks for the report - it looks like this was already fixed for 2.2. Brian

RE: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Brian Lloyd
That did the trick. One oddity, though: I had to reauthenticate as the superuser to do it. Shouldn't a Manager be able to import to Control_Panel/Products? worse yet - you can't import _at_ _all_ outside the control panel. A manager can't access RoleManager. superuser can't own

RE: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Brian Lloyd
When importing the .zexp, I get an "Attempt to store a wrapped persistent object" error. This is really puzzling, because I'm not sure how a completely through-the-web Product would have a wrapped object stored in it. I tried removing the PythonMethods to see if they were stored in

Re: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Kevin Dangoor
If you are using CVS, you need to do an update in ZODB to update the coptimizations.c file then rebuild the coptimizations module. That should fix the problem... That did the trick. One oddity, though: I had to reauthenticate as the superuser to do it. Shouldn't a Manager be able to import to

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-30 Thread Kyler B. Laird
On Tue, 30 May 2000 17:09:20 +1000 (EST) you wrote: I like the optional attribute. I'd like to see it do more than sit idle in the code. You don't have to do the typechecking in the 'arguments' box if you don't want. eg. in your arguments section: course="" subject="" O.k., it appears

Re: [Zope-dev] 'import' busted in current-cvs.

2000-05-30 Thread Anthony Baxter
Ok dokey, I've done a rebuild, and now, when trying to import stuff as a user with 'Manager' privs, I get... You are not authorized to access RoleManager. Traceback (innermost last): File /opt/zope/zope-cvs/./lib/python/ZPublisher/Publish.py, line 224, in publish_module File

Re: [Zope-dev] Z SQL: optional isn't?

2000-05-30 Thread Stuart 'Zen' Bishop
On Mon, 29 May 2000, Kyler B. Laird wrote: This is not the same functionality as is provided by the "optional" attribute. How would I use it with an integer, for example? I don't want a default value; I want the option of not having the value set at all. I like the optional attribute.

[Zope-dev] CatalogAwareness for RackMountables

2000-05-30 Thread Itamar Shtull-Trauring
I've been playing around with ZPatterns, and I must say it's very cool - finally you can mix ZCatalog and SQL storage. CatalogAwareness is slightly different than regular Zope objects in that you have to find the ZCatalog in the Rack's acquisition path, but that's about it. The absolute_url

[Zope-dev] CatalogAwareness for RackMountables

2000-05-30 Thread Itamar Shtull-Trauring
Sorry if this arrives twice, but mailing lists seem to have swallowed my earlier mail. I've been playing around with ZPatterns, and I must say it's very cool - finally you can mix ZCatalog and SQL storage. CatalogAwareness is slightly different than regular Zope objects in that you have to find

RE: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Brian Lloyd
That did the trick. One oddity, though: I had to reauthenticate as the superuser to do it. Shouldn't a Manager be able to import to Control_Panel/Products? worse yet - you can't import _at_ _all_ outside the control panel. A manager can't access RoleManager. superuser can't own

Re: [Zope-dev] Ending up with a wrapped object through the web?

2000-05-30 Thread Anthony Baxter
"Kevin Dangoor" wrote If you are using CVS, you need to do an update in ZODB to update the coptimizations.c file then rebuild the coptimizations module. That should fix the problem... That did the trick. One oddity, though: I had to reauthenticate as the superuser to do it. Shouldn't

Re: [Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out of the cache

2000-05-30 Thread Jason Spisak
Bill Anderson: Jason Spisak wrote: [...] That's funny that I am experienceing the same symptoms as you, but my installation is totally different. I'm not using GUF, or any DA's, and I'm running on RH 6.1. We really need to figure this out as a community. I am willing to try just

Re: [Zope-dev] Calling DTML methods from Python

2000-05-30 Thread Rik Hoekstra
Andrew Wilcox wrote: OK, I'll set up a DTML Quick Reference on the ZDP site right now! It's link is http://zdp.zope.org/portals/beginners/DQR We should be able to get this in place. Contributions sought! Do you want me to include my text? Where would it go? Yes. Hm, this is

[Zope-dev] Memory issue 2.1.1 request for info

2000-05-30 Thread Jason Spisak
Matthew T. Kromer: I'm extremely curious that the cache doesn't clear when you restart Zope. One would normally not expect to see this. Can you do a "ps xauww" and mail it to me / the list? USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND root 1 0.0 0.0

[Zope-dev] New Help System in 2.2

2000-05-30 Thread Jason Spisak
Michel, I was just browsing the help system and can I just say it is terrfic. The .py files especially. Not that python isn't that easy to read, but having the ZQR type stuff handy online is a huge win. Is that stuff updated fro mthe source on the fly? Greatfully, Jason Spisak CIO

Re: [Zope-dev] Cataloging LocalFS content

2000-05-30 Thread Jonothan Farr
I think, cataloging "LocalFS" content would be nice. I have the following problems with it: 1. "LocalFS" defines various meta types: "Local File System", "Local Directory" and "Local File". Only "Local File System" is a "true" meta type which should appear in the available

Re: [Zope-dev] New Help System in 2.2

2000-05-30 Thread Chris Withers
Shane Hathaway wrote: 1) Enahnce the permissions system to include "Accessible via HTTP", "Accessible via FTP", etc. Add to that 'execute in DTML method' ( + python methods perl methods;-) and you've got what I've been asking for for so long I've atoped trying :( This would prevent the nasty

Re: [Zope-dev] Cataloging LocalFS content

2000-05-30 Thread Rik Hoekstra
I think, cataloging "LocalFS" content would be nice. I have the following problems with it: 1. "LocalFS" defines various meta types: "Local File System", "Local Directory" and "Local File". Only "Local File System" is a "true" meta type which should appear in the available

Re: [Zope-dev] New Help System in 2.2

2000-05-30 Thread Jason Spisak
Shane Hathaway writes: Jason Spisak wrote: I was just browsing the help system and can I just say it is terrfic. The .py files especially. Not that python isn't that easy to read, but having the ZQR type stuff handy online is a huge win. Is that stuff updated from the source on the

Re: [Zope-dev] CatalogAwareness for RackMountables

2000-05-30 Thread Phillip J. Eby
At 12:53 PM 5/30/00 +0300, Itamar Shtull-Trauring wrote: I've been playing around with ZPatterns, and I must say it's very cool - finally you can mix ZCatalog and SQL storage. CatalogAwareness is slightly different than regular Zope objects in that you have to find the ZCatalog in the Rack's

Re: [Zope-dev] New Help System in 2.2

2000-05-30 Thread Stephan Richter
At 09:09 PM 5/30/00 +, Jason Spisak wrote: Shane Hathaway writes: Jason Spisak wrote: I was just browsing the help system and can I just say it is terrfic. The .py files especially. Not that python isn't that easy to read, but having the ZQR type stuff handy online is a huge

[Zope-dev] ZDOM alpha release 2

2000-05-30 Thread Chimezie Thomas-Ogbuji
See release notes for changes (installation process simplified w/ release of 4DOM/4XSLT/4XPATH): -- Chimezie Thomas-Ogbuji Consultant Fourthought Inc. (303) 583 9900 ext 104 [EMAIL PROTECTED] ZDOM is the result of a collaborative venture by Digital Creations and Fourthought Inc. to integrate

[Zope-dev] XMLDocument beta release 3

2000-05-30 Thread Chimezie Thomas-Ogbuji
See release notes for changes (installation process simplified w/ release of 4DOM/4XSLT/4XPATH): -- Chimezie Thomas-Ogbuji Consultant Fourthought Inc. (303) 583 9900 ext 104 [EMAIL PROTECTED] XMLDocument beta is a collection of Zope products and python tools that integrate XML into Zope, above

Re: [Zope-dev] Memory 2.1.4-2.1.6 a.k.a. how to get objects out of the cache

2000-05-30 Thread Bill Anderson
Jason Spisak wrote: Bill Anderson: Jason Spisak wrote: [...] That's funny that I am experienceing the same symptoms as you, but my installation is totally different. I'm not using GUF, or any DA's, and I'm running on RH 6.1. We really need to figure this out as a community.

Re: [Zope-dev] New Help System in 2.2

2000-05-30 Thread Jimmie Houchin
I too agree the new help system looks nice. I was considering at one point jumping up and writing a documentation system for Python/Zope. Unfortunately my notes, not many, are at work. But some things I had in mind were based on something like JavaDoc. I am not a Java expert and have not really

Re: [Zope-dev] New Help System in 2.2

2000-05-30 Thread Jason Spisak
Stephan Richter writes: At 09:09 PM 5/30/00 +, Jason Spisak wrote: Shane Hathaway writes: Jason Spisak wrote: I was just browsing the help system and can I just say it is terrfic. The .py files especially. Not that python isn't that easy to read, but having the ZQR

Re: [Zope-dev] New Help System in 2.2

2000-05-30 Thread Jason Spisak
Stephan Richter writes: At 12:02 AM 5/31/00 +, Jason Spisak wrote: Furthermore, we will include a new DTML reference soon. Do you know about anything else, that should be included? Well if you really want to make it hot, the examples that are in there can keep coming. Web links

Re: [Zope-dev] New Help System in 2.2

2000-05-30 Thread Stephan Richter
Excellent. I am reading it. I founfa few "not found"'s but that stuff probably just not loaded yet. Yeah, me too. I am fixing that as I am going along. Regards, Stephan -- Stephan Richter CBU - Physics and Chemistry Web2k - Web Design/Development Technical Project Management

Re: [Zope-dev] Re: ZCatalog and Unique IDs

2000-05-30 Thread Tres Seaver
Chris Withers wrote: Tres Seaver wrote: who's the CTO? Jim is. Okay, I get the joke now :-) * "persistent" references are effectively required to be immortal: it is _mandated_ that one be able to stringify the IOR, copy it to a piece of paper, put the paper in a