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
">
||
it seems that the search was ORed, not ANDed.
i hope i'm clear enough.
thanks
--
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
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
LD_
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
n
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 's
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_ my
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,
federi
>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 membershi
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 in
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 resource.
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 o
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 Zop
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
In psql a delete command returns a count of the number of rows
deleted. Is this returned result available to a ZSQL method using PoPy or
PyGreSQL?
Cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
**
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]
http://lists.zope.org/
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 checks
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 has
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: [EMAI
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 f
* 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
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 n
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
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 : etha
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 manage
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 RESPONSE
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, RE
Phil Harris wrote:
>
> 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.
> >
> > 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 Manager in the root folder.
I was doing some strange t
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]
Paul Winkler writes:
> 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.
I h
Chris Gray writes:
> In psql a delete command returns a count of the number of rows
> deleted. Is this returned result available to a ZSQL method using PoPy or
> PyGreSQL?
I think, Zope should pass integer results from SQL commands.
But I fear, it does not.
When I looked at the code (quite so
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.
>
Stefan H. Holek writes:
> 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
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:
>
>
>
>
>
>
> I want class2 to be created INSIDE of the class 1 instance. Instead,
> class2 (always with an id of "
Bak @ kedai writes:
> i have a ZCatalog that indexes news. i use keyword index, and text index.
> when i try
>
>
> .
> it seems that the search was ORed, not ANDed.
>
> i hope i'm clear enough.
I tried it out:
For me, it was definitely an AND.
What I did:
Make a searc
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
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
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 met
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 w
> 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
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 of
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):
What want to do, and can't seem to figure out, is to call REQUEST.set to
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 d
"Hung Jung Lu" <[EMAIL PROTECTED]> wrote:
> I've mentioned two-phase commit to Digicool people. Not sure whether it's
> already inside Zope or not, but it seems not. Zope's TM (Transaction
> Machinery) does not seem to be two-phase. See the TM.py file itself: it only
> has
>
> def _finish(
Daryl Stultz wrote:
> Wowsers! This is all a little over my head...
>
> I've scoured the docs and I can't find anything on aq_parent. (And
> createInObjectManager is weak...) Wouldn't the object manager (to add
> object to) be determined by the URL? I've done
> REQUEST.set('URL','...myClass1/'
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.
K
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:
From: "Max M" <[EMAIL PROTECTED]>
> 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??
Python Scripts won't enter the core until
Max M wrote:
>
> 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??
Python Scripts will not be included in Zope until the 2.3 r
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 PR
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
58 matches
Mail list logo