Re: [Zope] (no subject)

2000-06-23 Thread Shalabh Chaturvedi
Hi: Could you give an equivalent using the current dtml tags? Thanks, Shalabh - Original Message - From: Jay, Dylan [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Friday, June 23, 2000 12:02 PM Subject: [Zope] (no subject) Here's a feature I just submitted to the collector. It

[Zope] Who has compiled _mysql.pyd?

2000-06-23 Thread Juan Carlos Coruña
Title: Who has compiled _mysql.pyd? I use to develop on linux, but in this moment I need to setup a Zope server on NT with ZmySQLDA 1.2.0. On linux I don't have problems to compile _mysqlmodule.so, but on NT I don't have a compiler nor experience. Anyone has already compiled _mysql.pyd for NT?

[Zope] zgadfly and zsql problem

2000-06-23 Thread Luc Tonin
i m using da zgadfly database and i m still trying to use this type of query SELECT* FROMtable_name WHEREfield_name LIKE 'test' but it s seems that zgadfly doesn t support da LIKE sql tag! anyone have an ID ???

Re: [Zope] zgadfly and zsql problem

2000-06-23 Thread Adam Karpierz
[...] but it s seems that zgadfly doesn t support da LIKE sql tag! anyone have an ID ??? From gadfly FAQ: """ Where is the LIKE predicate? The LIKE predicate for string matching is still not supported at the SQL level. For what it's worth, it is easy to use Python's string matching (regex,

Re: [Zope] zgadfly and zsql problem

2000-06-23 Thread Graham Chiu
In article 00b201bfdcf9$5bb7e8d0$6200a8c0@longwy, Luc Tonin ltonin@lw .multithematiques.com writes i m using da zgadfly database and i m still trying to use this type of query SELECT * FROM table_name WHERE field_name LIKE 'test'   but it s seems that zgadfly doesn t

[Zope] image inclusion: empty ALT not the same as no ALT

2000-06-23 Thread J M Cerqueira Esteves
Greetings I just noticed a problem with the `tag' method: If I insert an image with dtml-var "some_image.tag (border='0', alt='')" (nice because `width' and `height' are inserted automatically), I get an img element with NO `alt' attribute, instead of an `alt' atribute with an empty string

[Zope] Invalid Header (0) error

2000-06-23 Thread Richard Moon
Does anyone know what an Error Type: Value Error, Error Value:Invalid Header (0) error represents ? It's interesting in the way it shows itself up. I added a dtml-var a_dtml_method to a dtml method and it generates this error. This dtml-var a_dtml_method is nested inside a dtml-if and would

[Zope] R: [Zope] Invalid Header (0) error

2000-06-23 Thread Marcel Preda
Does anyone know what an Error Type: Value Error, Error Value:Invalid Header (0) error represents ? It's interesting in the way it shows itself up. I added a dtml-var a_dtml_method to a dtml method and it generates this error. This dtml-var a_dtml_method is nested inside a dtml-if and

[Zope] RE: Zope2.2.0b2 not workink on win98

2000-06-23 Thread Brian Lloyd
On my Win box Zope dont allow add _no one_ objects (eg. Folder), dont allow enter Control Panel if product incorect installed, etc.. Zope 2.1.6 and 2.1.7 (with apropriate patches) works very well. What I am doing wrong or eventually how can I help to avoid this problems ? platform:

[Zope] Zope2.2.0b2 - cannot import tutorial

2000-06-23 Thread Oleg Broytmann
Hello! I started to do experiments with 2.2.0b2 (I skipped b1). Looks good. I lpayed a little and found tutorial.zexp in directory import. I tried to import, but Zope complains. Other than that it's working nice. I installed SiteAccess2 - nohram. I didn't do an extensive testing

Re: [Zope] image inclusion: empty ALT not the same as no ALT

2000-06-23 Thread Tino Wildenhain
Hi J, J M Cerqueira Esteves wrote: Greetings I just noticed a problem with the `tag' method: If I insert an image with dtml-var "some_image.tag (border='0', alt='')" (nice because `width' and `height' are inserted automatically), I get an img element with NO `alt' attribute,

Re: [Zope] Zope2.2.0b2 - cannot import tutorial

2000-06-23 Thread Oleg Broytmann
On Fri, 23 Jun 2000, Oleg Broytmann wrote: I installed SiteAccess2 - nohram. ^^ "No harm", of course :) Oleg.(All opinions are mine and not of my employer) Oleg Broytmann Foundation for Effective Policies [EMAIL PROTECTED]

RE: [Zope] Zope2.2.0b2 - cannot import tutorial

2000-06-23 Thread Brian Lloyd
I started to do experiments with 2.2.0b2 (I skipped b1). Looks good. I lpayed a little and found tutorial.zexp in directory import. I tried to import, but Zope complains. That import file is used by Amos' new Zope Tutorial object (you add that via the normal add list). It

Re: [Zope] Zope2.2.0b2 doesn't work on win98

2000-06-23 Thread Martijn Pieters
On Fri, Jun 23, 2000 at 02:50:20PM +0200, Adam Karpierz wrote: Eg. if i try to add a Folder that is happend: STRONGError Type: SuperCannotOwn/STRONGBR STRONGError Value: Objects cannot be owned by the superuser/STRONGBR This is caused by a change in the Zope security mechanism. As the error

RE: [Zope] Zope2.2.0b2 - cannot import tutorial

2000-06-23 Thread Oleg Broytmann
On Fri, 23 Jun 2000, Brian Lloyd wrote: I remember DC promises to add a screen to configure the number of threads instead of default 7, but I didn't found the screen. Will it be added later? Who promised you that? :^) I hadn't heard of this... It is possible my memory is wrong.

Re: [Zope] Zope2.2.0b2 - cannot import tutorial

2000-06-23 Thread Martijn Pieters
On Fri, Jun 23, 2000 at 01:59:22PM +, Oleg Broytmann wrote: I remember DC promises to add a screen to configure the number of threads instead of default 7, but I didn't found the screen. Will it be added later? I think you are confusing some issues. You can use the -t switch to z2.py

Re: [Zope] Zope2.2.0b2 - cannot import tutorial

2000-06-23 Thread Oleg Broytmann
On Fri, 23 Jun 2000, Martijn Pieters wrote: Each of these serving threads has it's own connection to the ZODB. And there _is_ a hardwired limit to the number of connections, which, IIRC, is set to 10 or something. There has been talk of changing that number, or, even better, have it

Re: [Zope] Zope2.2.0b2 - cannot import tutorial

2000-06-23 Thread Martijn Pieters
On Fri, Jun 23, 2000 at 02:23:29PM +, Oleg Broytmann wrote: On Fri, 23 Jun 2000, Brian Lloyd wrote: I remember DC promises to add a screen to configure the number of threads instead of default 7, but I didn't found the screen. Will it be added later? Who promised you

[Zope] zope_greenbay:)

2000-06-23 Thread drawingincode
drawingincodezopeanalysiscommentshuman_only (!-- normal comment tag avoided as to not upset processor 300th time around :)--) they were the best in 62 the sweep was awesome like Patton's army at their best and they won We are like everybody else We are like New York, Dallas and they

Re: [Zope] Zope 2.2 beta 2 released

2000-06-23 Thread T.J. Mannos
Monty, I can't find 1.2.0. I run a search for MySQL and all that comes up is MikeP's version 1.1.3. Come to think of it, I have no idea where I found 2.0.0, either. I think it was on a Zope news announcement for a while then disappeared. Anyway, could you send me the URL to 1.2.0? Thanks,

Re: [Zope] R: [Zope] Invalid Header (0) error

2000-06-23 Thread Richard Moon
Marcel, you're English is fine (better than my Italian). I think you are near to the answer. My dtml method 'dtml_main' has this kind of logic dtml-if something dtml-var a_dtml_method dtml-else dtml-var another_dtml_method /dtml-if I had standard_html_header (which has an html

Re: [Zope] Zope 2.2 beta 2 released

2000-06-23 Thread Monty Taylor
http://www.zope.org/Members/mordred/ZMySQLDA "T.J. Mannos" wrote: Monty, I can't find 1.2.0. I run a search for MySQL and all that comes up is MikeP's version 1.1.3. Come to think of it, I have no idea where I found 2.0.0, either. I think it was on a Zope news announcement for a while

Re: [Zope] Re: Is DTML a bastardized form of XML, or valid XML?

2000-06-23 Thread Joe Pallas
I'm pretty sure "new syntax" DTML is not actually valid XML, but it doesn't really matter: it's a bad idea either way. The new syntax is a misguided attempt to mix the base and meta levels, which can only result in confusion. DTML is not markup, it is a macro language for generating markup.

RE: [Zope] Re: Is DTML a bastardized form of XML, or valid XML?

2000-06-23 Thread Paul Everitt
There was tremendous discussion on the mailing list around the time of the introduction of the new syntax. As Jim made clear, the goals of the new syntax did _not_ include XML compliance. Instead, the goals were: a. Get rid of the old syntax. The SSI style was universally ridiculed and

[Zope] HTML Editors that recognize DTML (was bastardized form of XML)

2000-06-23 Thread Eric L. Walstad
// b. Make it possible for some HTML editors that can extend their tag // database to recognize DTML tags. Maybe this is a little off topic, but did you have an editor in mind when you changed the syntax? Can you recommend an HTML editor that runs on Windows that will do this? I am currently

[Zope] Re: Fwd: Re: [Zope] R: [Zope] Invalid Header (0) error

2000-06-23 Thread Mark N. Gibson
We've had the same problem, Michael Pelletier addressed this question in a previous post, Check out: http://www.egroups.com/message/zope/29589?start=29498 To summarize, 'Zope doesn't like it if there is no html tags before the DTML begins.' To fix our problem, we simply make sure that a html

Re: [Zope] Re: Is DTML a bastardized form of XML, or valid XML?

2000-06-23 Thread Martijn Pieters
On Fri, Jun 23, 2000 at 08:39:01AM -0700, Joe Pallas wrote: I'm pretty sure "new syntax" DTML is not actually valid XML, but it doesn't really matter: it's a bad idea either way. The new syntax is a misguided attempt to mix the base and meta levels, which can only result in confusion.

Re: [Zope] HTML Editors that recognize DTML (was bastardized formof XML)

2000-06-23 Thread Oleg Broytmann
On Fri, 23 Jun 2000, Eric L. Walstad wrote: Maybe this is a little off topic, but did you have an editor in mind when you changed the syntax? Can you recommend an HTML editor that runs on Windows that will do this? I am currently coding DTML in VisualC++'s IDE using VBScript to paste in the

[Zope] Uninstall on WinNT and the Registry

2000-06-23 Thread Barry Pederson
I was just uninstalling Zope 2.2b1 from a WinNT box, and selected the custom uninstall to see what all it was taking out - and when it got to the part about removing registry keys, it showed some things that looked pretty dodgy.. The dialog box legend says: "The following Registration Database

Re: [Zope] about double sorting

2000-06-23 Thread Shane Hathaway
frank cuzzocrea wrote: i made a tinytablesplus file, and i want their to be two sorts, the primary sort being last_name, and the secondary being first_name. i say a code the read something like this dtml-in xxx sort=last_name,first_name i tryed that, but got an error that said it

RE: [Zope] Zope 2.2 beta 2 - (MySQLDA)

2000-06-23 Thread Ron Bickers
I've been running 2.0.0 from Andy without any problems. I tried 1.2.0 and it worked equally well. 2.0.0, BTW, can be found at http://dustman.net/andy/python/ZMySQLDA/2.0.0a1. It seemed to me that Andy wrote 2.0.0 primarily because it uses his own MySQLdb python module without having to apply a

[Zope] Starting Zope on FreeBSD 2.2.8---Python dumps core

2000-06-23 Thread Loren M. McCarter
I'm having difficulty starting Zope. Versions: Zope: 2.1.6, compiled from source with "python wo_pcgi.py" Python: 1.5.2, (#2, Jan 17 2000) [GCC 2.7.2.1] on freebsd2 Python is compiled with pthreads enabled. FreeBSD: 2.2.8 (yes, I know it is outdated). Problem Description: The

[Zope] Python install included with zopeBeta.exe?

2000-06-23 Thread addyd
Starting over...beta2 not working on IIS. Uninstalling Python Uninstalling Zope (why does running unwise.exe not remove EVERYTHING?) Deleting everything in Zope web site virual directory. Looks like I installed Python and then Zope installed Python again. Did I miss this in the docs? (that Zope

Re: [Zope] Python install included with zopeBeta.exe?

2000-06-23 Thread Rik Hoekstra
Starting over...beta2 not working on IIS. Uninstalling Python Uninstalling Zope (why does running unwise.exe not remove EVERYTHING?) It almost never does remove everything Deleting everything in Zope web site virual directory. Looks like I installed Python and then Zope installed Python

RE: [Zope] Short urls? SHORT URLS???

2000-06-23 Thread Brian Lloyd
Geeez, I thought that one of Zope's promises was nice short URLS. Wutts up with this? http://xanadu.unk.edu:8080/QuickStart/index_html?tree-e=eJyLVn eEASdPW3UdBSR-JCrf1cRWPRYAGNELbA#AE4 They _are_ nice and short - if you don't use the Tree tag :^) Brian Lloyd[EMAIL

[Zope] permissions problem instantiating objects in 2.2b2?

2000-06-23 Thread John Kinsella
Hi guys, I have a simple piece of code which instantiates an object in Zope 2.1.16, but when I try to run the same code in 2.2b{1,2} I get a dialog box stating that "authorization failed" and asks again for my password. I'm not sure if the API changed in 2.2 or if something's broken in either my

Re: [Zope] (no subject)

2000-06-23 Thread Marco Mariani
On Fri, Jun 23, 2000 at 04:32:39PM +1000, Jay, Dylan wrote: It seems to me that a few tweaks to the dtml-if syntax would be beneficial something like the following would certainly clean up some of the logic I end up writing. dtml-if X a href="a_url" dtml-always link text dtml-else

Re: [Zope] Stupid question of the day

2000-06-23 Thread Dieter Maurer
Andy McKay writes: How do I find the size of the results returned by the catalog? dtml-let results=Catalog() dtml-var "_.len(results)" -- the results' length -- /dtml-let Dieter ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] R: [Zope] Invalid Header (0) error

2000-06-23 Thread Dieter Maurer
Richard Moon writes: I think you are near to the answer. ... sevaral blank lines at start of rendered page ... Zope wants to add a BASENAME URL in the HTML HEAD. Therefore, it looks for an HTML header. Obviously, it gives up with "Invalid Header", when is can not find it near the very

Re: [Zope] ZODBC DA Fails to show in installed products.

2000-06-23 Thread Dieter Maurer
[EMAIL PROTECTED] writes: I just installed Zope 2.1.6 and the ZODBCDA (ZODBCDA-3.1.0b2-win32-x86.tgz). After unpacking into the lib tree, ZODBC doen't show as an installed product. I've stopped and started the service, rebooted, etc. There is no entry for the ZODBCDA in product

Re: [Zope] System variables

2000-06-23 Thread Dieter Maurer
Matthias =?ISO-8859-1?Q?F=FCsting?= writes: ... As I create a folder with the name "icon", a error message came from Zope. -- Error Type: Bad Request Error Value: The id icon is invalid - it is already in use. I think "icon" is a system-variable. "icon" is (in some way) part of

Re: [Zope] (no subject)

2000-06-23 Thread Dieter Maurer
Jay, Dylan writes: Here's a feature I just submitted to the collector. It seems to me that a few tweaks to the dtml-if syntax would be beneficial something like the following would certainly clean up some of the logic I end up writing. dtml-if X a href="a_url" dtml-always

Re: [Zope] Problem with date

2000-06-23 Thread Dieter Maurer
"Vikas Mahajan" writes: Now my problem is to insert a date type in the properties of folder. The formats like Jan. 07, 2000January 07 2000 jan 07 2000 2000/07/01 all work well in the version 1.2.2 which is a binary release. But, none of the format works with the version 1.2.6 which i

Re: [Zope] Selection

2000-06-23 Thread Dieter Maurer
Dear Rogerio Rogerio Atem de Carvalho writes: I have a form with a drop down box and texts fields. I use a button to call a sql method that gets the drop down box selection and the texts inputs as parameters and insert a record in a table. The problem is how to pass the DDB

Re: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-23 Thread T.J. Mannos
That did it! But... :) I ended up having to re-create all my ZSQL methods, which was funny because they all worked in the beta 1 but not in beta 2. I kept getting len() of unsized object errors. Anyway, re-creating them all from scratch (ugh..) solved that problem. BUT, the BIG problem I'm

[Zope] SiteAccess in 2.0.0b2?

2000-06-23 Thread T.J. Mannos
I'm having trouble getting SiteAccess 2.0.0b2 to work with Zope 2.2.0b2. The first odd thing that happens is when I create a new SiteRoot, it says that this object already has a SiteRoot (which it doesn't), but creates it anyway. The second is: it doesn't seem to work at all! The value of URL1

Re: [Zope] Starting Zope on FreeBSD 2.2.8---Python dumps core

2000-06-23 Thread Andrew Kenneth Milton
+[ Loren M. McCarter ]- | I'm having difficulty starting Zope. | | Versions: | Zope: 2.1.6, compiled from source with "python wo_pcgi.py" | Python: 1.5.2, (#2, Jan 17 2000) [GCC 2.7.2.1] on freebsd2 | Python is compiled with

Re: [Zope] dtml-always et al

2000-06-23 Thread Andrew Kenneth Milton
+[ Lalo Martins ]- | On Fri, Jun 23, 2000 at 12:49:16PM +0530, Shalabh Chaturvedi wrote: | Hi: | | Could you give an equivalent using the current dtml tags? | | From: Jay, Dylan [EMAIL PROTECTED] | | dtml-if X |a href="a_url" |

Re: [Zope] Problem to init a DTML Document by uploading a file

2000-06-23 Thread andres
On Thu, Jun 22, 2000 at 02:18:35PM +0200, Frédéric Quin wrote: Hi all, I did'nt manage to init a DTML Document by uploading a file. I wrote : dtml-call "manage_addDTMLDocument('my_id_html','','/home/index.html') I tried too : dtml-call

Re: [Zope] Problem to init a DTML Document by uploading a file

2000-06-23 Thread andres
Sorry, Forgot to add that method="post" is also required in the FORM tag before a file contents is sent along in a posted form. So the required syntax is: FORM ... enctype="mulipart/form-data" ... method="post"... Otherwise, the file-selection field in the form acts like a regular text field.

Re: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-23 Thread Christian Scholz
Hi! I think that you have hit it on the head - we're trying *hard* to make Zope harder to fool :^) Try adding the following to your class statement, for example: class MyClass: __allow_access_to_unprotected_subobjects__=1 Just a question: Is this documented somewhere.. I've seen

[Zope] Re: [Zope-dev] SiteAccess in 2.0.0b2?

2000-06-23 Thread Evan Simpson
- Original Message - From: T.J. Mannos [EMAIL PROTECTED] I'm having trouble getting SiteAccess 2.0.0b2 to work with Zope 2.2.0b2. The first odd thing that happens is when I create a new SiteRoot, it says that this object already has a SiteRoot (which it doesn't), but creates it

Re: [Zope-dev] ZPatterns bug. Very serious.

2000-06-23 Thread Phillip J. Eby
At 01:06 PM 6/23/00 +0800, mike wrote: There _IS_ a problem. Maybe _v_cachedAttr is not a guilty, but do you know it exists only in newly created objects and do _not_ exists in old?. The attribute cache is created only when used in a transaction, so if you retrieve a persistent object from a

RE: [Zope-dev] Another bug in DA.py?

2000-06-23 Thread Brian Lloyd
After trying this with version 2.2.0b2 I became the following result: Error, Unauthorized, NoBrains If I try the following ZSQL method it displays de authorization window: dtml-let Cl="get_Cliente(N_='22606')[0]" select * from Cliente where N_='22606' /dtml-let but if I try the

Re: [Zope-dev] Python 1.6

2000-06-23 Thread Dieter Maurer
Toby Dickenson writes: I'm about to start looking at running Zope on python 1.6 (Im feeling the need for better Unicode support). Almost surely, it will work. But it probably will not use the Unicode support automatically. Dieter ___ Zope-Dev

[Zope-dev] Re: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-23 Thread T.J. Mannos
That did it! But... :) I ended up having to re-create all my ZSQL methods, which was funny because they all worked in the beta 1 but not in beta 2. I kept getting len() of unsized object errors. Anyway, re-creating them all from scratch (ugh..) solved that problem. BUT, the BIG problem I'm

[Zope-dev] SiteAccess in 2.0.0b2?

2000-06-23 Thread T.J. Mannos
I'm having trouble getting SiteAccess 2.0.0b2 to work with Zope 2.2.0b2. The first odd thing that happens is when I create a new SiteRoot, it says that this object already has a SiteRoot (which it doesn't), but creates it anyway. The second is: it doesn't seem to work at all! The value of URL1

[Zope-dev] Zope 2.2.0b2 FTP server -- Cannot list directory?

2000-06-23 Thread T.J. Mannos
I'm having a problem with the Zope FTP server in 2.2.0b2. If I try to get a directory listing, it gives an error saying it can't list the directory. If I try to change directories (even 'cd /'), it tells me it can't find the directory. However, if I know the exact name of the file I want to

[Zope-dev] RE: [Zope] Please test this Zope 2.2 beta 1 ZSQLMethods fix...

2000-06-23 Thread Brian Lloyd
BUT, the BIG problem I'm having is still with the external method in courseList.py. snip Any ideas? Now, it could just be my programming. With the new 2.2 version I may need to add security information to each object (which I don't know how to do). Right now I'm just starting

Re: [Zope-dev] No feedback for SOAP patch ?

2000-06-23 Thread Petru Paler
On Fri, Jun 23, 2000 at 10:34:50PM -0400, Evan Simpson wrote: I've barely had a free second with functioning brain capacity this past week, but I'm interested. More so now that Secret Labs has announced their SOAP client library at http://www.pythonware.com/products/soap If you That made

Re: [Zope-dev] SiteAccess in 2.0.0b2?

2000-06-23 Thread Evan Simpson
- Original Message - From: T.J. Mannos [EMAIL PROTECTED] I'm having trouble getting SiteAccess 2.0.0b2 to work with Zope 2.2.0b2. The first odd thing that happens is when I create a new SiteRoot, it says that this object already has a SiteRoot (which it doesn't), but creates it