Re: [Zope-dev] How to confuse the publishing process

2001-01-04 Thread Chris Withers
Steve Spicklemire wrote: I don't see the behavior you describe.. What did I misunderstand? Prolly nothing. I was more than likely just doing something stupid :-) cheers, Chris ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] case insensitive sorts

2001-01-04 Thread Chris Withers
Dieter Maurer wrote: Chris Withers writes: Andrew bart David sophie Wayne Why in hell do you switch caseness for similar objects? Who said anything about objects? I was just talking about lists of strings and in general, people prefer sorting based on the character to take

Re: [Zope-dev] Acquisition wishlist :-)

2001-01-04 Thread Chris Withers
Dieter Maurer wrote: acquisition.donotacquire('index_html') This would be great. Indeed :-) class MyClass (Acquisition.Explicit): acquisition = ClassAcquisitionInfo() acquisition.acquire('index_html') acquisition.acquire('fred') You already can do

Re: [Zope-dev] ZPatterns question

2001-01-04 Thread Chris Withers
Christian Scholz wrote: Well, virtual in the sense as a specialist is no real folder but can provide content from different sources. Thus what I mean is some mechanism which emulates objectIds() etc. so it looks to the user (and the ones using it via dtml) like a normal folder object.

Re: [Zope-dev] CatalogAware

2001-01-04 Thread Erik Enge
[Chris Withers] | The point behind CatalogAware was, as I understand it, that the object | inheriting from CatalogAware wouldn't have to worry about managing its | own indexing. Sadly, that didn't work out... I haven't been following this discussion, so my question may be redundant, and if it

Re: [Zope-dev] CatalogAware

2001-01-04 Thread Chris Withers
Erik Enge wrote: Are you saying that, as a general rule, inheriting from CatalogAware and using index_object, reindex_object and unindex_object does not work? It probably does, but if you're a catalog yourself anyway, as Squishdot is, it just more overhead rather than calling your own

Re: [Zope-dev] Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-04 Thread Chris Withers
Thanks... this sounds a lot like what I'm after :-) Steve Spicklemire wrote: I think that if you make your DataSkins folderish it will be hard to make the storage anything other than ZODB. Well, I don't mind the 'skins' being stored in the ZODB, but, as Steve A mentioned, I _would_ like

Re: [Zope-dev] Re: Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-04 Thread Chris Withers
Steve Alexander wrote: If you use a Folder w/ Customizer Support, you'll need to create all the DataSkin instances in the ZODB, just as if they were normal ZClass (or whatever) instances. Thus, the instances all need to be "in there" to start with. Shame, although if I'm really brutal and

Re: [Zope-dev] Objects with multiple parents and storageflexibility, ZPatterns?

2001-01-04 Thread Chris Withers
"Phillip J. Eby" wrote: You can't really "nest" DataSkins inside each other in a rack, and you really don't want to, anyway. I kindof agree, I guess nesting doesn't mean a lot in RDBMS terms? ;-) But there's nothing that says you can't create a DataSkin subclass whose __bobo_traverse__

Re: [Zope-dev] Objects with multiple parents and storage flexibility, ZPatterns?

2001-01-04 Thread Steve Spicklemire
Hi Chris, "Chris" == Chris Withers [EMAIL PROTECTED] writes: Chris Steve Spicklemire wrote: I think that if you make your DataSkins folderish it will be hard to make the storage anything other than ZODB. Chris Well, I don't mind the 'skins' being stored in the ZODB,

Re: [Zope-dev] case insensitive sorts

2001-01-04 Thread Tres Seaver
Chris Withers [EMAIL PROTECTED] wrote: Andy McKay wrote: They want information fast and most users expect case insensitive sorts. Its simpler and easy. I think having the ignore_case option for a -tree and -in helps Zope by increasing the ease of development and friendliness to the

[Zope-dev] WIN2K batch problem

2001-01-04 Thread Robin Becker
I'm trying to run Zope 2.2.2 under win2000 in a batch file. I'm just watching error messages and prints. I find that when zope has written a page to the cmd.exe window it locks further prints from python until I hit a key in the window and then it releases another page full. Is there a Win NT/2K

RE: [Zope-dev] case insensitive sorts

2001-01-04 Thread Andy Dawkins
* collation (which letters belong together) is highly locale sensitive (e.g., does a-accent-grave sort with a? etc.) A Fair point. The answer is whatever seems _naturally_ correct from a users point of view. I think the answer is yes. Elephant entropy écrit élan i.e. In the order in

Re: [Zope-dev] case insensitive sorts

2001-01-04 Thread Shane Hathaway
Chris Withers wrote: Dieter Maurer wrote: Chris Withers writes: Andrew bart David sophie Wayne Why in hell do you switch caseness for similar objects? Who said anything about objects? I was just talking about lists of strings and in general, people prefer sorting

Re: [Zope-dev] case insensitive sorts

2001-01-04 Thread Shane Hathaway
Shane Hathaway wrote: def sort_strings(data): sortable_data = list(map(lambda s: (lower(s), s), data)) sortable_data.sort() return map(lambda s: s[1], sortable_data) ... Or better, you could pass a comparison function to sort() like Tres suggested. :-) Shane

RE: [Zope-dev] RE: objectIds accessiblilty and a proposal

2001-01-04 Thread Brian Lloyd
snip wishlist I did have a proposal for just this on dev.zope.org, but I see someone has deleted it :-( cheers, Chris Are you talking about 'ProtocolAccessibility'? It's still there (though Jim has done some rearranging of things there lately)... Brian Lloyd[EMAIL PROTECTED]

Re: [Zope-dev] CatalogAware

2001-01-04 Thread Michael Bernstein
Chris Withers wrote: Erik Enge wrote: Are you saying that, as a general rule, inheriting from CatalogAware and using index_object, reindex_object and unindex_object does not work? It probably does, but if you're a catalog yourself anyway, as Squishdot is, it just more overhead

Re: [Zope-dev] ZPatterns question

2001-01-04 Thread Christian Scholz
Hi! Well, virtual in the sense as a specialist is no real folder but can provide content from different sources. Thus what I mean is some mechanism which emulates objectIds() etc. so it looks to the user (and the ones using it via dtml) like a normal folder object. Somehow like the

Re: [Zope-dev] CatalogAware

2001-01-04 Thread Erik Enge
[Michael Bernstein] | When called, they find the nearest (acquisition-wise) ZCatalog | (named Catalog by default), I think you can specify the ZCatalog it should index itself in by putting the default_catalog attribute in your class. I think, that this object (in pseudo) would index itself

[Zope-dev] ZPatterns; possible bug?

2001-01-04 Thread Steve Alexander
I have a specialist "Instructors". It holds a rack, containing DataSkin-derived ZClasses of meta-type "Instructor". The Instructor class has a DataSkin Attribute propertysheet called "Basic", and this has properties for forename, surname, address, areas. I have some skinscript in the

[Zope-dev] Internationalization

2001-01-04 Thread Keith . Larson
Hello, Has anyone translated a site within Zope ? I have tried the ZBabel Translation System (http://www.zope.org/Members/TheJester/ZBabel) and didn't think it did really what I was after. I need to translate the site into French , German , and Japanese . I assume the best way is to pull the

[Zope-dev] Product dev

2001-01-04 Thread Tim McLaughlin
I'm building a Product in Python and seem to be having some issues with the new registerClass method of Product registering. If I build it all fine as noted in Shane's recent HowTo, the product does not show up in the control panel. Then after much other chasing, I make a purposeful syntax

[Zope-dev] ghost product

2001-01-04 Thread Tim McLaughlin
In fact (to clarify my preceding problem), when I removed the product folder, Zope still shows the product and error after restarting. Am I being stupid? I must be missing something Thanks ___ Zope-Dev maillist - [EMAIL PROTECTED]

Re: [Zope-dev] ghost product

2001-01-04 Thread Chris McDonough
Delete the product from the Control Panel management interface. - Original Message - From: "Tim McLaughlin" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 04, 2001 3:10 PM Subject: [Zope-dev] ghost product In fact (to clarify my preceding problem), when I removed the

RE: [Zope-dev] ghost product

2001-01-04 Thread Tim McLaughlin
Thanks for the delete issue, however that puts me at ground 0 again. THis product will not show up in the products list... here's the __init__.py import ZSQLTable def initialize(context): """Initialize the ZSQLTable product. """ context.registerClass( ZSQLTable.ZSQLTable,

Re: [Zope-dev] ZPatterns; possible bug?

2001-01-04 Thread Phillip J. Eby
At 06:03 PM 1/4/01 +, Steve Alexander wrote: I think what is happening in the broken example is that when the zope security machinery asks for __roles__, name is also computed. The machinery must request __roles__ before changing anything. The behavior is as documented, though I'm not

[Zope-dev] Re: [Zope] Lobbying (was: [Zope] html_quote in python methods?)

2001-01-04 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] Only if you add security declarations to expose functionality from xmlrpclib. Is that hacky and nasty? :-S In Zope 2.3, you place the following code somewhere that it will get executed at startup (a custom Product's __init__ is the best bet): from

Re: [Zope-dev] case insensitive sorts

2001-01-04 Thread Dieter Maurer
Chris Withers writes: Dieter Maurer wrote: Chris Withers writes: Andrew bart David sophie Wayne Why in hell do you switch caseness for similar objects? Who said anything about objects? Maybe, I should have said subjects. Your example strings seem to name

Re: [Zope-dev] Product dev

2001-01-04 Thread Dieter Maurer
Tim McLaughlin writes: I'm building a Product in Python and seem to be having some issues with the new registerClass method of Product registering. If I build it all fine as noted in Shane's recent HowTo, the product does not show up in the control panel. Then after much other chasing,

Re: [Zope-dev] Product dev

2001-01-04 Thread Shane Hathaway
Dieter Maurer wrote: For some problems during product import, Zope decides to keep the old state rather than show the error. I wonder whether the product's version.txt might have something to do with it. Remove version.txt and see if it has any effect. Then try creating a new

[Zope-dev] Hacking Splitter.c

2001-01-04 Thread Jason Spisak
Hello, I have been hard at work implementing version 2.0 of our Zope based CRM software. I need a bit of help figuring out Splitter.c (lib/python/SearchIndex/Splitter.c) I have commented out both the parts that don't index numbers and single letter words. The numbers seem to be indexing fine,

Re: [Zope-dev] CatalogAware

2001-01-04 Thread Michael Bernstein
Erik Enge wrote: [Michael Bernstein] | When called, they find the nearest (acquisition-wise) ZCatalog | (named Catalog by default), I think you can specify the ZCatalog it should index itself in by putting the default_catalog attribute in your class. Your example is correct as far as

Re: [Zope-dev] ghost product

2001-01-04 Thread Chris McDonough
If you set the environment variable STUPID_LOG_FILE to a file path before starting Zope, you will be able to capture the debug output from the product import procedure in that file. This usually has useful information in it about product registration failures. - Original Message - From:

[Zope-dev] Python Scripts update

2001-01-04 Thread Evan Simpson
Python Scripts have gone through a fair number of changes and bugfixes recently. They should now work properly as methods of ZClasses. When you download the source of a Python Script, the title, parameter list, and bindings are added to the source in the form of specially formatted comments.

[Zope] Login dialog - another newbie question

2001-01-04 Thread Michal Krejza
Hi Zopitas, I have problem with authentication in Zope. I made small site in our company, and some informations are visible for anonymous user and some for managers. So I need to authorize users before they connect to restricted area. It's late for me, becose access to restricted methods is able

RE: [Zope] Non-ASCII-form-input - HTML-entities?

2001-01-04 Thread Markus Kemmerling
Thanks for your answers! I am looking forward for Unicode-Zope, but for now the solution proposed by D. Maurer is sufficient for me. (I suppose it is equally good to insert a Content-Type meta-tag in the standard_html_header?) This one line doesn't hurt, although W. Strobl seems to be right,

[Zope] ZBabel translation to Postgres

2001-01-04 Thread Olaf Zanger
Hi there, i'm using ZPyGreSQL successfully for my database. To keep it simple i don't want to use MySQL for ZBabel. ZBabel though uses some MySQL specific syntax which i am unsuccessfully translating to PostgreSQL syntax: Description "md5Hash" are the same fore entries with different "lang"

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-04 Thread Chris Withers
Chris McDonough wrote: So the question becomes: do we want DTML namespace lookup magic or no DTML namespace lookup magic for names that we attempt to look up in a session data object? I don't know the answer. I'm so sick of magic at this point that I'm apt to vote "no", but if it affords

Re: [Zope] case insensitive search?

2001-01-04 Thread Chris Withers
Andy McKay wrote: The checkbox is good, but surely the patch should be in presentation layer (dtml-in) and not just in Find Support. My patch fixes it throughout Zope... Hangon... I think this is case insensitive search, not sort ;-) eg: when searching for 'fIsh', that would return objects

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-04 Thread Phil Harris
- Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Chris McDonough" [EMAIL PROTECTED] Cc: "Dieter Maurer" [EMAIL PROTECTED]; "Bob Sidebotham" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Thursday, January 04, 2001 9:57 AM Subject: Re: [Zope] Core Session Tracking kudos

Re: [Zope] ZBabel translation to Postgres

2001-01-04 Thread Phil Harris
Olaf, The left join is a notation that says to get all records from the left hand side of the join and only those records where the criteria matches from the right hand side. It is btw a part of most RDBMS engines I've ever used, so it's not that unusual a syntax. You can also do something

[Zope] Re: ZBabel translation to Postgres

2001-01-04 Thread Andrew Kenneth Milton
+---[ Olaf Zanger ]-- | Hi there, ... | What does the whole thing do anyway? Finds all the phrases that don't have a translation for the language selected. It's hard to find things that don't exist in databases without nested selects which MySQL did not have at the

Re: [Zope] Re: ZBabel translation to Postgres

2001-01-04 Thread Oleg Broytmann
Hi! On Thu, 4 Jan 2001, Andrew Kenneth Milton wrote: I do recall however, that postgres only implements INNER and OUTER joins although I don't know the status of the JOIN stuff in postgres at this time. AFAIR they (especially Bruce Momjian) always suggested ti emulate LEFT JOIN with UNION.

[Zope] sqlgroup problems

2001-01-04 Thread Dario Lopez-Kästen
Hello! I need help with the following SQL-method, which I don't know if it is a bug, or if it is my mistake. I am building a search interface to a database (Zope 2.2.4 w all HF's, Oracle 8.1.7, Solaris), and I want to use the following sqlmethod, to let the user enter any combination of search

RE: [Zope] Re: ZBabel translation to Postgres

2001-01-04 Thread Albert Langer
The following references from search of huge numbers for "left join" at www.postgresql.org may be helpful: http://www.postgresql.org/mhonarc/pgsql-sql/2000-03/msg00023.html http://www.postgresql.org/mhonarc/pgsql-hackers/2000-12/msg00634.html

[Zope] Why pythonMethod forbids me cutting list?

2001-01-04 Thread Dirksen
These statements in python method: stock=[3,4] del stock[1] will cause this error: Error Type: Python Method Error Error Value: Forbidden operation DELETE_SUBSCR at line 2 How is that? Dirksen __ Do You Yahoo!? Yahoo! Photos - Share your

Re: [Zope] Problem with SiteAccess

2001-01-04 Thread Leonardo Graf
It sounds like your SiteRoot object doesn't have "Base" (aka the Base URL) set correctly. It should be set to: http://www.somesite.com The SiteAccess Rule is only needed if you have *multiple* hosts served out from one host. You sound like you only have one. Ciao! -- There is no sweeter

Re: [Zope] Problem with SiteAccess

2001-01-04 Thread Leonardo Graf
At 13:13 03.01.01 -0600, you wrote: * Leonardo Graf ([EMAIL PROTECTED]) [010103 09:16]: Hello, I'm trying to use the SiteAccess Product as discribed in the HowTo: Using Apache with ZServer (NOT Zope.cgi). Unforunately things don't work as described. My ZServer is listening on

Re: [ZOPE] ZBabel translation to Postgres

2001-01-04 Thread Olaf Zanger
hi andrew, thanks for the description. i figured it as far as that: you need in postgresql (this is tested only from zope with zsql method, since some other things don't work in the ZBabel Produkt with postgresql): sqlGetPhrasesToUpdate: select distinct Phrases.* WHERE md5Hash not in (

Re: [Zope] ZBabel translation to Postgres

2001-01-04 Thread Olaf Zanger
hi Phil, The left join is a notation that says to get all records from the left hand side of the join and only those records where the criteria matches from the right hand side. It is btw a part of most RDBMS engines I've ever used, so it's not that unusual a syntax. You can also do

Re: [Zope] Question on __roles__

2001-01-04 Thread Cees de Groot
Chris Withers [EMAIL PROTECTED] said: As this is such a core piece of Zope, it seems quite unlikely to me that I found a bug here (although an older version of ZPublisher does check object instead of subobject). The only thing I can think of is that Acquisition should work for the getattr()

Re: [Zope] Zope Projects in NL/Europe?

2001-01-04 Thread Cees de Groot
Jonathan [EMAIL PROTECTED] said: Just wondering: are there any Zope projects are available in the Netherlands/Benelux/Europe? We did one last year but they seem hard to find. Are there commercial projects available or is Zope mostly used on internal projects? Is there any demand for Zope

[Zope] Adding many users

2001-01-04 Thread Ragnar Beer
Howdy Zopistas and happy new year! I need to add about 150 users to an acl_users folder and I wouldn't like to do it manually since the data already exists in a python list. What would be an elegant way to add them all with a python script? Ragnar

[Zope] ZDP:Search is bringing up DISNEY.GO.COM !!!Hacked??

2001-01-04 Thread Sven Hohage
Hello, is the portal being hacked?? When you search on zdp.zope.org you are led to . http://disney.go.com/park/homepage/today/flash/index.html?clk=1004398 ...hmmh..better than PLAYBOY.COM ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] WIN2k batch problem

2001-01-04 Thread Phil Harris
The only thing I could think of is that the output is getting piped to more or similar!? Phil - Original Message - From: "Robin Becker" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, January 04, 2001 12:54 PM Subject: [Zope] WIN2k batch problem I'm trying to run Zope 2.2.2

Re: [Zope] Using a multiple_selection property in a product

2001-01-04 Thread Ronald L. Roeber
Randall, Thank you very much. Exactly right.!Thanks for taking the time to help. "Randall F. Kern" wrote: Try this: _properties = ( {'id':'classdays', 'type':'multiple selection','mode':'w', 'select_variable': 'days'}, ...) days = ( 'Monday', 'Tuesday',

[Zope] Re: manage_addFile problem

2001-01-04 Thread Ian Sealy
Dear all, I sent the following message to the list just before Christmas, but didn't get any replies. I've tried changing the admin_addfiles method to: dtml-call expr="manage_addFile(filename, file='', title=filetitle)" dtml-let newfile="_.getitem(filename)" dtml-call

[Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Spicklemire, Jerry
Hi Zope Fans, Has anyone found a good way to delete a Database Connection that hangs Zope at startup? The connection seems to be waiting "forever", and so there is no access to the Zope interface, so of course I can't delete, or disable the offending object. If there were just a way to set it

[Zope] Is it possible to install the Bug Collector Product in my Zope ???

2001-01-04 Thread Frederic Quin
Hi all, I can't find the bug collector product to install it in my zope. Maybe it's not possible... If it is, please tell me where to download it. Frederic ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Why pythonMethod forbids me cutting list?

2001-01-04 Thread Evan Simpson
From: Dirksen [EMAIL PROTECTED] These statements in python method: stock=[3,4] del stock[1] will cause this error: Error Type: Python Method Error Error Value: Forbidden operation DELETE_SUBSCR at line 2 How is that? Python Methods aren't smart enough to know that you created the list

[Zope] Python script / python method problem

2001-01-04 Thread Lothar T.E.L.
Hello! I am having a problem with one of the examples in Chapter 12 of the Zope book. I am creating a new product called "Zoo Exhibit" comprising of a DTML method, a Python script and, of course, a factory. http://www.zope.org/Members/michel/ZB/CustomZopeObjects.html just under Fig 12.2

Re: [Zope] WIN2k batch problem

2001-01-04 Thread Robin Becker
In article 002b01c0765d$cc54cec0$[EMAIL PROTECTED], Phil Harris [EMAIL PROTECTED] writes The only thing I could think of is that the output is getting piped to more or similar!? Phil ... seems like it's only with .bat, I turned it into a .cmd and it's ok now. -- Robin Becker

Re: [Zope] Problem with SiteAccess

2001-01-04 Thread The Doctor What
* Leonardo Graf ([EMAIL PROTECTED]) [010104 06:42]: By the way, I probably want to serve multiple hosts from one later on, so it would be nice to have an example of a SiteAccess rule. Here is a messy one. There is another with the SiteAccess2 documentation someplace...

[Zope] Zope redirecting manage_workspace?!

2001-01-04 Thread Edmund Goppelt
I've created a simple news item ZClass. When I attempt to manage a News Item instance, I get the default view (or whatever happens to be the first method listed in the ZClass 'Views' tab) instead of the usual management interface with properties, undo, view etc. Sniffing the http conversation

Re: [Zope] case insensitive search?

2001-01-04 Thread Andy McKay
No im being stupid and did a replace of sort for search in my caffeine deprived brain. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Cc: "Aleksander Salwa" [EMAIL PROTECTED]; [EMAIL PROTECTED]

Re: [Zope] Python script / python method problem

2001-01-04 Thread Evan Simpson
From: Lothar T.E.L. [EMAIL PROTECTED] I am having a problem with one of the examples in Chapter 12 of the Zope book. I am creating a new product called "Zoo Exhibit" comprising of a DTML method, a Python script and, of course, a factory. The Zope book examples are based on Zope 2.3, which

[Zope] Re: Zope.org feedback

2001-01-04 Thread Dan L. Pierson
Zachery Bir [EMAIL PROTECTED] writes: URL: http://www.zope.org/Members/dlpierson/sqlLogin Read through and completed the HOWTO for LoginManager with SQL and SkinScript. I have one question: Is there a missing step between creating the ZClass and somehow accessing it in the test folder?

Re: [Zope] ZDP:Search is bringing up DISNEY.GO.COM !!!Hacked??

2001-01-04 Thread Maik Röder
Hi ! Sven Hohage wrote: Hello, is the portal being hacked?? When you search on zdp.zope.org you are led to . http://disney.go.com/park/homepage/today/flash/index.html?clk=1004398 ...hmmh..better than PLAYBOY.COM Mmmh well, now everyone stays on the ZDP site :-)

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2001-01-04 Thread Oliver Bleutgen
Some databases convert them to uppercase! Oracle is a prominent example! It took me once some ours to locate a bug resulting from this "feature". This reminds me of another post I did some time before, but where nobody replied. Shouldn't tags for creating

[Zope] LinuxWorld Expo Exhibits pass from Digital Creations and Zope.org

2001-01-04 Thread Gary Graham
Come join Digital Creations, publishers of Zope, as our guest at the Linux World Conference Expo exhibits! The show is January 31-February 2 at the Jacob K. Javits Convention Center in New York, NY. We will be debuting our new booth and sharing some exciting information about Zope and

RE: [Zope] Login dialog - another newbie question

2001-01-04 Thread Mohan Baro
Hi there, I have been trying to do the same. i.e. create a logon form, what I have been told so far is that: 1) I have to use the method user.authenticate(,) 2) however I have found no documentation for user.authenticate() anywhere 3) others have suggested that I read the source:

Re: [Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Steve Spicklemire
Hi Jerry, You could remove the adaptor Product from Zope the Zope Products folder and restart, the object will be broken, but deletable, then restore the Product and restart Zope. -steve "Spicklemire," == Spicklemire, Jerry [EMAIL PROTECTED] writes: Spicklemire, Hi Zope Fans,

Re: [Zope] Login dialog - another newbie question

2001-01-04 Thread Chris McDonough
Mohan, The standard Zope user folder handles only basic authentication which generally needs to be done via a popup dialog on your browser. At some point, a user needs to type his authentication credentials into the dialog. The Zope security machinery handles this in the background. To force a

RE: [Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Spicklemire, Jerry
Steve suggested: You could remove the adaptor Product from Zope the Zope Products folder and restart, the object will be broken, but deletable, then restore the Product and restart Zope. Good Idea! That's about as simple as this sort of thing can get, I suspect. Has anyone found a good

[Zope] BUG: subtransaction not handled correctly in manage_addFile(was: [Zope] Re: manage_addFile problem) (was: [Zope] Re: manage_addFile problem)

2001-01-04 Thread Dieter Maurer
Ian Sealy writes: I sent the following message to the list just before Christmas, but didn't get any replies. You probably did not get an answer because it is extremely difficult to see the problem cause. Apparently, the upload was successful and resulted in some subtransaction (because your

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2001-01-04 Thread Dieter Maurer
Oliver Bleutgen writes: Shouldn't tags for creating sql-statements in ZSQL (like dtml-sqltest) quote the variables by default in order to prevent unexpected conversions by the database? Did you check, that standard SQL supports quoted names? Even if it does, the proposed change will

Re: [Zope] EVAL DTML?

2001-01-04 Thread Dieter Maurer
Brian Withun writes: Is it possible to, say, retrieve DTML code from an external database (such as Sybase) and then have that DTML code render itself? As I recall there is a security issue with Zope allowing Python to EVAL dtml.. You can't do it in DTML, but you can in an External Python

[Zope] SQL query from Multiple Selection Field(was: [Zope] [Newbie] ZSQL problem) (was: [Zope] [Newbie] ZSQL problem)

2001-01-04 Thread Dieter Maurer
Hi Michal, Michal Seta writes: ... query "select ... where col = dtml-sqlvar multiple_section type=string" works for single value but not for multiple selection ... This is difficult indeed, as you have to fight various strange behaviours. First, it is easy to explain, why your query

Re: [Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Dieter Maurer
Spicklemire, Jerry writes: Has anyone found a good way to delete a Database Connection that hangs Zope at startup? The connection seems to be waiting "forever", and so there is no access to the Zope interface, so of course I can't delete, or disable the offending object. You may try to

Re: [Zope] Question: How to generate a core file in Solaris 2.6

2001-01-04 Thread Dieter Maurer
Michael Best writes: ... core generation under Solaris ... I have seen Zope cores under Solaris 2.6. This means, * either the problem you see does not result in a situation that usually causes a core dump or * your configuration prevents cores from being generated. I expect the

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-04 Thread Dieter Maurer
Chris McDonough writes: So the question becomes: do we want DTML namespace lookup magic or no DTML namespace lookup magic for names that we attempt to look up in a session data object? Maybe, we do not want the magic automatically but have a simple way to call for it, when we like. I

Re: [Zope] Adding many users

2001-01-04 Thread Dieter Maurer
Ragnar Beer writes: I need to add about 150 users to an acl_users folder and I wouldn't like to do it manually since the data already exists in a python list. What would be an elegant way to add them all with a python script? An external Python method or an external automation based on

Re: [Zope] Zope eating CPU/RAM - how do I find the culprit?

2001-01-04 Thread Oliver Bleutgen
Oliver Bleutgen writes: Shouldn't tags for creating sql-statements in ZSQL (like dtml-sqltest) quote the variables by default in order to prevent unexpected conversions by the database? Did you check, that standard SQL supports quoted names? First, I meant double quotes (") not

RE: [Zope] Industry customer lists

2001-01-04 Thread George Milliken
farm9 is a California corporation whose mission is to provide managed security services, software and training to protect critical end-user computing infrastructure. farm9 is a pioneer in the field of remote Internet security vulnerability detection, analysis and response. farm9

Re: [Zope] Industry customer lists

2001-01-04 Thread Lalo Martins
In the future, if you choose to respond to spam, don't CC the list, please. []s, |alo + -- Hack and Roll ( http://www.hackandroll.org ) The biggest site for

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-04 Thread Bob Sidebotham
--- Somebody wrote: Of course, the best solution would be for the 'magic' lookup to be optional... Alright, I've not a zope master, but isn't this already provided generically with: dtml-with SESSION only All these arguments leave me a little confused: As a newbie, I read the zope

Re: [Zope] Core Session Tracking kudos namespaces

2001-01-04 Thread Bob Sidebotham
--- Chris McDonough [EMAIL PROTECTED] wrote: I sympathize with the need to convert all your scripts over to use sessioning from hidden form-field encoding and the like... I'd really appreciate some input as to what kinds of problems you're trying to solve with sessioning. I don't have any

[Zope] Python Scripts update

2001-01-04 Thread Evan Simpson
Python Scripts have gone through a fair number of changes and bugfixes recently. They should now work properly as methods of ZClasses. When you download the source of a Python Script, the title, parameter list, and bindings are added to the source in the form of specially formatted comments.

Re: [Zope] case insensitive search?

2001-01-04 Thread Robin Becker
In article 00c601c0766e$c8280540$ae03a8c0@fork, Andy McKay [EMAIL PROTECTED] writes No im being stupid and did a replace of sort for search in my caffeine deprived brain. -- Andy McKay, Developer. ActiveState. ... nevEr miNd we're all a BIt dUMb nOW and THEn :) -- Robin Becker

[Zope] WIN2k batch problem

2001-01-04 Thread Robin Becker
I'm trying to run Zope 2.2.2 under win2000 in a batch file. I'm just watching error messages and prints. I find that when zope has written a page to the cmd.exe window it locks further prints from python until I hit a key in the window and then it releases another page full. Is there a Win NT/2K

RE: [Zope] Advice on searching/indexing Word documents?

2001-01-04 Thread Tres Seaver
[EMAIL PROTECTED] wrote: I really like the idea of extending OFS:File to support different file types, but what I would like to see is something that is format/filter/library agnostic. Please have a look at the Hookable PUT proposal (which has already been implemented for 2.3):