RE: [Zope] PIL and Win32 (Imaging.dll)

2000-09-29 Thread Damien Morton
Theres no pre-compiled binary of PIL1.1 I stuck to version 1.0, for which _imaging.dll is supplied. I created a directory at zope/lib/python/PIL and put everything in there I also found i needed tcl80.dll and tk80.dll in there, as well as _tkinter.pyd runs fine now > -Original Message

[Zope] PIL and Win32 (Imaging.dll)

2000-09-29 Thread Peter Bengtsson
I've followed all README's and searched the mailing archive. Been to pythonware.com, downloaded Imaging1.1, installed the Photo product, but still can't get it working. I think I now need the Imaging.dll file, which is not provided on pythonware.com. Does anyone have whatever it takes to get Ph

Re: [Zope] dtml-with equivalent in external methods?

2000-09-29 Thread Phil Harris
Dieter, Thanks for replying but I was being a bit confused, by science so to speak. It was a lot simpler than I thought. Thanks anyway. Phil - Original Message - From: "Dieter Maurer" <[EMAIL PROTECTED]> To: "Phil Harris" <[EMAIL PROTECTED]> Cc: "Zope@Zope. Org" <[EMAIL PROTECTED]> Se

Re: [Zope] python methods

2000-09-29 Thread Phil Harris
Python methods are not yet part of the standard distribution, you can however get the product install tarball from Zope.org - Original Message - From: "Manuel Amador (Rudd-O) Gerente de desarrollo Alpha Omega Creative Solutions http: //www.alomega.com/" <[EMAIL PROTECTED]> To: <[EMAIL PRO

Re: [Zope] SQL errors

2000-09-29 Thread Dieter Maurer
Andy McKay writes: > Using ZODBC Database Adapter to connect to an MSSQL and I can call the sql > method in dtml eg: > > > > > Error! > > > But does anyone know a way of trapping the specific error eg: database down, > key violation etc...? Or do I have to hack ZODBC to retu

Re: [Zope] copy users

2000-09-29 Thread Dieter Maurer
Cornelis J. de Brabander writes: > I have a folder containing subfolders for different departments > I would like to have all user objects in one folder. You probably would need an external method, as sensitive information (such as passwords) is shielded from DTML access. Have a look at "Ac

Re: [Zope] Reading/Parsing HTML Files from another server

2000-09-29 Thread Dieter Maurer
seb writes: > You could write a simple external method that uses httplib, e.g. "urllib.urlopen", probably, would even be easier. Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML e

Re: [Zope] iterating through ids and getting their properties

2000-09-29 Thread Dieter Maurer
Aaron Payne writes: > I have a list of ids which correspond to instances in a folder. I want to > iterate through the list and display their properties. > I get an attribute error when rendering the page. > > > _['sequence-item']))"> > > Error Type: AttributeError > Error Value:

Re: [Zope] dtml-with equivalent in external methods?

2000-09-29 Thread Dieter Maurer
Phil Harris writes: > Anyone know offhand how to do an equivalent to dtml-with in an external > method? Do you have a namespace (i.e. a DocumentTemplate.DT_Util.TemplateDict)? If so, you use its push method. If the thing, you would like to "with" is an object (rather than a mapping), you would

Re: [Zope] Getting properties of objects

2000-09-29 Thread Dieter Maurer
Daniel Rusch writes: > I am trying to build a property seach engine that will search an entire > Zope site for a names property Have a look at "ZopeFind" and the property API. "ZopeFind" is the magic behind Zope's "find" support. It can search a complete subtree and return the list of obje

Re: [Zope] Calling objects with arguments in a sequence

2000-09-29 Thread Dieter Maurer
Tres Seaver writes: > You were very close -- the trick here is that 'objectValues' returns > real objects, not IDs. Try this (untested):: > > > > > > This, probably, will not work, as *ALL* name arguments (as e.g. in ) call the object, if it is callable. You can use

Re: [Zope] LocalForum_wAdm import error

2000-09-29 Thread Dieter Maurer
Mario Olimpio de Menezes writes: > I'm trying to import LocalForum_wAdm and I'm getting the > following error: > > Zope Error > >Zope has encountered an error while publishing this > resource. > >Error Type: ImportError >Error Valu

Re: [Zope] sequence-item is a String? (was: Calling objects with arguments in asequence)sequence)

2000-09-29 Thread Dieter Maurer
seb writes: > If you do: > > > > > > "sequence-item" is not a string. However, calls "name" (if callable) like any name argument to a "dtml" tag. Use ". Dieter ___ Zope maillist - [EMAIL PROTECTED] http://lists

[Zope] python methods

2000-09-29 Thread Rudd-O
Oh, another thingy: An object called Python method is supposed to appear on the Add list? or am I supposed to emulate it with some kind of external method and files? If that's the case, well, sad kludge. Please let me know. -- Unive

[Zope] Two inquiries

2000-09-29 Thread Rudd-O
Hey there people, First, the customary thanks for such a great product. Second - I have two problems. First one is that I got zope compiled for linux then installed Login Manager then installed ZPatterns, but when trying to compile DynPersist.c it can't find ExtensionClass.h. It honestly

Re: [Zope] Zope 2.2 getUserById error

2000-09-29 Thread Andy McKay
getUserByID seems to have been added in Zope 2.2, I added in a method def getUserById(self, id, default=''): """Return the user corresponding to the given id. """ try: return self.getUser(id) except: raise 'LoginRequired', loginScreen into GUF and it works fin

Re: [Zope] WebDAV's not really the problem...

2000-09-29 Thread Jason Cunliffe
> Yes, your fears are valid, but WebDAV really isn't the problem. Zope, at > a deeper level, is what is causing your problem. > You can find out the above information using any web browser, try this: > > http://www.cbsnewyork.com/objectIds > > I see they haven't deleted the QuickStart. Interesting

[Zope] ZMySQLDA instal Import Error problem

2000-09-29 Thread Richard Moon
Installing MySQLDA-0.1.2 and running python build.py I get the error Import Error: ./_mysqlmodule.so: undefined symbol: uncompress Any clues ? I've just installed the latest (3.23.25) MySQL rpms on Linux 6.1, including the client and development libraries, this seems to have put stuff in usr

[Zope] [Q] Generating a dynamic navigation bar...

2000-09-29 Thread Sudhakar Chandra
Background: I have a folder with various DTML Documents and sub-folders in it. Sort of like: /foo/index_html /foo/buy_html /foo/really_buy_html /foo/really_really_buy_html /foo/bar/ I am in the process of writing a DTML method to be used from each of these DTML documents which will generate a d

[Zope] LocalForum_wAdm import error

2000-09-29 Thread Mario Olimpio de Menezes
Hi, I'm trying to import LocalForum_wAdm and I'm getting the following error: Zope Error Zope has encountered an error while publishing this resource. Error Type: ImportError Error Value: No module named ZnolkSQLWizard.Wizard I h

Re: [Zope] Arbitrary SQL?

2000-09-29 Thread jpenny
On Fri, Sep 29, 2000 at 06:19:35PM +0300, Erno Kuusela wrote: > Hello, > > i'm obviously missing something obvious, but how does one > execute arbitrary sql statements from an external method? Look at http://www.zope.org/Members/jpenny/Accessing_a_ZSQL_Method_from_an_External_Method Now think

Re: [Zope] sorting problem

2000-09-29 Thread Michael Bernstein
Tim Cook wrote: > > Michael Bernstein wrote: > > > > Here's my problem: I want to sort a list of objects on a property that > > not all items have. So I'm doing this: > > > > > > > > The problem is that those items that have a blank someProperty are > > listed first, when I want them at the bott

Re: [Zope] How to change Unauthorized error message?

2000-09-29 Thread Chris Withers
Andy McKay wrote: > Sure I suppose. How of course to implement this is another issue, as errors > get thrown up to /lib/python/ZPublisher/HTTPResponse.py and it would be get > to trap them before then. Well, that's what Tres Seaver thought: http://classic.zope.org:8080/Collector/1049/view (he m

[Zope] Class variables

2000-09-29 Thread seb
Hi all I keep finding references everywhere to class variables (e.g. that belong to a class rather than an instance) in ZClasses. I even found some discussions about it in the Zope archive. But although the consensus seems to be that you can do it, no-one seems to know how. Does anyone know ho

Re: [Zope] Uploading images my way

2000-09-29 Thread Peter Bengtsson
> How can I upload/change an image in my zodb using custom forms. A call to > "manage_upload" seems to always take me to a feedback form saying "Your > changes have been saved.". How can I upload using customized forms _only_? > For the myID in the form you type in the ID of the object. Always

[Zope] remind me something: ZODB1 -> ZODB2 ??

2000-09-29 Thread Gilles Lavaux
Hello   How to comvert a ZOPE 1 exported file into a ZOPE 2 ?? I have done it several time, but a long time ago. And the information is very difficult to find, at least for me.     Gilles

[Zope] Zope 2.2 getUserById error

2000-09-29 Thread Stuart Foster
We are using a generic user folder to authenticate against a SQL table that stores username and password. This worked fine until we updated to 2.2. Now we get an error about getUserByID in Owned.py. Does anyone know what night be causing this? Thanks __

[Zope] Arbitrary SQL?

2000-09-29 Thread Erno Kuusela
Hello, i'm obviously missing something obvious, but how does one execute arbitrary sql statements from an external method? -- erno PGP signature

Re: [Zope] Deleting data using ZSQL

2000-09-29 Thread jpenny
On Thu, Sep 28, 2000 at 11:17:03PM -0400, [EMAIL PROTECTED] wrote: > Hi, > > I am writing a dtml method that deletes data from a database, and I found > myself unable to do this. It seems that ZSQL is used to insert, update > and query a database. but can not use > "delete from table where var="

[Zope] manage tabs within my standard_html_header

2000-09-29 Thread Didier Georgieff
Hello, I want to use some standard manage tabs within my site design. 1 - If i call url/manage_main it brings the tabs *without* my header and footer. 2 - if i put a method manage_mylook with it works fine for *this* tab, but fails if i call the other tabs from this screen. 3 - i was

Re: [Zope] Deleting data using ZSQL

2000-09-29 Thread Phil Harris
Steve, Your user for the dataase does have permission to delete does it? Phil - Original Message - From: "Steve Drees" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Friday, September 29, 2000 3:00 PM Subject: RE: [Zope] Deleting data using ZSQL > > > > -Ori

[Zope] is www.zope.org down??

2000-09-29 Thread Gilles Lavaux
 

[Zope] Zope sites DOS

2000-09-29 Thread Júlio Dinis Silva
Hi all, all you that have sites running zope, its better to optimize your applications deleting methods you do not use anymore and check for you External/Python Methods anonymous permissions. I've just tested some DOS on sites running zope and ppl take care with your methods permissions because

RE: [Zope] Deleting data using ZSQL

2000-09-29 Thread Steve Drees
> -Original Message- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of > [EMAIL PROTECTED] > Sent: Thursday, September 28, 2000 10:17 PM > To: [EMAIL PROTECTED] > Subject: [Zope] Deleting data using ZSQL > > > Hi, > > I am writing a dtml method that deletes data from a

[Zope] logout from basic authentication ... almost

2000-09-29 Thread Didier Georgieff
Hello, On the archive i got the way to logout from the basic authentication. i have DTML method called "logout" with only : Logout requested. OK Calling the logout method calls the authenticated window. And i can give a new id/pass. So login as a new user works fine. But if i only want

[Zope] RE: "private" Yihaw folders and yihaw_latest method.

2000-09-29 Thread Didier Georgieff
Soren, Works like a charm. Thanks. Never used dtml-try before, but it looks like a great feature. I'll look deeper Didier. Le 29 Sep 00, à 15:08, Søren Roug a écrit : > Yes, put aaround the problem. Look in > yihaw_whatsnew for an example. > > || -Original Message- > || From: Didie

[Zope] "private" Yihaw folders and yihaw_latest method.

2000-09-29 Thread Didier Georgieff
Hello, i have a security/viewing concern. I have some Yihaw folders who are not public. I removed the "view" permission on the folder, and trying to get in call the authentication windows. Fine. On my main page, i have the whatsnew, latest and toplevel methods with the skip_unauthorized optio

Re: [Zope] Suggestion: Zope.org, products and testing...

2000-09-29 Thread J. Atwood
At 12:29 PM +0900 9/29/2000, Alexander Schonfeld wrote: >?On the zope.org site, how about adding a property for products: "tested >versions of Zope". > >That way we could know, without doing all the testing ourselves, whether >or not a product was useable. I second that. It should also be by rele

Re: [Zope] WebDAV's not really the problem...

2000-09-29 Thread Chris Withers
JXlio Dinis Silva wrote: > I think zope MUST have a way to disable webdav access. > Running a webdav client on some zope sites I found in almost all > of them things like test_html index_html_old and some other > forgiven methods that programmers leave on their applications. > Depending on what te

[Zope] Uploading images my way

2000-09-29 Thread Danny William Adair
Hi all! How can I upload/change an image in my zodb using custom forms. A call to "manage_upload" seems to always take me to a feedback form saying "Your changes have been saved.". How can I upload using customized forms _only_? tia Danny ___ Zope ma

Re: [Zope] Property problem - still the same...

2000-09-29 Thread Lars Heber
Peter Sabaini schrieb: > hi > > afaik its not possible to nest properties. > > what about dtml method mytitle in the root folder consisting of > >- > > or something like this? this will acquire title from the current > document and enterprisename from the rootfolder provided theres not > a

[Zope] zope needs webdav global access *ON/OFF* feature

2000-09-29 Thread Júlio Dinis Silva
Hi all, I think zope MUST have a way to disable webdav access. Running a webdav client on some zope sites I found in almost all of them things like test_html index_html_old and some other forgiven methods that programmers leave on their applications. Depending on what test programmers were doing

Re: [Zope] Property problem - still the same...

2000-09-29 Thread Peter Sabaini
hi afaik its not possible to nest properties. what about dtml method mytitle in the root folder consisting of - or something like this? this will acquire title from the current document and enterprisename from the rootfolder provided theres not another enterprisename in the acquisition pa

[Zope] Property problem - still the same...

2000-09-29 Thread Lars Heber
Hello again, I recently set a question about nested properties. Unfortunately, we didn't come to a proper solution. I was told to use ZClasses, and I read a lot of documentation about it. But I found out that this isn't the thing I was searching for. So, now I'll try it again, very concrete th

[Zope] dtml-with equivalent in external methods?

2000-09-29 Thread Phil Harris
Hi all, I know I've seen the answer to this somewhere, but I'm buggered if I can find it. Anyone know offhand how to do an equivalent to dtml-with in an external method? tia Phil [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lis

Re: [Zope] Deleting data using ZSQL

2000-09-29 Thread Chris Withers
[EMAIL PROTECTED] wrote: > "delete from table where var=" > > I am surprised at this behaviour. Am I doing somehting worng? or this is > how it works? Is there any information on how to do this somewhere??? This should work :-) What error messaegs are you getting? What DB and DA are you using

Re: [Zope] Deleting data using ZSQL

2000-09-29 Thread Kees de Brabander
- Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Friday, September 29, 2000 5:17 AM Subject: [Zope] Deleting data using ZSQL > Hi, > > I am writing a dtml method that deletes data from a database, and I found > myself unable to do this. It seems that ZSQL