[Zope-dev] Test(Persistent) failing with AttributeError: __hash__

2000-09-06 Thread John D. Heintz
nce of Test1 as key failed!" try: dict[t2] = 2 except: print "Using instance of Test2(Persistent) as key failed!" -- John D. Heintz DataChannel, Inc. Senior Engineer 512-633-1198 [EMAIL PROTECTED] ___ Zope-Dev maill

[Zope-dev] Please help - Persistent dictionary keys

2000-09-19 Thread John D. Heintz
= 1 except: print "Using instance of Test1 as key failed!" try: dict[t2] = 2 except: print "Using instance of Test2(Persistent) as key failed!" -- John D. Heintz DataChannel, Inc. Senior Engineer 512-633-1198 [EMAIL PROTECTED] ___

Re: [Zope-dev] Please help - Persistent dictionary keys

2000-09-21 Thread John D. Heintz
_(self): return 1 > ... > >>> dict = {} > >>> t1 = Test1() > >>> t2 = Test2() > >>> dict[t1] = 1 > >>> dict[t2] = 2 > >>> dict > {: 2, <__main__.Test1 instance at 80a3e78>: 1} > >>> > > -- > Mart

Re: [Zope-dev] Please help - Persistent dictionary keys

2000-09-21 Thread John D. Heintz
_(self): return 1 > ... > >>> dict = {} > >>> t1 = Test1() > >>> t2 = Test2() > >>> dict[t1] = 1 > >>> dict[t2] = 2 > >>> dict > {: 2, <__main__.Test1 instance at 80a3e78>: 1} > >>> > > -- > Mart

[Zope-dev] New Proposal: PersistentBlob

2000-09-26 Thread John D. Heintz
motivations for this are keeping a ZODB FileStorage small and exposing blocks of string content to external processes (i.e. full-text indexing). Thanks for taking a look. John -- John D. Heintz DataChannel, Inc. Senior Engineer 512-633-1198 [EMAIL PROTECTED

[Zope-dev] Only using ZODB, not Zope Re: New Proposal: PersistentBlob

2000-09-29 Thread John D. Heintz
basically does all the things you want to achive with the PersistentBlob > (i.e. storing files externally and making them accessible for external > processes), except that it's not that deeply integrated into the Zope > machinery and stores the files only in the file system and not

Re: [Zope-dev] CORBA-ZODB: Is replacing global get_transaction() the only way...

2000-10-04 Thread John D. Heintz
Persistent class TestPersistent(Persistent): self __changed__(self): "Completely ignoring self->state from c code..." if self._p_jar: self._p_jar.transaction.register(self) and then in DB.py the open() method must add a transaction attribute to the connection bef

Re: [Zope-dev] Significance of the ZODB split?

2000-12-08 Thread John D. Heintz
__ > 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/listi

[Zope-dev] Announcing ZODB-Corba code release

2000-12-13 Thread John D. Heintz
/Members/jheintz/ZODB_CORBA_Connection to download the code. It's not perfect, but it works for me. Enjoy, John -- .. . . . . . . . . . . . . . . . . . . . . . . . John D. Heintz | Senior Engineer 1016 La Posada Dr. | Suite 240 | Austin TX 78752 T 512.633.1198 | [EMAIL PROTECTED] w w w .

[Zope-dev] How would I keep _v_* attributes from getting thrown away?

2001-01-19 Thread John D. Heintz
a special volatile that doesn't go away. This would be quick processing in deactivate() and could be a dictionary to account for many stable volatile attributes. Thanks for any help, John -- . . . . . . . . . . . . . . . . . . . . . . . . John D. Heintz | Senior Engineer 1016 La Posada

[Zope-dev] Better test case for Bug 1783: Persistent __call_method__() interferes with __getstate__

2001-01-20 Thread John D. Heintz
tly 0 arguments; 1 given -- . . . . . . . . . . . . . . . . . . . . . . . . John D. Heintz | Senior Engineer 1016 La Posada Dr. | Suite 240 | Austin TX 78752 T 512.633.1198 | [EMAIL PROTECTED] w w w . d a t a c h a n n e l . c o m ___ Zope-Dev mai

Re: [Zope-dev] How would I keep _v_* attributes from getting thrown away?

2001-01-22 Thread John D. Heintz
osts or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) -- . . . . . . . . . . . . . . . . . . . . . . . . John D. Heintz | Senior Engineer 1016 La Posada Dr. |

Re: [Zope-dev] ANNOUNCE: Zope 2.3.0 beta 3 released - Plea for bug #1884

2001-01-24 Thread John D. Heintz
L 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 ) -- . . . . . . . . . . . . . . . . . . . . . . . .

Re: [Zope-dev] Q: Specialists, Racks, and ZCatalogs?

2001-02-05 Thread John D. Heintz
ght want to take >> a look at that. > > > Is Catalysis method a pattern in Coads book? > > Regards, > Johan Carlsson > > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-

Re: [Zope-dev] Storing part of an object on the file system

2001-02-22 Thread John D. Heintz
n/listinfo/zope-announce >> http://lists.zope.org/mailman/listinfo/zope ) >> > > > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev &g

Re: [Zope-dev] is there a hook for before the transaction is committed

2001-03-05 Thread John D. Heintz
___ > 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 ) -- .

Re: [Zope-dev] is there a hook for before the transaction is comm itted

2001-03-05 Thread John D. Heintz
I need to > override the _vote method (since it is only called once and allows > exceptions). As to the other stuff, I'm sure you can enlighten me further > as to why. I appreciate the help. > > Cheers. > Tim > > -Original Message- > From: John D. Heintz [mai

Re: [Zope-dev] is there a hook for before the transaction is committed

2001-03-05 Thread John D. Heintz
cts. This would be handled by Keeper or TM like solutions. Anyway, this is just my current mental state dump. ;-) Thanks, John Steve Alexander wrote: > John D. Heintz wrote: > >> Hi Tim, >> >> I have two suggestions, I hope one of them helps. >> >> 1) Attached

Re: [Zope-dev] FTP interface being worked on?

2001-03-18 Thread John D. Heintz
, I'd be > done! The problem is that everything comes out in one big monolithic > file. That's not good for project management using CVS. (At least, as > far as I can tell.) > > I think there is the potential for a really good solution that solves > our need to manage o

Re: [Zope-dev] FTP interface being worked on?

2001-03-19 Thread John D. Heintz
e current XML dump is not useful for this - it >> would need to >> create individual files and folders to represent >> containment. > > > This is pretty easy right now. Ten lines of recursive code > can walk the whole tree if necessary and export only leaf > object

Re: [Zope-dev] FTP interface being worked on?

2001-03-19 Thread John D. Heintz
perty "x" as -x. and property "y" as -y. For example instead of just: | -- foo_page.xml -- foo_page.dtml it might be useful to have arbitrary other files created when foo_page is dumped: | -- foo_page.xml -- foo_page.dtml -- foo_page-description.txt This would imply that

Re: [Zope-dev] FTP interface being worked on?

2001-03-19 Thread John D. Heintz
(Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) -- . . . . . . . . . . . . . . . . . . . . . . . . John D. Heintz | Senior Engineer 1016 La Posada Dr. | Suite 240 | Austin TX 78752 T 512.633.1198 | [EMAIL PROTECTED] w w w

Re: [Zope-dev] External transaction integration bug?

2001-04-19 Thread John D. Heintz
I can't directly address the concerns you've raised, but for my project I have rewritten TM.py to work better within the begin/vote/finish/abort protocol framework. I've also added more documentation. John Randall F. Kern wrote: > I may just be missing something obvious here, but it seems li

Re: [Zope-dev] Experiments with ORMapping

2001-05-14 Thread John D. Heintz
people to code the mapping purely in Python so we > could gain experience and find common patterns before inventing a UI. > > Shane > > ___ > Zope-Dev maillist - [EMAIL PROTECTED] > http://lists.zope.org/mailman/listinfo/zope-dev >

Re: [Zope-dev] Experiments with ORMapping

2001-05-14 Thread John D. Heintz
an/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 ) -- . . . . . . . . . . . . . . . . . . . . . . . . John D. Heintz | Senior Engineer 1016 La Posada Dr. |

Re: [Zope-dev] another Zope hanging..

2001-05-20 Thread John D. Heintz
; > > > > benefit.. > > > > The -M log perhaps won't show you the actual operation that's causing the > > hang, but it will show you the entry point into a routine which causes > > the hang. It's your job from there to track down the cause. This is > > just like debugging a pr

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-07 Thread John D . Heintz
://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) -- . . . . . . . . . . . . . . . . . . . . . . . . John D. Heintz | Senior Engineer 1016 La Posada Dr. | Suite 240 | Austin TX 78752 T 512.633.1198 | [EMAIL PROTECTED] w w w . d a t a c h a n n e l . c o m ___

Re: [Zope-dev] Bulletproof ZCatalog proposal

2001-06-08 Thread John D . Heintz
ification queues in the commit() method. There'd be a few other little > extensions needed, like clearing the queues on any abort operation, and > adding registerIndex() and registerRule() or some such methods. > > > ___ >

OracleStorage? Re: [Zope-dev] DCOracle2 Beta 3

2001-06-12 Thread John D . Heintz
or HTML encoding! ** > (Related lists - > http://lists.zope.org/mailman/listinfo/zope-announce > http://lists.zope.org/mailman/listinfo/zope ) -- . . . . . . . . . . . . . . . . . . . . . . . . John D. Heintz | Senior Engineer 1016 La Posada Dr. | Suite 240 | Austin TX 7875