Re: [Zope-dev] http headers

2001-02-12 Thread Steve Spicklemire
Another you might consider (though Shane's is great, but required Tkinter, which not everybody (me!) has really easy accesss to... ) is the more browser based, but less flexible: http://www.cyberclip.com/webdebug/ -steve > "SA" == Steve Alexander <[EMAIL PROTECTED]> writes: SA> Tim

Re: [Zope-dev] freebsd file: table is full when starting zope2

2001-02-14 Thread Steve Spicklemire
If you bump maxusers up to 64 (from the default 32) and rebuild the kernel the messages should go away... it's worked for me. -steve > "RDM" == Zope mailing lists <[EMAIL PROTECTED]> writes: RDM> On Wed, 14 Feb 2001, Sin Hang Kin wrote: >> When starting Zope2.3 from the freebsd box

Re: [Zope-dev] ZPatterns feature patch: kickTriggers

2001-02-23 Thread Steve Spicklemire
Hmmm... tripTriggers(...) pullTriggers(...) fireTriggers(...) ;-) dunno... kickTriggers works for me... -steve > "SA" == Steve Alexander <[EMAIL PROTECTED]> writes: SA> I've patched DataSkins.py to add this method: ... SA> I'd welcome suggestions on a better name for the me

Re: [Zope-dev] ZCatalog stuff

2001-02-23 Thread Steve Spicklemire
Hi Chris, RDM.. There's also Zieve for this sort of thing... it seems to work well enough for me... -steve > "RDM" == R David Murray <" <[EMAIL PROTECTED]>> writes: RDM> On Thu, 22 Feb 2001, Chris Withers wrote: >> Apart from that, any ideas how I'd search for a record where

[Zope-dev] ZPatterns.. latest CVS moves ExtensionClass.h.. new Setup required to build DynPersist.so...

2001-02-26 Thread Steve Spicklemire
There was some motion in the ExtensionClass source recently that affects building DynPersist.so a diff follows... Index: Setup === RCS file: /usr/cvsroot/zope/lib/python/Products/ZPatterns/Setup,v retrieving revision 1.1 retriev

Re: [Zope-dev] Implementing ZPattern: Containment

2001-03-06 Thread Steve Spicklemire
Hi Johan, Have a look at http://www.zope.org/Members/sspickle/DumbZPatternsExample The best way I've found is to provide a method (or methods) in the Specialist of the contained item to get ids of those instances satisfying certain criteria... e.g., getToDoIdsForDoer( aDoer ) (the conta

Re: [Zope-dev] ZPatterns: getItem returns None

2001-03-19 Thread Steve Spicklemire
Hi Roche, > > In all simplicity I still can't get it to work but here's some more info > > from the console: > > > > Traceback (innermost last): > > File > > C:\PROGRA~1\ZOPE230\lib\python\Products\ZPatterns\AttributeProviders.py, > > line 335, in _AttributeFor > > (Object: GAPMixin) > >

Re: [Zope-dev] ZPatterns style question

2001-03-21 Thread Steve Spicklemire
Hi Lex, This is a little bit of a tricky question. Here is what I think is the *intent* of ZPatterns. The details of storage are to be left up to the implementor/integrator. Given that they are the only ones who really know where all the goodies are hidden (sql? zodb? etc.. ) your app shouldn'

Re: [Zope-dev] Implementing ZPattern: Containment

2001-03-21 Thread Steve Spicklemire
Hi Johan, I wrote: > The best way I've found is to provide a method (or methods) in the > Specialist of the contained item to get ids of those instances satisfying certain > criteria... > > e.g., getToDoIdsForDoer( aDoer ) > > (the contained item keeps a reference to the id of its containe

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

2001-03-24 Thread Steve Spicklemire
Hi Folks, I posted this to the Wiki... but it's not "in-your-face" like email, so I never know if anyone reads it. Here are a few, possibly random, but nonetheless concrete, thoughts of mine on the matter. I'm looking at all this from the perspective of someone who is using the current xml/zexp

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

2001-03-26 Thread Steve Spicklemire
Hi Fred, >>>>> "Fred" == Fred Wilson Horch <[EMAIL PROTECTED]> writes: Fred> Steve Spicklemire wrote: >> I'm looking at all this from the perspective of someone who is >> using the current xml/zexp code to manage objects in C

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

2001-03-27 Thread Steve Spicklemire
Hi Fred, > "Fred" == Fred Wilson Horch <[EMAIL PROTECTED]> writes: Fred> Wanted to follow up on Steve's points. Fred> I don't know if we need just one serialization interface Fred> that tries to solve all five issues. Ok.. Fred> We currently have two serialization interf

[Zope-dev] Btree problems on recent CVS update..

2001-03-28 Thread Steve Spicklemire
Hmm.. anybody seen this? -steve cc -fpic -I../Components/ExtensionClass/src -I../Components/BTree -I./ZODB -O -pipe -D_THREAD_SAFE -I/usr/local/include/python1.5 -I/usr/local/include/python1.5 -DHAVE_CONFIG_H -c ./../Components/BTree/BTree.c ./../Components/BTree/BTree.c: In function `BTreeI

Re: [Zope-dev] (ZPatterns) Speeding up Skinscripts

2001-03-29 Thread Steve Spicklemire
Hi John, Makes sense to me! I'm guessing eval was used since it's a little simpler not to have to keep track of both the string expression and the compiled expression.. but that's just a guess. However it does bring up a point I've been wondering about anyway. Now that Ty and Phillip have mov

[Zope-dev] getPersistentItemIDs not cooperating?

2001-05-23 Thread Steve Spicklemire
Has anyone seen anything like this? I have the following script in a Specialist: ## Script (Python) "deleteAllTracks" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind subpath=traverse_subpath ##parameters= ##title= ## trackMaster=context.Tracks im

Re: [Zope-dev] getPersistentItemIDs not cooperating?

2001-05-23 Thread Steve Spicklemire
iList.append(id) dList=[] for id in iList: theItem=trackMaster.getItem(id) theItem.manage_delete() dList.append(id) return ("OK! deleted %i elements" % len(iList)) + string.join(iList,',') On Wednesday, May 23, 2001, at 10:59

Re: [Zope-dev] getPersistentItemIDs not cooperating?

2001-05-23 Thread Steve Spicklemire
Hi Phil, Yup.. I realized it when I could *list* all the ids, but not delete them. ;-) I'm wondering if it might be better to change the implementation of getPersistentItemIDs to return a plain list? This would also help avoid permission errors that folks run in to when trying to use it in dt

Re: [Zope-dev] getPersistentItemIDs not cooperating?

2001-05-23 Thread Steve Spicklemire
Hi Phil, FYI.. this doesn't work in a PythonScript since indexing into a BTreeItems is (apparently) not allowed by the "Security Machinery". So... a simple list is looking better and better! ;-) -steve On Wednesday, May 23, 2001, at 11:22 AM, Phillip J. Eby wrote: > The fix would probably be

Re: [Zope-dev] ZCVSFolder not running on windows

2001-07-01 Thread Steve Spicklemire
Hi Robert, Sorry.. ZCVSFolder is not supported for Windows. Patches accepted! -steve Robert Rottermann wrote: > > Hi there, > > I installed the newest version of ZCVSMFolder on my windowsbox. > > As it uses fork it can not work. However I used a former version under > windows. Is th

[Zope-dev] DateTime class not recognizing timezone correctly...

2001-07-08 Thread Steve Spicklemire
Hi -dev folk.. I ha(d) a problem where DateTime was basing the local timezone on time.tzname, and getting it wrong. (tzname comes from the abbreviation, which in Indiana is 'EST', but DateTime really wants 'US/East-Indiana'. So.. I patched DateTime as follows.. I saw a proposal in the archives a

[Zope-dev] SQL/ZPatterns examples posted to Zope.org

2001-07-10 Thread Steve Spicklemire
I've had several folks ask for some ZPatterns examples with SQL. I've *finally* gotten around to providing them. They're at: http://www.zope.org/Members/sspickle The first is a school attendance application 'skeleton' with the following description: An example of ZPatterns using SQL. Gadfly

[Zope-dev] Re: [ZPatterns] HowTo: Make an Image/File a DataSkin ???

2001-07-10 Thread Steve Spicklemire
Hi Ulrich, Hmm.. can you just call DataSkin.__init__(self, id) in the File's constructor? -steve Ulrich Eck wrote: > > Hello .. sorry I bother you again with my ZPatterns > related Questions .. > > I just try it once again ;-) > > I have a Folder w/Customizer in that I want to stor

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Steve Spicklemire
Hi Andre, What OS? I've had lots of trouble with Postgres and threads on FreeBSD. Have you tried starting Zope with '-D' to see if threads are an issue? -steve Andre Schubert wrote: > > Hi all, > > I have a problem with my Zope, he hangs unexpectly if i view a special > Method which

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Steve Spicklemire
en Zope hangs, then there is one Thread Running and if i trace this Thread nothing > happens. > > as > > Steve Spicklemire schrieb: > > > Hi Andre, > > > > What OS? I've had lots of trouble with Postgres and threads on FreeBSD. >Have &g

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Steve Spicklemire
06-01 5:00 to > 2001-06-20 12:05 > and Zope hangs if i select data from > 2001-06-01 5:00 to > 2001-06-20 12:10 > or from > 2001-06-01 5:05 to > 2001-06-20 12:10 > > I hope you understand my explanations in my bad german-english. I think I get the basic picture... but

Re: [Zope-dev] Curiously Zope Hanging

2001-07-12 Thread Steve Spicklemire
Sorry.. got distracted and forgot where I was! > > I think I get the basic picture... but I think maybe we need more details of your system to be of any more help.. -steve > > > > as > > > > Steve Spicklemire schrieb: > > > > > Well, the

Re: [Zope-dev] zope redistibution

2001-10-20 Thread Steve Spicklemire
Hi Lukas, Have you tried a simple export/import? -steve On Thursday, October 18, 2001, at 07:44 PM, Lukas Maag wrote: > hi, > i use zope 2.4.1 and the redistribution fuction works not. i can not > distribute > a product under allowance of redistribution. if i want to distrbute on > a

[Zope-dev] validate() trouble in Zope-2.5.0a1

2001-10-28 Thread Steve Spicklemire
I don't know if I'm doing something wrong, but when I try to unpack and run Zope-2.5.0a1 I can't seem to authenticate manage_workspace. I haven't snooped much, but it seems that "options" in Management.py comes back empty: > /usr/local/etc/Zope2d/lib/python/App/Management.py(147)manage_work

Re: [Zope-dev] Dataskin Zclass + Folder subclassing problem

2001-11-30 Thread Steve Spicklemire
Hi Jean, You might get more feedback from the ZPatterns list on something like this. My "gut" reaction is that subclassing in python 2.1/1.5 traverses the classes to find methods in a way that makes the *order* of classes very important. IIUC Python 2.2 has a much more sophisticated

Re: [Zope-dev] Manual object-to-relational persistency framework

2002-03-09 Thread Steve Spicklemire
Thanks Dieter, I think ZPatterns is certainly worth a look. It allows you to slice-and-dice what you want to store in ZODB or RDBMS. The best part is you can develop totally in ZODB, then migrate to RDB a bit at a time (if you like) without changing your app, or your data classes. We have mul

Re: [Zope-dev] Future of ZPatterns

2002-04-15 Thread Steve Spicklemire
Hi Marcello, Wow.. sounds like a neat book. ;-) Seriously, Phil Eby has suggested that there will be some sort of migration helpers to move from ZPatterns to TransWarp (www.eby-sarna.com): http://www.eby-sarna.com/mailman/listinfo/transwarp http://cvs.eby-sarna.com/TransWarp/ Also..

Re: [Zope-dev] Separate staging and development areas for a product

2002-04-15 Thread Steve Spicklemire
I think it's worth having a completely separate Zope. Otherwise there's no way to separate development and staging versions of filesystem based products. You might be interested in ZSyncer, or ZCVSFolder for synchronization. -steve On Monday, April 15, 2002, at 12:12 PM, Ted Skolnick wrote:

[Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Steve Spicklemire
Hi Folks, This might be a dumb idea but I thought "what the hell?". Anyway.. I don't know if this has already been done, but I just uploaded an 'alpha alpha' class that allows maintainence of individual Zope objects in a CVS repository. You need to set up the repository outside of Zo

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Steve Spicklemire
bject) and keep track of what's what. The only commands available zope right now are 'add' 'commit' and 'update'. You can of course use CVS in the normal way. -steve >>>>> "Chris" == Chris Withers <[EMAIL PROTECTED]> writes:

[Zope-dev] FWIW, ZCVSMixin now at 0.0.2... and rising. ;-)

2000-05-24 Thread Steve Spicklemire
FYI... if anyone out there is testing... there is already an update to ZCVSMixin. http://www.zope.org/Members/sspickle/ZCVSMixin This is of course in cvs! http://cvs.spvi.com/cgi-bin/viewcvs.cgi/zope/lib/python/Products/ZCVSMixin/ and you can see some cvs'ed objects: http://cvs.spvi.com/cgi

Re: [Zope-dev] FWIW, ZCVSMixin now at 0.0.2... and rising. ;-)

2000-05-24 Thread Steve Spicklemire
Ack.. had to move one of these URLS: >>>>> "Steve" == Steve Spicklemire <[EMAIL PROTECTED]> writes: Steve> FYI... if anyone out there is testing... there is already Steve> an update to ZCVSMixin. Steve> http://www.zope.org/Members/sspickle

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Steve Spicklemire
Hi Jerry, (in case you're wondering.. Jerry really *is* my brother..) > "JS" == Jerry Spicklemire <[EMAIL PROTECTED]> writes: JS> Chris Withers wrote: >> Sounds like a cool idea, but I don't really understand what it >> does and how you use it. >> >> Could you give use

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-24 Thread Steve Spicklemire
Hi Jonothan, Good questions! You can just go to the 'admin' tab and type 'diff'. The admin tab lets you execute just about any cvs command with arguments stat, rtag etc etc. Conflicts.. uh... bad news. ;-) I think it's essentially impossible to 'merge' two different ve

Re: [Zope-dev] ZCVS Mixin class... feedback sought.

2000-05-25 Thread Steve Spicklemire
Hi Jonothan, Thanks for the thoughts > "Jonothan" == Jonothan Farr <[EMAIL PROTECTED]> writes: >> Good questions! >> >> You can just go to the 'admin' tab and type 'diff'. The admin >> tab lets you execute just about any cvs command with >> arguments stat, rta

Re: [Zope-dev] FWIW, ZCVSMixin now at 0.0.2... and rising. ;-)

2000-05-25 Thread Steve Spicklemire
irectories at the moment.. we can add that as soon as we have a sane way of making that work! ;-) Good Luck! -steve >>>>> "Michael" == Michael Bernstein <[EMAIL PROTECTED]> writes: Michael> Steve Spicklemire wrote: >> I've not heard any comm

[Zope-dev] FWIW, ZCVSMixin now at 0.0.9... and rising. ;-)

2000-06-07 Thread Steve Spicklemire
Hi Folks, ZCVSMixin is now reaching a 'useful' state... at least for managing objects in a single folder at a time. I haven't yet tackled recursive folders etc... I've been running two zope sites, checking in chages on one site... checking them out on another. Esp nice is being able to

Re: [Zope-dev] FWIW, ZCVSMixin now at 0.0.9... and rising. ;-)

2000-06-07 Thread Steve Spicklemire
This brings up an interesting point... WinCVS can *now* check out these Zope objects, but the toXML implementation makes them less useful than they possibly could be. For example: http://cvs.spvi.com/cgi-bin/viewcvs.cgi/zopeObjs/testCVS/hehe.xml.diff?logsort=rev&r1=text&tr1=1.10&r2=text&tr2=1.1

<    1   2