Re: [Zope-dev] PartitionedFileStorage Fun @;-S

2000-11-23 Thread Shane Hathaway

On Thu, 23 Nov 2000, Chris Withers wrote:

> Chris Withers wrote:
> > 
> >  Error Type: AttributeError
> > Error Value: _tstatus
> 
> Problem found...
> 
> Shane, you did your stuff on version 1.48 of FileStorage.py, while Zope
> 2.2.x uses version 1.37.12.8 of SileStorage.py
> 
> Sadly, it appears the two are incompatible :-(

It would appear so.  I didn't realize until now that there are significant
new features for 2.3.x FileStorage.

So a new qualification: you have to be using Zope CVS in order to try out
this version.

> Is it just me, or should plugging in a new type of storage not feel
> quite as hacky as this?

Some things are just hacky by nature. :-)

BTW this *won't* reduce any conflict errors.

Shane


___
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] PartitionedFileStorage Fun @;-S

2000-11-23 Thread Chris Withers

Chris Withers wrote:
> 
>  Error Type: AttributeError
> Error Value: _tstatus

Problem found...

Shane, you did your stuff on version 1.48 of FileStorage.py, while Zope
2.2.x uses version 1.37.12.8 of SileStorage.py

Sadly, it appears the two are incompatible :-(

Is it just me, or should plugging in a new type of storage not feel
quite as hacky as this?

Looks cool anyway,

cheers,

Chris

___
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 )




[Zope-dev] PartitionedFileStorage Fun @;-S

2000-11-23 Thread Chris Withers

Chris Withers wrote:
> I'm running this on my NT4 Workstation, not high load but I'll let you
> know if anything weird happens (that isn't caused by me ;-)

Okay, weirdness... when I try to copy/delete/etc stuff, I get:

 Error Type: AttributeError
Error Value: _tstatus

Traceback (innermost last):
  File E:\Zope\2.2.2\lib\python\ZPublisher\Publish.py, line 222, in
publish_module
  File E:\Zope\2.2.2\lib\python\ZPublisher\Publish.py, line 187, in
publish
  File E:\Zope\2.2.2\lib\python\Zope\__init__.py, line 221, in
zpublisher_exception_hook
(Object: Traversable)
  File E:\Zope\2.2.2\lib\python\ZPublisher\Publish.py, line 171, in
publish
  File E:\Zope\2.2.2\lib\python\ZPublisher\mapply.py, line 160, in
mapply
(Object: manage_pasteObjects)
  File E:\Zope\2.2.2\lib\python\ZPublisher\Publish.py, line 112, in
call_object
(Object: manage_pasteObjects)
  File E:\Zope\2.2.2\lib\python\OFS\CopySupport.py, line 216, in
manage_pasteObjects
(Object: Traversable)
  File E:\Zope\2.2.2\lib\python\OFS\CopySupport.py, line 431, in
_getCopy
(Object: Traversable)
  File E:\Zope\2.2.2\lib\python\ZODB\ExportImport.py, line 219, in
importFile
  File E:\Zope\2.2.2\lib\python\ZODB\BaseStorage.py, line 207, in
tpc_finish
(Object: E:\Zope\2.2.2/var/Data.fs)
  File E:\Zope\2.2.2\lib\python\ZODB\FileStorage.py, line 821, in
_finish
(Object: E:\Zope\2.2.2/var/Data.fs)
AttributeError: (see above)

...or some other wierdness involving _tstatus.

Extra bonus wierdness: despite the above error, deleting a property
actually works while the paste part of copying and pasting a folder
didn't work :-S

Any ideas?

Chris

___
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 )