As far as I can tell, the first time an object is changed, an Agent's
_objectChanged() will be called, but as long as the object is still in the
memory cache, _objectChanged() will not be called again.
That is, I change an object - _objectChanged() is called. However, the
object is now in the
http://www.zope.org/Members/RainDog/ZSession/ZSession-0.0.2.tar.gz/view
Comments?
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
- Original Message -
From: "Bill Anderson" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, June 16, 2000 9:06 PM
Subject: [Zope-dev] 2.2 or Membership Component alpha problem, and
suggestions for thelatterlatter
Problem:
If you try to add a membership system to your root folder,
At 11:33 AM 6/19/00 +0300, Itamar Shtull-Trauring wrote:
As far as I can tell, the first time an object is changed, an Agent's
_objectChanged() will be called, but as long as the object is still in the
memory cache, _objectChanged() will not be called again.
_objectChanged is a once per object
At 08:44 PM 6/19/00 +0800, mike wrote:
Fix for www/storageForm.dtml
$ diff storageForm.dtml.orig storageForm.dtml
7c7
FORM METHOD="POST" ACTION="manage_setStorage"
---
FORM METHOD="POST" ACTION="."
56c56
brINPUT TYPE="SUBMIT" value=" Change Storage Settings"
---
brINPUT
At 08:12 PM 6/19/00 +0800, mike wrote:
Another bug I found (file Rack.py):
def createItem(self,key):
# Create a new object, identified by key
item = self.getItem(key)
# XXX What if all items potentially exist?
if item is not None:
raise
"Phillip J. Eby" wrote:
At 08:45 PM 6/19/00 +0800, mike wrote:
It looks like retrieved items have no _v_dm_ set. I fixed it (not sure
this is right) with:
Um, check to make sure you're using _RawItem, not _v_itemConstructor, in
your retrieveItem method, if you're using a subclass. If
So, I'm getting this error when trying to use one of my Products under
Zope 2.2b1:
Error Type: UnpickleableError
Error Value: Cannot pickle type 'StringO' objects
What exactly is a StringO object, and why can't it be
pickled/unpickled? It worked fine under 2.1, so I'm assuming
Nick Garcia wrote:
Brian Lloyd wrote:
So, I'm getting this error when trying to use one of my Products under
Zope 2.2b1:
Error Type: UnpickleableError
Error Value: Cannot pickle type 'StringO' objects
What exactly is a StringO object, and why can't it be
0.4.0a2 is out, to fix the bugs reported by Itamar and Mike. I have not
yet reproduced all the bugs Mike has reported, but here's what's fixed in
alpha 2:
* The missing _objectChanged() message - it was very hard to track down,
because everything appeared to be working right, except for the
I've created a STUPID_LOG helper product, called FrozenLogger, that does the
minimum necessary for me to create a STUPID_LOG_FILE at my account at CodeIt
Computing (where lack of telnet keeps me from setting environment
variables).
http://www.zope.org/Members/lstaffor/FrozenLogger
The core of
Does anybody have subject?
Thanks,
Mike
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
On Sat, 17 Jun 2000, FR Chalaoux wrote:
This give me a track now, but this howto seems to talk about of an external
method not about a script out of zope, No ?
When I say out of zope, I mean open a connection with ZODB as describe in
http://www.zope.org/Members/michel/HowTos/ZODB-How-To and
On Tue, 13 Jun 2000 16:31:09 -0400, "Pete Kazmier" [EMAIL PROTECTED]
wrote:
I have about 400 objects that are updated every ten minutes. Needless
to say, Data.fs grows a little faster than I'd like. I'm only
changing about 5 attributes of each object .
Ok, so 5 small attributes change,
This limitation will effectively go away as soon as ZEO goes open
source.
Oleg Broytmann wrote:
You cannot open independent connection to ZODB while Zope is active -
Zope locks the database, and by purpose. You must access ZODB only through
Zope machinery.
Or stop Zope, open ZODB and
On Mon, 19 Jun 2000, Chris McDonough wrote:
This limitation will effectively go away as soon as ZEO goes open
source.
Oleg Broytmann wrote:
You cannot open independent connection to ZODB while Zope is active -
Zope locks the database, and by purpose. You must access ZODB only
Ron Bickers wrote:
On Sun, 18 Jun 2000, Rik Hoekstra wrote:
This is not so easy to answer. ZClasses do strange things to adding items.
If your ZCLass definition (in the Product) is nested in another ZClass, then
it is your ZClass. If the ZClass definition is defined in the top level
I have a very simple documentclass in very simple structure in method that
should return the properties of the document:
dtml-call "REQUEST.set('tid', REQUEST.cookies['careermanid'])"
dtml-with RESULTS // RESULTS is a ZClass Object Manager
dtml-call "REQUEST.set('tmp', _.getitem(_['tid']))"
On Mon, 19 Jun 2000, RC Compaan wrote:
dtml-call "REQUEST.set('tmp', _.getitem(_['tid']))" // tmp is a
document with an id equal to the cookie
1. Isn't it enough just to write _.getitem(tid)?
2. A shot in the dark: tmp is not a document, but its rendering. Try
getitem(tid, 0)...
Oleg.
I have a very simple documentclass in very simple structure in method that
should return the properties of the document:
dtml-call "REQUEST.set('tid', REQUEST.cookies['careermanid'])"
dtml-with RESULTS // RESULTS is a ZClass Object Manager
dtml-call "REQUEST.set('tmp',
Thanks Rik it works.
I've noticed in some cases that one puts empty brackets at the end of
certain zope object methods. Is that there for methods that can take
parameters?
Roché
-Original Message-
From: Rik Hoekstra [mailto:[EMAIL PROTECTED]]
Sent: 19 June 2000 12:54
To: RC
Hi,
I think I have a bug but want to ask YOU. It seems to me that tha
ZCatalog index allright when you have set up locale or uses the -L
option.
But when making my own ZClass and using "Lines" instead of string it
doesn't get indexed according to the locale settings.
When outputting the
Thanks Rik it works.
I've noticed in some cases that one puts empty brackets at the end of
certain zope object methods. Is that there for methods that can take
parameters?
[rh]Um, not quite, it has to do with the way of calling the object methods
in question. DTML has two ways of calling:
Very clear, thanks. Really appreciated.
Well i guess the topic was never about propertyids, but i can only tell that
now. Still working with properties i find the following trouble.
dtml-var "MyDoc.propertyItems()" returns a list of key-value pairs
[('Key1','Value1'},('Key2','Value2')]
to
Hi,
1/ I'm Trying to use ZScheduler-0.0.5 on Linux 6.1, I386, Zope-2.1.7.
Just after to install the product I cannot start Zope !!!
2/ There is also an archive problem when I extract the file from
ZScheduler-0.0.5.tgz :
srchocolat 138% tar xvzf ZScheduler-0-0-5.tgz
check the services, and the task/processes list in NT as to what is running.
Do you have any old copies of Zope running, that could be in the way?
You should (once more) check your Zope registry key.
IIRC it's CURRENT_CONTROL_SET/Services/Zope under the Parameters item (don't
have an NT
I'm running into a limit to the amount of text that IE 5 will display on the
Macintosh. I am wondering if this is true of all browsers and platforms or unique to
IE5/Mac. This of course limits the size of documents that can be edited through the
manage interface.
Now I really wish Pike worked
Simple addition seems a bit tricky in zope
dtml-call "REQUEST.set('CategoryTotal',0)"
dtml-in "tmp.propertyItems()"
dtml-let key="_['sequence-key']"
value="_['sequence-item']"
category="s[:1]"
counter="_.getitem(category+'Total')" --// Here
Holger Lehmann wrote:
I attempted the same and had the same fate. *All* archives you try to donwload
from http://www.zope.org/Members/lstaffor/ZScheduler are truncated (!) to 20480
There is a Wiki for ZScheduler which has a FAQ that covers this.
Apparently Loren's tar program puts a load of
On Mon, Jun 19, 2000 at 08:50:14AM -0500, Jim Sanford wrote:
For the most part all a ZSQL method does is used some specialized DTML
syntax to contruct a string that is your SQL query. You can create a ZQL
method, say "GenericSQL", that has 1 parameter, let's call it
"SQLStatement", whose sole
On Mon, 19 Jun 2000, Joshua Brauer wrote:
I'm running into a limit to the amount of text that IE 5 will display on
the Macintosh. I am wondering if this is true of all browsers and
platforms or unique to IE5/Mac. This of course limits the size of
documents that can be edited through the
Jacques A . Vidrine discovered a chunk of code I accidentally left where it
didn't belong, which messed up the adding of SiteRoots. I've uploaded
v2.0.0b2 to zope.org, but if you've already downloaded beta 1, you can fix
your installation by just editing SiteRoot.py and deleting the lines of
1. Zope 2.1.7 has been withdrawn due to CVS confusion. Can you reproduce
the
problem on another version, such as 2.1.6?. Is there any indication of why
it won't start (error message)? Did you start it with -D set, so it would
display errors on the console?
2. This is a spurious error. It
-Original Message-
From: Rik Hoekstra [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 6:23 AM
To: Ron Bickers
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Problem with adding items to ZClass instance
Hm, this is getting hard to answer. Adding normal instances of ZCLasses
to
Hi:
Sorry for sending out this one again. I actually send out couple email
to ask this question. However, I still couldn't fix this problem.
(Thanks Rik Hoekstra for the help) Did anyone got in the similar
situation before?
My problem is with the IIS + PCGI + ZOPE.
The mechine I try to
hi all,
A new beehive ebook "Users, Roles and Permissions" is now availible
in English.
Its generally suitable for Zope beginners.
Contents:
- 58 pages
- Complete list of Zope permissions -- with detailed details
- Description of Local Roles
- Use of acquisition with respect to roles
This is a 'feature' of the product initialization process. Note that I
am just documenting buginess here, I should try to fix this when
possible.
When a Product can't be initialized (a syntax error, a bad import,
whatever), sometimes it will revert back to the state at which it wrote
a good
Title: Q: xml-rpc and zsql
Have anyone experience using zsql methods with xml-rpc?
How do you pass arguments to a zsql mthod with xml-rpc?
I get the same problem. A SQL method of mine is apparrently
accessible from
within a DTML method but not from within another SQL method.
(I do this to
determine if a record exists before overwriting it). I also have an
external method that augments query objects with special
grouping
How are my fellow Zopers handling Internationalization, especially text.
We have a site that is composed of several hunderd pages. We don't use
classes but we have made heavy use of aquistion though. For example we
have one back button that is aquired thoughout the site etc etc.
Basically if the
dtml-var "ZopeTime()"
dtml-var "Zopetime()+1"
Jim Sanford
- Original Message -
From: Marcus Mendes [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 19, 2000 11:03 AM
Subject: [Zope] Today Date and Tomorow
Hello,
How can I obtain today and tomorow date in Zope?
Thanks in
Hi- I guess I'm somewhere past a 'newbie' (after a few solid months)
and I'm developing a calendar-based (but not based on calendar tag)
'event-log' 'black-box app' for lack of a better term, for eventual relase
to Zope.org, if only as a helper for _new_ newbies.
I'm stuck on what I guess is a
Hm, this is getting hard to answer. Adding normal instances of ZCLasses
to other ZClasses should work. Are you adding everything straight from
the management interface or programmatically from DTML?
If from the management interface, are you sure you always add TinyTable
etc from within the
- Original Message -
From: "Christian Scholz" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday, June 19, 2000 3:35 PM
Subject: [Zope] html templates?
Imagine writing simple html templates with some custom tags which are
quite
abstract like addresslist. Then write some Python
Is there a (straightforward?) way to dynamically compose function
argument lists? For example, in C, you can write"
f(arg1, arg2, (conditional expression)?(val for TRUE
state):(val for FALSE state)).
This can be emulated in Python by the boolean logic:
( ({conditional expression}) and
Hello,
I am trying to wrap my head around ZPatterns--I am hoping to use it in a
project I am currently working on. Unfortunately, I'm not doing too well.
:-)
Is there a, "Hello ZPatterns World." example out there, anywhere, that
shows the simplest usage of the framework? It would do me
Brian,
yeah, i'm using Mysql on win2k (ZMySQDA-1-1-4).
Harald
- Original Message -
From: "Brian Lloyd" [EMAIL PROTECTED]
To: "'Harald Ragger'" [EMAIL PROTECTED]
Sent: Monday, June 19, 2000 8:58 PM
Subject: RE: [Zope] problem with 2.2.0b1
I just tried the new 2.2.0b1, and most
-Original Message-
From: Rik Hoekstra [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 4:13 PM
To: Ron Bickers
Cc: [EMAIL PROTECTED]
Subject: Re: [Zope] Problem with adding items to ZClass instance
I looked at it, and found it fishy. The strange thing is, I tried to
Hello,
I just wanted to note that I have built the ZPatterns (0.4.0a1) DynPersist
module for Win32 using MSVC.
If anyone would like a copy, just e-mail me and I'll be happy to pass it
along.
--Jeff
---
Jeff K. Hoffman 704.849.0731 x108
Chief Technology Officer
On Mon, 19 Jun 2000, Christian Scholz wrote:
Imagine writing simple html templates with some custom tags which are quite
abstract like addresslist. Then write some Python Product (or there might
be one Product to make this happen a little simpler) which implements these
tags.
Insofar as I
Oops, I'm not quite right about this. This FAQ explains it better...
http://www.python.org/doc/FAQ.html#4.16
-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Monday, June 19, 2000 4:51 PM
To: [EMAIL PROTECTED]
Subject: RE: [Zope] brain hurts regarding
it has now worked. looked like my download was corrupt.
On Tue, 20 Jun 2000, Rajil Saraswat wrote:
I am trying to install YihawDirectory. I copied the zexp file in the
import directory. But when i try to import it an error comes 'The object
YihawDirectory' does not support this operation.
--- In [EMAIL PROTECTED], [EMAIL PROTECTED] ("Jeff Sasmor") wrote:
dtml-in
"Catalog.searchResults(meta_type='EventDoc',event_date=[first,last],event_date_usage='range:min:max',sort_on='event_date
')"
Now if the 'moderated' property is active I want to add the keyword arg
reviewed='on'
This is a known bug. Thanks for the patch. The problem with it is that
filenames
containing backslash characters are valid on Unix. I haven't been able to
come
up with a solution to this. Any ideas?
That's why I check for a file name that starts with a letter followed
by a colon (hmm,
Hi!
On Mon, 19 Jun 2000, Christian Scholz wrote:
Imagine writing simple html templates with some custom tags which are quite
abstract like addresslist. Then write some Python Product (or there might
be one Product to make this happen a little simpler) which implements these
tags.
BTW: I'm working on associating other annotation data with LocalFS
files. My current thinking is to release the result as a separate
product, since I can't think of a way to do it that doesn't hack
LocalFS sources. Basically, I'm adding a PersistentMapping (from id
to arbitrary class) to
NewbieQ of the moment:
So there's a folder on my server, call it \\server\files\logos. I want
to list its contents in a drop-down listbox in a form; something like
select name="logo_filename"
option selected value="default.jpg"default.jpg
option value="file1.jpg"file1.jpg
...
Hi,
This is a general question.
One can protect the ZSQL methods by employing user folders. This offers
table-level protection.
But what about protecting database information at row level? (This can come
from hackers tweaking form variables.)
Currently I store some security information
Hello,
I am using Zope and mySQL and want to load up text
and Images to text or blob fields.
How can I upload file content to TEXT (plain text)
and BLOB (images: jpg, gif) using DTML?
Thanks
Jens
Greetings,
Please bear with me, I'm still slightly new to Zope, but I'm pretty up on
the structure, miscellaneous administration, etc. I'm also beginning to do
well with Python development.
I wanted to start adding authentication to my site via HTML forms, and I
saw mysqlUserFolder. There
We provide access tour database by outside distributors who are only allowed
to see "their" records while our company users can see all records. Every
data record has an org_id column.
Every call to data is wrapped in a sql call to a user database that uses the
authenticated_user's id to
Hi,
I don't know of a ZPatterns "Hello, World". I remember feeling quite
pleased when I managed to get a ZClass instance added to a Rack. Of course,
how one would define "Hello, world" in the context of ZPatterns, I'm not
sure. I haven't yet had a chance to use 0.4, so this example won't
62 matches
Mail list logo