[Zope] Buffer overflow in MySQL < 3.23.31

2001-01-23 Thread Ragnar Beer
Howdy! Just for us MySQL users I'm forwarding this from bugtraq. Ragnar >Hi, > >all versions of MySQL < 3.23.31 have a buffer-overflow which crashs the >server and which seems to be exploitable (ie. 4141414 in eip) > >Problem : >An attacker could gain mysqld privileges (gaining access to all th

RE: [Zope] Zope 2.3.0b2 bug #2

2001-01-23 Thread Oleg Broytmann
On Mon, 22 Jan 2001, Dieter Maurer wrote: > Oleg Broytmann writes: > >Hm, will you fix my browser, too? I am using Netscape for Linux, don't > > know how well it plays with Unicode. I suppose it plays bad :( > We use Netscape (4.5, 4.7; Linux, Windows) with "charset=utf-8" and > it handles i

[Zope] Python Products and ZODB Transactions

2001-01-23 Thread Stephan Richter
Hello everyone, wow, I haven't posted here for a while now, but now I came to a bigger problem and I hope someone of you will have some suggestions: I built a Python Product that saves and gets data from a RDB. Whenever a method is called from my Python Product, the ZODB saves the transaction,

Re: [Zope] ZPyGresQL Connection Add Error

2001-01-23 Thread Oleg Broytmann
On Mon, 22 Jan 2001, Craig wrote: > Error Type: IOError > Error Value: [Errno 2] No such file or directory: > '/usr/lib/zope/lib/python/Shared/DC/ZRDB/connectionAdd.dtml' Also check all permissions starting from the root. Oleg. Oleg Broytmann http://www.zope.org/Members/phd/

[Zope] Opensource DBMS for WIN?

2001-01-23 Thread Paul Zwarts
Greetings, Was wondering if there was an open source dbms to use with Zope on a Win2k machine...? I found references of using cygwin to run PGSQL (which we have on our unixbox) but would prefer something that doesnt run over an extender-shell... TIA, Paz ___

Re: [Zope] Opensource DBMS for WIN?

2001-01-23 Thread Phil Harris
Try: http://www.mysql.com http://firebird.sourceforge.net (was Borland Interbase, Firebird is the open-source version). hth Phil - Original Message - From: "Paul Zwarts" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 23, 2001 9:35 AM Subject: [Zope] Opensource DBMS

Re: [Zope] LocalFS and PathHandler

2001-01-23 Thread Chris Withers
Ulrich Wisser wrote: > > Hello, > > I try to access LocalFS from my own DTML method. > (Exactly from my PathHandler method.) I got all > directory information in one array like this > > path_to_handle = ['sub1', 'sub2', 'sub3'] > > How can a get a directory listining with LocalFS > for path "/

Re: [Zope] Python Products and ZODB Transactions

2001-01-23 Thread Toby Dickenson
On Tue, 23 Jan 2001 03:28:34 -0600, Stephan Richter <[EMAIL PROTECTED]> wrote: >Hello everyone, > >wow, I haven't posted here for a while now, but now I came to a bigger >problem and I hope someone of you will have some suggestions: > >I built a Python Product that saves and gets data from a RDB

[Zope] Getting access to python methods of some product

2001-01-23 Thread Ivan Somov
How I can use method, stored in a ".py" file of some product, and send some parameters to that method? I want to create an instance of ExtImage product programmatically, but have a troubles doing it.. ___ Zope maillist - [EMAIL PROTECTED] http:

[Zope] [voipiri: Re: [Zope] Opensource DBMS for WIN?]

2001-01-23 Thread Riku Voipio
too fast typing - ment this to the list... -- Riku Voipio [EMAIL PROTECTED] 09-862 60764 On Tue, Jan 23, 2001 at 10:35:11AM +0100, Paul Zwarts wrote: > Greetings, > > Was wondering if there was an open source dbms to use with Zope on a > Win2k machine...? I found references of using cygwin t

Re: [Zope] ActiveState on Zope.org

2001-01-23 Thread Tres Seaver
"Andy McKay" <[EMAIL PROTECTED]> wrote > > > hi, > > > > I'm kind of surprised that Active State has such a big promo on Zope.org's > > site considering they use IIS; and considering the blurb talks about how > > much they do for Open Source. > > We use IIS for many reasons, it's fast and we use

[Zope] exchanging ids in a single transaction

2001-01-23 Thread Jerome Alet
Hi, I'm currently thinking about a project in which I'd want to be able to exchange 2 objects ids. My plan is to save the first one's id then rename the first one with the second's id then rename the second with the first's id which is very classical. I've got no code yet, but I want to know

Re: [Zope] Getting access to python methods of some product

2001-01-23 Thread Oleg Broytmann
Hi! On Tue, 23 Jan 2001, Ivan Somov wrote: > How I can use method, stored in a ".py" file of some product, and send > some parameters to that method? I think, you can just acquire the method (if it is in the ZODB and is acquirable). > I want to create an instance of ExtImage product prog

[Zope] Getting an object from it's id

2001-01-23 Thread Gale
Hi, This is obviously a newbie question. I have several places in my dtml code where in order to obtain an object I loop through objects of that kind and make a test to determine if each objects id matches the id I picked up from a form. This is the only way I could get it to work; but I feel t

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Erik Enge
[[EMAIL PROTECTED]] | Is there a Zope API method that will allow me to get an object from | it's id, or can I write a simple Python method to do it, or am I | missing something even more obvious? Well, sometimes objectItems or objectValues can be the right ones to use. Other times, (in Python P

RE: [Zope] Python Products and ZODB Transactions

2001-01-23 Thread Toby Dickenson
If your method changes data then it will always get saved. The only way is to make sure your method never modifies a persistent object. > -Original Message- > From: Stephan Richter [mailto:[EMAIL PROTECTED]] > Sent: 23 January 2001 11:11 > To: [EMAIL PROTECTED] > Subject: Re: [Zope] Pytho

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Oleg Broytmann
On Tue, 23 Jan 2001, Gale wrote: > > You don't need to "get" the object, as the object is already on top of the namespace stack (dtml-in put the object there on every iteration). Just use the object's attributes (id, after all, is just yet another attribute). Oleg. Oleg Broytmann

[zope] : Postgre installation problem

2001-01-23 Thread K H Subrahmanyan
I have installed postgre SQL in my linux server. I have installed ZpopyDA to my zope installation. but when I run the server I get the following error. help me. what else I have to do. kindly give the necessary links. thanks in advance. ZPoPyDA Import Traceback Traceback (innermost last):

[Zope] Dynamic ordering of DTML-IN?

2001-01-23 Thread Andy Gates
Another one from the "my brain don't work" side of the tracks: I have a staff list that I want to be orderable by first or last name. So I have buttons for each that link thus: etc The idea is that that feeds over to the DTML-IN tag thus: But this barfs, because it's expecting a field name

Re: [zope] : Postgre installation problem

2001-01-23 Thread Jerome Alet
On Tue, 23 Jan 2001, K H Subrahmanyan wrote: > I have installed postgre SQL in my linux server. > I have installed ZpopyDA to my zope installation. > > but when I run the server I get the following error. > > ZPoPyDA Import Traceback > raise "The PoPy module is not installed" > The PoPy mo

Re: [Zope] Opensource DBMS for WIN?

2001-01-23 Thread Petru Paler
On Tue, Jan 23, 2001 at 10:35:11AM +0100, Paul Zwarts wrote: > Was wondering if there was an open source dbms to use with Zope on a > Win2k machine...? I found references of using cygwin to run PGSQL (which > we have on our unixbox) but would prefer something that doesnt run over > an extender-she

Re: [Zope] Dynamic ordering of DTML-IN?

2001-01-23 Thread Diego Rodrigo Neufert
You can use something like: On Tuesday 23 January 2001 10:39 am, you wrote: > Another one from the "my brain don't work" side of the tracks: > > I have a staff list that I want to be orderable by first or last name. > So I have buttons for each that link thus: > > etc > > T

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Geoff Armstrong
on 1/23/01 12:34 PM, Oleg Broytmann at [EMAIL PROTECTED] wrote: > On Tue, 23 Jan 2001, Gale wrote: >> >> What I'm trying to do here is avoid using > You don't need to "get" the object, as the object is already on top of > the namespace stack (dtml-in put the object there on every iteration).

Re: [Zope] Dynamic ordering of DTML-IN?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Andy Gates ]-- | Another one from the "my brain don't work" side of the tracks: | | I have a staff list that I want to be orderable by first or last name. | So I have buttons for each that link thus: | | etc | | The idea is that that feeds over to the DTML-IN tag

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Andrew Kenneth Milton
+---[ Geoff Armstrong ]-- | on 1/23/01 12:34 PM, Oleg Broytmann at [EMAIL PROTECTED] wrote: | | In DTML there doesn't seem to be a way of saying, "I have this string with | the name of an object, now fetch me the object." if objectname is actually a variable with the name.

Re: [Zope] LocalFS and PathHandler

2001-01-23 Thread Ulrich Wisser
Hello, >At 19:54 22.01.2001 +0100, Dieter Maurer wrote: > >Ulrich Wisser writes: > > How can a get a directory listining with LocalFS > > for path "/sub1/sub2/sub3/"? I know I need something > > like "lfs['sub1']['sub2']['sub3'].fileids". But > > what if there are more (or less) elements in p

Re: [Zope] Zope, database field formats, output format of queries

2001-01-23 Thread Michael Schmidt
On Mon, Jan 22, 2001 at 07:50:45PM +0100, Dieter Maurer wrote: > Michael Schmidt writes: > > Can you create fields in a zope based database where you force > > the fields to accept e.g. only letters "M" or "W" or any other > > other combination of your choice? > What do you mean with a Zope b

Re: [Zope] Dynamic ordering of DTML-IN?

2001-01-23 Thread Andy Gates
Message-ID: <[EMAIL PROTECTED]> Priority: NORMAL X-Mailer: Execmail for Win32 5.1 Build (9) MIME-Version: 1.0 Content-Type: Text/Plain; charset="us-ascii" > You can use something like: > > > > > > Hmm, that chokes, becuase it thinks the tag is inside the I think. A

[Zope] Trivial challenge ?

2001-01-23 Thread Olivier Deckmyn
Hi all, I have a problem that looks simple (if not trivial) : I would like to "render" a DTML Document using a DTML Method. The DTMLDoc is "mydoc", has a title (="My Document") and a content (="I am the doc content") The DTMLMethod is "render" and its code is : """ I am rendering the page ! ""

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Ivan Cornell
Geoff Armstrong wrote: > What I'm trying to do here is avoid using put the object in the namespace it has to iterate over all of them (there > could be any number). > > All I have at the beginning is the name of the object in the REQUEST part of > the namespace as picked up from a form. My metho

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Olivier Deckmyn ]-- | Hi all, | """ | | | Why don't you just do ? you can also do I suppose -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082 081 472 ABN

RE: [Zope] Getting an object from it's id

2001-01-23 Thread Max Møller Rasmussen
From: Geoff Armstrong [mailto:[EMAIL PROTECTED]] >In DTML there doesn't seem to be a way of saying, "I have this string with >the name of an object, now fetch me the object." Shure there is: As far as I remember. regards Max M A snippet I use somewhere: ___

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Olivier Deckmyn
I tried The same result : does'nt work...(exactly like with the tag) - Original Message - From: "Andrew Kenneth Milton" <[EMAIL PROTECTED]> To: "Olivier Deckmyn" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Tuesday, January 23, 2001 2:43 PM Subject: Re: [Zope] Trivial cha

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Geoff Armstrong
on 1/23/01 1:12 PM, Erik Enge at [EMAIL PROTECTED] wrote: Thanks; but being new to this could you help me a bit more by providing an example of how to use 'getOb' within [[EMAIL PROTECTED]] > > | Is there a Zope API method that will allow me to get an object from > | it's id, or can I write a s

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Olivier Deckmyn ]-- | I tried | | The same result : does'nt work...(exactly like with the tag) and ? -- Totally Holistic Enterprises Internet| P:+61 7 3870 0066 | Andrew Milton The Internet (Aust) Pty Ltd | F:+61 7 3870 4477 | ACN: 082

[Zope] _.getitem() was:Getting an object from it's id

2001-01-23 Thread Tim Cook
Speaking of getitem... > if objectname is actually a variable with the name... > > Can someone explain this from the ZQR? getitem(name,flag) Lookup a name in the namespace. If the value is callable and the flag is true, then the result of calling the value is returned, otherwise the value is

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Geoff Armstrong
on 1/23/01 1:20 PM, Ivan Cornell at [EMAIL PROTECTED] wrote: Hi Ivan, Thanks. The "_.getitem(myId)" works well. I've made a note of the "hasattr" trick as well for future reference. Geoff > Geoff Armstrong wrote: > >> What I'm trying to do here is avoid using > put the object in the namespac

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Chris Withers
Olivier Deckmyn wrote: > > this is not what I need !!! > > Yes : displays the content of the document... But I don't > need this. > The example I gave is a simplified pb of my __real_world__ problem ... Just > to show the interessting point ! > > My __real_world__ document has several properti

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Olivier Deckmyn
this is not what I need !!! Yes : displays the content of the document... But I don't need this. The example I gave is a simplified pb of my __real_world__ problem ... Just to show the interessting point ! My __real_world__ document has several properties, etc... and a I have a lot of renderers

Re: [Zope] _.getitem() was:Getting an object from it's id

2001-01-23 Thread Chris Withers
Tim Cook wrote: > > I use getitem() quite alot and never set the flag (therefore it's > false). It works and does what I want, but the ZQR entry doesn't > seem to support that and I have seen it given as an example with > the flag set true with what appears to me to be the same results. ...it ca

Re: [Zope] _.getitem() was:Getting an object from it's id

2001-01-23 Thread Tim Cook
Chris Withers wrote: > > Tim Cook wrote: > > > > I use getitem() quite alot and never set the flag (therefore it's > > false). It works and does what I want, but the ZQR entry doesn't > > seem to support that and I have seen it given as an example with > > the flag set true with what appears to m

[Zope] Re: Trivial challenge ?

2001-01-23 Thread Olivier Deckmyn
I got it : rather than : after all, this is quite logical ;) ps : The idea came to me after playing with : - Original Message - From: "Olivier Deckmyn" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, January 23, 2001 2:24 PM Subject: Trivial challenge ? >

Re: [Zope] Getting an object from it's id

2001-01-23 Thread Geoff Armstrong
on 1/23/01 1:39 PM, Max Møller Rasmussen at [EMAIL PROTECTED] wrote: Thanks. That's great; but you do need to know the objects immediate container right? I have one situation where the container could be one of many. Geoff > From: Geoff Armstrong [mailto:[EMAIL PROTECTED]] > >> In DTML there

RE: [Zope] Opensource DBMS for WIN?

2001-01-23 Thread Farrell, Troy
PostgreSQL compiles on Win32, but only under RedHat's(formerly Cygnus') Cygwin Unix Compatibility Layer. http://www.postgresql.org http://people.freebsd.org/~kevlo/postgres/portNT.html MySQL, the newly GPL'd version, was declared stable yesterday. http://www.mysql.com SapDB is to be open-sourced s

Re: [Zope] Dynamic ordering of DTML-IN?

2001-01-23 Thread Oliver Bleutgen
> Then change your Z SQL Method to look like; > select * from Customers where > foofield= > > ORDER BY > Hmm, I wouldn't do that, you're trusting the client here, imagine someone going to http://yourserver/staff?orderby=firstname%20;%20delete from Customers; (sufficient dbuser rights assum

Re: [Zope] Dynamic ordering of DTML-IN?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Oliver Bleutgen ]-- | > Then change your Z SQL Method to look like; | | > select * from Customers where | > foofield= | > | > ORDER BY | > | | Hmm, I wouldn't do that, you're trusting the client here, | imagine someone going to | | http://yourserver/staff?order

[Zope] EMail with uploaded attachments

2001-01-23 Thread Klaus Herrmann
Hi Folks! I have another problem: I wrote a nice web interface for email feedback etc., but i want to add an option for attaching files to the emails. how can i do this? i can't get it to work. i have this: .. and in send_email: To: ... From: ... Subject: ... plain text but the

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Tim Cook
Olivier Deckmyn wrote: > > this is not what I need !!! > > Yes : displays the content of the document... But I don't > need this. > The example I gave is a simplified pb of my __real_world__ problem ... Just > to show the interessting point ! > > My __real_world__ document has several properti

Re: [Zope] ZPoPyDa doesnt find the PoPy-Module

2001-01-23 Thread jpenny
On Tue, Jan 23, 2001 at 07:41:45AM +0100, Axel Missbach wrote: > [EMAIL PROTECTED] wrote: > > > > On Sun, Jan 21, 2001 at 11:27:30AM +0100, Axel Missbach wrote: > > > Hey to all, > > > having installed the PoPy-Modul-2.01. The ZPoPyDa-1.01-pre2 doesnt find > > > it. > > > calling "import PoPy" in

Re: [Zope] EMail with uploaded attachments

2001-01-23 Thread Erik Enge
[Klaus Herrmann] | but the only result is that the attachments contains: | I might be wrong, but what if you used this instead: Would that work? ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cr

Re: [Zope] Opensource DBMS for WIN?

2001-01-23 Thread Marcin Kasperski
> PostgreSQL compiles on Win32, but only under RedHat's(formerly Cygnus') > Cygwin Unix Compatibility Layer. http://www.postgresql.org > http://people.freebsd.org/~kevlo/postgres/portNT.html > MySQL, the newly GPL'd version, was declared stable yesterday. > http://www.mysql.com > SapDB is to be op

[Zope] Problem instantiating ZClass

2001-01-23 Thread Åsmund Hjulstad
There appears to be something wrong... My config: Zope from CVS (2001-01-23, 16:15GMT) Python 2.0 (yes, I know it is not supported) I did the following: In Control Panel, generate new product. In the new product, Added new class (filled in the blanks). In the root folder: Add, select th

RE: [Zope] Python Products and ZODB Transactions

2001-01-23 Thread Stephan Richter
At 12:27 PM 1/23/01 +, Toby Dickenson wrote: >If your method changes data then it will always get saved. The only way is >to make sure your method never modifies a persistent object. Mmmhh, so my answer is not to derive my classes from Persistent. Will it then actually store the object in th

Re: [Zope] form question

2001-01-23 Thread jpenny
On Mon, Jan 22, 2001 at 07:55:28PM +0100, Dieter Maurer wrote: > Oliver Vecernik writes: > > I'm designing an application gathering data with forms. Navigation > > should be done with Prev and Next buttons. As long as I'm not leaving > > the form data should be entered, processed and the *same*

Re: [Zope] Dynamic ordering of DTML-IN?

2001-01-23 Thread Adam Karpierz
> You can use something like: > > > > > > For Zope.2.3.0+ you can use: -- Adam Karpierz [EMAIL PROTECTED] ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related

Re: [Zope] Opensource DBMS for WIN?

2001-01-23 Thread Adam Karpierz
> Greetings, > > Was wondering if there was an open source dbms to use with Zope on a > Win2k machine...? I found references of using cygwin to run PGSQL (which > we have on our unixbox) but would prefer something that doesnt run over > an extender-shell... > > TIA, > Paz InterBase >From versiom

Re: [Zope] Opensource DBMS for WIN?

2001-01-23 Thread Hannu Krosing
Paul Zwarts wrote: > > Greetings, > > Was wondering if there was an open source dbms to use with Zope on a > Win2k machine...? I found references of using cygwin to run PGSQL (which > we have on our unixbox) but would prefer something that doesnt run over > an extender-shell... For smaller task

Re: [Zope] Zope 2.3.0b2 bug #2

2001-01-23 Thread Hannu Krosing
Oleg Broytmann wrote: > > On Mon, 22 Jan 2001, Dieter Maurer wrote: > > Oleg Broytmann writes: > > >Hm, will you fix my browser, too? I am using Netscape for Linux, don't > > > know how well it plays with Unicode. I suppose it plays bad :( > > We use Netscape (4.5, 4.7; Linux, Windows) with

Re: [Zope] Trivial challenge ?

2001-01-23 Thread Wolfgang Strobl
On 23 Jan 2001, at 14:17, Chris Withers wrote: > Olivier Deckmyn wrote: > > > > this is not what I need !!! > > > > Yes : displays the content of the document... But > > I don't need this. The example I gave is a simplified pb of my > > __real_world__ problem ... Just to show the interessting

[Zope] Re: ZClasses and "title" property

2001-01-23 Thread Aaron Louie
I think the problem goes deeper than that. Zope 2.3x no longer allows the setting or creation of any property called "title" for new ZClasses. Period (At least, not in the same way it used to). Try it for yourself. If you follow the steps in the "ZClass Properties" How-to (http://www.zope.org/Memb

RE: [Zope] Re: ZClasses and "title" property

2001-01-23 Thread Brian Lloyd
> I think the problem goes deeper than that. Zope 2.3x no longer allows the > setting or creation of any property called "title" for new > ZClasses. Period > (At least, not in the same way it used to). Try it for yourself. If you > follow the steps in the "ZClass Properties" How-to > (http://www.

[Zope] ZClasses & date properties

2001-01-23 Thread Tim Moore
OK, now that I've settled my title property conundrum by just calling the property "name" instead :-\ I go to add a "date" property to my ZClass and find that it doesn't like that either. Specifically, it won't let me add a property of type date with no value, giving me an "Invalid Date-Time Stri

[Zope] Fw: [Zope] ZClasses & date properties

2001-01-23 Thread Andy McKay
> Empty date fields are not allowed, this has been a feature for a while. I > set mine to 1970/01/01 for the hell of it. > -- > Andy McKay. > > > - Original Message - > From: "Tim Moore" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Tuesday, January 23, 2001 11:24 AM > Subject:

Re: [Zope] LocalFS and PathHandler

2001-01-23 Thread Jonothan Farr
> Now I should have a reference to the object in mylfs. > > How can I detect if mylfs is a file or a directory? --jfarr ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (

[Zope] Property sheet feature request

2001-01-23 Thread Tim Moore
It would be nice to be able to reorder properties in a sheet, maybe using something like the "First" button in the views screen. I'd submit a patch myself, but I'm still figuring all this out so it would hopefully be quicker for someone else more familiar with the code to add that. thanks! -- T

[Zope] Help - Python

2001-01-23 Thread Paula Mangas
Hi, I'm a newbie and i would like to know how can i create a DTMLDocument from a Python method. Thanks, Paula Mangas ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (R

[Zope] PythonScript bug?

2001-01-23 Thread Tim Moore
I have a small python script method which works fine unless I bind the Namspace to a variable (even if I don't actually use the variable), which causes a MemoryError that appears to be due to deep (infinite?) recursion in the __render_with_namespace__ method (Bindings.py, line 355). Zope 2.3b2 --

[Zope] Zope is not getting MySQL SELECT results ...

2001-01-23 Thread Gerald Gutierrez
Hi all. I have set up, in a clean Zope installation, a MySQL database adapter. My connection string is "test test test", indicating a user test with password test connection to the test database. The adapter indicates that it can connect to the database, and I can send queries to the databas

[Zope] Some help required but no sarcastic comments this time please

2001-01-23 Thread alankirk
Hi there, i sent an email the other week regarding problems i've been experiencing with zope and MySQL. I've set up a database connection for zope and mysql and it sort of works. I can send queries to add data to my database ok but when i send a query to get data from my database i get one of

Re: [Zope] Adding users with a PythonMethod

2001-01-23 Thread Dieter Maurer
Curtis Maloney writes: > I'm trying to add a users from within a PythonMethod. I have searched this > list and found examples of how to add via DTML, but they all seem to require > REQUEST. > ... > So, what I'm left to conclude is it's easier to add a new user from DTML > than

Re: [Zope] LocalFS and PathHandler

2001-01-23 Thread Dieter Maurer
Ulrich Wisser writes: > How can I detect if mylfs is a file or a directory? I fear that is a difficult question. For unknown reasons, the builtin Python function "type" is considered unsafe (and would not help anyway). Thus, you cannot test for types. In PythonScript you have the functi

Re: [Zope] Upload file and :int with :required and

2001-01-23 Thread Dieter Maurer
Hi Diego, Diego Rodrigo Neufert writes: > When I use > > I got a NameError This must be "NameError 'attach_file'", right? > Do you know a solution to this? because when I dont specify anything in a > field zope just dont know about it... Apparently, browsers behave differently. My Ne

Re: [Zope] EMail with uploaded attachments

2001-01-23 Thread Dieter Maurer
Klaus Herrmann writes: > ... Email with file attachment ... > > To: ... > From: ... > Subject: ... > > > plain text > > disposition=attachment encode=base64> > > > Almost perfect. Use instead. Dieter ___ Zope maillist -

Re: [Zope] Limited folderish objects

2001-01-23 Thread Dieter Maurer
Nolan Darilek writes: > The Folder class offers quite a bit of the functionality which I need > for a current project. However, what I'm attempting to create isn't a > traditional folder for DTML objects, methods, etc. Instead, I'm > creating a folder which contains subfolders which are intend

Re: [Zope] Zope, database field formats, output format of queries

2001-01-23 Thread Dieter Maurer
Michael Schmidt writes: > On Mon, Jan 22, 2001 at 07:50:45PM +0100, Dieter Maurer wrote: > > What do you mean with a Zope based database? > > > > If you mean an external database, look for the datatypes and > > restrictions, they support for column values. SQL 3 may > > give you some of wha

Re: [Zope] dtml-tree causing authorization errors

2001-01-23 Thread Dieter Maurer
[EMAIL PROTECTED] writes: > I've stumbled upon a strange problem with dtml-tree in version 2.2.5 (the > problems occurs in the same way in any of the 2.2.x version), but didn't exhibit > itself in 2.1.6: You should read Brian's excellent "Upgrade to 2.2.x" document. It will explain you the chan

Re: [Zope] Some help required but no sarcastic comments this time please

2001-01-23 Thread jpenny
On Tue, Jan 23, 2001 at 11:17:32PM -, alankirk wrote: > Hi there, > i sent an email the other week regarding problems i've been experiencing with zope >and MySQL. I've set up a database connection for zope and mysql and it sort of works. >I can send queries to add data to my database ok but

Re: [Zope] Some help required but no sarcastic comments this time please

2001-01-23 Thread Phil Harris
Alan, So what are the errors, are there any tracebacks, does the thing your trying to do work when outside of Zope? What version of MySQL is it? Can you run any queries, or is it one particular query? What versions of the MySQLDB and MySQLDA are you using? Answering some/all of these questio

[Zope] dtml-in sql => dtml-in anything?

2001-01-23 Thread Joh Johannsen
Is it possible to replace an existing ZSQL method with an identical Python External Method that behaves exactly the same way? So if I have a ZSQL method "GetThingFromDB" got a Can I replace "GetThingFromDB" with a Python External Method? I've discovered that if I return a list, then that l

[Zope] Help: Photo & Jpeg Support Problems

2001-01-23 Thread J. Atwood
I have been playing around with Drew's photo product and it works great with GIFs but when I try to upload a JPEG into it I get the following Error Type: IOError Error Value: decoder jpeg not available Traceback (innermost last): File /usr/local/zope/lib/python/ZPublisher/Publish.py, line 2

Re: [Zope] dtml-in sql => dtml-in anything?

2001-01-23 Thread Andrew Kenneth Milton
+---[ Joh Johannsen ]-- | | I'd like to just have the external method return exactly the same thing | as the ZSQL, but I'm having some problem finding what format (if any) | that is. | | Is this sort of thing even possible? You'll need to look at the ResultSet class that

Re: [Zope] Help: Photo & Jpeg Support Problems

2001-01-23 Thread Ausum
It doesn't happen to me. I'm running Zope 2.2.5 at Win98. Python 1.5.2 and PIL module are installed at the "Python" directory that the Python's binary distribution uses as default. Maybe I'm wrong but it looks like you didn't install the PIL module. Ausum "J. Atwood" wrote: > > I have been

Re: [Zope] Help: Photo & Jpeg Support Problems

2001-01-23 Thread J. Atwood
The PIL module is insalled (this I know) I just think I need to do a little more work with the JPEG support. It says it should be part of the installation but never was.. so I downloaded it and included it in the configure path. Probably just missed something. J At 9:12 PM -0500 1/23/01, Ausu

RE: [zope] : Postgre installation problem

2001-01-23 Thread K H Subrahmanyan
but where can I get Popy and how to install it. kindly give the links. thanks -Original Message- From: Jerome Alet [mailto:[EMAIL PROTECTED]] Sent: Tuesday, January 23, 2001 6:22 PM To: K H Subrahmanyan Cc: [EMAIL PROTECTED] Subject: Re: [zope] : Postg

Re: [Zope] Some help required but no sarcastic comments this time please

2001-01-23 Thread Bill Anderson
Phil Harris wrote: > Alan, > > So what are the errors, are there any tracebacks, does the thing your trying > to do work when outside of Zope? > > What version of MySQL is it? > > Can you run any queries, or is it one particular query? > > What versions of the MySQLDB and MySQLDA are you usi

[Zope] Zope 2.3b2 uploading File bug (win32)? (also LocalFS?)

2001-01-23 Thread Alexander Schonfeld
When I try to add a new "File"... it gets an AttributeError. This doesn't seem to be a problem under a Linux install, but does under my Win32 install. Any advice? A created a new user etc.. wasn't done as the default user. Had full manager privileges. Also the LocalFS product seems to have trou

[Zope] dtml-let + 'expr=' possible?

2001-01-23 Thread Lee
Hi, I have one quick question about the 'let' tag; gives me the value 'class52225'. Is there anyway I can use the 'let' tag to push this onto the namespace stack? I was thinking something *like*; The python method, classcode_to_table, takes in a string, alters it and returns it. This is goin

[Zope] zope : postgre sql

2001-01-23 Thread K H Subrahmanyan
I am using zope in linux redhat 6. I have installed zope2.2.5. python version in zope is 1.5.2 I have also install python2.0 I have install postgresql 7.03 I have ZPoPyDA_0_7_tar.tar I have used tar -xovf ZPoPyDA_0_7_tar.tar it is installed in /Zope-dir/lib/python/Products/ZPoPyDA/ direct

RE: [Zope] Some help required but no sarcastic comments this time please

2001-01-23 Thread alan
alan, it seems like people are trying to help you. NOTE: no ones getting paid to answer your questions :) here are binaries for win32 for PostgreSQL and MySQL, http://highqualdev.com/ you can probably try these w/ the existing DA's ~runyaga ___

[Zope] VirtualHostMonster, PATH_INFO and absolute_url

2001-01-23 Thread Itai Tavor
Hi, I'm using VistualHostMonster in Zope 2.3b2 with this Apache virtual host: ProxyPass / http://10.0.1.20:8080/VirtualHostBase/http/10.0.1.21:80/MySite/VirtualHostRoot/ ProxyPassReverse / http://10.0.1.20:8080/VirtualHostBase/http/10.0.1.21:80/MySite/VirtualHostRoot/ ProxyPa

RE: [Zope] Zope 2.3b2 uploading File bug (win32)? (also LocalFS?)

2001-01-23 Thread Ron Bickers
I believe this is a problem that has been fixed in CVS and for beta 3 (whenever it's released). The bug caused this error to occur in several different scenarios of mine. You can either get the latest CVS or wait for beta 3. ___ Ron Bickers Logic Etc, Inc. [EMAIL PROTECTED]