hello,
Rack.createItem (low level method) first calls Rack.getItem (higher
level method) to check the existence of the item.
This causes infinite loop in certain cases. It should (IMHO) call
Rack.retrieveItem instead
regards,
jephte clain
[EMAIL PROTECTED]
Jephte CLAIN wrote:
hello,
Rack.createItem (low level method) first calls Rack.getItem (higher
level method) to check the existence of the item.
This causes infinite loop in certain cases. It should (IMHO) call
Rack.retrieveItem instead
Could you provide an example please?
Mike
Hi ( again )
Wouldn`t Zope as a web-database integrator benefit from a feature like
full-text searching? ( Everybody answers yes and nods. )
It seems as if Zope is aimed at information-publishing, using a RDBMS as
source for that information. An initiative from the Zope community to
either
On Mon, 26 Jun 2000 11:25:51 -0400, Brian Lloyd [EMAIL PROTECTED]
wrote:
As promised, I've written up a guide for product authors that
talks about the security changes in Zope 2.2+, what they mean
to product authors and how to ensure that your products work
with 2.2:
Thanks, that is a useful
Hi!
http://mysearch.udm.net/
It is not Zope-related, but pretty good. Integrate its engine with Zope
- and voila!
On Tue, 27 Jun 2000, Thomas Weholt wrote:
Wouldn`t Zope as a web-database integrator benefit from a feature like
full-text searching? ( Everybody answers yes and nods. )
On Fri, Jun 23, 2000 at 07:49:21PM -0400, Jon Franz wrote:
Also, its not XML compliant either, but I have a shorter dtml syntax patch
available for download at:
http://www.zope.org/Members/Coventry/dtml_shortcut
it is a really small patch, and just allows : to replace dtml- or !--#
Hrm, I'm using hot-fixed and updated 2.1.6, and cant seem to find this
anywhere on my box - and Zope throws up the error 'Invalid attribute'
with an id of 'reg' When I try to use (unfixed) Confera with newlines
in the body of a message...
I'm not advocating removing or ignoring ts_regex, I
This bug causes that there is impossible to
add/create/upload etc. Image and/or File object
if image/file body has a file type
(type(file) == FileType) in:
def manage_addImage(self, id, file, title='',..
def manage_addFile(self, id, file='', title='',..
The patch has attached.
begin 666
Hi all,
I've a problem using the following dtml construct:
dtml-let start=Variable_from_Formular # -- that's the problem!!
dtml-let stop="100"
dtml-let period="5"
dtml-in "_.range(start,stop,period)"
dtml-comment do something /dtml-comment
/dtml-in
/dtml-let
/dtml-let
/dtml-let
Avoid using Oracle 8.1.5 at all costs. It has mislinked executables and
libraries, I can't believe Oracle could have released such a shit.
Instead, download and try Oracle 8.1.6 R2 - the current release.
It fixes a number of issues (though not all of them) and at least it works.
Michal
Hi,
I have put objects inside a folder tabledef and would like to refer them :
dtml-in "_.getitem('tabledef').objectItems(['DTML Document'])" sort=id
mapping
dtml-var "_['sequence-item']" html_quote
/dtml-in
However, this does not work, But putting the objects in the current folder
works
Simple stuff from the simple people today: string manipulation.
I have a string variable which has various chunks delimited by double
tildes ~~. In order to do what I need to do, I need to extract the
section of the string after the last double-tilde, so that
"fred~~bloggs" returns "bloggs"
Andy Gates wrote:
Simple stuff from the simple people today: string manipulation.
I have a string variable which has various chunks delimited by double
tildes ~~. In order to do what I need to do, I need to extract the
section of the string after the last double-tilde, so that
on Tuesday, June 27, 2000 Andy Gates wrote :
AG Simple stuff from the simple people today: string manipulation.
AG I have a string variable which has various chunks delimited by double
AG tildes ~~. In order to do what I need to do, I need to extract the
AG section of the string after the last
I'm trying to deny external access to zope maintainance from elsewhere
(just for sure), with Zope behind apache. However, It
just doesn't seem work... Sure It's more apache's problem, but I guess
someone around there has a working solution?
#/IfModule
dule mod_rewrite.c
RewriteEngine on
I am running 2.2.0b2 on a RH linux and have created a simple ZClass. All of
my modified constructor objects work perfect however when I created a
separate dtml method to add instances I get some weird errors.
First when I try and create a new instance remotely I get a zope error
"unauthorized"
On Tue, Jun 27, 2000 at 12:05:56PM +1000, Andrew Kenneth Milton wrote:
+[ Dieter Maurer ]-
| Andrew Kenneth Milton writes:
|
| So...
| dtml-in "bcd_statement(a=a, b=b, c=c)"
| Alternatively, you could place the values from
- Original Message -
From: Riku Voipio [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, June 27, 2000 4:05 PM
Subject: [Zope] mod_rewrite rule to close managment screens from outsiders
I'm trying to deny external access to zope maintainance from elsewhere
(just for sure), with
Hamish Lawson wrote:
I envisaged turning a tutor's site into a product that could be
instantiated.
Hi Hamish,
I'd suggest downloading the ZWikiWeb product from:
http://www.zope.org/Members/chrisw/ZWikiWeb
It does pretty much exactly what you're talking about. It's doesn't take
very long to
Hi,
Im trying to run Zope on Win2k and use the stupid_file_logger. No matter
what I seem to do to the command line or z2.py I still get the logs going to
stderr (ie ms-dos console). Can anyone help?
Here are command lines I have tried:
"C:\Zope\bin\python.exe" "C:\Zope\z2.py" -D
On Mon, 26 Jun 2000, matt wrote:
I'm having some problems with standard_error_message on 2.2.0b2. According to the
mailing list archives I should be able to override NotFound errors (I even
cut-n-pasted http://www.zope.org/standard_error_message/view_source into my own
standard_error_message
"R. David Murray" wrote:
On Mon, 26 Jun 2000, matt wrote:
I'm having some problems with standard_error_message on 2.2.0b2. According to the
mailing list archives I should be able to override NotFound errors (I even
cut-n-pasted http://www.zope.org/standard_error_message/view_source into my
Hi,
I would like to turn an old Mac 7500 into a Zope server. LinuxPPC installs
on the Mac PowerPC using the Red Hat 6.1 linux distribution. Does anyone
have any experience with Zope with this type of set up?
Should I consider a different linux distribution than PPC?
Thanks, Daniel
The document by Amos (http://www.zope.org/Documentation/Misc/LOGGING.txt)
says set the
"STUPID_FILE_LOGGER" variable. That doesnt work but STUPID_LOG_FILE does. I
just set it in the command line:
"C:\Zope\bin\python.exe" "C:\Zope\z2.py" -D STUPID_LOG_FILE="C:\zope.log"
Thanks.
- Original
Greetings,
How can I make a ZCatalog object to catalog the result set produced
from a ZSQL method?
I'm subclassing ZCatalog and replacing the default manage_catalogFind
with a DTML method which in turn invokes a ZSQL method, but I get an
error, "You are not authorized to access
Our site allows supervisors to email orders back to sales reps. We have
this working very well. The problem is if the supervisor types in an
non-existant email address we aren't getting Mail System Error -
Returned Mail messages like you would from other email apps such as
Netscape Messenger.
Hi,
A presumably simple question:
Is there an easy way to count the number of occurences of a certain meta
type in a Catalog? E.g: I want a dtml snippet that outputs:
There are 123 DTML Documents in the Catalog.
I've browsed the howto's, but didn't find anything like this. Can anybody
offer
The help system in 2.2 is looking great, with a minor annoying "feature".
The left-side navigational window uses my standard_html_header and footer,
which is not at all appropriate for a navigational window (it includes
navigational bars of its own and causes a big horizontal scrolling
Hi!
I am encountering the following problem when using ZOracleDA 2.2.0b1
and Zope 2.2b2/3:
When creating a ZOracle Connection and giving the wrong connection string
then whole Zopes crashs with
OCI_ERROR at oci_8.c:283
ORA-12541: TNS:no listener
OCI_ERROR at oci_8.c:283
ORA-12154: TNS:could
On Tue, Jun 27, 2000 at 02:40:49PM -0400, Brian McClain wrote:
[...]
I have plenty of disk space and have tried reinstalling FSSession/Zope,
rebooting, etc...
I am running Zope 2.1.0 and FSSession 0.3.1
What operating system do you use ? Have you checked the partition on
which Zope
It sounds to me like the Apache server is just writing the data directly to the
HTTP connection as it is read. I believe that's how HTTP "streaming" works. I
also believe this is possible to do using the Zope HTTPResponse object. Does
anyone have any ideas?
--jfarr
"Perl is worse than Python
Hi David,
Thank you for the thoughtful response..
I agree that having KInterbasdb would not solve our DA problem, but at
least it would let me use the new Interbase Storage option..
A few people have been successful doing this, (compiling KInterbasdb
with IB6beta) perhaps one of them could
You are correct, you're ZClass is not rendering the dtml and it wont. The
easiest way I found is simply not to try and find another solution. I came
across the same problem a while ago when I was just starting out with Zope.
I have solved the problem now, its written in python and derives from
A presumably simple question:
Is there an easy way to count the number of occurences of a certain meta
type in a Catalog? E.g: I want a dtml snippet that outputs:
There are 123 DTML Documents in the Catalog.
I've browsed the howto's, but didn't find anything like this. Can anybody
offer me
Hello Andy
the syntax should be
let string = "fred~~bloggs~aardvark"
_.string.split(string,'~~')[-1]
i.e.
dtml-var "_.string.split(string,'~~')[-1]"
Should work.
In python, it's the same thing.
- Original Message -
From: Andy Gates [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent:
On Tue, 27 Jun 2000, Alexander Limi wrote:
Is there an easy way to count the number of occurences of a certain meta
type in a Catalog? E.g: I want a dtml snippet that outputs:
Couldn't you do:
dtml-call "REQUEST.set('counter', 0)"
dtml-in "objectValues('DTML Document')"
dtml-call
But that assumes that they are all in the same folder... a ZCatalog query
where meta-type = 'DTML Document' followed by a simple sequence-length would
get around that. And I think (but dont quote me on this) that a ZCatalog
search is quicker than objectValues.
- Original Message -
From:
Hi,
Just noticed that (_.None,_, gets rendered as (.None,, in a structrued
text wiki. Not useful :/
Hm, in a structuredtextdtml Wiki (such as the Zope edu Wiki) this works. See
the SandBox there http://www.zope.org/Wikis/zope-edu/SandBox. So I can't
reproduce it now.
I've got around this
I am using DTML methods on all.
-Original Message-
From: Erik Enge [SMTP:[EMAIL PROTECTED]]
Sent: Tuesday, June 27, 2000 4:37 PM
To: Webmaster
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] ZClass question?
On Tue, 27 Jun 2000, Webmaster wrote:
First when I try and
On Tue, 27 Jun 2000, Alexander Limi wrote:
Is there an easy way to count the number of occurences of a certain meta
type in a Catalog? E.g: I want a dtml snippet that outputs:
Couldn't you do:
dtml-call "REQUEST.set('counter', 0)"
dtml-in "objectValues('DTML Document')"
dtml-call
- Original Message -
From: jensebaer [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Saturday, June 24, 2000 6:52 PM
Subject: Re: [Zope] Re: Problem with LocalFS
Ok now I placed the dtml files (savefile.dtml upload.dtml) in the LocalFS
Folder but the problem is still the same:
When I use
Hello,
I want to retrieve the last 3 filenames from a subfolder and display them in
a document. If I set the size of the retrieval to 1, I get just 1 name
returned. If I set the size to 3, I get everything in the folder. (if I use
2 I also get everything in the subfolder )
Here is my code
The tech that does backups on my new NT server (IIS) tells me that
everything backs up ok except the \var\Data.fs.lock file.
Is that normal or a problem?
Darren Addy
Internet Specialist and
Interim Web Presence Coordinator
Office of Information Technology Services
University of Nebraska at
Hello,
Yet another question. I've gone through the DTML Reference Guide but
couldn't find the answer.
How do I display the content of a DTML Document through a query?
For example:
dtml-with Document
dtml-in "objectValues(['DTML Document'])" size=3 sort=id
dtml-var id dtml-var titlebr
In article 000d01bfddfb$4546f070$[EMAIL PROTECTED],
Evan Simpson [EMAIL PROTECTED] wrote:
- Original Message -
From: Jimmie Houchin [EMAIL PROTECTED]
Will an app as described above still suffer from problems with high
writes?
Possibly, but only if there are hidden hotspots. For
Following up on my own message...
OK, so now I have a lovely external method that reads a datafile, returns a
list of tuples that I can then use in a DTML Method to add my users. So far
so good.
I have come upon some situations where I also need to add Roles. I can find
nothing archived nor on
On Wed, 28 Jun 2000, Dieter Maurer wrote:
That's strange, because Python usually indicates EOF by returning
an empty string and not by raising EOFError.
cPickle returns EOFError which is confusing since the Python docs state
that only input and raw_input return this exception.
The problem
On Tue, 27 Jun 2000, Dan Rusch wrote:
Our site allows supervisors to email orders back to sales reps. We have
this working very well. The problem is if the supervisor types in an
non-existant email address we aren't getting Mail System Error -
Returned Mail messages like you would from other
Well, I got a second installation of Zope running OK in another directory
after correcting some group/permission errors on my part. It seems I can
now use FSSession with this second installation with no problems
(fingers crossed "Oh please please please").
In my original Zope installation, I'm
On Tue, 27 Jun 2000, [iso-8859-1] Hamish Lawson wrote:
If a folder doesn't itself contain a required object or method, I'd
like to have another folder looked in instead. The fall-back folder
won't necessarily (and often can't) be higher in the hierarchy, so
acquisition doesn't seem to be a
dtml-in "_.getitem('tabledef').objectItems(['DTML Document'])" sort=id
mapping
dtml-var "_['sequence-item']" html_quote
/dtml-in
Error Type: AttributeError
Error Value: __getitem__
Traceback (innermost last):
File C:\Program Files\Zope2\lib\python\ZPublisher\Publish.py, line 222, in
Timothy Grant wrote:
I have come upon some situations where I also need to add Roles. I can find
nothing archived nor on the Zope site about programmatically adding Roles.
Can anyone assist me?
hmm. I don't know how you're adding users without indicating their
roles.
I do this:
On Tue, 27 Jun 2000, Brian Lloyd wrote:
hi brian,
-ZSQL method. got len() of unsized object.
beta 3 should resolve that.
all my sql methods now work! thanks
I've attached an updated Lexicon.py - can you try dropping this
into your lib/python/SearchIndex directory, restarting
Hello,
I am trying to write a tree access to a hyerarchy of folders
containing custom objects, subclassed from the DTML Docuement. The
inheritance path should be
DTMLDocument - Article (my custom class) - every single article in the folders.
I would like only Articles and
54 matches
Mail list logo