On Thu, Oct 12, 2000 at 12:00:07PM -0700, [EMAIL PROTECTED] wrote:
From: Toby Dickenson [EMAIL PROTECTED]
To: [EMAIL PROTECTED], [EMAIL PROTECTED]
Cc: James Wilson [EMAIL PROTECTED]
Subject: [Zope-dev] SessionManager, BerkeleyDB, and license compatability
Date: Thu, 12 Oct 2000 15:04:28
Yes, using Client.py was the easiest way to do that. The biggest problem
with Client.py is its dependency on HTTP. If your server is set up to
only accept HTTPS, then you can't use Xron -- not a desirable trade-off.
If security is the problem, you could configure the HTTP part to
listen only on
Jim Fulton wrote:
snip __call__ stuff
Okay, this is almost the same, but apparently not the same.
I have a Python Product Class, with a method, a_method, that gets called
from some of the Python Product's management screens (encapsulation is
good ;-)
This method needs several parameters from
On Fri, 13 Oct 2000 11:48:39 +0100, Chris Withers [EMAIL PROTECTED]
wrote:
I have a Python Product Class, with a method, a_method, that gets called
from some of the Python Product's management screens (encapsulation is
good ;-)
This method needs several parameters from the namespace, so when
Toby Dickenson wrote:
http://www.zope.org/Members/htrd/howto/FunctionTemplate
you would use
def a_method(self,md):
do_stuff_with(md['param1'],md['param2'])
a_method = FunctionTemplate(a_method)
That looks like it'll do the trick... I wonder if there's any way you
can
That looks like it'll do the trick... I wonder if there's any way you
can role it up into a Product so that I don't need to have
FunctionTemplate.py in each folder of a product that needs to use it?
Im working on a set of tools to aid my transition to a dtml-free Zope.
Eventually I will
Toby Dickenson wrote:
That looks like it'll do the trick... I wonder if there's any way you
can role it up into a Product so that I don't need to have
FunctionTemplate.py in each folder of a product that needs to use it?
Im working on a set of tools to aid my transition to a dtml-free
Toby Dickenson wrote:
http://www.zope.org/Members/htrd/howto/FunctionTemplate
you would use
def a_method(self,md):
do_stuff_with(md['param1'],md['param2'])
a_method = FunctionTemplate(a_method)
Okay, spoke too soon... when I do the above and then call the method
Jim Fulton wrote:
In any case, if you *just* want to get your function to be
called from DTML (and your class is an extension class), you can give
it the isDocTemp attribute like so:
class MyClass( include some extension class ...):
some_methodisDocTemp=1
def
Jim Fulton wrote:
Chris Withers wrote:
Toby Dickenson wrote:
http://www.zope.org/Members/htrd/howto/FunctionTemplate
you would use
def a_method(self,md):
do_stuff_with(md['param1'],md['param2'])
a_method = FunctionTemplate(a_method)
That looks
WROX contacted me a while back saying they wanted to do a Zope book as
well. Does anyone know anything about this?
-josh
Just thought we'd mention that we have gotten lots of great comments on
the Zope book so far, especially in the last week or so. You're all
helping make it a better
Shane Hathaway wrote:
Jim Fulton wrote:
Chris Withers wrote:
Toby Dickenson wrote:
http://www.zope.org/Members/htrd/howto/FunctionTemplate
you would use
def a_method(self,md):
do_stuff_with(md['param1'],md['param2'])
a_method =
On 13 Oct 2000, at 15:59, Chris Withers wrote:
Josh Zeidner wrote:
WROX contacted me a while back saying they wanted to do a Zope book as
well. Does anyone know anything about this?
-josh
Yeah, that project has just been pulled, I think ;-)
Pulled as in cancelled?
-Brad
Jim Fulton wrote:
The fact that ZPublisher will pass it is documented. Whether
or not something else calls it is up to the something else.
The method designer specified an interface that includes RESPONSE.
If it requires RESPONSE, by not specifying a default, then it
requires the clients to
WriteLocking http://dev.zope.org/Wikis/DevSite/Proposals/WriteLocking
Revisited and rewritten again after some internal discussions and a decision
to ensure that the proposed Write Locking for WebDAV behaves in a matter
that the clients (particularly the more popular ones) expect. There's less
Brian Lloyd wrote:
A new bug entry was added with the following information:
Title: Ghost ZClasses
At: http://classic.zope.org:8080/Collector/1676/sview
Submitter: lalo
Email: [EMAIL PROTECTED]
Description: Some ZClasses in a ZODB migrated from 2.1.6 did not
handle the
Zopists,
In orderto get around the confliting writes issues I am experiencing, I
would like to create
recrusive folders like, /0/1, /0/2, etc., so that my objects will be in
many different folders.
I am trying to get DTML to create these pre-set drop folders
automatically, but am unable to do
Zope has been nominated for the Webtechniques Webtool Awards, and the
pollboxes are open!
Go vote by putting you email address (or any email address you like ;)) at
the end of the following URL:
http://www.webreview2.com/cgi-bin/poll/ballot_gen.pl?[EMAIL PROTECTED]
So, I voted at the URL
Hi there,
I've been having problems with DateTimes as well. My colleague and I (using Zope
201) found a problem with the module that causes any dbase timestamp to be rendered
to a non-standard UNIX time that has an annoying DST appended if in the Daylight
savings time zone, thus leaving the
OK let me state that I don't think so (subject line). I had to choose this
subject, because it seems to me, that nobody was interested in my previous
attempts to get information about my problem. So here is my newbie (?)
question again:
I have the folders:
/www/folder1
/www/folder2
Apache
I am building a framed site using Zope and I am trying to get
functionality that after hours of reading documentation I am
beginning to think is not possible, but since what I have read is so
obscure I have decided to post a message before giving up.
The code examples below *DO NOT* work, but
Stephan Goeldi wrote:
OK let me state that I don't think so (subject line). I had to choose this
subject, because it seems to me, that nobody was interested in my previous
attempts to get information about my problem. So here is my newbie (?)
question again:
I have the folders:
Hi,
I'm planning to convert (migrate) a entire site from php3 to
zope and i'm looking for suggestions, hints, etc on this.
It's a GPL management school system done in php3+postgresql, and
any user must be authenticated against a database and his privileges
are those from the
Hi,
I am trying to build ZMySQLDA 1.20
mysql has been built successfully on RedHat 7.0 and resides in
/usr/local/mysql
I have followed the instructions for editing /etc/ld/so/conf adding
/usr/local/mysql/lib/mysql
/usr/local/mysql/lib
/usr/local/mysql
to it. (just tomake sure)
yet I still get the
- Original Message -
From: "jensebaer" [EMAIL PROTECTED]
To: "Dale Lance" [EMAIL PROTECTED]
Sent: Friday, October 13, 2000 2:43 PM
Subject: Re: [Zope] Fw: mysqldb
Hi Dale,
put this in your setup or/and setup.in file under
../lib/python/Products/ZMySQLDA/MySQLdb-0.1.2/
On Fri, 13 Oct 2000, Dale Lance wrote:
anyone know where mysqlclient is supposed to be?
gcc -shared _mysqlmodule.o -L/usr/local/mysql/lib -lmysqlclient -o
_mysqlmodule.so
/usr/bin/ld: cannot find -lmysqlclient
It supposed to be in the /usr/local/mysql/lib/libmysqlclient.so. Check
Create the user in the top level folder that they are allowed to
see.
Not in the /www folder
That alone wouldn't do it if we are talking about "seeing the objects", e.g. by
calling the "objectIds" method in the root folder. You also have to switch off
the root folder's "Access contents
Ron Bickers [EMAIL PROTECTED] wrote:
From my previous post, it looked like the parent was changing. I had
the first two lines swapped. Fixed below.
I want to see if an object is the one aqcuired from the root, but I'm
hitting walls.
dtml-var "PARENTS[-1].myObject"
In Debian, this library is in a separate packge.
On Fri, 13 Oct 2000, Dale Lance wrote:
anyone know where mysqlclient is supposed to be?
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML
As stated in an email some time before I ran into some problems concerning
accessing my password protected Zope site.
The situation:
* Zope 2.2.2 runs on a web server called www.datadistilleries.com on port
8080
* the web site it offers is protected with Zope's own authentication
mechanism
*
Has anyone been able to use LoginManager with a SQL db? with or without
encryption?
I'm still baffled by this how-to:
http://www.zope.org/Members/jok/SQL_based_LoginManager
In this example, there are dtml-methods that do the work of the UserSource,
but there is no retrieveItem?
I would
Talking to myself
A slight correction to my patch so that
tablename.columname will be rendered as
to "tablename"."columnname".
146c146
from string import find, split, join, atoi, atof
---
from string import find, split, join, atoi, atof, replace
165,166c165,166
if
I'm working on a simple auction site as a newbe challenge. I am taking bids
on three static items, none will be added or removed. I have a folder named
bid_records in which there is a folder for each item. These item folders
have current bid information in properties and bid history in ZClass
Im running Zope 2.2.2 on Linux 2.2.13.
When mixing boolean operators and wildcards '*' in queries within a Textindex
the 'AND' operator is replaced by 'OR'.
Also, the possibility of constructing nested terms using brackets seems
to be not supported (contrary to the chapter 'Searching and
In the Zope PTK there are a couple of products that have been packaged as
product.dats.
What format are these? How do I do it?
Cheers
seb
___
Zope maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope
** No cross posts or HTML
Hi all,
I have lots of old html/ documents that I want to publish through my zope
portal. To ensure that I do not tweak html files I have used the LocalFS
product, also I do not want to load the data.fs
Now. I am running into search problems. How do i do a search the filesystem
file? and also
I want to create a user-interface so that users can upload files to my Zope
site. I have done this with DTMLDocuments, however I don't quite understand how
to get the file itself into the Zope site via ...
self.manage_addProduct['OFSP'].manage_addFile()
..that is in Python.
I looked through
"Júlio Dinis Silva" wrote:
Hi all,
is there a way to do a pack to zodb without using the managment screens pack
button?
Maybe a python script we could execute from the file system.
Regards,
Júlio Dinis Silva
_
Tim Cook writes:
I'm sure someone will correct me if I'm wrong. But I believe you
want:
dtml-with "_.getitem(attribute3)"
Haven't tried it in my code yet, but thanks to your post I found the
section about _.getitem(). That'll come in handy all over the place,
so many thanks for the
Well we use the UserDbFolder Product after havin the same/similar problems
with the LoginManager :-)
- Holger
Am Fri, 13 Oct 2000 schrieben Sie:
Has anyone been able to use LoginManager with a SQL db? with or without
encryption?
I'm still baffled by this how-to:
There are some patches floating around to add cataloging to LocalFS objects. I
haven't gotten around to including them in the standard distro.
--jfarr
- Original Message -
From: "neeloy_saha" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Friday, October 13, 2000 4:56
What are my options for debugging External Methods in Zope running on
Windows NT?
Is there ANY way to get the external method to run in a DOS window that I
can watch?
What little tricks/techniques have others use to make debugging external
methods easier/possible?
Thanks,
Robert J. Roberts
Can anyone explain what the advantages are of using an RDBMS for Zope
object storage over the standard file system storage?
Is it simply the convenience to have the data in one place (for backup
etc)?
Does it scale better? In connection with ZEO?
I'm asking because I'm contemplating writing
Scott Butchill wonders if:
"there is a simpler way to do this."
Not much simpler, but how about:
dtml-call "REQUEST.set('user_select', ['walkon', 'fullhouse'])"
dtml-with bid_records
dtml-in user_select
dtml-if "_.str(REQUEST.form['selection']) == _['sequence-item']"
dtml-with
Seb Bacon writes:
OK, I think we're talking about the same thing now...but could you give me
an example of any object that would need to be traversable by Anonymous?
index_html, for example, doesn't need to be traversable (I still prefer
'listable'). Viewable TTW, yes, but that's all.
I
Daniel asked:
"Can anyone explain what the advantages are of using
an RDBMS for Zope object storage over the standard file
system storage?"
The folks I know that have asked for that feature have
stated their concerns as being:
Keeping everything in a single large file is risky,
Hi,
I have Zope set up running with Apache/SSL using mod_proxy and the
SiteRoot product. Everything works fine.
The thing is, if I understand stuff correctly, all the requests to
https://hostname.com get handed off to Zope. I would like to be able use
the same hostname for plain old Apache-isms
Ok, this worked :
dtml-with bid_records
dtml-with "_.getitem(_['selection'])"
dtml-call "REQUEST.set('cur_bidder', bidder)"
/dtml-with
/dtml-with
Thanks for the direction, Jerry!
sbb
-Original Message-
From: Spicklemire, Jerry [mailto:[EMAIL PROTECTED]]
Sent: Friday,
Here you go.
dtml-call "PARENTS[0].manage_addFile(thisID,myFile,thisTitle)"
This uploads a file in the current working directory.
thisID [ the id ] and thisTitle [ the Title ] are optional, and I don't know if you
have to put '' double-apostrofies for the ID then.
You try.
- Original
Rik,
I've upped both the Zope_book.lit and the Zope quick Reference.
The ZQR is not as readable as the zBook due to the formatting. I'll get the
XML and reformat it to look a bit better.
hth
Phil
[EMAIL PROTECTED]
- Original Message -
From: "Rik Hoekstra" [EMAIL PROTECTED]
To: "Phil
hi,
i had tried something similar already without success. here is the error
your script caused:
DOH!
Zope Error
Zope has encountered an error while publishing this resource.
Error Type: TypeError
Error Value: unsubscriptable object
for some reason Zope just doesn't want to compare ZopeTime
[EMAIL PROTECTED] writes:
... get today's date into a dtml-var ...
dtml-var "ZopeTime().Date()"
Look at the "DateTime" documentation, if this does not give
you the needed date format.
Dieter
___
Zope maillist - [EMAIL PROTECTED]
Burchill, Scott B. writes:
I am finding myself doing the following and am sure
there is a simpler way to do this.
Any help would be greatly appreciated! Thanks.
dtml-with bid_records
dtml-if "_.str(REQUEST.form['selection']) == 'walkon'"
dtml-with walkon
J Kinsley writes:
/FrameSet - DTML Method
.
XXX - How can I negate this? IE. dtml-if "not section"
dtml-unless section
dtml-if section
dtml-else
dtml-call "REQUEST.set('section', '/ViewFrame')"
/dtml-if section
XXX - I do not think calling REQUEST.set() is the best way to
Hung Jung Lu writes:
I know that, the stupid log file thingy. But you'll have to write an
independent thread to display the log file (or peek the file manually each
time), or implement some CString stuff to capture the file output (if that
is possible).
As I understand it, the logging
Graham Chiu writes:
I tried storing these in tiny tables, but it doesn't seem
that tiny tables allow one to store tokens. If I specify
the value as say, criteria:tokens, it gets changed to just
criteria.
Probably, This is a ZPublisher feature. It interpretes
":type" suffixes of form
Also, consider adding an accessrule. This won't stop them from using
__no_before_traverse__ or _SUPPRESS_ACCESSRULE but it will make it
'appear' there is nothing more than the current level.
knight
[EMAIL PROTECTED]
On Fri, 13 Oct 2000, Tim Cook wrote:
Stephan Goeldi wrote:
OK let me
Have you run ldconfig after editting the /etc/ld/so/conf file? Run
ldconfig -v | grep mysqlclient and see if the library appears. If so,
everything is all set.
Also try an ls -l /usr/local/mysql/lib/libmysql*.
Knight
[EMAIL PROTECTED]
On Fri, 13 Oct 2000, Dale Lance wrote:
Hi,
I am trying
Zopists,
I am trying to use DTML to create folders within folders for me 3 levels
deep.
Two levels works, but 3 won't. For example:
This works:
dtml-in expr="_.range(0, 10)"
dtml-let a=sequence-item
dtml-call "manage_addFolder(_.str(a), _.str(a))"
dtml-in expr="_.range(0, 10)"
dtml-let
The problem with the TinyTable and TinyTablePlus products is that they use
the tokenize.py module which treats any field value as a possible Python expression.
Since ":" is a special token in Python, it gets interpreted as such. One
quick way to get around this is to quote your field value -
Take a look at my HOWTO:
www.zope.org/Members/Mamey/PHP
On Fri, Oct 13, 2000 at 09:47:17AM -0200, Mario Olimpio de Menezes wrote:
Hi,
I'm planning to convert (migrate) a entire site from php3 to
zope and i'm looking for suggestions, hints, etc on this.
It's a GPL management
[ this might be more of a Python question, but it's got a lot to do with the web and
is to be used in Zope ]
I want to replace all occurences of email address's and URLs in a textstring, to a
href="mailto:%s"%s/a and a href="%s"%s/a.
Must admit that I am not an regex expert, and I wasn't able
Is there a nice way to backup dtml documents and methods from a certain point
in the object tree onwards without having to save all the other objects too?
regards
Matt
___
Zope maillist - [EMAIL PROTECTED]
63 matches
Mail list logo