Hi,
i have found the Security Permission below in the Zope Root that are not
definded by myself.
A
D
G
Z
a
d
h
r
s
t
Who can tell me where these Permissions come from?
as
___
Zope-Dev maillist - [EMAIL PROTECTED]
Hi,
Just noticed there are loads of ZPatterns posts on [EMAIL PROTECTED]
Would it help to have a ZPatterns list? Is there one? Could Ethan set
one up?
cheers,
Chris
___
Zope-Dev maillist - [EMAIL PROTECTED]
Steve Spicklemire wrote:
This is a known problem. Use:
dtml-let itemIDs="[]"
dtml-in "addressRack.getPersistentItemIDs()" sort
dmtl-call "itemIDs.append(_['sequence-item'])"
/dtml-in
Hmmm... that's not very nice, has the bug in getPersistentItemIDs() been
fixed?
cheers,
Chris
Hi Chris,
It looks like it's a non-bug, more just an annoyance. Here's my current
feeling. In most 'real' situations you'll end up with a ZCatalog, or possibly
a totally virtual ZClass with some sort of dynamic (SQL? LDAP? etc.. )
data source where the ids you're after will be queried for.
Is there anyway to get a hold off the message-id of e-mail sent through the
sendmail tag?
Roché
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
Roch'e Compaan wrote:
Is there anyway to get a hold off the message-id of e-mail sent through the
sendmail tag?
I would have thought the message-id would only get generated by the MTA
once the sendmail tag has finished doing its thing :-(
cheers,
Chris
I recently checked out a CVS version of Zope, and upon firing it up, it
gives an unauthorized error on the default index_html. You know, the one
that is included by default, that welcomes you to zope. After changing
it, and checking to verify that view is selected, etc. it still does so.
Has
Is there anyway to get a hold off the message-id of e-mail sent through
the sendmail tag?
As far as I can see, there isn't any generation of a message-id in the
MailHost product.
If you want to get a hold of the message-id, the right thing would
probably be to generate it yourself, and adding
This simple issue is driving me crazy...
I am trying to create a DataSkin with some Properties in a MySQL
database. So I have an ID, NAME, and DESCRIPTION that is in REQUEST
and using:
dtml-let ni="newItem(key=REQUEST['key'])"
nips="ni.propertysheets.get('Basic')"
dtml-call
Phil Harris wrote:
Chris,
Any hints/tips on how you did this (just to save me from having to do any
work of course ;))
I just used WinZip to extract the tarball in the /ZODB directory.
Sadly, it didn't work, and won't do until the next version fo Zope is
released :-(
cheers,
Chris
Hi,
I think (shock, horror) I'm finally starting to understand ZPatterns ;-)
(well, okay, just a little bit then...)
Anyway, I'm wondering how I'd go about making a ZPatterns-based project
that is totally file system based. The reasons for this are CVS-ability,
the ability to update the
I have just created a fishbowl proposal for hooking the creation
of new objects during HTTP/FTP PUT operations:
http://dev.zope.org/Wikis/DevSite/Proposals/HookablePUTCreation
Note that this proposal stems from my hack this weekend, which makes
it possible to create portal content via FTP; I
Chris Withers wrote:
Phil Harris wrote:
Chris,
Any hints/tips on how you did this (just to save me from having to do any
work of course ;))
I just used WinZip to extract the tarball in the /ZODB directory.
Sadly, it didn't work, and won't do until the next version fo Zope is
Hmm... since triggers are done at transaction commit time, could
it be that the 'change' trigger doesn't happen if the change
occurs on the same transaction as an 'add'?
-steve
"bentzion" == bentzion [EMAIL PROTECTED] writes:
bentzion This simple issue is driving me crazy... I am
Dieter Maurer wrote:
Michel Pelletier writes:
Also, defining the interface seperately keep the two things apart,
impementation and interface, and doesn't allow you to sneak in a new
method unless you also sneak it into the interface, thus making a
stronger "contract" with the user.
Hello,
I have added a lot more content to the interfaces wiki at:
http://www.zope.org/Wikis/Interfaces/FrontPage
(note, this is not the old interfaces wiki, which is link to from here).
This wiki is the realization of last weeks interfaces proposal:
At 02:34 PM 11/27/00 -0800, Ben Schochet wrote:
Seems that way Steve.
I have tried to do this in an external method with
self.get_transaction.commit(1) before doing the changeProperties, but that
didn't seem to work.
You want get_transaction().commit(1), if you're doing it from Python.
At 08:34 PM 11/27/00 -0500, [EMAIL PROTECTED] wrote:
Thanks Phillip. Is there a way to pass my REQUEST info to the ADD
Trigger?
I am under the impression that only "self" and some other ZPattern
specific properties are available to the trigger.
You also have access to everything in the
sorry for the poorly worded question (midnight madness), let me try and
restate them a bit better in the fond hope that someone will answer any
of them.
whats is a jar? as far as i know its just the data representation of
the object that gets stored in the zodb, hence its directly related to
Brett Carter wrote:
I have a folder with greater than 5000 ZClass instances in it. It
takes 5mins to do an objectValues for every object in the folder -
is there a higher perfomance call I could make?
-Brett
use a catalog. (which only help if you want a filtered set or a schema
attrs of
Is there anyway to get a hold off the message-id of e-mail sent through
the sendmail tag?
As far as I can see, there isn't any generation of a message-id in the
MailHost product.
[snip]
Thanks for the suggestion, this is what I'm trying to do:
We're building a customer relationship
Hi.
I'd like to authenticate users using LDAP and Active Directory. Zope is
running on a RH7.0 box.
Has anyone done this, is it possible?
/Magnus
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No
hello
i've read and reread advance ZCatalog howto by Zen, and still failed to do
what i want.
the situation
i have a ZCatalog that indexes news. i use keyword index, and text index.
when i try
dtml-in "Catalog(publication=myPub,section=mySec,date_posted=myDate)"
br
a href="dtml-var
On Friday 24 November 2000, at 22 h 1, the keyboard of Dieter Maurer
[EMAIL PROTECTED] wrote:
Try "import _pg" in an interactive Python interpreter.
I remember that in some cases I got a better error message
that indicated precisely, what was missing.
Not here:
wallis:~ python
Python 2.0c1
On Friday 24 November 2000, at 16 h 1, the keyboard of Stephane Bortzmeyer
[EMAIL PROTECTED] wrote:
Zope tells me that my ZPyGreSQLDA (PostgreSQL interface) is broken
No longer : the path to the PostgreSQL library was not put in the shared library
object so I had to add:
# PostgreSQL
Hi,
I'm planning to setup a Zope server for our company. We have a lot of people
with HTML-knowledge and a lot of people who would like to use Microsoft
Frontpage 2000, both from Windows98/NT workstations. The maintenance for
them must be as easy as possible. At this moment their using a shared
Hello,
That's the second time I have this problem, I report it again because the
answer I got the last time was not 'sure' (see bottom of mail) and I would
like to have an 'definitive' explanation from some Zope guru. I hope my
explanation will be clear:
I have 3 folders for a project called
I want to create a folderish ZClass to contain all my
project specific ZClasses. The idea is to only have them show up
when inside my projectfolder. Just like the ZClass object only
shows up inside a product's folder.
Well, when I derive from OFS:Folder I do get all the global stuff, but
_not_
On Sun, 26 Nov 2000 23:22:17 +0100 (CET) you wrote:
When I tried to reproduce your problem (ZopeCVS rather than
Zope 2.2.4b1), everything worked as it should -- no
Unauthorized exception.
Indeed, it works for me using a simple CVS version
too.
Thank you.
--kyler
can anybody out there tell me why this query fails
although PoPyDA is connected as postgres superuser ?
select * from pg_class
at now popy tries to dereference every oid thinking it is a large object.
obviously that is not tru for oids of system tables... *grin*
hope this helps,
federico
I found that Single quote ( ' ) cannot be stored in gadfly database table.
If gadfly is like every other db, it will store ' but you have to escape it first
since it is the delimiter for string vals.
In access, sqlserver you add a second ' to escape. That should work, or use backslash.
Hi Dirk Dirksen ;-)
In my implementation I wanted to avoid MySQL and thelike, because they would
have only served as "user sources" for the site's membership functionality
and that's it (and I wasn't talking about Ks of users...). So I considered
this O.D., and tried to get a ZODB based
Hi Andre,
I think these rights are the result of a broken GDChart product. Make sure
the class registration in the initialization part says
permissions = 'Add ZGDCharts'
(see how you have all the characters as separate rights...)
But as far as I know this has been discovered right after the
Hi.
I trie to install Zope-2.2.2 with mod_pcgi2 and the Apache web server.
I follow the steps in the README files, but when I trie to access to
the URL
http://localhost/pcgi
I get the following error message:
Zope Error
Zope has encountered an error while publishing this
Hi!
I am the author of mod_pcgi2. Thank you for using it.
On Mon, 27 Nov 2000, Rafael Amer Ramon wrote:
PCGI_ROOT /usr/local/Zope
Is the error related with the PCGI_ROOT directive?
Yes.
How can I set this directive?
PCGI_RROT should point to *a Zope folder*, not a directory on
My users need to login with a simple alias ("kyler")
which could change. As part of the (PH/X.500) login
procedure, I want to set AUTHENTICATED_USER to a
better ID ("kyler.b.laird.1"). This will allow the
users to continue to change aliases at will without
necessitating ownership changes in
I want the user to be sent to a particular URL after calling the
product's manage_add method. How can I do that?
The URL I want is REQUEST['URL3'].
I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the
RESPONSE doesn't seem to exist here.
--
.paul winkler
Has anybody used the Client/Server Product ? If I create a dtml document on
the server, can I use it through the client ? is the server just a
repository that can´t make changes ?
anderson
___
Zope maillist - [EMAIL PROTECTED]
Anders Eriksson ([EMAIL PROTECTED]) asked about view_source
I'm not sure exactly what's going on there (others have posted
possible explinations) but I have something that solves some of my
problems with view_source:
http://docwhat.gerf.org:9673/view_source/view_source
My view_source
Hello all,
Zope 2.2.4 has been released - you can download it from
Zope.org:
http://www.zope.org/Products/Zope/2.2.4/
This release supercedes the 2.2.3 release, which
had an error that prevented permissions from being acquired
correctly. Until the testing infrastructure that
Ethan
errr. I have a problem with that address.
The following error was encountered:
Unable to determine IP address from host name for new.zope.org
The dnsserver returned:
Name Error: The domain name does not exist.
Cheers
-Andy
-Original Message-
From: [EMAIL
Zopatistas!
The cluster is up and running. Please go pound it to see if it breaks:
http://new.zope.org
That lovely color is to remind you that you are *not* at the live site.
Any changes you make here *will* be lost.
If you have any questions or comments, please email [EMAIL PROTECTED]
A
* Paul Winkler [EMAIL PROTECTED] [001127 19:54]:
I want the user to be sent to a particular URL after calling the
product's manage_add method. How can I do that?
The URL I want is REQUEST['URL3'].
I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the
RESPONSE doesn't seem
Then try 63.102.49.33. The new name just hasn't propagated to your
dnsserver yet.
Chris
On Mon, 27 Nov 2000, Andy Dawkins wrote:
Ethan
errr. I have a problem with that address.
The following error was encountered:
Unable to determine IP address from host name for
On Mon, Nov 27, 2000 at 02:47:38PM -0500, Brian Lloyd wrote:
Zope 2.2.4 has been released - you can download it from
Zope.org:
Anything changed since the alpha release ?
--
Petru Paler, mailto:[EMAIL PROTECTED]
http://www.ppetru.net - ICQ: 41817235
seb bacon wrote:
* Paul Winkler [EMAIL PROTECTED] [001127 19:54]:
I want the user to be sent to a particular URL after calling the
product's manage_add method. How can I do that?
The URL I want is REQUEST['URL3'].
I've tried RESPONSE.redirect(REQUEST['URL3']) but that's not it - the
It is very, VERY quick! Wow...
Jean-François Ménard
Intranet DPAS
Pratiques d'affaires et orientations
*(514) 840-3000 poste 3939
* (514) 840-5585
* [EMAIL PROTECTED]
* 855 Ste-Catherine est, 6e étage
Montréal, Qué. H2L 4P5
-Message d'origine-
De :
Dany Rioux wrote:
Well,
I have to say the new.zope.org is much faster than the other one.
Great work!
BTW, is this going to stay for some times or will it be migrated
sometime soon? I'm wondering about bookmarking this site. When do you
expect it to go "live"?
If no one manages to
Paul Winkler wrote:
seb bacon wrote:
* Paul Winkler [EMAIL PROTECTED] [001127 19:54]:
I want the user to be sent to a particular URL after calling the
product's manage_add method. How can I do that?
The URL I want is REQUEST['URL3'].
I've tried
You need to be careful when redirecting from an external Python wotsit.
RESPONSE.redirect raises an exception which can make the transaction get
rolled back.
This seems not to happen when called from dtml but I've seen it happen from
an external Python wotsit.
Note:
My use of wotsit above
Michel Pelletier wrote:
Paul Winkler wrote:
(snip)
Looking through various Zope docs, I thought RESPONSE.redirect might
work, but RESPONSE is not mentioned anywhere in Boring.py. Boring
only uses REQUEST.
So pass it RESPONSE:
def manage_addMyProduct(self, blah, blah, REQUEST=None,
dtml-call "manage_addFolder('Folder', 'my new folder')"
Unauthorized
I finally got to the bottom of this.
I was running into a ZopeSecurityPolicy
problem. It wanted to check the roles of
the owner of the executable, but I had
deleted the root user folder when I created
a Login
Figured this out, with the zope-dev
archives.
In case anyone else bumps into the same thing,
the FunctionTemplate class at http://www.zope.org/Members/htrd/howto/FunctionTemplate
is very helpful.
-Randy
- Original Message -
From:
Randall Kern
To: [EMAIL PROTECTED]
Peter Bengtsson writes:
In the folder where dosomething_pym (Python Method) is located, is also a string
property set called 'en' with the value 'English'
The Python Method object is called with no parameters, but is defined with the
'self' parameter inside the Python Method object.
Daryl Stultz writes:
I have a product folder called "TestClass" with 2 ZClasses: class1 and
class2.
The following is an exerpt from the class1 constructor:
dtml-with "class1.createInObjectManager(REQUEST['id'], REQUEST)"
dtml-call "REQUEST.set('id', 'myClass2')"
dtml-call
Bak @ kedai writes:
i have a ZCatalog that indexes news. i use keyword index, and text index.
when i try
dtml-in "Catalog(publication=myPub,section=mySec,date_posted=myDate)"
.
it seems that the search was ORed, not ANDed.
i hope i'm clear enough.
I tried it out:
Pieter Biemond writes:
... access Zope via WebDAV from MS products
Can anybody answer the following questions:
* Has anybody implemented something like this before? Any pittfals I should
watch out for?
Search the searchable list archiv.
You will find some article about this issue.
Bowyer, Alex writes:
Can some one explain how the Define Permissions screen works. I really don't
understand the concept behind it, what does it mean for a permission setting
to own a permission?
All I need to do is to make certain ZClass methods have a certain level of
security and
Gilles Lavaux writes:
My problem: I am logged in as 'operator'. Sometime, accessing
'/sms/shtml/stations/check' show me:
-Logged in as: Anonymous User and has role(s):Anonymous
instead of:
-Logged in as: operator and has role(s): sms_admin
why (this with IE and
Dieter Maurer wrote:
If you need it in the constructor, then you must
either pass in an object that is tied by acquisition
or REQUEST or RESPONSE itself,
or you must move the call out into the method
"manage_afterAdd" (where the object already is tied in).
Well, I don't have that method.
OK, this seems to work.
def manage_addMyProduct(self, id, title='', REQUEST=None,
RESPONSE=None):
self._setObject(id, MyProduct(id, title))
if REQUEST is not None:
whereto= REQUEST['URL3']
RESPONSE.redirect(whereto, lock=0)
--
.paul winkler
Create all your ZClasses normally, and make projectfolder a
subclass of Folder. Then, move all the Factories (except the
projectfolderFactory) to inside the projectfolder ZClass. This
should do the same trick as LocalFactory.
On Mon, Nov 27, 2000 at 02:38:42PM +0100, Stefan H. Holek wrote:
I
You should look at the source of your "class2_add",
especially the constructor that creates the object.
I expect, that you use "class2.createInObjectManager"
to create your "class2" instance.
"C.createInObjectManager" usually uses "C.aq_parent" to
determine the object manager where the
Hi,
How to call an External Method from another
External Method and pass parameters ?
I am just a beginner, so intricate details would
be appriciated.
Thanks,
Kini.
__
Do You Yahoo!?
Yahoo! Shopping - Thousands of Stores. Millions
Hi,
I have what I'm hoping is a simple question. I've setup a search form
against a ZCatalog using field searches and everything works great. In the
search form, I have the following code (also works OK):
dtml-call "REQUEST.set('sort_on','date')"
dtml-call
Hi,
I have got some PHP4 scripts which I want to
upload in Zope and make them working.
Is there a way I can get those scripts working
from Zope or else is it possible that I upload those
file in Zope and make them work from Apache itself ?
I am just a beginner of Zope, so intricate
Hello,
I'm a very beginner with zope. Up to now I created some web pages
using Servlets accessing a PostgreSQL database. I want to switch to
Zope now and found to ways to access PostgreSQL database: PoPy and
PyGreSQL. What are the differences and what would you suggest to
use in which case.
I just upgraded Zope on my Win 2K machine with
Zope-2.2.x-to-2.2.4-win32-x86.tgz But I cannot find "Python Methods" or
"Python Scripts" anywhere. Is it me being stupid or is the product missing
from that tarball??
Regards
Max M
Max M. W. Rasmussen,Denmark. New Media Director
private:
For the time being, most of us probably want to put 63.102.49.33 in the
/etc/hosts file (I forget where it is in Win32) so all the links work.
It seems pretty quick from here. Good show, Ethan!
-- Jim Washington
Chris Gray wrote:
Then try 63.102.49.33. The new name just hasn't propagated
Well,
I have to say the new.zope.org is much faster than the other one.
Great work!
BTW, is this going to stay for some times or will it be migrated
sometime soon? I'm wondering about bookmarking this site. When do you
expect it to go "live"?
Dany
-Original Message-
From: [EMAIL
Folks,
My ZServer just mailed me this:
Zope has encountered a problem publishing your object.
Cannot locate object at: /search/manage
This suggests to me that someone was probling our site to see if they could
get into Zope and twiddle some bits. I use ZServer, not full-blown Zope, so
71 matches
Mail list logo