i have been trying to figure this out and get help to this almost one
week...
i have login form called login:
clip
form name="LoginForm" action="email_accounts"
method="post"
div align="center"centerpUsername or ID br
input type="text" name="cn"
Why do you see any need to turn ProxyRequests On?
I run the ProxyPass too, but there is no need for the ProxyRequest and the
Proxy module. Perhaps there lies your problem.
-goe-
My configuration looks like this:
IfModule mod_proxy.c
ProxyRequests On
#ProxyReceiveBufferSize 65536
Title: RE: [Zope] Product inhetitance question (similar question)
And what happen if the Class A is in a package PA.
Clabb B is in a package PB.
How do you access the namespace of PA from PB ?
When I have tried, the inherited methods from A where not visible
from B, and I and to
My server had the same symptoms with zShop.
Basically, everything works fine - for a while - then it starts to
intermittently fail as the load to the server increases, until it is
completley broken, with the system error below.
** Reply to message from [EMAIL PROTECTED] on Fri, 18 Aug 2000
04:36:34 +0100 (BST)
If it was the www.xlogx.org patch, yeah, I know the website is down (because of
a silly man who tried to use Java servlets with Apache, and who broke my Apache
conf files...), but I can email it to anyone asking
** Reply to message from [EMAIL PROTECTED] on Fri, 18 Aug 2000
04:36:34 +0100 (BST)
[Hoping you didn't receive my previous message.]
If you talk about the www.xlogx.org patch, I've made the site available again,
you can find it at http://www.xlogx.org/Zope/TreeTag.query_expr.patch
Be
Andy McKay wrote:
Dont put . in id's... I try not to anyway. Could we say . or if your id has
a . use something else eg:
dots in ids are essential if you rely of search engine hits for your
site.
.html
.gif
.txt
Just processing the extension on a file name is a lot quicker than doing
a
Michel Houben wrote:
How can I fix the date in Dutch, for example Donderdag 17 Augustus 2000
instead of Thursday 17 August 2000. I hope someone can solve this problem.
I don't know any Dutch.
However, here's an external method that will convert the months and days
of the week in a string
Dieter Maurer wrote:
Marcin Kasperski writes:
* Problem
The problem: while presenting some page, I would like to automagically
add links to 'previous' and 'next' page in the same directory. Say you
organize a bunch of HOWTOS and you would like to let the people navigate
via
Hi,
Just noticed this:
If you do dtml-with object where object is something callable, it
calls it.
That's a bit unpleasant for things like Squishdot Sites which do
something (return a list of all their elements) when you call them.
So the only way to _really_ do what I thought dtml-with is
Helmut Toplitzer wrote:
Hi!
I'm trying to get objects (even acquired) by
pasing a string to a python method.
Has someone an idea how to make that work?
getattr(self,'string') ?
cheers,
Chris
___
Zope maillist - [EMAIL PROTECTED]
Fra: Kapil Thangavelu [mailto:[EMAIL PROTECTED]]
I think most developers are forced to learn
through trial and error because the docs don't do the components justice
since they tend to focus on working understanding of zope's framework
from dtml. and in the end they are forced to turn to the
Sent again -- here's a slightly more compact version, that avoids
declaring a separate class to hold the expressions in.
Michel Houben wrote:
How can I fix the date in Dutch, for example Donderdag 17 Augustus 2000
instead of Thursday 17 August 2000. I hope someone can solve this problem.
I
Chris Withers wrote:
Helmut Toplitzer wrote:
Hi!
I'm trying to get objects (even acquired) by
pasing a string to a python method.
Has someone an idea how to make that work?
getattr(self,'string') ?
cheers,
Chris
NewsFolderClass is a CatalogAware Class created by me.
Ok... this is the last time.
You can put a line:
del replacements
just after the for loop, and save a tiny amount of memory.
This might be a useful optimisation if you're dealing with a very large
list of words to replace.
--
Steve Alexander
Software Engineer
Cat-Box limited
Hi,
I've noticed that sending mail from within Zope the sendmail tab or
mailhost.send() is very slow (like it adds a few seconds to the time it
takes to get a page back from a post).
Why is that? how can I make it faster?
I'd thought about having the actual mail sending done in a different
On Thu, 17 Aug 2000 16:48:44 +0100, Christian Adams
[EMAIL PROTECTED] wrote:
I'm running Zope 2.2.0 over NT Server 4.
Me too.
I installed Python 1.5.2 and the latest Win32 Extensions, then unzipped
NTUserFolder1.3.zip into C:\Program Files\ZopeServer\NTUserFolder
Thats good.
then ran
both
On Thu, 17 Aug 2000 18:15:16 +0200, Jean Jordaan
[EMAIL PROTECTED] wrote:
Hi Toby
In the source of NTUserFolder from end of last year I see:
## Experimental support for authenticating from a domain
## (rather than the local computer) Use this at your own
## risk. If you do, please let me know
Ok... this is *really* the last time.
I don't know why I was using a regular expression, when string.replace
would have done just as well. Here's my final version of the external
method. I *promise* I won't change it again.
Of course, the simplest version would be
from string import replace
Hi!
I tried to add Tracker on my Zope 2.2 and get following error after inserting
id an title and press the add button.
--
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: TypeError
Error Value:
Squishdot_manage_postings.dtml contains this weird bit of DTML:
dtml-else reviewed
FONT COLOR="RED"*/FONT
/dtml-else reviewed
Is this a weird bit of syntax that's allowed in DTML or is it a bug in
the parser that means this isn't being picked up?
If it's a weird bit of syntax, then
Hi,
Let me explain my situation.
The oracle server is version 7.3.4 running on Solaris.
I compiled DCOracle 1.3.1b1 on the Sun using the Oracle 7 libraries.
With this I can access an Oracle 8.0.5 database running on Linux over the
network.
Now I want to access the Oracle 7 database from a
Hi Toby
No feedback on this from anyone yet.
Well, that doesn't really sound encouraging .. So
it looks like the main NT-based authentication for
Zope is currently jcNTUserFolder, running as pcgi
behind IIS.
I'm making an intranet for 100-200 people, with
offices on three continents
Chris Withers wrote:
Hi,
I've noticed that sending mail from within Zope the sendmail tab or
mailhost.send() is very slow (like it adds a few seconds to the time it
takes to get a page back from a post).
Why is that? how can I make it faster?
I'd thought about having the actual
Chris Withers wrote:
Hi,
Just noticed this:
If you do dtml-with object where object is something callable, it
calls it.
That's a bit unpleasant for things like Squishdot Sites which do
something (return a list of all their elements) when you call them.
So the only way to _really_
Kapil Thangavelu wrote:
sent. i was planning on doing this from python with either calls to the
mailhost or smtplib.
MailHost uses smptlib now, IIRC
It's the call to mailhost.send() which is slow. I'd love to know why :S
How much influence does the the mail server speed have to this? How can
Kapil Thangavelu wrote:
Comments, anyone?
Huhh?? why is that sucky?
The most common newbie trip-up is the difference between dtml-var x
and dtml-var "x"
This is another example of that suckiness.
dtml-with doesn't say it executes its name, and doesn't feel like it
should...
cheers,
On Fri, 18 Aug 2000 13:00:41 +0200, Jean Jordaan
[EMAIL PROTECTED] wrote:
Hi Toby
No feedback on this from anyone yet.
Well, that doesn't really sound encouraging...
Or maybe everyone is quietly happy
Toby Dickenson
[EMAIL PROTECTED]
___
Or maybe everyone is quietly happy
Well, yes :)
So, would all of those quietly happy people perhaps
give a shout to reassure those of us who are loathe to
install all of IIS for the sake of NT domain authentication?
--
Jean Jordaan --technical writer--
Mosaic Sofware --
Chris Withers wrote:
It's the call to mailhost.send() which is slow. I'd love to know why :S
How much influence does the the mail server speed have to this? How can
I measure it? ;-)
Set up Sendmail on localhost and see if the problem goes away. Sendmail
(and most other mail servers) will
Shane Hathaway wrote:
It's the call to mailhost.send() which is slow. I'd love to know why :S
How much influence does the the mail server speed have to this? How can
I measure it? ;-)
Set up Sendmail on localhost and see if the problem goes away.
localhost is a windows NT
Hi Zopers
I'm trying to cut and paste (or copy and paste) '/docs'
to '/in/docs'. The browser spins for about a minute or
two, and then returns "HTTP 500 - Internal server error".
Is this because '/docs' is large (about 10 or 15 Mb) (not
very large) or because it contains instances of my 'ccDoc'
Chris Withers wrote:
localhost is a windows NT workstation ;-)
^^
This is the real problem and you know it. ;-)
Hmm, I think our mailserver, which I was using for this, does a DNS
check on the domain names to make sure they exist. I wonder if this is
what is
Phil Harris wrote:
Why isn't _ available in the tree tag?
The workaround is to wrap it in a
dtml-let posting = "_.getitem('sequence-item',0)"
But now I'm confused.
Surely
dtml-in postingValues
dtml-let posting="_.getitem('sequence-item',0)"
dtml-tree posting
Okay, firstly, I notice dtml-tree doesn't support the standard
abbreviation:
dtml-TAG "x" - dtml-TAG expr="x"
As the following:
dtml-tree "_.getitem('sequence-item',0)" branches="postingValues"
gives me:
Error Type: KeyError
Error Value: "_.getitem('sequence-item',0)"
nice...
Now the one
On Thu, Aug 17, 2000 at 02:28:07AM -0700, Corey wrote:
Will having the Owner role actually keep me from logging in as that
user? I can't seem to create a user *without* the Owner role
anyhow... jeeze.
Any other suggestions? I appreciate the help - in the mean time,
I'm gong to
Much of the aim of the "Product Developer's Guide" (see
http://www.zope.org/Wikis/Docs/ProductDevelopersGuide) is to address the
issues you bring up. It's been slow going, although I almost have the
security chapter completed. Hopefully this weekend I'll be able to
release that chapter.
Hi everyone !
The Paris Zope Meeting is a great opportunity for Europe's Zope community
to meet Paul Everitt, CEO of Digital Creations, who is currently in France
for holidays. It is also a chance to meet Zope developers from England,
Germany, Switzerland and of course France.
If you want to
I've created a folderish product. When I select that product from the
available objects list, thus creating an instance of that product, I can
create objects like dtml document and dtml method in the new folderish
object (very similar to what happens when you instantiate a folder
object, you can
Hi all -
We recently made a Hotfix release to address an issue
dealing with Zope APIs returning mutable objects that
could be changed inappropriately from DTML
(Hotfix_08_09_2000). After further investigation, there
was another aspect to the problem that was not addressed
in the recent
just a test, Sorry!
Jack Morgan Debian GNU/Linux Enthusiast
[EMAIL PROTECTED] http://www.mandinka.org
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross
We need the ability to create multiple graphs from data that we get from
Postgres.
Currently we use a py method to call gnu plot, but we are looking for an
alternative to serve up graphs.
Any suggestions? I took a look at the Python Image Library is this the best
solution?
TIA
Stuart
I suppose this is some sort of lack in the Zope management UI, but
maybe someone else knows how to do this:
If you create a ZClass property sheet you can pick an ID and a title.
But you don't seem to be able to EDIT the title of the property
sheet ever again.
Is there some magic property sheet
Didier Georgieff wrote:
Hello,
I'm on 2.1.6.
I'm trying to have an information box with all roles.
dtml-in "AUTHENTICATED_USER.getRoles()"
dtml-var sequence-item
/dtml-in
works OK. But doesn't give the local roles.
So i tried
dtml-with URL0
dtml-in "get_local_roles()"
Nick,
Two other Zopistas reported similar problems. Both succeeded eventually in
getting Xron started, but we didn't succeed in diagnosing the problem, nor
in determining precisely how to work around it. I myself haven't been able
to reproduce the problem.
The problem seems to occur only on
Hi,
USE CASE
How to test if an "idFolder" exist in my "topFolder"?
If the "idFolder" does not exist I would like to add it to "topFolder"
Question
==
Who know why this code in an external method (EM) does not work?
Code
def addFolder(self, idFolder, topFolder):
From: "Chris Withers" [EMAIL PROTECTED]
I've noticed that sending mail from within Zope the sendmail tab or
mailhost.send() is very slow (like it adds a few seconds to the time it
takes to get a page back from a post).
Why is that? how can I make it faster?
I'd thought about having the
Andy McKay wrote:
Dont put . in id's... I try not to anyway. Could we say . or if your id
has
a . use something else eg:
dots in ids are essential if you rely of search engine hits for your
site.
.html
.gif
.txt
Just processing the extension on a file name is a lot quicker than
There is room for both books. Zope is a powerful and very deep products. The
majority of users are unlikely to go into a great deal of python, most are
going to use the dtml and other basic functionality. If Zope is going to
increase its market then this sort of book is essential to make Zope
Jarkko Veijalainen wrote:
i have been trying to figure this out and get help to this almost one
week...
...
Zope loads login form with no problem (it's basicly static page) but when
i
try so POST data to email_headers with login form, popups Authorization
failed window. I have tried to use
Before I go off into coding mode has anybody had to deal with merging
results from multiple catalogs? I have several catalogs and I would like to
make this transparent by only having one search results interface. I quickly
made one Catalog indexing multiple Catalogs but the result is multiple
I know it can be done but forgot how.
Stuart
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
SQLSTATEMENT 1
dtml-var sql_delimiter
SQLSTATMENT 2
-Original Message-
From: Stuart Foster [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 18, 2000 1:14 PM
To: Zope List
Subject: [Zope] How to execute multiple SQL statements in one SQL-Method
?
I know it can be done but forgot how.
The Zope install notes say to find an installation directory that is *not* accessible
to your web server. Is there a good reason for this? Security?
Zope will install easily, if I put everything into my commercial host's cgi-bin. Is
this asking for trouble?
Yes, I have read gldnspud's
dtml-foo.[bar.dot].y
In all the computer languages I know there's already a convention for
solving this kind of problem.
dtml-foo.bar\.dot.y
But I prefer path-style identifiers:
dtml-/foo/bar\.dot/y
Then the correspondence to the site's folder structure is evident.
Plus you
Fabio Akita wrote:
the lack of robustness of ZServer
makes it very slow and unstable (as expected).
That's certainly not expected by me :(
How did you come to this conclusion?
What do you mean by slow?
What do you mean by unstable?
The strange thing is that the directory used for the cache
Stuart Foster wrote:
However if I traverse the two folders sometimes the URL looks like
mainfolder/subfolder/subfolder/subfolder/index_html
Why..
somewhere on one of you pages you have a link something like
a href="subfolder/index_html"
that's a relative link and thanks to the magic of
Chris Withers wrote:
so, the above should actually be:
a href="dtml.url-subfolder/index_html"
erk :S
a href="dtml.url-subfolder;/index_html"
^^^
sorry,
Chris
___
Zope maillist - [EMAIL PROTECTED]
There exists a howto on this very subject:
http://www.zope.org/Members/Zen/howto/AdvZCatalogSearching
Look under the "Or" section. Very helpful suggestions.
Enjoy,
Casey Duncan
-Original Message---
From: "Andy McKay" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Subject: [Zope]
Chris Withers writes:
If you do dtml-with object where object is something callable, it
calls it.
That's a bit unpleasant for things like Squishdot Sites which do
something (return a list of all their elements) when you call them.
So the only way to _really_ do what I thought
Daniel Rusch writes:
So far so good,
Next hurdle, at least the problems have been cut down to hurdles from walls.
I have a folderish product say myFolder, in the manage_addMyFolder function I
want to create an object of my product B. so I do this:
def manage_addmyFolder(self,
NABETH Thierry writes:
And what happen if the Class A is in a package PA.
Clabb B is in a package PB.
How do you access the namespace of PA from PB ?
from PA import A, . whatever you need
class B(A):
When I have tried, the inherited methods from A where not visible
from B,
Today, I met again a strange problem:
I wanted to implement an image relay for an international project:
something like: if an image in the target language is available,
take it, otherwise, the english image.
My DTML looked like:
dtml-let src="have_image(name,language) and
Michael Best writes:
http://classic.zope.org:8080/Collector/1056/view
Back on Februrary 14th, I submitted this bug, however your account of it
is much better than mine.
You will find a patch (against Zope 2.1.6) under:
URL:http://www.dieter.handshake.de/pyprojects/zope/dt_in.pat
I've created a folderish product. When I select that product from the
available objects list, thus creating an instance of that product, I can
create objects like dtml document and dtml method in the new folderish
object (very similar to what happens when you instantiate a folder
object, you can
How do I unsubscribe
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, August 18, 2000 3:00 PM
To: [EMAIL PROTECTED]
Subject:Zope digest, Vol 1 #939 - 31 msgs
Where can I find more information on how this is done. I'm not familiar with
the dtml. notation?
Thanks
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Chris
Withers
Sent: Friday, August 18, 2000 11:59 AM
To: Stuart Foster; Zope List
Subject: Re: [Zope]
I have a directory with a SiteAccess rule in it. Under that directory,
versions and Zcatalogs no longer seem to work.
This is with (SiteAccess-2-0-0b3)) and Zope 2.2.0 and 2.2.1b1
When I add a version, I can't start working in it. Clicking on the button
doesn't seem to do anything.
When I
I'm using ZODB and ZEO seperate from Zope, no problem.
--Darrell
- Original Message -
From: "Dieter Maurer" [EMAIL PROTECTED]
I think Andrew completed the extraction of the ZODB.
This means, Zope applications can use it for persistency.
You, immediately, gain ZCatalog features,
+---[ Dieter Maurer ]--
| Andrew Kenneth Milton writes:
| I want to create a tag that has sub-tags.
|
| Now I know I can use blockContinuations to approximate this, but, I
| think it would be cleaner to be able to define tags that are only available
| within the
Stuart Foster wrote:
Where can I find more information on how this is done. I'm not familiar with
the dtml. notation?
Chris Withers wrote:
so, the above should actually be:
a href="dtml.url-subfolder/index_html"
erk :S
a href="dtml.url-subfolder;/index_html"
What version of Zope are you using?
On Fri, Aug 18, 2000 at 08:21:36PM +0200, Dieter Maurer wrote:
Today, I met again a strange problem:
.
.
.
I tracked this down to line 219 of "OFS/Image.py":
Zope arrives their, when it receives an
"IF-MODIFIED-SINCE" header and determines
Dieter Maurer wrote:
Daniel Rusch writes:
So far so good,
Next hurdle, at least the problems have been cut down to hurdles from walls.
I have a folderish product say myFolder, in the manage_addMyFolder function I
want to create an object of my product B. so I do this:
Vincent wrote:
Hi,
I would like to add a new property to a ZClass that I created.
Right now, I can choose between int, date, text, selection..., How can I
choose another ZClass I created in the same product ?
Thanks
Vincent
AFAIK you can't store objects in property sheets. you
Vincent wrote:
Hi,
I would like to add a new property to a ZClass that I created.
Right now, I can choose between int, date, text, selection..., How can I
choose another ZClass I created in the same product ?
AFAIK you can't store objects in property sheets. you can store them as
btw daniel,
i've looked at some your postings for the day and i thought i should
tell you that most of your problems would go away if you did subobject
adding in your __init__ method within your class or in the hook method
manage_afterAdd within your class. for future reference. You'd get all
Total newbie question here..
The subject line says it all..
What's the best way to go from Zope to Oracle time and back?
I would like to store the "beef" of my data in Oracle tables, and
"instantiate" Zope objects from those tables.. Obviously this will
require going back and forth between
+---[ Dieter Maurer ]--
| Andrew Kenneth Milton writes:
| I want to create a tag that has sub-tags.
|
| Now I know I can use blockContinuations to approximate this, but, I
| think it would be cleaner to be able to define tags that are only available
| within the
Chris Withers wrote:
"Smith, Paul" wrote:
I want to create an "images" directory for a web site and store image objects
there that I can reference. How do I get a DTML document in a higher directory to see
the images folder and locate the appropriate image?
dtml-with images_folder
I know dots in file names are important when submitting the pages to the
search engines. When I use them however, I'll loose the view tab(folder)
when trying to view say index.html and I have to click on the file and then
view it. If the file was named index_html I could just click on the view
I think he meant ob.__of__(self) which wraps ob into the context of
self. Useful for returning unwrapped Python objects while you're in
Python.
On Fri, 18 Aug 2000, Kapil Thangavelu wrote:
Dieter Maurer wrote:
Daniel Rusch writes:
So far so good,
Next hurdle, at least the
Bob Pepin wrote:
On Wed, Aug 16, 2000 at 05:31:29PM +0100, Carlos Neves wrote:
You directly change a nonpersistence participant object.
As stated in
http://www.python.org/workshops/2000-01/proceedings/papers/fulton/zodb3.html :
[...]
but mainly... RTFM ;-)
Well, thanks, but too bad
Why does this work
dtml-call "_['testadd'].manage_addDTMLMethod('MethodId', 'Method
Title','method text')"
While this does not:
dtml-call "_['testadd'].manage_addZSQLMethod('ZSQLID', 'ZSQL Title',
'DB','','select * from data')"
Error Type: AttributeError
Error Value:
Why does this work
dtml-call "_['testadd'].manage_addDTMLMethod('MethodId', 'Method
Title','method text')"
While this does not:
dtml-call "_['testadd'].manage_addZSQLMethod('ZSQLID', 'ZSQL Title',
'DB','','select * from data')"
Error Type: AttributeError
Error Value:
Hi Folks,
Well.. I never heard any comments about my last question.. so I
thought I'd try to frame it differently. I just read Coad's book on
Object Models etc.. and I think I pretty well 'grok' it.. at least
enough to be mildly dangerous. ;-) I'm implementing a project with
ZPatterns and I
Steve Spicklemire wrote:
Hi Folks,
Well.. I never heard any comments about my last question.. so I
thought I'd try to frame it differently. I just read Coad's book on
Object Models etc.. and I think I pretty well 'grok' it.. at least
enough to be mildly dangerous. ;-) I'm implementing
Has anyone gotten this to work. I can get everything to compile but get a bus
error when running DCOracle_test.py when importing oci_. I have python compiled
with threads and used the -D_POSIX_C_SOURCE=199506L (-D_REENTRANT) flag.
Any help would be greatly appreciated,
Ron Wood
This may, or may not, break the alternate syntax patch/download @
http://www.zope.org/Members/Coventry/dtml_shortcut
I'll investigate and find out, and release a new dtml_shortcut if needbe.
(I specifically used a colon since it is valid xml) What about using a colon
as the separator, but
88 matches
Mail list logo