!
___
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
http://lists.zope.org/mailman/listinfo/zope )
--
Chris McDonough
Digital Creations
recognize, which
object has to be updated? In the case of a creation and deletion of an
object, the transaction-class handles the parent object and not the object
itself.
--
Chris McDonough
Digital Creations
Publishers of Zope - http://www.zope.org
n/listinfo/zope-dev
** No cross posts or HTML encoding! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
--
Chris McDonough
Digital Creations
Publishers of Zope - http://ww
Thomas Weholt wrote:
Does anybody know if there are a Interbase-databaseadapter in development?
Interbase is open-source, free etc. and allready an established product so
it would be strange if it wasn`t supported by Zope, at least in the future.
Thomas,
There is a python-level Interbase
I was kicking the idea of making one around, but I don't think I'll have
time to do it.
There's a document on how to write a Zope database adapter by Chris
Petrilli at:
http://www.zope.org/Members/petrilli/WritingADA
Since the Python layer has been (well) done by Alex, it shouldn't be too
hard
Doug,
You can get some information on what's going wrong by adding the
following to your 'start' script (if you're on UNIX, the Windows
incantation is different and I don't know it):
reldir=`dirname $0`
STUPID_LOG_FILE=$reldir/var/STUPID.log
export STUPID_LOG_FILE
Start Zope after adding this
Zope will always fare badly in comparison to web servers that dont serve
dynamic content. Zope's delivery will probably never be as fast as
serving up static pages from the filesystem ala Apache or AOLServer.
This is one of the reasons for ZEO. One of the other things in the
wings that's being
Any method called directly through the web (e.g. like this one, which I
assume is through an HTTP POST) will be bounded in a transaction. Why
would you not want this to happen?
-Original Message-
From: Joachim Schmitz [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 06, 2000 3:30 AM
Which files? Know that if you untar as root, the files will be 'owned'
by whoever tarred it up on our side. Untar it as a normal user. Reset
the permissions of the ones you find too permissive. Then let us know
so we can change the distribution.
-Original Message-
From: Leonardo
distribution, so I don't think the problem is
with the RPM.
-Original Message-
From: R. David Murray [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 10, 2000 10:55 PM
To: Chris McDonough
Cc: 'Leonardo Kenji Shikida'; [EMAIL PROTECTED]
Subject: RE: [Zope-dev] zope and UNIX permissions
Bill Anderson wrote:
He seemed to be mostly griping about files that were wide open (777). On
2.2.0b4 the only ones I get are:
lrwxrwxrwx1 root root 13 Jul 11 01:36 lib/python/ZEO/cPickle.so
- ../cPickle.so
lrwxrwxrwx1 root root 13 Jul 11 01:36 lib/python/ZServer -
The other file (pcgi.soc) is a unix domain socket... it
gets created
when you run "python w_pcgi" as a Zope install command from
the source
distribution. I'm not sure of the danger of having this get created
777. It might be worthwhile to look into what could be done to it.
Hmmm... thanks for trying it. This doesn't seem much of a
risk, does
it?
Not that I can see off-hand. It is only a socket, a means for
communicating with Zope. The 'risk' would only lie in Zope's Security
mechanisms. ;-)
The only possible risk would be a DoS type manuever if
I'm not sure I understand. What is AppSingleton? What does the
Instance() method do?
-Original Message-
From: Jeff K. Hoffman [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 17, 2000 11:54 AM
To: [EMAIL PROTECTED]
Subject: [Zope-dev] The Application object
Hello,
What is the
Sorry I wasn't clear enough. The Singleton is a design
pattern from the
Gang of Four book that fits this situation well. It is a
class that is
meant to control access to the one and only instance of a global
variable. I was just using that as a frame of reference,
though; Zope has
no
So it's kosher then to reimport the Zope module and use app() in a
constructor method, Shane? I was always afraid it would do something
horrible.
-Original Message-
From: Jeff K. Hoffman [mailto:[EMAIL PROTECTED]]
Sent: Monday, July 17, 2000 1:11 PM
To: Shane Hathaway
Cc: Chris
In trying to find the "Quorum Based Replication" stuff I've found that
we have two ZEO wikis.
http://www.zope.org/Products/ZEO/Wiki/FrontPage
http://www.zope.org/Wikis/ZEO/FrontPage
Bleah.
Chris McDonough
Digital Creations
Publishers of Zope - http://ww
v] getting request variables values
yes, I tryied.
both attepts gave me this error:
Error Type: KeyError
Error Value: SSL_CLIENT_EMAIL
tips?
Leonardo Kenji Shikida
Webmind - Brazil Office
- Original Message -----
From: Chris McDonough [EMAIL PROTECTED]
To: 'Leonardo Ken
Anvita,
It's possible you could reuse these components via COM using Mark
Hammond's COM stuff for python... this isn't really Zope-specific. See
http://www.python.org/windows/win32com/ for more information.
-Original Message-
From: Anvita [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, July
Karl,
Two things come to mind:
First, make sure you're returning the instances in the context of their
container, e.g. instead of:
def returnstuff(self):
class foo:
pass
return foo()
do
def returnstuff(self):
class foo:
pass
First, make sure you're returning the instances in the
context of their
container, e.g. instead of:
def returnstuff(self):
class foo:
pass
return foo()
do
def returnstuff(self):
class foo:
pass
return
Steve,
It sounds a little underpowered to me. But you should probably just try
it if it's what you've got. There are some Zope benchmarks contributed
by BwanaZulia at
http://www.zope.org/Members/BwanaZulia/zope_benchmarks/benchmarks.html.
BTW, questions like this are probably better posed to
Plenty of time... :-)
Please make comments by Wednesday April 16.
Jim
--
Jim Fulton mailto:[EMAIL PROTECTED] Python Powered!
Technical Director (888) 344-4332http://www.python.org
Digital Creationshttp://www.digicool.com http://www.zope.org
Please see
http://dev.zope.org/Wikis/DevSite/Proposals/UnitTestingFramework for a
propsal for inclusion of a unit testing framework within Zope. Comments
appreciated.
Chris McDonough
Digital Creations
Publishers of Zope - http://www.zope.org
Surely this raises some data integrity issues if you copy in
mid-transaction? Or does an incomplete transaction at the end of the db
just get thrown out, and the design of the db assure that only the end of
the file gets updated?
An incomplete transaction at the end of Data.fs gets
Using a mutex by way of example, without using anything Zope-specific
(the following uses the Python threading module):
import threading
lock = threading.Lock()
myglobal = []
def changeglobal(val):
lock.acquire()
try:
myglobal.append(val)
finally:
lock.release()
A lot of the listed complaints are trying to be addressed by the
"WikiNG" proposal, which is (of course) in the Proposals wiki on
dev.zope.org.
Okay, here's an idea which people may or may not like:
How about running the 'Discussion' parts of (in particular) dev.zope.org
from ZDiscussions,
! **
(Related lists -
http://lists.zope.org/mailman/listinfo/zope-announce
http://lists.zope.org/mailman/listinfo/zope )
--
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org
___
Zope-Dev maillist - [EMAIL PROTECTED]
http
Please comment on the new fishbowl proposal for an "Application" object:
http://dev.zope.org/Wikis/DevSite/Proposals/ApplicationObject
Your input is appreciated!
--
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org
__
is.
Is it essential that all your cataloged objects be catalog-aware?
--
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross po
(I took the ZEO mail list out of the loop)...
[Agreed. Ill CC zope-dev and I suggest we continue there.]
Sorry, I phrased my question ambiguously.
I meant, do you think a TTW development approach is viable for
applications
with a non-trivial amount of logic?
Perhaps not. Not yet.
I just read the CoreSessionTracking proposal.
Great...
I am very concerned about the "long living browser id".
* Why should a browser id live longer than the
session data maintained for the browser?
Because it's a browser id, not a session id. This terminology may change in
later
ntents,
only what is shown by the application code. I think Dieter's comments
point out that the overarching requirement that sessioning be useful in
the context of anonymity is at odds with the desire to lock down access
to the data referenced by a session identifi
ion by giving the session token a random element, and
this mitigates a guessing attack, but not a theft attack.
--
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/
hy clutter the (already cluttered) security management screen
with an additional permission.
It is advantageous to prevent certain users from accessing session data
(such as nonanonymous, non-management users with TTW scripting
capabilites) so they cannot arbitrarily examine session data values.
dynamic IP address...
-steve
"Chris" == Chris McDonough [EMAIL PROTECTED] writes:
Chris Session tokens, AFAICT, cannot be secured. They can only
Chris be obfuscated, which mitigates the risk that they will be
Chris guessed. However, there's no way to completely secure
the 'session' state is stored by the
client (in the URL) in full.
There are other differences between this type of session and the
CoreSessionTrackingProposal; but the advantages are not all one way.
--
Chris McDonough
Digital Creations, Publishers of Zope
http://www.zope.org
Are you suggesting that the session token should actually
store session
data?
As an alternative SessionManager, it appears to have some advatanges that
others do not.
Hmmm. Please smack me if I'm wrong, but I'm not clear on how it differs
much from not keeping session-related data in
OK... let me rephrase that...
Don't fix it if you don't care!
(I have a rule in my mailbox that deletes all messages with 'tree tag' in
the subject line. I am not kidding.)
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL
Steve,
I am also interested in scheduling... though I haven't looked closely at
Xron.
The Xron product seems rather "fragile" in use.
That is, if things go wrong when an Xron DTML Method is triggered, that
method doesn't get rescheduled.
Does Xron take an optimistic approach to repeating
As a side note, I do not like the fact that Xron requires you to use
special
DTML methods. I suppose this is a requirement in this architecture due
to
the fact they need to be autocataloged, but I don't really like that
feature
either :-).
I think Xron could work with anything that has
I'll need to try to call get_transaction().commit() from a
manually-constructed Python thread fired off from Zope and see what
happens.
I think it'll just work. I'll find out in a few minutes. :-)
Yes, it just works. :-)
___
Zope-Dev maillist
Do you think this is this any more effective than having a producer
thread
do a lookup every minute to see what jobs are current, after which it
should
put the current jobs in a queue? E.g., as the "run" method of a
separate
producer thread:
the same problem applies, a solution might
This is a good point...
Not to worry, however, because the default configuration of the session
tracking stuff is going to use in-memory storage. Berkeley DB will not need
to be (and won't be) distributed with Zope. The session manager will be
capable of using nonundo databases (like one based
I would be very interested in such a beast. It's way too hard to do unit
testing in Zope right now. I'm not sure about how it should be designed,
but that's what the fishbowl is for. :-)
- Original Message -
From: "Lalo Martins" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Monday,
Andy,
This is a known issue with the catalog (searching the collector for "key
error" will show you how common it has been). Chris Petrilli should be
checking in some changes to the CVS 2.2 branch (and the trunk?) tomorrow
that resolves it. The problem is evidently related to the way
I have no idea about this, but I know that this isn't all you need
- Original Message -
From: "Andy McKay" [EMAIL PROTECTED]
To: "Andy McKay" [EMAIL PROTECTED]; "Christopher Petrilli"
[EMAIL PROTECTED]; "Chris McDonough" [EMAIL PROTECTED];
[E
AFAIK, you should be able to spawn a new thread from within any function
within Zope and manipulate stuff in the ZODB as long as you lock properly.
The number of database connections is fixed, but arbitrary threads can take
up a database connection on an ad-hoc basis. If I were you, I'd mess
But I guess this still will be the same anyway. That is, if an object
inhereted from Persistence.Persistance spawns a thread that
manipulated data in the object, I will have no problems. The thread
will be running just fine, and the data will be stored in the zodb.
This is how I've
It happens when more than one thread tries to modify the same object in
storage at the same time. It's Zope's equivalent of record-locking... It's
normal. There's no corruption or anything, it's telling you that it avoided
a write that might have caused problems. Zope tries three times to
Hurm, well, it appears to happen when we're doing a lot of sequential
write to a product (automated bulk data upload), but the thing that
triggers it off is actually trying to read a page from the same area of
the site... confusing. Although that could also be a one-off
coincidence...
Is security really a part of an object's interface? I thought this was more
of an implementation thing.
- Original Message -
From: "Michel Pelletier" [EMAIL PROTECTED]
To: "Geeks Mailing List" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, November 28, 2000 4:05 PM
Subject:
If you're at all interested, Kapil, it'd really be great if someone were to
take over InterbaseStorage. It needs to be changed to use Bob Tierney's
newer multithreaded GVInterbaseDA Python DB-API adapter (Kinterbasdb doesn't
seem to get along with newer versions of Zope, and it's
Of course it would, for the same reasons as OracleStorage (eg
FileStorage/Data.fs is inefficient)
Actually, it's the other way around. OracleStorage is 30-to-50 times slower
than FileStorage on writes. Reads are slow too but the slowness is somewhat
negated by caching.
I actually need to get a BerkeleyStorage against BSDDB3 going for a customer
fairly soon. Jim has done a lot of work on it, and it's looking like I'll
probably end up finishing it. Robin Dunn has a Python extension module
against the bsddb3 libraries that we're using. It may actually be
Hi,
A development release of the fruits of the "core session tracking" Fishbowl
project
(http://dev.zope.org/Wikis/DevSite/Projects/CoreSessionTracking/FrontPage)
is available at
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking. It allows
you to keep state across requests for
I had some reports yesterday of the Core Session Tracking development code
not working against recent Zope 2.2 releases, so I removed dependencies in
the code on the Interface module which were causing the incompatibilities.
CoreSessionTracking 0.1 will work against Zope 2.3a1, but not against
that cause that *not* to be the case in many situations,
and independent writes to it often conflict. We are working on another
BTree implementation to resolve the issue.
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]
Cc: [EMAIL PRO
Hello,
A new development release of the "Core Session Tracking" product (0.4) is
available at http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking
This release makes substantial interface and feature changes including using
an internal mounted storage to provide an "internal" session
Delete the product from the Control Panel management interface.
- Original Message -
From: "Tim McLaughlin" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, January 04, 2001 3:10 PM
Subject: [Zope-dev] ghost product
In fact (to clarify my preceding problem), when I removed the
: "Tim McLaughlin" [EMAIL PROTECTED]
To: "'Chris McDonough'" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, January 04, 2001 3:35 PM
Subject: RE: [Zope-dev] ghost product
Thanks for the delete issue, however that puts me at ground 0 again. THis
product will not sho
"super" still exists. It's aliased to the emergency
user. There's a comment in User to the effect that the use of super is
deprecated, and that emergency_user should be used instead.
I don't believe the reading of the access file is a bug (it's
there to provide backwards-compatibility).
Howdy folks,
A new development release of the core session tracking implementation (which
allows you to store state between requests for anonymous visitors) is
available at
http://www.zope.org/Members/mcdonc/Products/CoreSessionTracking. The latest
release is 0.5.
Thanks,
- C
Espen,
The files that external methods actually live in are not Python modules,
like normal Python modules. Though I haven't tried your example, it's
likely that your reference to __main__ is confusing the external method
machinery. Additionally, the output of "print" doesn't go to the remote
Ooops, replace "print self.data" with "return self.data" in the display
method of my Testclass.
- Original Message -
From: "Chris McDonough" [EMAIL PROTECTED]
To: "Espen Sorbye Frederiksen" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Tuesday, Jan
Andy, look at the documentation in z2.py for the "-M" switch that writes out
a debug log of method accesses.
Then visit http://www.zope.org/Members/mcdonc/HowTos/DEBUG-LOG
It tells you how to track down hangs via stuff in your debug log.
- Original Message -
From: "Andy McKay" [EMAIL
This is fixed in CVS. ChrisP works fast. :-)
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]
Sent: Friday, January 26, 2001 11:23 AM
Subject: Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3
Chris McDono
You won't be able to session data objects from the RAM-based container
without special treatment in your main storage, because "under the hood" the
internal data container uses a mounted RAM-based storage. See the section
in the help/CoreSessionTracking.stx file that ships with the release named
This might be helpful:
http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 30, 2001 8:58 AM
Subject: [Zope-dev] Interfaces Wiki Security Stuff
Hi,
How active/relevant is
PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Tuesday, January 30, 2001 9:49 AM
Subject: Re: [Zope-dev] Interfaces Wiki Security Stuff
Chris McDonough wrote:
This might be helpful:
http://www.zope.org/Members/mcdonc/PDG/6-1-Security.stx
Cool... I
Ross,
Can you file this in the collector? I believe you. :-)
- Original Message -
From: "Ross Lazarus" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, January 30, 2001 11:14 AM
Subject: [Zope-dev] 2.30 help system authentication problem?
I never allow anonymous to have any
"Andy McKay" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]
Sent: Wednesday, January 31, 2001 1:56 PM
Subject: Re: [Zope-dev] Storing session objects in a ZODB
I think you may be trying to use sessions to do something that sessions
don't do. You can
: "Andy McKay" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Wednesday, January 31, 2001 2:47 PM
Subject: Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB
Well my quick hack and wacky of doing it is as follows:
- I wrote a quick
Any special reason why I shouldn't pickle apart from the fact that the
ZODB
will do it to save the object?
The session data object class may move in the future, which in the "normal"
case would only require that you restart the server (if they're transient)
or flush your data container (if
-
From: "Toby Dickenson" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, February 01, 2001 9:00 AM
Subject: Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB
On Wed, 31 Jan 2001 14:28:09 -05
The last time I had to mess around with it, IE didn't pass along any empty
form fields at all. Is this still the case?
- Original Message -
From: "Brad Clements" [EMAIL PROTECTED]
To: "Morten W. Petersen" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, February 05, 2001 8:58 AM
.)
On 5 Feb 2001, at 9:38, Chris McDonough wrote:
The last time I had to mess around with it, IE didn't pass along any
empty
form fields at all. Is this still the case?
Still?
I've never seen the behaviour you describe. My client uses IE exclusively.
What version of IE did you test
Hi Andy,
-Why does an ESDC have a session timeout in 20 minutes, yet the cookie
lifespan can be 30 days. Surely there will be no way to tie a cookie back
up
to a session since the ESDC will be have had that person nuked, I was sort
of hoping I coudl persist the data in the ESDC for a
zope and javaHi Mike,
If it fits your situation, it might be worth your while to check out XML-RPC
(http://www.xmlrpc.org) to get a Java application talking to Zope at a
protocol level. On customer projects, we have successfully used XML-RPC as a
Java-Zope bridge, and Zope can (quite
You might want to take a look into the -M switch of z2.py in combination
with the "How To Track Down Hangs Using the Debug Log" HOWTO on Zope.org to
figure out where you're getting the coredump...
- Original Message -
From: "Dario Lopez-Ksten" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc:
Whoo hoo! Thanks very much Anthony.
- Original Message -
From: "Anthony Baxter" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Friday, February 09, 2001 1:31 PM
Subject: Re: [Zope-dev] Greedy except clauses
Ok, my last for tonight - I put the output of my horrible script at
Hi Petr,
Look into ZEO. You'll be able to connect to a ZODB database from multiple
processes with ZEO.
- C
- Original Message -
From: "Petr Knapek" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, February 15, 2001 11:34 AM
Subject: [Zope-dev] How to read ZODB with Python
Andy,
Eek!! Please do submit this to the collector again.
Apologies,
- C
- Original Message -
From: "Andy Dawkins" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Tuesday, February 20, 2001 7:18 AM
Subject: [Zope-dev] Unindex_Object, bug (Again)
The bug with zope 2.3.0 that I
I'm not sure why this isn't in 2.3.1b1, but yes, the code in getobject was
changed to use unrestrictedTraverse for this very reason.
- Original Message -
From: "Erik Enge" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Thursday, February 22, 2001 10:33 AM
Subject:
You can get the object, but you can't do anything with it.
- Original Message -
From: "Steve Alexander" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]
Cc: "Erik Enge" [EMAIL PROTECTED]; [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, February
No... what are you getobjecting? Does it happen only with certain kinds of
objects? Are they ZClass objects or Product-based objects?
- Original Message -
From: "Erik Enge" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Friday,
"No" to which question?
No to the question "And is there a way to actuall give access to
restrictedTraverse (or, probably more corretly, to let it traverse)?"
what are you getobjecting? Does it happen only with certain kinds of
objects? Are they ZClass objects or Product-based objects?
Probably. Keyword indexes work too.
Yeah, that was what I was getting at :)
Yes.
This is the number of objects indexed by the index. If it's not
working,
that's a bug.
Then it looks like a bug. Lucky us, I don't have time to analyze this in
a week or so.
Sorry. I'd like to help.
different python classes. Do they inherit from a common base class? Did
you make these objects or are they from another Product or are they standard
Zope objects (like DTML methods, etc.)?
- Original Message -
From: "Erik Enge" [EMAIL PROTECTED]
To: "Chris McDonough&qu
And any access to getobject with any data_record_id_ returns
unauthorized
for any user besides emergency user?
Hm... No, not entirely correct. If I don't get any hits, I don't get the
unauthorized, but that is probably because I don't even try the
getobject. The point I'm making is
I can't replicate this behavior with normal objects. :-(
- Original Message -
From: "Erik Enge" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Saturday, February 24, 2001 4:58 AM
Subject: Re: [Zope-dev] ZCatalo
The use of a literal anonymous list in methodb's signature for "objects" may
have something to do with the results you're getting on conflict. Try
assigning "objects" to an empty list in the method body instead.
- Original Message -
From: "Erik Enge" [EMAIL PROTECTED]
To: "Steve
Neat!
- Original Message -
From: "Steve Alexander" [EMAIL PROTECTED]
To: "Morten W. Petersen" [EMAIL PROTECTED]
Cc: [EMAIL PROTECTED]
Sent: Monday, February 26, 2001 1:31 PM
Subject: Re: [Zope-dev] ZCatalog problems
Morten W. Petersen wrote:
Hi guys,
I'm having trouble
I'll second that, the ability to catalog values returned by method calls
would be sweet..
Not sure what you mean, this works now.
___
Zope-Dev maillist - [EMAIL PROTECTED]
http://lists.zope.org/mailman/listinfo/zope-dev
** No cross posts or HTML
getOwner should do it. This will return the actual owner object. It'd be
preferable to catalog the tuple representing the owner path (this is
returned by getOwner(1)), so you might want to create a method on the object
that returns "getOwner(1)".
- Original Message -
From: "Tim
Aha? So if I specify a field index of,
get_parent_node_id, which is a
function call on all objects that are to be indexed, this
would
index the returned value?
If so, how long has this been available?
As long as the catalog has been around, AFAICT...
This is one of its very most basic
Sorry, just thought of another coupla questions:
If x is an instance of my class, then:
If I do x.a = 1, is _setOb called?
If I do print x.a, is _getOb called?
No in either case.
_setOb shouldn't be used directly in the current ObjectManger
implementation. It doesn't populate the _objects
(cd to lib/python)
python
import Zope
app = Zope.app()
jar = app._p_jar
jar['\000\000\000\000\000\021\275\220'].id
Although this probably won't help if you can't load state consistently. In
that case.. ummm...
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: [EMAIL
This is an artifact of a problem in the reindexing code that should be gone
in the next release.
- Original Message -
From: "Chris Withers" [EMAIL PROTECTED]
To: [EMAIL PROTECTED]
Sent: Thursday, March 01, 2001 12:36 PM
Subject: [Zope-dev] Weird Re-Indexing Errors after move to Zope
thers" [EMAIL PROTECTED]
To: "Chris McDonough" [EMAIL PROTECTED]; [EMAIL PROTECTED]
Sent: Thursday, March 01, 2001 2:10 PM
Subject: Re: [Zope-dev] Weird Re-Indexing Errors after move to Zope 2.3.1b1
This is an artifact of a problem in the reindexing code that should be
gone
1 - 100 of 1168 matches
Mail list logo