[Zope] ZODB problems...

2000-08-07 Thread Steinar Rune Eriksen
Hi all, I am trying to load a Python class as an extension which again accesses data stored under ZODB. The Python classes are stored in a directory under "Products" and I manage to create a sub ZClass in Zope for it. I have a method on one of these classes which I call from a DTML document... the

[Zope] manage_upload -> SQL-db with pictures possible?

2000-08-07 Thread Jacob Lundqvist
Hi I'm trying to get pictures uploaded to a SQL database. I've been trying all sorts of combinations with manage_upload to dummy objects and then dumping that obj to the (SQL-) db with no success. Or rather I cant succeed in actually storing the picture in the db, whatever it is I'm storing, can'

[Zope] threading cont ...

2000-08-07 Thread Nicholas Lo
First, thanks to Dieter :) Well, I have written a simple test products, which I have attached to this message as a .tgz file. This product does vert little things. When B1 is pressed, two new threads will start, one will update column of the database table, while the other will prompt the current

[Zope] How can you get Zope console messages running as NT service?

2000-08-07 Thread Matthew Wilbert
This must be in the archives someplace, but searching didn't turn it up. I'm running ZServer as an NT service, and I'd like to be able to see the usual console debug messages that I would get if I were running it from a command window, but I don't know how. I tried setting the -D flag in the s

[Zope] sync?

2000-08-07 Thread nicklo
Another simple question.How to use the Synchronized class from the Sync module?As far as I know, Sync is a .so file.Nicholas Lo Nicholas LoTechnical Director   Silicon Creation Limited18/F, Tower IIMetroPlazaKwai Fong, NTHong Kong   Tel : 7111 9350Fax : 2610 2225

Re: [Zope] string to objectname conversion ?

2000-08-07 Thread Curtis Maloney
On Tue, 08 Aug 2000, Gijs Reulen wrote: > Hi > > I would like to list all objects in a folder. No problem there. However, I > want to use the function/method universely so I need to pass the name of > the target folder; as a string is the only way I can think of (formatted as > a url). > I tried s

[Zope] Re: (OT) Re: sybase - hmmm

2000-08-07 Thread Bill Anderson
Andrew Kenneth Milton wrote: > > +[ Bill Anderson ]- > | Andrew Kenneth Milton wrote: > | > > | > +[ Dr. Ross Lazarus ]- > | > | I know that zope runs on everything else, but how do we reconcile the >

[Zope] RE: string to objectname conversion ?

2000-08-07 Thread Gijs Reulen
Ok, I am very sorry to have cluthered this list. What can I say ? I am definitely not up to Zen yet, because I was thinking in a very old fashioned way :-( The question and the answer were the same message; the example Method I gave works perfectly when called for whatever object thanks to the won

[Zope] SQL Query -> DTML Form with populated values -> SQL update example??

2000-08-07 Thread Bill Broadley
I'm fairly new to Zope. I have various view, search, and insert into a SQL database (MySQL) working. I'm having a problem connecting all the pieces for an update. Does someone have an example (with DTML or similiar source) that demonstrates the following: 1. A search field for record id, or

[Zope] string to objectname conversion ?

2000-08-07 Thread Gijs Reulen
Hi I would like to list all objects in a folder. No problem there. However, I want to use the function/method universely so I need to pass the name of the target folder; as a string is the only way I can think of (formatted as a url). I tried several things in DTML and studies the DTML Ref, the m

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Chris Withers
Martijn Pieters wrote: > On Mon, Aug 07, 2000 at 04:23:36PM -0400, Evan Simpson wrote: > > From: Martijn Pieters <[EMAIL PROTECTED]> > > > misc_ is a root level object. Using absolute_url you are acquiring it into > > > your Instance URL, which is not necessary (and will hamper off-server > > > ca

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Martijn Pieters
On Mon, Aug 07, 2000 at 04:23:36PM -0400, Evan Simpson wrote: > From: Martijn Pieters <[EMAIL PROTECTED]> > > misc_ is a root level object. Using absolute_url you are acquiring it into > > your Instance URL, which is not necessary (and will hamper off-server > > caching). Use &dtml-SCRIPT_NAME; in

[Zope] cc:Mail Link to SMTP Undeliverable Message: Unknown user: Gustin Kiffney

2000-08-07 Thread Administrator
Send Zope maillist submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the web, visit http://lists.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Evan Simpson
From: Martijn Pieters <[EMAIL PROTECTED]> > misc_ is a root level object. Using absolute_url you are acquiring it into > your Instance URL, which is not necessary (and will hamper off-server > caching). Use &dtml-SCRIPT_NAME; instead (which will give you the absolute url > of the root object in al

Re: [Zope] Zope is slow on a windows 2000 server

2000-08-07 Thread Meeting Maker Webmaster
Hello again, At 15:20 07.08.2000 +, Meeting Maker Webmaster wrote: >I am trying to get the user authenticated based on his IP address to allow >everybody on the subnet we are here to access the Zope server, but not >other IPs. This works fine except it is really slow (about 5 seconds to go >t

[Zope] Can ZClass products use structured text?

2000-08-07 Thread Jeff Sasmor
Zopeistas - I am trying to use the new help system to add help for a product (finally) newly-adapted to Zope 2.2. When I imported the ZClass (.zexp) file, I noticed a nice Help folder, and I can see how to add help topics and how that works very nicely thankx. However, it does not seem possible

Re: [Zope] Changing user pwds

2000-08-07 Thread Dieter Maurer
Aaron Williamson writes: > I created a form to allow users to change their own passwords. I > hate the idea of giving them all "Manage Users" permissions, but ok > whatever. But "acl_users.manage_users('Change', REQUEST, RESPONSE)" > won't work unless the user has "View Management Screen

Re: [Zope] edit_propertiesForm traceback

2000-08-07 Thread Dieter Maurer
Jean Jordaan writes: > Hi Zopers .. > > I'm trying to get a Zclass of mine to be properly > catalog-aware. > > Everything seemed to go OK until I attempted to make > http://www.zope.org/Members/AlexR/CatalogAware/edit_props.zip > work for me. That gets me: > > > Error Typ

Re: [Zope] threadingboundary="------------89058EF200FCB3C4EA85CC71"

2000-08-07 Thread Dieter Maurer
Nicholas Lo writes: > According to Amos' How-To: Thread Safety in Zope 2, what is mutable > global or shared variables?? What is the scope of such global variables? > Zope wide? module wide? I did not read this How-To. Thus, be careful with my explanation. A mutable object is one that can chan

Re: [Zope] Newbie question: referring to documents

2000-08-07 Thread Dieter Maurer
David Loeffler writes: > > whenever I try to get hold of this with anything like "_[objId].getProperty(dest)"> (objId is the id of the document) it simply > redirects ... "_[xxx]" executes (calls) the retrieved object, if possible. In your case, execution calls "RESPONSE.redirect". Yo

[Zope] ZClass property that is a map

2000-08-07 Thread Cary O'Brien
I would like to add a property to an object that is a map, so I could use map[s] to look things up symbolicaly. Is there an easy way to do this with property sheets? If so, what is it? If not, what is the hard way. Thanks, -- cary ___ Zope maillis

[Zope] Can't add objects

2000-08-07 Thread Maarten Engelen
I've installed Zope on an account at a hosting company. Zope runs perfect, but I can't add any new objects. I can edit existing object without any problems, but adding is impossible because of the 500 error which the server gives. Does someone have any idea what could cause this problem? ___

[Zope] PTK Member-Folder Object Properties (phew!)

2000-08-07 Thread David Riggs
For each member in the Portal ToolKit, a folder is created in the folder 'Members', i.e: ZopeRoot/Portal/Members/member_name I've created a ZClass called Customize that has several properties, and I've added an instance of Customize (and called each instance Customize) in each member's folder. i.

[Zope] Success! ZPoPyDA 0.6.1 works!

2000-08-07 Thread Stephen Nosal
First, I would like to say thanks to everyone, who gave me a hand with this, especially [EMAIL PROTECTED] I learned a lot, and I am more comfortable with my system than ever. Below is a little note and question for Federico, who provided the patch that got the whole thing going again. Thanks

Re: [Zope] Zope installations wordwide

2000-08-07 Thread J. Atwood
My Limited List http://www.zope.org/Members/BwanaZulia/zope.html Jeff's Better List http://weblogs.userland.com/zopeNewbies/zopesites Netcraft Zope Server for July 2000 (only ones not running behind another webserver) http://www.netcraft.com/Survey/Reports/0007/byserver/Zope/ Also check out the

RE: [Zope] Authentification with the SAM of NT (Security Account Manager)

2000-08-07 Thread Chris McDonough
First, there is no such work as authentification. :-) OK, now that I got that off my chest, take a look at jcNTUserFolder (http://www.zope.org/Members/jephte/jcNTUserFolder), smbUserFolder (http://www.zope.org/Members/mcdonc/smbUserFolder), and Tres Seaver's Integrating Login Manager with SMB (h

[Zope] Zope Crashes (memory corruption) resolved

2000-08-07 Thread Dieter Maurer
Several times, I reported to the list about memory corruption problems with Zope 2.1.6 ZOracleDA 2.1.0 DCOracle (as of August 1999) Oracle 8.1.6 Sparc Solaris 2.7 This issue is finally resolved: The memory corruption occurs inside the Oracle 8 Client

[Zope] Authentification with the SAM of NT (Security Account Manager)

2000-08-07 Thread Vincent
Hi, Does anyone know if Zope allows authentification of a user with the SAM (Security Account Manager) of Windows NT ? I mean : -> The user types his login/password -> and then, zope asks the SAM if this user does exists (or not). Thanks. Vincent

[Zope] Zope installations wordwide

2000-08-07 Thread arno . gross
Are there any figures about the installtions of zope in Germany, Europe and the world? Is there a list of Zope sites? Arno Gross email: [EMAIL PROTECTED]

Re: [Zope] Previous Message

2000-08-07 Thread Chris Withers
Tom Deprez wrote: > > / > how about: / cheers, Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-ann

[Zope] (no subject)

2000-08-07 Thread Casey Duncan
Simon Coles writes: > We have binary files stored in Zope, for example Word documents (but > could be any of a variety of document types). > > We would like to be able to index and search the contents of these > files using ZCatalog. So if a Word file contains the word "Fred", > then any sea

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Martijn Pieters
On Mon, Aug 07, 2000 at 01:38:56PM -0300, Kevin Howe wrote: > Right you are, here's how I solved it: > > # __init.py__ for myProduct > > misc_={ > 'chooserIcon': ImageFile('images/chooserIcon.gif',globals()), > } > > # DTML file > > misc_ is a root level object. Using absolute_url you ar

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Kevin Howe
Right you are, here's how I solved it: # __init.py__ for myProduct misc_={ 'chooserIcon': ImageFile('images/chooserIcon.gif',globals()), } # DTML file Thanks! Kevin - Original Message - From: "Martijn Pieters" <[EMAIL PROTECTED]> To: "Performance.net Strategic Internet Solution

[Zope] Re: ZODB documents

2000-08-07 Thread Carlos de la Guardia
There is an old how-to at: http://www.zope.org/Members/michel/HowTos/ZODB-How-To There is also a slide presentation at: http://www.zope.org/Members/jim/zodbhtml/zodb.htm ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/z

[Zope] Previous Message

2000-08-07 Thread Tom Deprez
Hi all, Please, forget my previous message! Next question : Is there an easier way for writing the following? / This gives the sequence order of every record on the total amount of retrieved records. So far, this was the only way I could get it to work. Is there a better way (simpler) ? T

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Martijn Pieters
On Mon, Aug 07, 2000 at 01:12:03PM -0300, Performance.net Strategic Internet Solutions wrote: > > On Mon, Aug 07, 2000 at 11:21:53AM -0300, Performance.net Strategic > > Internet Solutions wrote: > > > I am writing a python product and want to display a GIF file in some of > > > the manage_pages.

[Zope] cc:Mail Link to SMTP Undeliverable Message: Unknown user: Gustin Kiffney

2000-08-07 Thread Administrator
Send Zope maillist submissions to [EMAIL PROTECTED] To subscribe or unsubscribe via the web, visit http://lists.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to [EMAIL PROTECTED] You can reach the person managing the list at

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Performance.net Strategic Internet Solutions
- Original Message - From: "Martijn Pieters" <[EMAIL PROTECTED]> To: "Performance.net Strategic Internet Solutions" <[EMAIL PROTECTED]> Cc: "ZOPE Mailing List" <[EMAIL PROTECTED]> Sent: Monday, August 07, 2000 12:19 PM Subject: Re: [Zope] Accessing .gif on disk with Python Product? > > O

[Zope] QuickStart

2000-08-07 Thread Chris Withers
Hi, Small niggle... Isn't it time the QuickStart bit the dust? It's quite strange seeing references to Principia and Acqueduct in Zope 2.2 ;-) Doesn't the Tutorial replace this quite comfortably? Just a thought, Chris ___ Zope maillist - [EMAIL P

Re: [Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Martijn Pieters
On Mon, Aug 07, 2000 at 11:21:53AM -0300, Performance.net Strategic Internet Solutions wrote: > I am writing a python product and want to display a GIF file in some of the > manage_pages. It is not meant to be the "icon" property of the class, just > an image to be included in DTML. I included it

[Zope] Zope is slow on a windows 2000 server

2000-08-07 Thread Meeting Maker Webmaster
Hello, I've been using Zope on a Linux box without any problem this last month. I now have to move the Zope server to it's final location, which is a Windows 2000 server (it's not my choice ;-( I am trying to get the user authenticated based on his IP address to allow everybody on the subnet

[Zope] threading

2000-08-07 Thread Nicholas Lo
Just a simple question. According to Amos' How-To: Thread Safety in Zope 2, what is mutable global or shared variables?? What is the scope of such global variables? Zope wide? module wide? If global variable is not permitted, how can I approach thread programming in Zope? Without global variables,

[Zope] Accessing .gif on disk with Python Product?

2000-08-07 Thread Performance.net Strategic Internet Solutions
I am writing a python product and want to display a GIF file in some of the manage_pages. It is not meant to be the "icon" property of the class, just an image to be included in DTML. I included it in my class as follows: chooser = ImageFile('images/chooser.gif',globals()), but when I call it

RE: [Zope] Installing ZOPE on a Digital platform

2000-08-07 Thread Chris McDonough
Alexandru, You'll need to get the source code and compile it yourself. Tru64 isn't a DC-supported platform, but it may compile properly. Here's the download URL: http://www.zope.org/Products/Zope/2.2.0/Zope-2.2.0-src.tgz > -Original Message- > From: Alexandru Cucereanu [mailto:[EMAIL P

RE: [Zope] Python Method question

2000-08-07 Thread Chris McDonough
Do you mean you want to use a Python Method (in the sense of a methodish object instantiated from Evan Simpson's Python Method Product) from a Python Product? You *should* be able to call it by getting a hold of it through acquisition or by otherwise getting a hold of an object in the ZODB and tr

[Zope] Newbie question: referring to documents

2000-08-07 Thread David Loeffler
My site has a number of DTML Document objects which simply redirect the user to another site. These are all created automatically as clones of each other. The text of the document is simply and dest is a property automatically set on creation. I need to provide a simple form to allow users to

[Zope] edit_propertiesForm traceback

2000-08-07 Thread Jean Jordaan
Hi Zopers .. I'm trying to get a Zclass of mine to be properly catalog-aware. This is turning out to be quite a mission, unless I'm seriously astray. First I followed the steps in http://www.zope.org/Documentation/How-To/ZCatalogTutorial/ and then I tried to follow http://www.zope.org/Me

[Zope] ZClass authorization problem (You are not authorized to access manage_changeProperties)

2000-08-07 Thread Gaspard, Bradley S
I have created a new ZClass which contains a dtml method that first clones an object and then edits it's properties: When I fill out the 'add' form and try to create a new instance I am presented with the error message (as a user with a manager role): You are not authoriz

[Zope] ZPatterns Question

2000-08-07 Thread RC Compaan
I created a ZClass called "Product" with Dataskin as baseclass. I also added a specialist called ProductManager containing a default rack. Under storage for the rack I selected the newly created Product ZClass. My product ZClass needs to query both a RDBMS and the ZODB for attributevalues. At t

[Zope] Sth wrong with ZCatalog?

2000-08-07 Thread Marcin Kasperski
I have some strange problem with ZCatalog: after clicking 'Find items to catalog' I get Zope error: Error Type: IndexError Error Value: list index out of range Traceback (innermost last): File /opt/Zope-2.2.0-linux2-x86/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /opt/

Re: [Zope] is this possible?

2000-08-07 Thread Maik.Röder
Hi boogie ! boogie schrieb: > is it possible to use zope to run a demo program written in c++, online > in a html environment? If it is possible, than how do you do this? Python is a glue language, so it surely is possible. Just create an external method for Zope, and in that you can call your

[Zope] Changing user pwds

2000-08-07 Thread Aaron Williamson
Hello, I created a form to allow users to change their own passwords. I hate the idea of giving them all "Manage Users" permissions, but ok whatever. But "acl_users.manage_users('Change', REQUEST, RESPONSE)" won't work unless the user has "View Management Screens" permissions. Not only does

[Zope] Format problem?

2000-08-07 Thread Marko MARKOVIC
hi all, when I do a insert with a ZSQLMethod in my database, in the SQLMethod I use for a field fmt=newline_to_br. Now, when I want edit this field and put the value in a textarea, I get the caracter , but I don't want this. How can i do to hide this when i read this field? $Regards MM

[Zope] [ANN]: ZMailIn 0.3.0 Now Available

2000-08-07 Thread Andy Dawkins
ZMailIn 0.3.0 is now available here: http://www.zope.org/Members/NIP/ZMailIn/ Major Revisions: -- Global ZCatalog to index ZMailIn instances. -- Support for Multi-Mime type emails. -- Customisable Message handling via DTML-Methods. -- CatalogAware + Folderish. Cheers -Andy

Re: [Zope] XMLRPC returns error sometimes

2000-08-07 Thread Toby Dickenson
On Sun, 6 Aug 2000 11:56:35 -0400 , Chris McDonough <[EMAIL PROTECTED]> wrote: >Only strings, integers, floats, "booleans", dictionaries, tuples, lists, >and special "datetime", base64, and fault objects can be passed via >XML-RPC. Anything else is too complex. The spec at >http://www.xml-rpc.

Re: [Zope] Caching How-To (was Cache concerns (waszope/proxy_pass configuration problem) configuration problem)

2000-08-07 Thread Toby Dickenson
>has anybody had bad experience with caching when using ie? i've done as For caching, IE is one of the better behaved browsers Check the content of your "Temporary Internet Files" directory - this will show when the cached documents expire. You might find you need to manually purge your browse

[Zope] FTP into Zope.org?

2000-08-07 Thread Chris Withers
Hi, Are the FTP ports into Zope for www.zope.org and dev.zope.org open? If so, what are they? Here's hoping... Chris ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Relat

[Zope] Installing ZOPE on a Digital platform

2000-08-07 Thread Alexandru Cucereanu
Dear Sirs, I would like to know if it is possible to install and to use ZOPE on a DEC 2100 A 500 MPR system. The operating system is Compaq(Digital) TrueUnix 4.04E the RDBMS is Oracle 8.05 and we use Apache 1.3.3. Please indicate me an Internet address(URL) to download theproduct and the document

[Zope] is this possible?

2000-08-07 Thread boogie
is it possible to use zope to run a demo program written in c++, online in a html environment? If it is possible, than how do you do this? thanks, boogie. [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo

Re: [Zope] (OT) Re: [Zope] sybase - hmmm

2000-08-07 Thread Andrew Kenneth Milton
+[ Bill Anderson ]- | Andrew Kenneth Milton wrote: | > | > +[ Dr. Ross Lazarus ]- | > | I know that zope runs on everything else, but how do we reconcile the | > | DC/Sybase partnership announced late

[Zope] Where to find ducument of ZODB

2000-08-07 Thread iap_y2fun.com
Is there anyone can tell me how to "alter table" in Zope? and where to find a tutorial or manual of ZODB. I am new to POS , Is there any stuff that will give me a senerio of working with POS, such as ZODB.   Thanks a lot.   Iap, Singaun      

[Zope] (OT) Re: [Zope] sybase - hmmm

2000-08-07 Thread Bill Anderson
Andrew Kenneth Milton wrote: > > +[ Dr. Ross Lazarus ]- > | I know that zope runs on everything else, but how do we reconcile the > | DC/Sybase partnership announced late last year > > [ snip... ] > > | We're becoming a sybase/zope/linux dependent

[Zope] Python Method question

2000-08-07 Thread entropia
I hava a question regards Python Method: How can I import a Python Method from a Product module? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lis