Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2000-11-23 Thread Chris Withers
Shane Hathaway wrote: What couldn't be tested by my limited resources: - Platforms other than Linux. 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 ;-) I wonder if this will help with the conflict errors I've

Re: [Zope-dev] ANNOUNCE: PartitionedFileStorage

2000-11-23 Thread Phil Harris
Chris, Any hints/tips on how you did this (just to save me from having to do any work of course ;)) Phil - Original Message - From: "Chris Withers" [EMAIL PROTECTED] To: "Shane Hathaway" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Thursday, November 23, 2000 10:31 AM Subject: Re:

[Zope-dev] Method calls

2000-11-23 Thread Roch'e Compaan
I have a method called getModulesForProduct to which I pass a ProductID eg: dtml-in "Products.Modules.getModulesForProduct(this(), _, ProductID)" sort=name If ProductID is passed on from a form variable it works fine. If I set the ProductID through REQUEST.set: dtml-call

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

Re: [Zope-dev] Method calls

2000-11-23 Thread Steve Spicklemire
Hi Roch, The whole traceback would be helpful.. one clue: Error Type: TypeError Error Value: hasattr, argument 2: expected string, int found 'hasattr' is the function that is complaining do you use it in your code? -steve "Roch'e" == Roch'e Compaan [EMAIL PROTECTED] writes:

RE: [Zope-dev] Method calls

2000-11-23 Thread Roch'e Compaan
OK.. it's the 'in' tag that's causing the problem. Why not try: dtml-var "experession that's causing problem with in" html_quote and see what 'in' is choking on... It's choking on a list of instances. This is what is returned when I "var" the expression: [Module instance at 8b97660,

Re: [Zope-dev] Method calls

2000-11-23 Thread Steve Spicklemire
Hmm... OK ... next question... what are you doing *in* the 'in' tag? Somehow you're trying to access an object contained in an object manager (one of your modules?) and you're using an 'int' rather than a string as an id. Can you post the code? thanks, -steve "Roch'e" == Roch'e Compaan