Re: [Zope-dev] Distributed ZODB-Transactions

2000-05-18 Thread Chris McDonough
! ___ 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

Re: [Zope-dev] Distributed ZODB-Transactions

2000-05-18 Thread Chris McDonough
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

Re: [Zope-dev] Adding ZCatalog index programatically

2000-05-18 Thread Chris McDonough
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

Re: [Zope-dev] use ODBC to access other database

2000-05-28 Thread Chris McDonough
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

RE: [Zope-dev] (no subject)

2000-06-06 Thread Chris McDonough
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

Re: [Zope-dev] broken products after update

2000-06-11 Thread Chris McDonough
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

RE: [Zope-dev] Comments on Zopes performance-article??

2000-06-29 Thread Chris McDonough
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

RE: [Zope-dev] why does my externalmethod generate a ZODB transaction

2000-07-06 Thread Chris McDonough
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

RE: [Zope-dev] zope and UNIX permissions

2000-07-10 Thread Chris McDonough
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

RE: [Zope-dev] zope and UNIX permissions

2000-07-10 Thread Chris McDonough
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

Re: [Zope-dev] zope and UNIX permissions

2000-07-11 Thread Chris McDonough
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 -

RE: [Zope-dev] zope and UNIX permissions

2000-07-12 Thread Chris McDonough
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.

RE: [Zope-dev] zope and UNIX permissions

2000-07-12 Thread Chris McDonough
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

RE: [Zope-dev] The Application object

2000-07-17 Thread Chris McDonough
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

RE: [Zope-dev] The Application object

2000-07-17 Thread Chris McDonough
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

RE: [Zope-dev] The Application object

2000-07-17 Thread Chris McDonough
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

[Zope-dev] 2 ZEO Wikis.

2000-07-19 Thread Chris McDonough
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

RE: [Zope-dev] getting request variables values

2000-07-20 Thread Chris McDonough
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

RE: [Zope-dev] Problem

2000-07-25 Thread Chris McDonough
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

Re: [Zope-dev] permissions/authorization on non ZClass/productobjects

2000-08-02 Thread Chris McDonough
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

RE: [Zope-dev] permissions/authorization on non ZClass/product objects

2000-08-03 Thread Chris McDonough
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

RE: [Zope-dev] dual processors??

2000-08-06 Thread Chris McDonough
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

[Zope-dev] RE: Request for Comment: Zope API naming convention

2000-08-09 Thread Chris McDonough
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

[Zope-dev] unit testing framework proposal

2000-08-15 Thread Chris McDonough
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

Re: [Zope-dev] Data.fs

2000-08-19 Thread Chris McDonough
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

RE: [Zope-dev] Transaction question

2000-08-28 Thread Chris McDonough
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()

Re: [Zope-dev] I feel your Wiki Pain ;-)

2000-09-14 Thread Chris McDonough
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,

Re: [Zope-dev] __del__

2000-09-18 Thread Chris McDonough
! ** (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

[Zope-dev] RFC: ApplicationObject proposal

2000-09-21 Thread Chris McDonough
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 __

Re: [Zope-dev] Do I really understanding caching?

2000-09-22 Thread Chris McDonough
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

Re: [Zope-dev] RE: [Zope-ZEO] Advice

2000-09-25 Thread Chris McDonough
(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.

[Zope-dev] Re: CoreSessionTracking proposal

2000-09-30 Thread Chris McDonough
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

Re: [Zope-dev] CoreSessionTracking proposal

2000-09-30 Thread Chris McDonough
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

Re: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-01 Thread Chris McDonough
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/

Re: [Zope-dev] CoreSessionTracking proposal

2000-10-01 Thread Chris McDonough
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.

Re: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-02 Thread Chris McDonough
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

Re: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-03 Thread Chris McDonough
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

Re: [Zope-dev] Re: CoreSessionTracking proposal

2000-10-03 Thread Chris McDonough
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

Re: [Zope-dev] TreeTag ;-)

2000-10-03 Thread Chris McDonough
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

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
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

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
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

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
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

Re: [Zope-dev] Xron fragility

2000-10-11 Thread Chris McDonough
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

Re: [Zope-dev] SessionManager, BerkeleyDB, and license compatability

2000-10-12 Thread Chris McDonough
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

Re: [Zope-dev] Unit testing, ZUnit

2000-10-23 Thread Chris McDonough
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,

Re: [Zope-dev] ZCatalog index error

2000-11-06 Thread Chris McDonough
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

Re: [Zope-dev] ZCatalog index error

2000-11-09 Thread Chris McDonough
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

Re: [Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Chris McDonough
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

Re: [Zope-dev] ZODB, Threads and Persistence

2000-11-10 Thread Chris McDonough
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

Re: [Zope-dev] Conflict Errors

2000-11-20 Thread Chris McDonough
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

Re: [Zope-dev] Conflict Errors

2000-11-22 Thread Chris McDonough
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...

[Zope-dev] Re: [Geeks] Interface Meta Data proposal

2000-11-28 Thread Chris McDonough
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:

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-29 Thread Chris McDonough
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

Re: [Zope-dev] OracleStorage, and possibly others

2000-11-29 Thread Chris McDonough
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.

[Zope-dev] BerkeleyStorage (was: Re: OracleStorage, and possibly others)

2000-11-29 Thread Chris McDonough
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

[Zope-dev] Core Session Tracking Development Release 0.1

2000-12-14 Thread Chris McDonough
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

[Zope-dev] CoreSessionTracking Release 0.2

2000-12-15 Thread Chris McDonough
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

Re: [Zope-dev] Conflict Errors

2001-01-02 Thread Chris McDonough
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

[Zope-dev] ANN: CoreSessionTracking Release 0.4

2001-01-02 Thread Chris McDonough
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

Re: [Zope-dev] ghost product

2001-01-04 Thread Chris McDonough
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

Re: [Zope-dev] ghost product

2001-01-04 Thread Chris McDonough
: "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

Re: [Zope-dev] Zope-2.3a2 and Loginmanager

2001-01-11 Thread Chris McDonough
"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).

[Zope-dev] ANN: CoreSessionTracking 0.5 dev release

2001-01-15 Thread Chris McDonough
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

Re: [Zope-dev] Problem using External Method

2001-01-23 Thread Chris McDonough
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

Re: [Zope-dev] Problem using External Method

2001-01-23 Thread Chris McDonough
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

Re: [Zope-dev] Server seems to stop responding.

2001-01-25 Thread Chris McDonough
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

Re: [Zope-dev] ZCatalog FieldIndex bug in Zope 2.3.0b3

2001-01-26 Thread Chris McDonough
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

Re: [Zope-dev] Storing session objects in a ZODB

2001-01-29 Thread Chris McDonough
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

Re: [Zope-dev] Interfaces Wiki Security Stuff

2001-01-30 Thread Chris McDonough
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

Re: [Zope-dev] Interfaces Wiki Security Stuff

2001-01-30 Thread Chris McDonough
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

Re: [Zope-dev] 2.30 help system authentication problem?

2001-01-30 Thread Chris McDonough
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

[Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Chris McDonough
"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

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Chris McDonough
: "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

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-01-31 Thread Chris McDonough
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

Re: [Zope-dev] Fw: [Zope-dev] Storing session objects in a ZODB

2001-02-02 Thread Chris McDonough
- 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

Re: [Zope-dev] The field converters (:int, :text, etc.)

2001-02-05 Thread Chris McDonough
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

Re: [Zope-dev] The field converters (:int, :text, etc.)

2001-02-05 Thread Chris McDonough
.) 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

Re: [Zope-dev] CoreSessionTracking stuff

2001-02-05 Thread Chris McDonough
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

Re: [Zope-dev] zope and java

2001-02-06 Thread Chris McDonough
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

[Zope-dev] Re: [Zope] Zope dumping core

2001-02-08 Thread Chris McDonough
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:

Re: [Zope-dev] Greedy except clauses

2001-02-09 Thread Chris McDonough
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

Re: [Zope-dev] How to read ZODB with Python script?

2001-02-15 Thread Chris McDonough
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

Re: [Zope-dev] Unindex_Object, bug (Again)

2001-02-20 Thread Chris McDonough
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

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-22 Thread Chris McDonough
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:

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-22 Thread Chris McDonough
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

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-23 Thread Chris McDonough
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,

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-23 Thread Chris McDonough
"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?

Re: [Zope-dev] Minor typos/changes to ZCatalog.

2001-02-23 Thread Chris McDonough
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.

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-23 Thread Chris McDonough
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

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-23 Thread Chris McDonough
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

Re: [Zope-dev] ZCatalog madness. (Must log in as emergencyuser.)

2001-02-24 Thread Chris McDonough
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

Re: [Zope-dev] Zope 2.3.1b1, strange things when ConflictError.

2001-02-26 Thread Chris McDonough
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

Re: [Zope-dev] ZCatalog problems

2001-02-26 Thread Chris McDonough
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

Re: [Zope-dev] catalog object owners?

2001-02-26 Thread Chris McDonough
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

Re: [Zope-dev] catalog object owners?

2001-02-26 Thread Chris McDonough
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

Re: [Zope-dev] catalog object owners?

2001-02-26 Thread Chris McDonough
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

Re: [Zope-dev] _getOb or __getattr__?

2001-02-27 Thread Chris McDonough
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

Re: [Zope-dev] Could not load state?

2001-02-28 Thread Chris McDonough
(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

Re: [Zope-dev] Weird Re-Indexing Errors after move to Zope 2.3.1b1

2001-03-01 Thread Chris McDonough
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

Re: [Zope-dev] Weird Re-Indexing Errors after move to Zope 2.3.1b1

2001-03-01 Thread Chris McDonough
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   2   3   4   5   6   7   8   9   10   >