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' ]
+---[ 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
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
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
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
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
-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
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
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
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
"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 -
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
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
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
...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
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
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
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
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
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
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:
+---[ 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.
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
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
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
25 matches
Mail list logo