Re: [Zope-dev] urllib not available in Python Scripts?

2000-12-16 Thread Ken Manheimer
On Sat, 16 Dec 2000, Evan Simpson wrote: From: "Itai Tavor" [EMAIL PROTECTED] [...] Sure. Since you've already got a MoreBuiltins module, that's probably a fine place to put this. In MoreBuiltins/__init__.py (or a brand new Product directory of your choice) put the following lines:

[Zope-dev] Problem in current CVS

2000-12-16 Thread Jimmie Houchin
Hello, I just updated my current CVS build of Zope2. I do ./start and get a traceback. The last lines of which are: File "/usr/local/zope/Zope2/ZServer/HTTPResponse.py", line 95, in ? from ZPublisher.HTTPResponse import HTTPResponse, end_of_header_search ImportError: cannont import name

Re: [Zope-dev] more on keyword indexes

2000-12-16 Thread Steve Alexander
Josh Zeidner wrote: As for the ( MediaKeywords in ['ouch'] ) this is featured on a Zope article about keyword indexes and it should be updated. You're right. The HOWTO at http://www.zope.org/Members/AlexR/KeywordIndexes has "in" instead of "=" in the last example. So, dtml-in

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

2000-12-16 Thread Dirksen
I set up two racks in one specialist, one is maleMemberRack, the other femaleMemberRack. Both are loaded by accessing attribute id, and have skinscripts to retrieve data from a db. Suppose the femaleMemberRack gets loaded first, it finds out from the db that the 'id' is a male, then how can it

Re: [Zope] More on DB Transactions

2000-12-16 Thread Tino Wildenhain
We are using ZmxODBC for a bounch of ODBC databases as well on windows as on linux. Out of the box its not very well written. If you patch it here and there, it works much faster then ZODBC-DA, that is, its multithreaded. I'm not complete happy with my patches, so I dont release them in this

RE: [Zope] I SOLVED!!

2000-12-16 Thread Paolo Quaglia
Sure I will post My detailed solution in a few days!! Ciao to all Paolo Quaglia -Original Message- From: Eric Walstad [EMAIL PROTECTED] Date: Fri, 15 Dec 2000 11:10:45 -0800 Subject: RE: [Zope] I SOLVED!! Hi Paolo, you should post your solution to the mailing list so that if

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, SteveHmm... why not

[Zope] Manage tar-file and store them externally

2000-12-16 Thread rgoestenmeier
Hi,i am just a beginner with Zope and trying to setup my first Zope Website. I cant to manage Files (.tar, ...) on this Website.Could you tell me, how you implemented your Website for Download (and the member area), where i can scan through the archive (.tar, .tgz) and download it.

[Zope] skinscript and ZSQL

2000-12-16 Thread Aaron Payne
Hi all, I'm trying to use Gadfly as storage for a Zpatterns rack. With the following skinscript trigger I can view records in the database. But I can't insert a new one. WHEN OBJECT ADDED CALL sqlInsertProduct() WITH QUERY lookup_product(client_name=self.id) COMPUTE

Re: [Zope] Stupid File Upload Question

2000-12-16 Thread Fred Yankowski
On Fri, Dec 15, 2000 at 07:22:43PM -0500, [EMAIL PROTECTED] wrote: Anyway, be absolutly sure that your form says: form method=post action=whatever method="multipart/form-data" Of course, that should be ENCTYPE instead of the second METHOD attribute name: form method=post action=whatever

[Zope] sql query results - DTML method problem

2000-12-16 Thread Lee Reilly CS1997
Hi, I have a TINY problem, which I think there is a simple solution too... but for the life of me, I can't find it! I'd be grateful if someone could point me in the right direction. I have a database setup containing details of classes, students lecturers. The user is prompted to enter a class

[Zope] Re: sql query results...

2000-12-16 Thread Lee Reilly CS1997
It's okay folks - I figured it out. I believe that it was Homer Simpson who once said, "Doh!". Cheers, Lee ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists

Re: [Zope] sql query results - DTML method problem

2000-12-16 Thread Pavel V. Piankov
#8 dtml-in expr="findClassTitle(code=52.139)" you might wanna try either dtml-in expr="findClassTitle(code=_['class_code'])" or dtml-in expr="findClassTitle(code=_.getitem('class_code'))" dtml-in expr="findClassTitle(code=dtml-var class_code)" *** syntax error regards. -- pashah

Re: [Zope] ZCatalog raises index out of range exception error

2000-12-16 Thread Stefan H. Holek
On Fri, 15 Dec 2000, Martin Winkler wrote: On a client's server I created a ZCatalog, but when using "Find Items to ZCatalog" and clicking on "Find" in the form, Zope raises the "list index out of range" error shown in detail at the end of this e-mail. Then I took the whole Data.fs, put

Re: [Zope] LoginManager and SSL client authentication

2000-12-16 Thread Stefan H. Holek
On Fri, 15 Dec 2000, Mayers, Philip J wrote: We've got a bespoke application for storing our (very large) user account database here. One field a user can have is a crypted unix password (which I'm currently using to authenticate users). The other thing that can exist is the Subject or

[Zope] footer

2000-12-16 Thread Lee Reilly CS1997
/td/tr/table/center /font/td /tr tr td width="9%" bgcolor="#3D4E93" height="9"nbsp;/td td bgcolor="#3D4E93" colspan="2" height="9" div align="right"font face="Verdana, Arial, Helvetica, sans-serif" size="2" color="#FF"Written by Lee Reilly/font/div /td

[Zope] Two problems regarding security, and eval in zope 2.2.4

2000-12-16 Thread Manuel Amador (Rudd-O) Gerente de desarrollo Alpha
Hello everyone, I\'m having a little bit of trouble: http://boeing:8080/manage_access - traceback of the manage_Access view in the ROOT folder Traceback (innermost last): File /usr/lib/python1.5/site-packages/ZPublisher/Publish.py, line 222, in publish_module File

Re: [Zope] sql query results - DTML method problem

2000-12-16 Thread Manuel Amador (Rudd-O) Gerente de desarrollo Alpha
Quoting Lee Reilly CS1997 [EMAIL PROTECTED]: Hi, I have a TINY problem, which I think there is a simple solution too... but for the life of me, I can\'t find it! I\'d be grateful if someone could point me in the right direction. I have a database setup containing details of classes,

[Zope] GUF incompatible with 2.2.4?

2000-12-16 Thread Steve Drees
Has anybody gotten GUF working on 2.2.4? -- Steve Drees SysAdmin/Software Developer/Web Geek/Chief Bottle Washer "A problem well-stated is a problem half-solved." http://www.christianmp3zone.com/savanna ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] ZPatterns

2000-12-16 Thread Steve Alexander
Thanks Max, I found your discussion of ZPatterns terms very thought-provoking. Max Møller Rasmussen wrote: To avoid this zPatterns use an anbstraction of a table called a "Rack". If you define this Rack how it is implemented at the backend doesn't matter. It can be an SQL database, or

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] PoPy module finally compiled but there is another prob

2000-12-16 Thread Andreas Heckel
Paolo Quaglia wrote: Hi to all Finally I compiled the Popy module (the 1.4) and I obtained the PoPymodule.so file I copied the module in the [ZopDir]/lib/python directory I installed the ZPoPyDA.0.7 but When I start Zop this error occour: Traceback (innermost last): The PoPy module