Re: [Zope] Re: [ZCommerce] Secure storage of credit card info

2000-06-09 Thread Steve Spicklemire
"RDM" == R David Murray [EMAIL PROTECTED] writes: RDM On Thu, 8 Jun 2000, Bill Anderson wrote: Personally, I would store the actual data on a seperate server, not accessible to the public. RDM Mmm. Yes, that makes it more secure. Still leaves the RDM question of

[Zope] Re: [Zope-dev] Zope ...2.1.7 update - patch for EMarket 0.1.03

2000-06-16 Thread Steve Spicklemire
Hi Adam, I looked at your patch... *** EMarket.py.orig Thu Jun 01 00:06:01 2000 --- EMarket.py Fri Jun 16 02:56:35 2000 *** *** 258,265 newMainF.transactionFolder = newTransF Products.MailHost.MailHost.add(newMainF, 'eMarketMailhost', !

Re: [Zope] Dynamic sorting key?

2000-06-22 Thread Steve Spicklemire
This is (mostly) the point if Zieve: http://www.zope.org/Members/sspickle/Zieve the good news is it's much more powerful than 'sort='. The bad news is it's much more complex than 'sort='. It also (currently) uses a cookie for each Zieve instance. I'd love any feedback on making this product

Re: [Zope] generate a list of date

2000-07-04 Thread Steve Spicklemire
How about: dtml-let today="ZopeTime()" dtml-in "_.range(10)" dtml-var "today + _['sequence-index']" fmt="%D" /dtml-in /dtml-let "F" == F Richter [EMAIL PROTECTED] writes: F Hello, I want generate and show a list of days in a period. F For instance: (period from 2000-06-07 to

Re: [Zope] delete objet via a form

2000-07-08 Thread Steve Spicklemire
This seems to work: delete_form: dtml-var standard_html_header h2dtml-var title_or_id/h2 FORM ACTION="delete" method="POST" dtml-in "objectValues(['File'])" sort=id INPUT TYPE="CHECKBOX" NAME="ids:list" VALUE="dtml-var id" dtml-var idp /dtml-in INPUT TYPE="SUBMIT" /form dtml-var

[Zope] ANN: Zieve 0.1.0 no longer needs cookies.. flexible sorting...

2000-07-11 Thread Steve Spicklemire
On the list I've often seen complaints about dtml-in foo sort=blah not being dynamic enough. I cooked up a solution some time ago "Zieve", but the first release required each user to get a cookie to store their preferred sort order, and to rank sort order according to the history of their

Re: [Zope] Zope + Apache on FreeBSD 4.0 problems

2000-07-15 Thread Steve Spicklemire
Hi John, There are no 'tricks' that I am aware of... for 'straight' Zope. Some 3rd party products may require modules that are not in the 'default' Python port, but that's easily fixed... I'm running Zope 2.1.6 on several FreeBSD 4.0s boxen. Can you be a little more specific about the error?

Re: [Zope] request for advice

2000-08-02 Thread Steve Spicklemire
Hi Folks, ZCVSMixin is coming along... there are several things that need to be done, but I've been on vacation.. I'm thinking of some kind of fishbowl proposal, but there might be something that could be done easily to allow it to work 'as is' on Windows. (I run windows only when I am forced

Re: [Zope] Install problems on FreeBSD

2000-08-10 Thread Steve Spicklemire
Hi George, "George" == George Osvald [EMAIL PROTECTED] writes: George Install from source: demon:~/zope $ ./start Traceback George (innermost last): File George "/home/virtuals/gosvald/zope/z2.py", line 554, in ? exec George "import "+MODULE in {} File "string", line 1, in ?

Re: [Zope] ZClass -- Product

2000-08-30 Thread Steve Spicklemire
How about: /you@server port:/Control_Panel/Products/YourProduct/YourZClass/propertysheets/methods/yourMethod -steve "Karl" == Karl Anderson [EMAIL PROTECTED] writes: Karl What FTP editing options are there for ZClass definitions? Karl I've never been able to do much. What I have

Re: [Zope] Catalog AND Zieve

2000-09-04 Thread Steve Spicklemire
Hi Jean-Francios, You need to give Zieve a list of objects that have the attributes that you want to sort on defined. You can ether build a list of 'real results' from the ZCatalog that can then be passed to your Zieve, or you can just make sure the ZCatalog's 'meta_data_table' has all the

Re: [Zope] NEWBIE HELP can not get Zope to start

2000-09-08 Thread Steve Spicklemire
"Martijn" == Martijn Pieters [EMAIL PROTECTED] writes: 7. I quit netscape, and restart and attempt to login as the new user - DOES NOT WORK Martijn One possible explanation for the denial of your login is Martijn that you filled something in the domains field,

Re: [Zope] Macintosh Zope.

2000-09-09 Thread Steve Spicklemire
HI Steve, I've been running Zope-2.2 on my powerbook under MacOSX DP4 quite happily. My only problem now is lack of MySQL ;-). I don't think there's much hope of Zope on MacOS 8/9 due to the lack of proper thread support. I did manage to get Medusa/Bobo working on MacOS-8, a *long* time ago...

Re: [Zope] Zope bug collector on zope.org available?

2000-10-02 Thread Steve Spicklemire
Hi J., Is this what you're looking for? http://www.zope.org//Members/klm/TrackerWiki/TrackerCVSInstructions -steve "J" == J Atwood [EMAIL PROTECTED] writes: J http://classic.zope.org:8080/Collector/ J Does anyone know what product this is and if it is available J for download?

Re: [Zope] Zope with Apache

2000-10-06 Thread Steve Spicklemire
Hi James, Are you using SiteAccess? If not.. it would probably be worth a try. It will take care of setting BASE0 etc to soemthing intelligent. -steve "James" == James Howe [EMAIL PROTECTED] writes: James I asked this question a couple of months ago but received James no

Re: [Zope] ZMysqlDA error, and a workaround

2000-10-09 Thread Steve Spicklemire
I'm guessing it's in db.py in ZMySQLDA, I had to do the same thing with DECMIAL as shown here, I didn't post that since I'm not sure most folks would want this behavior but you should be able to do the same with MEDIUMINT: class DB: defs={ FIELD_TYPE.CHAR: "i",

Re: [Zope] MacOS X Server + Python 1.5.2 + Zope 2.2.2

2000-10-19 Thread Steve Spicklemire
Hmmm.. I'm running Zope on mosxb and it works fine... http://www.zope.org/Members/sspickle/MacOSXBHFS -steve "Jeff" == Jeff Forsyth [EMAIL PROTECTED] writes: Jeff I currently have Zope and Python installed from the source Jeff code from the Jeff excellent instructions by

Re: [Zope] Acquisitive

2000-10-21 Thread Steve Spicklemire
Hi Jerry, I'm guessing the the problem is that dtml-xxx; does an implicit "html_quote" format on whatever expression you provide.. so table dtml-set_table_0; should produce: table border=quot;0quot; cellpadding=quot;0quot; cellspacing=quot;0quot; Which the browser doesn't grok

Re: [Zope] Help needed with news articles

2000-10-21 Thread Steve Spicklemire
Hi Taco, How about something like this: dtml-var standard_html_header dtml-let articleList="[]" dtml-in "objectValues(['DTML Document'])" sort=bobobase_modification_time dtml-call "articleList.append(_['sequence-item'])" /dtml-in dtml-in "articleList[-4:]" reverse dtml-var sequence-item

Re: [Zope] ZClass and SQL Table

2000-10-27 Thread Steve Spicklemire
Hi Cesar, Try ZPatterns: http://www.zope.org/Members/pje/ZPatterns it allows you to 'dress' your old SQL system with ZClasses (subclassed by DataSkins..) -steve "CG" == =?iso-8859-1?Q?C=E9sar?= A K Grossmann iso-8859-1 writes: CG Hi CG I have an old system based on a SQL

Re: [Zope] Problems with ZPhoto, ZPhotoAlbum, and ZAlbumPage

2000-10-27 Thread Steve Spicklemire
Hi Dave, Add a 'defined_views' property to the photo album. Make it a 'tokens' property with values 'explore fancy simple'. This will get you closer! -steve "Dave" == Dave Belfer-Shevett [EMAIL PROTECTED] writes: Dave Hey there folks. I've just downloaded and installed these

Re: [Zope] More ZFormulator

2000-10-27 Thread Steve Spicklemire
Hi Jerry, What version of ZFormulator are you running (and in what version of Zope?) I just tried ZFormulator-0.2 with Zope-2.2.2 and it seemed to work OK. Maybe it doesn't work with older zopes? -steve "JS" == Spicklemire, Jerry [EMAIL PROTECTED] writes: JS Hi Zope Fans, JS Re.

[Zope] Re: More ZFormulator

2000-10-27 Thread Steve Spicklemire
Found it: line 312: Form.py should be: __roles__ = ('Manager',) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Don't need no stinkin' docs.. (was Re: More ZFormulator)

2000-10-27 Thread Steve Spicklemire
Hmm... "JS" == Spicklemire, Jerry [EMAIL PROTECTED] writes: [... skip ...] JS Steve's motto is, "We don't need no stinkin' Docs!". Interesting point. JS BTW, we disagree about this . . . I'm not sure we do... really! I think my motto is more like: """ I'd rather have source

Re: [Zope] dtml-while

2000-10-29 Thread Steve Spicklemire
Hi Diego, DTML is set up with (some) care taken so that it can't run off with the CPU and (possibly) take forever. Depending on the circumstances you can probably get the effect of a 'while' using 'if' statements. You'll probably need to convert your iteration logic so that it looks like

Re: [Zope] Get file contents.

2000-10-29 Thread Steve Spicklemire
Hi Jason, Here's an external method that I've used to populate a TinyTable from a comma separated text file. You might at least get some ideas about how to extract stuff from the file using this -steve -- # # ReadFile

Re: [Zope] Sorting 'in'

2000-11-06 Thread Steve Spicklemire
Hi Yvonne, You could use Zieve, (http://www.zope.org/Members/sspickle/Zieve) or you could render the 'order by' part of your clause from a variable in the name space, or possibly the REQUEST itself. There was also a patch submitting at one point that allows variable (and I think multiple)

Re: [Zope] importing data

2000-11-08 Thread Steve Spicklemire
Hi Jamey, It's also possible (and i think maybe easiest...) to do this in an external method. Alas.. this also requires you to be familiar with Python (as was posted before...) -steve "James" == James Sintz [EMAIL PROTECTED] writes: James I have created a simple zclass product for a

Re: [Zope] I can't find a way to give parameters to the getDtmlData of a ZGDChartobjectobject

2000-11-08 Thread Steve Spicklemire
Hi Fred, I experimented a bit with the ZGDChart product. You can might try the following patch: *** lib/python/Products/ZGDChart/ZGDChart.pyTue Sep 12 21:44:09 2000 --- /usr/local/etc/Zope2Test/pr/ZGDChart/ZGDChart.pyWed Oct 4 10:41:51 2000 *** *** 64,73 --- 64,74

Re: [Zope] XML-RPC

2000-11-10 Thread Steve Spicklemire
Hi Jason, I've been working with Flash some lately as well.. with an eye toward useful vector graphics for Zope. There is a library called ming (http://www.opaque.net/ming) with a (SWIG'ed) python extension that I've been slowing working through, adding wrapping fuctions and getting to the

Re: [Zope] XML-RPC

2000-11-12 Thread Steve Spicklemire
OK... I thought I'd put a little effort into this concept, and out came: http://www.zope.org/Members/sspickle/Zwiff Take a look it's a start at the concept of 'on the fly' swf from Zope. I needed a quick way to get up and running so I sub-classed PythonMethod and used the existing swf

Re: [Zope] How to maintain an up-to-date mirror site in Zope? (not-so-newbiequestion!) question!)

2000-11-13 Thread Steve Spicklemire
Hi Alex, If the changes that are made are always 'one-way' you could rsync Data.fs, or you could 'export' certain folders that could then be 'imported' at the mirror site. These could both be automated pretty easily. As you noted, if you take the rsync route you'll need to shut down and

Re: [Zope] Problem with escaped double quotes

2000-11-19 Thread Steve Spicklemire
Another option... if you care ;- is to use _.chr() to include any ascii character.. dtml-let foo="'Look--' + _.chr(0x22) + '-- Here '" dtml-var foo /dtml-let produces.. Look--"-- Here -steve "Spicklemire," == Spicklemire, Jerry [EMAIL PROTECTED] writes:

Re: [Zope] Search and replace

2000-11-20 Thread Steve Spicklemire
Hi Robin, ZCVSMixin works with ZClasses. It's a little cumbersome at the moment due to the Container/Contained problem and others: http://dev.zope.org/Wikis/DevSite/Proposals/SynchronizationMechanismZCVSMixin But it does manage ZClass method and properties on the filesystem. You do need to

Re: [Zope] XML-RPC

2000-11-21 Thread Steve Spicklemire
A number of folks have asked me about ming-0.0.4 and Zwiff. I have just uploaded a new Zwiff that uses ming-0.0.4+ (there is actually a full ming distribution this time with all the patches needed to work with Zwiff.) Let me know how it goes! http://www.zope.org/Members/sspickle/Zwiff -steve

Re: [Zope] random object with properties

2000-11-21 Thread Steve Spicklemire
Hmm.. How about something like: dtml-let random_image="_.whrandom.choice(objectValues('Photo'))" dtml-var random_image dtml-if "_.hasattr(random_image,'caption')"dtml-var "random_image.caption"/dtml-if /dtml-let -steve ___ Zope maillist -

[Zope] New releases of Zwiff and ZCVSMixin...

2000-11-22 Thread Steve Spicklemire
For those who are paying attention ;-) there are new releases of Zwiff and ZCVSMixin at zope.org. There will be a new DumbZPatternsExample later today or tomorrow... The Zwiff release has been updated with the latest patches of ming and now has lots of working examples. You download the

[Zope] New ZPatterns example... was Re: [Zope] New releases of Zwiff and ZCVSMixin...

2000-11-22 Thread Steve Spicklemire
OK.. The new ZPatterns Example is up there now off to fix some EMarket problems -steve "Steve" == Steve Spicklemire [EMAIL PROTECTED] writes: Steve For those who are paying attention ;-) there are new Steve releases of Zwiff and ZCVSMixin a

Re: [Zope] New ZPatterns example... was Re: [Zope] New releases of Zwiff and ZCVSMixin...

2000-11-23 Thread Steve Spicklemire
Urp.. yes. sorry! Thanks! -steve "Rik" == Rik Hoekstra [EMAIL PROTECTED] writes: OK.. The new ZPatterns Example is up there now off to fix some EMarket problems Rik for which the secret url is: Rik http://www.zope.org/Members/sspickle/DumbZPatternsExample

Re: [Zope] Problems with new Todo example.

2000-11-23 Thread Steve Spicklemire
Hmmm... er.. it's just page with a picture and some text there's nothing zopey at all... I (almost) never run IE or Windowsso I'll dig around here and see if I can reproduce it it's wierd though.. it's just simple html! Does the app part work for you? -steve "jimbo" == jimbo

Re: [Zope] how to get the created table names

2000-11-24 Thread Steve Spicklemire
Hmm.. I think there is a method of a ZSQL result object called 'names'.. Here is a snippet from some working code: dtml-let specificTypes="getTypes(ttid=type, name='', tttype='')" theNames="specificTypes.names()" where 'getTypes' is a ZSQL Method and theNames is the list of column

Re: [Zope] RE: BSD 4 installation

2000-11-25 Thread Steve Spicklemire
Hi Lee, I'm not sure if this will help.. but I do know that I routinely build Zope on multiple FreeBSD systems and it has never caused a problem like this. Did you build your own python, or use a port? What flavor of BSD? I've never had to edit Makefile.pre.in or do.py on FreeBSD 3.x, or

Re: [Zope] ZopeWeaver?

2000-11-28 Thread Steve Spicklemire
Hi Andy, "Andy" == Andy McKay [EMAIL PROTECTED] writes: There are now all manner of Dreamweaver extensions, both Andy I tried it briefly and found that Dreamweaver cant seem to Andy handle a file with no extension such as index_html, so gave Andy up. Yes.. it's apparently

Re: [Zope] strange behaviour of ZSQL methods

2000-11-29 Thread Steve Spicklemire
How about: dtml-var "theQuery(REQUEST=REQUEST, src__=1)" -steve "Oliver" == Oliver Bleutgen [EMAIL PROTECTED] writes: Hi listies, something strange is happening with my ZSQL methods. I have a huge query that works great when testing it in the management-interface - it

Re: [Zope] Editing SQL methods from Emacs (+ FTP server)?

2000-11-29 Thread Steve Spicklemire
I'm trying to get a list of lists using ZSQL Methods... I have two related tables, hounds and items. I want to get the hound_id in items like this but can't work out how to pass the hound_id variable... dtml-in get_hounds bdtml-var name dtml-var id/b dtml-in

Re: [Zope] mysql zope

2000-11-30 Thread Steve Spicklemire
Hi Ruediger, You might consider ZPatterns. It allows you to develop applications with ZODB, and then, later, 'easily' switch to other forms of attribute storage for your objects. -steve "Alexander" == Alexander DePauli [EMAIL PROTECTED] writes: Alexander Hi Zopistas! Alexander

Re: [Zope] Installation and Startup

2000-12-02 Thread Steve Spicklemire
Norm... 'services' is an NT concept. Just run the bat file from the command line. -steve "Norm" == Norm LaDuke [EMAIL PROTECTED] writes: Norm I have installed Zope on a 300Mhz K6 machine with 92 Megs of Norm RAM running Windows 98. It seemed to install ok except that Norm it

Re: [Zope] Wampum generator on Zope 2.2.4 fails / _isBeingUsedAsAMethod

2000-12-03 Thread Steve Spicklemire
Hmm.. I *know* I've seen this before. I think it was when I was trying to move ZClasses that were *created* under Zope 2.2.0+ to Zope 2.1.x. Are you sure you're working with 100% 2.2.4? -steve "Brad" == Brad Clements [EMAIL PROTECTED] writes: Brad Selecting the Security Tab on a Wampum

Re: [Zope] How to build a c extension on a linux system

2000-12-04 Thread Steve Spicklemire
I keep my own CVS'ed versions of ZPatterns and PlugIns so I can patch/change with a little control. For my own convenience I put a build.py file in the ZPatterns directory and my usual sequence is: cvs co ZPatterns cvs co PlugIns cd ZPatterns python build.py this way I don't have to think

Re: [Zope] just curious

2000-12-07 Thread Steve Spicklemire
wget? -steve "michael" == michael angelo ruberto [EMAIL PROTECTED] writes: michael what i meant was, is there a way to remove my files in michael Zope back to the filesystem? i'm having serious concerns michael about the stability of this product and need to know if i michael

Re: [Zope] Zope 2.2.4 dying under Solaris 2.6

2000-12-07 Thread Steve Spicklemire
It might be interesting to turn on the -M option of z2.py and see if there is any pattern to the crash. This can happen for a number of reasons (e.g., a buggy Python extension, an infinite recursive loop, ). -steve "Michael" == Michael Best [EMAIL PROTECTED] writes: Michael I have

Re: [Zope] ZPatterns terminology

2000-12-08 Thread Steve Spicklemire
Have you seen: http://www.zope.org/Members/sspickle/DumbZPatternsExample there is an upgrade in the works. ;-) I'm working out the kinks with a way to do documentation/modeling with ZPatterns. Hopefully within a week or two... -steve "Dario" == Dario Lopez-Kästen [EMAIL PROTECTED] writes:

Re: [Zope] HTTP status code 302

2000-12-10 Thread Steve Spicklemire
Hi Hung Jung, Did you set a 'Host' header in your request? Is the request going straight to ZServer, or through Apache? (Also... do you have a SiteRoot?) These can all affect how the request is handled by the server... It woould be interesting to try urllib, rather than httplib since it

Re: [Zope] HTTP status code 302

2000-12-10 Thread Steve Spicklemire
Hi Hung, No! Urllib does that too! import urllib x = urllib.urlopen('http://user:pass@host:8080/path/to/get') print x.read() -steve "Hung" == Hung Jung Lu [EMAIL PROTECTED] writes: Hung From: "Steve Spicklemire" [EMAIL PROTECTED] Did you set a 'Host' he

Re: [Zope] How to make two racks work under one specialist?

2000-12-16 Thread Steve Spicklemire
Hi Dirksen, Hmm... why not have the query that gets data qualify by gender: SQL Query: getMemberByGender parameters member_id, gender select * from members where dtml-sqltest member_id type=string and dtml-sqltest gender type=string Then in the SkinScript for maleMemberRack: WITH

Re: [Zope] How to make two racks work under one specialist?

2000-12-16 Thread Steve Spicklemire
Hi Dirksen, Forgot to mention... you should probably choose some attribute other than 'id' as the attribute to check for your DataSkin. The 'id' attribute is always there... -steve "Steve" == Steve Spicklemire [EMAIL PROTECTED] writes: Steve Hi Dirksen, Steve

Re: [Zope] skinscript and ZSQL

2000-12-16 Thread Steve Spicklemire
This set works for me: -- WHEN OBJECT ADDED CALL sqlInsertProduct(client_name=self.id, email=self.email, rate=self.rate, last_payment=self.last_payment, primary=self.primary, services=self.services) WHEN OBJECT CHANGED

Re: [Zope] skinscript and ZSQL

2000-12-17 Thread Steve Spicklemire
Hi Aaron, Since we communicated privately and I now have a much better understanding of your problem, I realized that my last message to the list was unclear so I thought I'd take a moment to try to clarify the 'gotchas' that got you, as I see them, so that other folks might not so easily

Re: [Zope] How to make two racks work under one specialist?

2000-12-18 Thread Steve Spicklemire
Hi Dirksen, Ok.. you need to set the 'load by accessing attribute' field to 'original_object'. You may need to change your SkinScript to something like: WITH getMale(self.id) COMPUTE original_object=(RESULT is _.None) and NOT_FOUND or RESULT So that when getMale returns _.None, the

Re: [Zope] [BUG] Background processes interfere with Zope's HTTP responses

2000-12-19 Thread Steve Spicklemire
Hi Deiter, Hmm.. I just tried this with my highly experimental product (LocalProc 0.0.1) and I didn't observe the same effect that you did behind my Proxy Server. (I normally run with Rewrite... but when I got your note I tried ProxyPass and it worked on the first try.) (Good howto Anser!

Re: [Zope] How to make two racks work under one specialist?

2000-12-21 Thread Steve Spicklemire
Hi Dirksen, Did you say you were using 0.4.3b1 or b2? I think that this sounds like the bug from b1: http://lists.zope.org/pipermail/zope-dev/2000-October/007650.html -steve "Dirksen" == Dirksen [EMAIL PROTECTED] writes: Dirksen One more question, i.e. the following expression

Re: [Zope] How to make two racks work under one specialist?

2000-12-21 Thread Steve Spicklemire
Hi Dirksen, Hmm.. this is starting to look like a bug. I tried the same thing with the ZPatterns example. I have a real site using this technique with ZPatterns-0.4.2a?? and it's working, so it's probably something introduced in 0.4.3. Here's what I did: I created a new Specialist 'Facade'

Re: [Zope] How to make two racks work under one specialist?

2000-12-22 Thread Steve Spicklemire
myName hr Description:dtml-var myDescriptionbr hr I'm due: dtml-var dueDate dtml-var standard_html_footer and all is working OK. What ZClass are you using for your instances? -steve "Steve" == Steve Spicklemire [EMAIL PROTECTED] writes: Steve Hi Dirksen, Steve Hmm.. this i

Re: [Zope] How to make two racks work under one specialist?

2000-12-22 Thread Steve Spicklemire
Hi Dirksen, For your 'otherwise' case, could you have a single instance that serves as an 'unknown' object: WITH Deliverables.getItem(self.id) COMPUTE originalObject=RESULT or NOT_FOUND OTHERWISE originalObject=Deliverables.getItem('Unknown') where it is known that the Deliverables

Re: [Zope] Reality check PYZOMA = python / zope for Mac ?

2000-12-23 Thread Steve Spicklemire
Hi Jason, Have you seen: http://www.zope.org/Members/sspickle/MacOSXBHFS Zope-2.3a1 runs with Python-1.5.2. I've run Zope-2.2.x on MacOSX and it runs great. At some point someone with time, or a paying customer, or both will get an Open Database (MySQL, PostegreSQL, ... ) running on MacOSX

Re: [Zope] Reality check PYZOMA = python / zope for Mac ?

2000-12-24 Thread Steve Spicklemire
Jason ___ Jason Jason CUNLIFFE = NOMADICS['Interactive Art and Technology'] Jason Steve Spicklemire [EMAIL PROTECTED] wrote: Have you seen: http://www.zope.org/Members/sspickle/MacOSXBHFS Zope-2.3a1 runs with Python-1.5.2. I've run

Re: [Zope] Reality check PYZOMA = python / zope for Mac ?

2000-12-24 Thread Steve Spicklemire
"Jim" == Jim Harrison [EMAIL PROTECTED] writes: Does anyone know what Apple's plans are for MacOSX introduction Jim haven't found a source for a compiled 1.5.2. I've tried to Jim follow Steve's directions for the 1.5.2 build at Jim

Re: [Zope] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Steve Spicklemire
Hi Andreas, You might try this: Start Zope in debug mode (./start -D ). Then in your __init__... class AJFile: def __init__(self): import pdb pdb.set_trace() self.d = {} Zope will stop in the debugger. Step through with the debugger and see where things are going

Re: [Zope] [BUG] calling a constructor crashes Zope

2000-12-25 Thread Steve Spicklemire
Hi Andreas, I would be really surprised if this were a python problem. Are you using any other extensions with your product? Can you post a more complete set of code that shows how this constructor is really called? It sounds like the heap is getting corrupted somehow, maybe a bad

Re: [Zope] How to make two racks work under one specialist?

2000-12-28 Thread Steve Spicklemire
Hi Dirksen.. try this: WITH Deliverables.getItem(self.id) COMPUTE name=((RESULT is _.None) and 'none available') or RESULT.name What are you using as the 'load by accessing attribute' attribute? -steve ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] How to make two racks work under one specialist?

2000-12-29 Thread Steve Spicklemire
Hi Dirksen, I think the problem you are having has to do with using 'getItem'. From the SkinScriptSyntax Wiki page: "If the RESULT is NOT_FOUND, the search for the attribute value falls through to the next declaration (or attribute provider if the SkinScript is finished). If there is an

Re: [Zope] Deleting Connection that hangs Zope

2001-01-04 Thread Steve Spicklemire
Hi Jerry, You could remove the adaptor Product from Zope the Zope Products folder and restart, the object will be broken, but deletable, then restore the Product and restart Zope. -steve "Spicklemire," == Spicklemire, Jerry [EMAIL PROTECTED] writes: Spicklemire, Hi

Re: [Zope] How to call ancestral method in ZClass method?

2001-01-05 Thread Steve Spicklemire
Hi Dirksen, In python you would normally do: super_class_object.manage_delete(self) but it might be easier/better in the case of a DataSkin to use a SkinScript 'WHEN OBJECT DELETED xxx '. -steve "Dirksen" == Dirksen [EMAIL PROTECTED] writes: Dirksen I have a ZClass

Re: [Zope] SQLs from Python strings

2001-01-06 Thread Steve Spicklemire
Hi Lee, Two points: 1) DTML works fine in ZSQL methods and 2) Due to (1) you can use dtml-var xxx and pull in anything from Zope that you like (but be careful... since someone might be able to pull in something you weren't thinking of when you set up the method: e.g., if you have a method

Re: [Zope] How to call ancestral method in ZClass method?

2001-01-07 Thread Steve Spicklemire
Dirksen dtml-call "_ZClass_for_DataSkin.manage_delete()" Dirksen Zope refuses the upload of the dtml method all together! Dirksen Any clues? Dirksen Dirksen Dirksen --- Steve Spicklemire [EMAIL PROTECTED] wrote: Hi Dirksen, In python you would normally do: super_c

[Zope] Re: EMarket 0.1.04b1

2001-01-08 Thread Steve Spicklemire
Sorry.. it's my fault for not providing better docs.. sadly it's not been something I've had time for... esp since all the ZPatterns changes were added. 1) Create ZClasses for your MarketItems, Baskets, BasketItems and Shoppers (be sure to subclass from ZPatterns:DataSkin) 2) In the Racks

Re: [Zope] Re: EMarket 0.1.04b1

2001-01-08 Thread Steve Spicklemire
led to use Emarket James 0.1.04b1? I thought Zpatterns was only needed for EMarket James 0.2. James Jamey James -Original Message----- From: Steve Spicklemire To: James [EMAIL PROTECTED] Cc: [EMAIL PROTECTED]; [EMAIL PROTECTED] James Sent: 1/8/2001 4:25 PM Subject:

Re: [Zope] PoPy Installation. Where's the BEEF?

2001-01-11 Thread Steve Spicklemire
Did you move this Zope from it's original location in /usr/local/zope? I'm guessing you did.. and those paths are in the .pyc files. try: find /usr/local/EcoZope -name "*.pyc" -delete then (optionally) rerun w(o?)_pgci.py which will (among other things) rebuild the .pyc files. If you don't,

Re: [Zope] with a variable

2001-01-11 Thread Steve Spicklemire
How about this: dtml-call "REQUEST.set('userid', 979226100)" dtml-with "_[userid]" dtml-var attribute /dtml-with or dtml-call "REQUEST.set('userid', 979226100)" dtml-with "_.getitem(userid)" dtml-var attribute /dtml-with -steve Hi, a small problem!, This works: dtml-with 979226100

Re: [Zope] Raw post data

2001-01-14 Thread Steve Spicklemire
Hi Shai, This external method works for me. -steve -- def getRawInput(self, REQUEST): meth = REQUEST.environ.get('REQUEST_METHOD','GET') if meth != 'GET': REQUEST.stdin.seek(0) result =

[Zope] Re: [Skinscript] unable to update property

2001-01-14 Thread Steve Spicklemire
Hi Dirksen, I think that WHEN OBJECT CHANGED is used when some code tries to change a DataSkin attribute and you need to update some external source. So... an appropriate thing to do would be to call an SQL method, or talk to another Specalist which needs to be notified .. etc. I think that

Re: [Zope] Calling other frames

2001-01-15 Thread Steve Spicklemire
I think probably Javascript is the 'cleanest' solution in this case, but depending on the complexity of your UI another non-JS approach is to make every link target the topmost frome (e.g., target="_top") and redraw all frames in the frameset on each 'click'. This way you know that all frames

Re: [Zope] zope, xemacs and efs

2001-01-18 Thread Steve Spicklemire
Hmmm.. I use emacs/ange-ftp all the time with zope... many versions.. with no trouble. Have you tried that? Since my client is not 'X' (yet) I don't use xemacs... -steve "glw" == Geoffrey L Wright [EMAIL PROTECTED] writes: glw I'd LOVE to be able to use efs with Zope. Right now I end

Re: [Zope] Variable sort and multiple sort in dtml-in

2001-01-18 Thread Steve Spicklemire
Hi Loren, There is also Zieve: http://www.zope.org/Members/sspickle/Zieve Not quite as easy as a 'fixed' dtml-in ... but it does work (today). -steve "Loren" == Loren Stafford [EMAIL PROTECTED] writes: Loren On 02 July 2000, Adam Karpierz, posted a patch that would Loren

Re: [Zope] Tools used for programming Zope

2001-01-19 Thread Steve Spicklemire
In it's current released form ZCVSMixin really does help with a lot of the configuration/process problems in developing with Zope. You can still 'grep' for stuff, and it is possible to perform simple edits in the xml representation without much fear of actually breaking anything (it's pretty

[Zope] TCPWatch... and closing sockets..

2001-01-21 Thread Steve Spicklemire
I'm going to try to make a long story short... and the story isn't even over... but I'm getting close. One of our clients is a 'multimedia' company and we're working with a group there that consists mostly of artists and designers who use tools like photoshop and macromedia director. They came

Re: [Zope] [python] creating variable names by adding 2 strings?

2001-01-21 Thread Steve Spicklemire
Hi Lee, You could use a dictionary for this: vars = {} while (p!=0): vars['p'+`p`] = string.replace(component[control], ",", "") p=p-1 control=control+1 then 'vars' will contain keys (e.g., 'p1', 'p2' etc.. ) and corresponding values. If that's totally not what

Re: [Zope] TCPWatch... and closing sockets..

2001-01-22 Thread Steve Spicklemire
Well proxy_receiver seems to set it's terminator to 'None', which seems to indicate that the dispatcher should just send it all as it comes without checking for any special terminator (which is indeed what appears to be happening!) The problem is that this dispatcher code: def recv

Re: [Zope] 2.3 and Products

2001-01-26 Thread Steve Spicklemire
Take a look.. http://zope.nipltd.com/public/lists/dev-archive.nsf/ByKey/C0FFC7204901563A -steve "MM" == =?iso-8859-1?Q?Max M=F8ller Rasmussen?= iso-8859-1 writes: MM From: Chris McDonough [mailto:[EMAIL PROTECTED]] This is not true. The behavior is the same as before... the

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

2000-05-24 Thread Steve Spicklemire
) 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: Chris Steve Spicklemire wrote: 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 some

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, rtag etc etc.

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

2000-05-25 Thread Steve Spicklemire
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 comments about the usefulness of this concept... am I barking up the wrong

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

2000-06-14 Thread Steve Spicklemire
Hi Folks, I don't know if anyone out there is actually trying to *use* my ZCVSMixin/ZCVS Folder stuff, but if you are you certainly want to get the latest release, ZCVSMixin-0.1.1.tgz from the zope.org site: http://www.zope.org/Members/sspickle/ZCVSMixin I put some screenshots up

Re: [Zope-dev] Zope ...2.1.7 update - patch for EMarket 0.1.03

2000-06-16 Thread Steve Spicklemire
Hi Adam, I looked at your patch... *** EMarket.py.orig Thu Jun 01 00:06:01 2000 --- EMarket.py Fri Jun 16 02:56:35 2000 *** *** 258,265 newMainF.transactionFolder = newTransF Products.MailHost.MailHost.add(newMainF, 'eMarketMailhost', !

Re: [Zope-dev] EMarket and 2.2.0b3

2000-06-29 Thread Steve Spicklemire
I'm sure a lot of this is because EMarket was a 1.x product that has seen relatively little change, in basic structure, since. I'm working on some patched to allow (1) ZClasses to act as MarketItems and Shoppers and (2) ZPatterns integration so that most objects can be optionally stored in RDBM

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

2000-06-30 Thread Steve Spicklemire
Hi Shane, This is great.. it does what I wanted to do, but by making a 'fixed name' folder, (a la, 'acl_users'), to do the trick. It also works a lot more like a 'real' CVS folder. Cool. And.. icing on the cake... you can put it in any kinda container! Double Cool! "Shane" == Shane

Re: [Zope-dev] EMarket and 2.2.0b3

2000-07-01 Thread Steve Spicklemire
Hi David, I think the design is flawed from the outset and should be changed. Basically I was trying to have my cake and eat it too with this one... and the solution (iterating through the folder class's manage_options and slapping on my own was goofy anyway...) but there's really no need.

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

2000-07-01 Thread Steve Spicklemire
Hi Jim, et. al... Steve and Shane, We've been positively *dying* to have cvs or cvs-like functionality. It's one of those things where we left the unix-everything-is-a-file-idiom and went, "Oh, um, heh, now what?" =) Well.. I don't know much about cosource but I did just put the

Re: [Zope-dev] More comments on ZPatterns

2000-07-03 Thread Steve Spicklemire
So let's start throwing some brute force hacking at the problem! ;-) From a mail about the LinuxTag conference: P.S. ABout ZPatterns: everyone I spoke to was thought the basic idea behind ZPattern was good and sound and nice and so on. But _everyone_ complained about it

  1   2   3   >