Voodoo with ModuleSecurityInfo, was Re: [Zope] importing encode_base64

2005-06-08 Thread Paul Winkler
On Mon, Jun 06, 2005 at 05:50:42PM -0400, Paul Winkler wrote: > On Fri, Jun 03, 2005 at 04:58:57PM -0400, Paul Winkler wrote: > > Just now I saw something that *may* be related, > > some imports that were fine on zope 2.7.3 are giving me > > trouble on 2.7.6, but this is a very preliminary observat

[Zope] Zope Permissions

2005-06-08 Thread Nikko Wolf
Dieter Maurer wrote: Nikko Wolf wrote at 2005-6-7 14:25 -0600: - I do not want ANY access by unauthorized users. Obviously they must be able to reach a login page, and get instructions on how to request an account, password reset, etc. Put all content in a subfolder

Re: [Zope] zope.org error

2005-06-08 Thread Andreas Jung
The reload button is your friend. -aj --On 8. Juni 2005 20:13:35 +0100 John Poltorak <[EMAIL PROTECTED]> wrote: Just tried connecting to zope.org and got this:- ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://10.0.27.200:8080/VirtualHostBase/http/w

[Zope] zope.org error

2005-06-08 Thread John Poltorak
Just tried connecting to zope.org and got this:- ERROR The requested URL could not be retrieved While trying to retrieve the URL: http://10.0.27.200:8080/VirtualHostBase/http/www.zope.org:80/zopeorg/VirtualHostRoot/ The following error was encountered: * Connection Failed The system r

Re: [Zope] XMLRPC problems?

2005-06-08 Thread Dieter Maurer
Dennis Allison wrote at 2005-6-6 23:54 -0700: > >There was a security fix for XMLRPC which was installed in 2.3.5 and >2.4.1 The security fix was for the "XMLRpcServer", wasn't it? It has nothing to do with Zope... -- Dieter ___ Zope maillist - Zop

Re: [Zope] Product architecture question (long)

2005-06-08 Thread Dieter Maurer
Nikko Wolf wrote at 2005-6-7 14:25 -0600: > ... >- The primary purpose for the site's existence is to manage some > content files (text/ml) and allow a workflow process on those. > The workflow will likely change and hopefully will have minimal > programming changes when it does. Look for "D

Re: [Zope] zope 2.7: Unauthorized "in this context"

2005-06-08 Thread Dieter Maurer
John Hunter wrote at 2005-6-7 09:52 -0500: > ... >Traceback (innermost last): > ... > URL: > http://srp.uchicago.edu/2005/Sections/B1/Amrita%20Arora/ProjectSubmission_addForm/manage_main > Physical Path:/srp/2005/Sections/B1/Amrita > Arora/ProjectSubmission_addForm >* Module Documen

Re: [Zope] Pre-indexing filter and accented letters

2005-06-08 Thread Dieter Maurer
Yuri wrote at 2005-6-8 10:11 +0200: > ... >>When you rebuild it, you can also give it a different name. >> >> > > Why? I usually gave it the name of the form input I want to index... Because you want to include a processing step. Please read carefully the ZCatalog chapter of the Zope Book, when

Re: [Zope] ZODB Lock Errors and Storage Errors

2005-06-08 Thread Dieter Maurer
Dennis Allison wrote at 2005-6-6 15:07 -0700: > ... >I have seen several Lock problems and a couple of storage error problems >as I upgrade our system. Anyone seen anything like this? > >Andy-- I'm guessing this is MySQL related. I did not upgrade from my >MySQLdb from 1.1.7. Should I have?

Re: [Zope] Z SQL test in the ZMI aborts on key error

2005-06-08 Thread Dieter Maurer
Dennis Allison wrote at 2005-6-7 03:41 -0700: >Zope 2.7.6 >Python 2.3.5 >MySQLDA-1.2.1c3 >ZMYSQLDA-2.09b3 > > >Site Error > >An error was encountered while publishing this resource. > >Error Type: KeyError >Error Value: 'query' Interesting, how long it take to fix trivial errors -- Dieter _

Re: [Zope] Uploading files

2005-06-08 Thread David Pratt
Hi Tino. I was reading this and I was looking at incorporating some kind of response to users while processing a time consuming script. I was thinking about just putting up an animated gif that says 'Processing' (or something similar or to send some text advising where they are in the process

Re: [Zope] Re: Z SQL test in the ZMI aborts on key error (query keyerror Solution)

2005-06-08 Thread Allen Schmidt
Tres Seaver wrote: Allen, your verstion "drops the query on the floor", i.e., it fixes the KeyError, but then makes it impossible to pass the querystring through to the next batch. Well, this corrected the problem and it does handle the next batch. Works for us. ___

[Zope] Re: SQL query manage_test throws KeyError vith value 'query'

2005-06-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Dennis Allison wrote: > Failure occurs with > Zope 2.7.6 final > Python 2.3.5 or Phython 2.4.1 > MySQLdb 1.2.1 gamma or MySQLdb 1.1.1 final > ZMySQLDA 2.08 or ZMYSQLDA 2.09 > Failure does not occur with > Zope 2.6.4 >

[Zope] Re: Z SQL test in the ZMI aborts on key error (query keyerror Solution)

2005-06-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Allen Schmidt wrote: > Found it. > Edit lib/python/Shared/DC/dtml/customDefaultReport.dtml > Replace what is there with the code below (or compare and change) Allen, your verstion "drops the query on the floor", i.e., it fixes the KeyError, but then m

Re: [Zope] Z SQL test in the ZMI aborts on key error (query keyerror Solution)

2005-06-08 Thread Allen Schmidt
Found it. Edit lib/python/Shared/DC/dtml/customDefaultReport.dtml Replace what is there with the code below (or compare and change) This is from our 2.7.5 install. (Previous results) %(else no_table)[ %(heading)s %(else)] %(ro

[Zope] Re: DiskBased Product question

2005-06-08 Thread Haim Ashkenazi
thanx for the replies. I'll look into these options today. Bye On Tue, 07 Jun 2005 19:35:23 +0300, Haim Ashkenazi wrote: > Hi > > I'm looking for documentation or simple examples on how to create a disk > based product that when I install it, it also adds some third party > products. > > for e

Re: [Zope] Product architecture question (long)

2005-06-08 Thread Lennart Regebro
On 6/7/05, Nikko Wolf <[EMAIL PROTECTED]> wrote: > 1) Is there a product that does something similar that I could use > or adapt? > 2) Barring that, is there a product that would be a good starting > point? > 3) Is there something that manages a file history (like CVS, etc.) > that can

Re: [Zope] Reloading iframes with DTML

2005-06-08 Thread Jens Vagelpohl
On 8 Jun 2005, at 07:47, Wim Bekker wrote: Hi, Suppose I have two iframes in a DTML document. If I submit a form in one iframe and reload this iframe, I want to also reload the other iframe. This can be done with javascript. Is there a way to do this with DTML or python? You're confusi

[Zope] Re: zope 2.7: Unauthorized "in this context"

2005-06-08 Thread Yuri
Use 2.7.5 or 2.7.6, before you would have problems with ZClasses... I had the same problem :) ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://mail.zope.org

Re: [Zope] Pre-indexing filter and accented letters

2005-06-08 Thread Yuri
Dieter Maurer ha scritto: Yuri wrote at 2005-6-7 10:37 +0200: ... Implement a PythonScript that performs the normalization of "context.SearchableText()", say "NormalizedSearchableText". Ensure, it is acquirable by your indexed objects. Index "NormalizedSearchableText" rather than "Se