[Zope-dev] LoginManager.

2000-08-20 Thread Terje Malmedal
Can anybody please provide a simple example of a working usersource written in python? I've written this, but it just does not work, all that happens is that it writes opened to /tmp/source.log class USER: "Just a little test" name= None roles = [ 'Anonymous' , 'member' ]

Re: [Zope] dtml-comment doesn't?

2000-08-20 Thread Andrew Kenneth Milton
+---[ Jan H. Haul ]-- | Tino Wildenhain wrote: | | dtml-comment is a tag like all the other tags. It does not | control the parser. One advantage is, you may nest comment-tags. | | True. | But still, the parser could read over all comments as long as the | dtml-comment

Re: [Zope] Zope on AlphaStationNT...

2000-08-20 Thread Jan H. Haul
Jim Hoepner wrote: Part 1.1Type: Plain Text (text/plain) Encoding: quoted-printable I am a total Zope newbie. I am trying to run Zope on a AlphaStation running NT. I get a "service specific error 1" when I try to start Zope. I am using a utility called FX!32 which lets

Re: [Zope] Changing a Z object's __class__ dynamically

2000-08-20 Thread Tino Wildenhain
hi ... I don't know what exactly is going on. My conjectures are: (1) Digicool people have re-written Python's system function setattr(), so that when it is an Z Object, the __class__ cannot be changed. (2) Caching: when I change the class of a Z Object, somehow it does not reflected in

[Zope] ZPatterns 0.4.1snap1 + LoginManager 0.8.7a1 + Zope 2.1.6 + Win2000

2000-08-20 Thread Gijs Reulen
Hello I have installed ZPaterns 0.4.1snap1 with a Dynpersist.pyd (compiled for Win32) I found on zope.org. And then installed the LoginManager. However, LoginManager appears broken when looking at the installed Products. It shows the traceback below. The problems seems to be in Zpatterns. Has

Re: [Zope] ZPatterns 0.4.1snap1 + LoginManager 0.8.7a1 + Zope 2.1.6 + Win2000

2000-08-20 Thread Chris Withers
Gijs Reulen wrote: Files\Zope_216\lib\python\Products\ZPatterns\Proxy.py", line 2, in ? from AccessControl import getSecurityManager ImportError: cannot import name getSecurityManager It looks like 0.4.1snap1 needs Zope 2.2 for the new Security interface. I see from the path you're using

[Zope] ZPatterns 0.4.1snap1 + LoginManager 0.8.7a1 + Zope 2.1.6 + Win2000

2000-08-20 Thread Gijs Reulen
-Oorspronkelijk bericht- Van: Gijs Reulen [mailto:[EMAIL PROTECTED]] Verzonden: zondag 20 augustus 2000 12:00 Aan: Chris Withers Onderwerp: RE: [Zope] ZPatterns 0.4.1snap1 + LoginManager 0.8.7a1 + Zope 2.1.6 + Win2000 Yes you're correct: I installed everything with 2.2 and it worked

[Zope] problem using SiteAcces

2000-08-20 Thread Wouter van Hilst
Title: problem using SiteAcces Hi, I want to host several sites with my Zope and Apache. To do this I followed the instructions created by anser (http://www.zope.org/Members/anser/apache_zserver). Everything seems to work except one thing: the path in the main section of the management screens

[Zope] Broken Site Access and domain name capitalization?

2000-08-20 Thread J. Atwood
I just started messing around with some of my Domain names trying caps in the name and broke right through the Site Access product. So my question is to I have to add all the variants of the domain name to the virtual_host method or is there a way to simply lowercase the HTTP_HOST before

Re: [Zope] Probable Bug in OFS.Image.index_html

2000-08-20 Thread andres
I can't be sure because your line number does not seem to correspond with your text explanation, but when I do a search on "return RESPONSE", I get the same section that was not gracefully dealing with non Y2K compliant Explorer browsers in an earlier "bug". This was present in 2.1.6 but has been

Re: [Zope] Broken Site Access and domain name capitalization?

2000-08-20 Thread Chris Withers
"J. Atwood" wrote: So my question is to I have to add all the variants of the domain name to the virtual_host method or is there a way to simply lowercase the HTTP_HOST before checking it? string.lower()? ;-) cheers, Chris ___ Zope maillist -

[Zope] Superuser, the owner, the logged in user and execution

2000-08-20 Thread Chris Withers
Chris McDonough wrote: See (sneak peek) http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx, section named "The Superuser". No offence meant, but it doesn't do a very good job of explaining _why_ the superuser can't own anything. Come to thing of it, is there a concise description

[Zope] Re: Superuser, the owner, the logged in user and execution

2000-08-20 Thread Chris McDonough
See (sneak peek) http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx, section named "The Superuser". No offence meant, but it doesn't do a very good job of explaining _why_ the superuser can't own anything. Well, I think the real problem is that the account that you use to

[Zope] Announce: Squishdot 0.6.0 now available!

2000-08-20 Thread Chris Withers
Squishdot 0.5.0 is now available from http://www.zope.org/Members/chrisw/Squishdot/ http://www.squishdot.org/Download/Squishdot The following changes were made: - Bruce Perens' batch moderation patch was integrated fully. - The administrator can now be optionally emailed when news articles

[Zope] I cannot compile Zope...

2000-08-20 Thread Paul Hewitt
...on RedHat 6.2 (Zoot). I did not have problems compiling Zope 2.0 thru 2.2 on earlier versions of RH (eg, 5.2, 6.1). The problem seems to be with finding the include files, among them asm/socket.h. I have played around with LD_LIBRARY_PATH etc but so far have not gotten anything to compile

Re: [Zope] I cannot compile Zope...

2000-08-20 Thread Petru Paler
On Sun, Aug 20, 2000 at 05:58:58PM -0400, Paul Hewitt wrote: ...on RedHat 6.2 (Zoot). I did not have problems compiling Zope 2.0 thru 2.2 on earlier versions of RH (eg, 5.2, 6.1). The problem seems to be with finding the include files, among them asm/socket.h. I have played around with

[Zope] www.zopers.org is now officially an EuroZope member site!

2000-08-20 Thread Hugo Ramos
Yellow ppl, www.zopers.org is now officially an EuroZope member site! After some new features I decided to take the time and add the beautiful member logo to ZopersORG. regards = Hugo Ramos - [EMAIL PROTECTED] ZopersORG - http://www.zopers.org = Do not meddle in the affairs of

[Zope] _setBasesHoldOnToYourButts()

2000-08-20 Thread Hung Jung Lu
Hi, Can any hardcore Zope developer explain to me what this wonderful little method does? Please? Even if it is just pure voodoo. (I am looking for any voodoo magic that allows me to change a Z Object's ZClass dynamically. You heard me right: after an instance of Z Object is created, I want

Re: [Zope] dtml-comment doesn't?

2000-08-20 Thread Tim Cook
Tino Wildenhain wrote: So if you have: dtml-comment ... some syntactically bad dtml ... /dtml-comment You still can't save the page 'cos the the parser throws up an error. That seems silly to me. Anyone else agree? No, I disagree. Why do you want bad dtml even inside

Re: [Zope] _setBasesHoldOnToYourButts()

2000-08-20 Thread Chris McDonough
I dunno about the "hardcore" part, but _setBasesHoldOnToYourButts method changes the base classes of a ZClass to those of another (existing ZClass). I really, really wouldn't use this for anything but playing around... I've used it a couple of times successfully, but I've also used it once where

[Zope] Unable to resolve 'Uncatalog...' error with PTK

2000-08-20 Thread David Riggs
Having still more problems with this installation of Zope 2.1.6 and PTK 0.7.1... I've got several (seems that the number is growing) objects that appear in my ZCatalog, and show up on my site, but refuse to let me edit, move or delete them. Try to delete the object and get the following error:

Re: [Zope] calling (SQL) methods dynamically from External methods

2000-08-20 Thread Andrew Kenneth Milton
+---[ Philipp Auersperg ]-- | | What I want to do is calling a SQL method given its | name as string, so I first have to get the method out of | the self.__dict__ and then call it. I need that for calling | the SQL methods dynamically for example out of an URL | string.

[Zope] accessing data.fs outside of Zope

2000-08-20 Thread Bob Skaroff
I have been trying to put together a little script to dump the contents of Zwiki Pages into a text file. I can find the dictionary objects holding the meta_type and id of the Folder object containing the Zwiki site, but I don't know how to get to the Zwiki Pages inside it. This is what I'm

RE: [Zope] accessing data.fs outside of Zope

2000-08-20 Thread Chris McDonough
Bob, cd into the lib/python directory inside your Zope install... fire up the Python interpreter and do: import Zope app = Zope.app() "app" is a handle to the Zope "root object", and your folders and methods can be accessed via attribute lookup ala: app.aFolder or

Re: [Zope] I cannot compile Zope...

2000-08-20 Thread Paul Hewitt
Petru Paler wrote: On Sun, Aug 20, 2000 at 05:58:58PM -0400, Paul Hewitt wrote: ...on RedHat 6.2 (Zoot). I did not have problems compiling Zope 2.0 thru 2.2 on earlier versions of RH (eg, 5.2, 6.1). The problem seems to be with finding the include files, among them asm/socket.h. I