Re: [Zope-dev] dtml-in batching

2001-01-24 Thread Chris Withers
[EMAIL PROTECTED] wrote: Well that's odd - I searched the collector for "dtml-in" and got no matches. that's because of the - in dtml-in being treated as a stop character by ZCatalog. Ironically, ZCatalog is not very good at indexing stuff that contains documentation about Zope, stripping

Re: [Zope-dev] Problem using External Method

2001-01-24 Thread Espen S. Frederiksen
The problem occur when I try to split up the function as shown below. I would like to store the data list, update it if nessesary and return it when appropriate. Am I making it unessesary complex when I use the class? Is there maybe a way to declare the data list global within the module? Or

Re: [Zope-dev] Problem using External Method

2001-01-24 Thread Shane Hathaway
"Espen S. Frederiksen" wrote: The problem occur when I try to split up the function as shown below. I would like to store the data list, update it if nessesary and return it when appropriate. Am I making it unessesary complex when I use the class? Is there maybe a way to declare the data

[Zope-dev] Re: DTML block parsing - better then C/C++

2001-01-24 Thread Jon Franz
This allowance for nested comments, as long as they are properly nested, is more then many laguages, such as C/C++, give you in the way of allowing nested comments - So I think its more then acceptable in its current form - good job! OK, I have developed a new patch that almost completely fixes

[Zope-dev] ZSQL method - Can it 'resolve' a property value?

2001-01-24 Thread Schmidt, Allen J.
I have an index_html which runs queries that count the number of items in a category and displays the number next to each category which is a link to the SearchResults page that will pass the name of the property to the next query. This is how I do the count part: (dtml-in

[Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Aaron Gillette
My company has many sites which share some content. Each site uses a different IP address. I would like to bring all of these sites into one instance of Zope on an NT machine. I am looking at the possibility of either 1) running Zope behind IIS, or 2) running Zserver exclusively. Personally, I'd

RE: [Zope-dev] Old to new registerClass

2001-01-24 Thread Brian Lloyd
Im hacking around IEMethod and it uses an old style of class initialisation in the __init__.py along the lines of: misc_ = { 'imagef':'foo','imageg':'goo', } lang_= { 'en':'lang_en','sv':'lang_sv', } I want to put this into a modern style product initialisation

Re: [Zope-dev] Problem using External Method

2001-01-24 Thread Shane Hathaway
On Wed, 24 Jan 2001, Espen Sorbye Frederiksen wrote: I did what you suggested, but I am still a bit stuck. Maybe I call them wrong in my code. I use the call below but get an error. dtml-call expr="createdata('test1','test2','test3')" dtml-var expr="returndata()" Error Type: AttributeError

Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Toby Dickenson
On Wed, 24 Jan 2001 10:07:29 -0600, "Aaron Gillette" [EMAIL PROTECTED] wrote: My company has many sites which share some content. Each site uses a different IP address. I would like to bring all of these sites into one instance of Zope on an NT machine. I am looking at the possibility of either

Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Aaron Gillette
Sorry, but I don't think I phrased my original question very well. I'll give it another try. What I'm trying to do is have Zope somehow map an IP address to a specific subfolder within the ZODB. For example, I've got one subfolder that should serve DOMAIN1.COM which is located at the IP address

Re: [Zope-dev] Old to new registerClass

2001-01-24 Thread Johan Carlsson
Brian Lloyd etc. I don't know what 'lang_' does, so I'm not sure what to advise you there... Hi Andy, As far as I can see the land_ directory doesn't seam to do anything. You could try to just remove it. (It wasn't me that put it there.) As for the most part of the Images defined

Re: [Zope-dev] Old to new registerClass

2001-01-24 Thread Andy McKay
Lang is used in this line: document.write("SCR"+"IPT src=\"misc_/IEMethod/lang_"+lang+"\" type=\"text/javascript\"/SCR"+"IPT"); Kind of a bizarre line, but it looks like its setting the script source. Thanks, just doing a quick ZWiki-IEMethod merge so that you can edit a ZWiki standard style or

Re: [Zope-dev] Old to new registerClass

2001-01-24 Thread Andy McKay
I nuked it and everything is just fine, its defined in misc. Anyway works fine, will post a "package" shortly after some testing. -- Andy McKay. - Original Message - From: "Johan Carlsson" [EMAIL PROTECTED] To: "Andy McKay" [EMAIL PROTECTED] Sent: Wednesday, January 24, 2001 9:39 AM

[Zope-dev] Re: Find broken in 2.2.2?

2001-01-24 Thread Ty Sarna
In article [EMAIL PROTECTED], Ty Sarna [EMAIL PROTECTED] wrote: Is there something wrong with the Find mechanism in 2.2.2? "containing" searches never find anything. I've looked at the changelogs for I've narrowed this down further... the issue seems to be that items inside zclass definitions

Re: [Zope-dev] ANNOUNCE: Zope 2.3.0 beta 3 released - Plea for bug #1884

2001-01-24 Thread John D. Heintz
Zope-maintainers, Please evaluate the patch in bug #1884. There is an ExtensionClass.c bug in CMethod_call that prevents calling unbound super-class methods when the __call_method__ hook exists. http://classic.zope.org:8080/Collector/1884/view thanks, John Brian Lloyd wrote: Hi all,

[Zope-dev] ANNOUNCE: Zope 2.3.0 beta 3 released

2001-01-24 Thread Brian Lloyd
Hi all, Zope 2.3.0 beta 3 is now available. You can download it from Zope.org: http://www.zope.org/Products/Zope/2.3.0b3/ This beta contains fixes for various issues reported to date in the beta cycle, and some older Collector bugs. Barring any major unforseen problems, this

Re: [Zope-dev] Mapping multiple IP addresses/domains to one Zope

2001-01-24 Thread Michael Bernstein
Aaron Gillette wrote: My company has many sites which share some content. Each site uses a different IP address. I would like to bring all of these sites into one instance of Zope on an NT machine. I am looking at the possibility of either 1) running Zope behind IIS, or 2) running

Re: [Zope-dev] Local roles and security of ZClass instances inSpecialists

2001-01-24 Thread Itai Tavor
Hi Steve, This is a nice idea... but I can't get it to work. it works fine when changing properties: WHEN OBJECT CHANGED CALL self.checkForPermission(REQUEST) But is ignored for accessing properties: WITH self.checkForPermission(REQUEST) COMPUTE spam='eggs' simply fails to set spam if

[Zope-dev] Possible TransparentFolders bug?

2001-01-24 Thread Itai Tavor
Hi, The TransparentFolders Product seems to make everything transparent... not just transparent folders. Zope/ Folder_A/ method_A Folder_B/ (transparent folder) method_B I'd expect the only effect of the transparent folder to be that /Folder_A/method_B

[Zope] Hiding a Zope object from URL accesses

2001-01-24 Thread Gerald Gutierrez
If I have a Z SQL method set up as /query on my Zope site, how is it possible for me to disallow direct accesses to it via a URL (like http://localhost/query) ? If I cannot, then what is the convention people use to store objects which are not supposed to be visible directly? Thanks.

Re: [Zope] zope : postgre sql

2001-01-24 Thread Stephane Bortzmeyer
On Wednesday 24 January 2001, at 11 h 56, the keyboard of "K H Subrahmanyan" [EMAIL PROTECTED] wrote: I am using zope in linux redhat 6. ^^ RedHat I have python-popy_1.2.1_i386.deb

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

2001-01-24 Thread Stephane Bortzmeyer
On Tuesday 23 January 2001, at 23 h 17, the keyboard of "alankirk" [EMAIL PROTECTED] wrote: I am using Zope 2.2.2 on windows(this time i'd appreciate no sarcastic = comments this time) Feel free to interpret every comment you don't like as "sarcastic", but it will not save your business.

Re: [Zope] dtml-tree causing authorization errors

2001-01-24 Thread yves
I had read the Upgrade document, but hadn't followed the link to read the actual Security How-To document. That definitely did the trick, thanks a lot for your help! ..Yves Quoting Dieter Maurer [EMAIL PROTECTED]: [EMAIL PROTECTED] writes: I've stumbled upon a strange problem with

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

2001-01-24 Thread Dario Lopez-Kästen
- Original Message - From: "Stephane Bortzmeyer" [EMAIL PROTECTED] Subject: Re: [Zope] Some help required but no sarcastic comments this time please On Tuesday 23 January 2001, at 23 h 17, the keyboard of "alankirk" [EMAIL PROTECTED] wrote: I am using Zope 2.2.2 on windows(this

Re: [Zope] Here is a Challenge: Import + Export folder...

2001-01-24 Thread Tim Cook
3dfestival - WebMaster wrote: - Webmaster @ 3D festival (http://www.3dfestival.com) PS: I know that u can use telnet, but I do not know how to use telnet Try 'man telnet' or 'telnet --help' to learn. -- Tim Cook, President -- Free Practice Management,Inc. | http://www.FreePM.com

Re: [Zope] ZClasses date properties

2001-01-24 Thread Chris Withers
Tim Moore wrote: "Invalid Date-Time String" error. I take it that empty date fields aren't allowed then...is this intended or a bug? Still using 2.3b1. It's always been like that, but I'd see it as a bug, so stick it in the collector. I wonder if the same is for number properties?

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

2001-01-24 Thread Chris Withers
Lee wrote: dtml-let table expr="classcode_to_table(classcode)" I think: dtml-let table="classcode_to_table(classcode)" ..will do it, if it doesn't, then you probabyl can't :-S cheers, Chris ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Hiding a Zope object from URL accesses

2001-01-24 Thread Chris Withers
Gerald Gutierrez wrote: If I have a Z SQL method set up as /query on my Zope site, how is it possible for me to disallow direct accesses to it via a URL (like http://localhost/query) ? If I cannot, then what is the convention people use to store objects which are not supposed to be

Re: [Zope] Hiding a Zope object from URL accesses

2001-01-24 Thread Dimitris Andrakakis
Gerald Gutierrez wrote: If I have a Z SQL method set up as /query on my Zope site, how is it possible for me to disallow direct accesses to it via a URL (like http://localhost/query) ? If I cannot, then what is the convention people use to store objects which are not supposed to be visible

Re: [Zope] Here is a Challenge: Import + Export folder...

2001-01-24 Thread Chris Withers
Tim Cook wrote: 3dfestival - WebMaster wrote: - Webmaster @ 3D festival (http://www.3dfestival.com) PS: I know that u can use telnet, but I do not know how to use telnet Try 'man telnet' or 'telnet --help' to learn. Or use FTP ;-) Chris PS: The reason remote imports are

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

2001-01-24 Thread Geoffrey L. Wright
[EMAIL PROTECTED] writes: 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

Re: [Zope] Hiding a Zope object from URL accesses

2001-01-24 Thread Chris Withers
Dimitris Andrakakis wrote: Gerald Gutierrez wrote: If I have a Z SQL method set up as /query on my Zope site, how is it possible for me to disallow direct accesses to it via a URL (like http://localhost/query) ? If I cannot, then what is the convention people use to store objects which

Re: [Zope] Here is a Challenge: Import + Export folder...

2001-01-24 Thread Tim Cook
Chris Withers wrote: ...although given Zope has a powerful security mechanism, I don't see why authenticated users can't be trusted. I guess it's a thing about helping people not to shoot themselves in the foot. Probably. I think DC is too close to Washington, DC. Some of that "I'm from

Re: [Zope] Hiding a Zope object from URL accesses

2001-01-24 Thread Ivan Cornell
Dimitris Andrakakis wrote: Gerald Gutierrez wrote: If I have a Z SQL method set up as /query on my Zope site, how is it possible for me to disallow direct accesses to it via a URL (like http://localhost/query) ? If I cannot, then what is the convention people use to store objects which

[Zope] download file from LocalFS

2001-01-24 Thread Ulrich Wisser
Hello, my users are not allowed to access the whole LocalFS. Therefor I setup a proxy method to check their access rights. If they are allowed I would like to return the file. This is what I came up with: 1. Make the LocalFS accessible through PathHandler 2. The PathHandler DTML method checks

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

2001-01-24 Thread Petter Enholm
Hi, I see that you get all kinds of responses on the zope mailing list regarding Zope, mySQL and Windows. Hate to see that ... well .. to your problems: I run Windows 2000 on my laptop with Zope 2.2.4 and mySQL 3.23.30. I even run the same Zope and mySQL setup on a Compaq server with

Re: [Zope] Cache manager in zope 2.3.0b1

2001-01-24 Thread Bak @ kedai
-Original Message- From: Shane Hathaway [EMAIL PROTECTED] To: Bak@kedai [EMAIL PROTECTED] Date: Wednesday, January 24, 2001 9:10 PM Subject: Re: [Zope] Cache manager in zope 2.3.0b1 "Bak@kedai" wrote: From HelpSys for RAM CAche """ Finally, you can configure the list of REQUEST

[Zope] Is it possible to make a thumbnail from an added image..?

2001-01-24 Thread 3dfestival - WebMaster
Just a quick Idea: Can somebody make a routine RESIZING an image...? It would be great if someone could make something like that... Just imagine it: You add an Image_with_thumb... Browse for the image, then it adds your image to the site AND it is being resized to, for instance, 16x16pixels,

[Zope] Add this to Wish list

2001-01-24 Thread Jerome Alet
Hi, Maybe I've not seen the easy way to do it, if so tell me I'm stupid, but one thing would be very nice in the future version of Zope: A way to download Python Script's sources Now I cut and paste but it's horrible. Please could you include a button "Download Source" to the Python Script

Re: [Zope] Cache manager in zope 2.3.0b1

2001-01-24 Thread Shane Hathaway
"Bak @ kedai" wrote: sorry. my mistake. i think more info on how/what should/can be a cache key is good. currently, there's two cache key fields, one in the object itself, one in the cache manager instance. the field in object can contain more than one cache keys, while the cache key in

[Zope] Dowloading images from another site with external method?

2001-01-24 Thread Etienne Labuschagne
Hi all I have an external Python method in Zope that accesses a map server through an ActiveX connector. This map server creates a map and gives me the URL where I can download the map eg. "http:\\www.mysite.com\images:8081\img1234545.png" I want to download this image with the method, put it

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

2001-01-24 Thread Tom Jenkins
Hello Gerald, Hi all. [snip] but it does not seem to be able return any data through a SELECT query. This does not work in the "test" table nor in a SQL method. Using a query, such as "select * from test", it always replies with:

RE: [Zope] Is it possible to make a thumbnail from an added image..?

2001-01-24 Thread dale . w . lance
You could try: http://www.zope.org/Members/haqa/archive/ZPhotoAlbum http://www.zope.org/Members/Drew/Photo These seem to do something similar to what you are asking. If not well, dtml-var typical_open_source_quote. Dale -Original Message- From: thomas [mailto:[EMAIL PROTECTED]] Sent:

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

2001-01-24 Thread Jeff Peterson
-Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of alankirk Sent: Tuesday, January 23, 2001 5:18 PM To: [EMAIL PROTECTED] Subject: [Zope] Some help required but no sarcastic comments this time please I am using Zope 2.2.2 on windows(this time i'd

Re: [Zope] Add this to Wish list

2001-01-24 Thread Oleg Broytmann
On Wed, 24 Jan 2001, Jerome Alet wrote: A way to download Python Script's sources Now I cut and paste but it's horrible. Please could you include a button "Download Source" to the Python Script edition form ? Sometimes through-the-web editing stands on the way? :) Oleg. Oleg

[Zope] SQLSession not working

2001-01-24 Thread Paul Zwarts
Hi all, I have a unix machine with PGSQL and Zope 2.2.1? and my app uses SQL session brilliantly. But I've created another test machine with Zope 2.2.5, Win2kPro and MySQL 3.3.23 (i think)... and SQL Session no longer works properly. Every time I call a page, a different Session is used and Im

Re: [Zope] PythonScripts editable through FTP?

2001-01-24 Thread Chris Withers
Jerome Alet wrote: Hi, Maybe I've not seen the easy way to do it, if so tell me I'm stupid, but one thing would be very nice in the future version of Zope: A way to download Python Script's sources Now I cut and paste but it's horrible. Can't you use FTP to edit them? cheers,

Re: [Zope] Dowloading images from another site with external method?

2001-01-24 Thread Oleg Broytmann
On Wed, 24 Jan 2001, Etienne Labuschagne wrote: "http:\\www.mysite.com\images:8081\img1234545.png" Incorrect slashes in the URL. It seems M$ is destroying people's brains :( Use right slashes /// My problem is that I don't know how to download the image from the URL Use

Re: [Zope] PythonScripts editable through FTP?

2001-01-24 Thread Jerome Alet
On Wed, 24 Jan 2001, Chris Withers wrote: Jerome Alet wrote: Maybe I've not seen the easy way to do it, if so tell me I'm stupid, but one thing would be very nice in the future version of Zope: A way to download Python Script's sources Now I cut and paste but it's horrible.

Re: [Zope] PythonScripts editable through FTP?

2001-01-24 Thread Jerome Alet
On Wed, 24 Jan 2001, Chris Withers wrote: Jerome Alet wrote: I sincerely don't know because I've disabled FTP here. How come? What about WebDAV? don't use it either. I want to use my own text editor (JERED), not because it's the best to develop (far from that in fact) but because it

RE: [Zope] VirtualHostMonster, PATH_INFO and absolute_url

2001-01-24 Thread Ron Bickers
2. In this setup, if I got it right, absolute_url() for /MySite/spam should return http://10.0.1.21/spam. But it returns http://10.0.1.21/MySite/spam. Something's broken? I have this same problem. If the documentation in the VHM is correct, it's a bug. I found that adding a VHM to the

Re: [Zope] Is it possible to make a thumbnail from an added image..?

2001-01-24 Thread Michael Bernstein
3dfestival - WebMaster wrote: Just a quick Idea: Can somebody make a routine RESIZING an image...? It would be great if someone could make something like that... Just imagine it: You add an Image_with_thumb... Browse for the image, then it adds your image to the site AND it is being

RE: [Zope] PythonScripts editable through FTP?

2001-01-24 Thread Andy Dawkins
Chris Yes you can use FTP to edit them. (Tested with HomeSite) Its kinda neat. The output looks like: ## Python Script "scripty1" ##bind container=container ##bind context=context ##bind namespace= ##bind script=script ##bind

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

2001-01-24 Thread Alan Capesius
I understand your comments about sarcasm, but realize that this community is riddled with Unix bigots and just ignore it. Just listen to those willing to help. If you don't have to use MySQL, try either SQL Server or MS Access (small databases). See my pages on Zope NT SQL at

Re: [Zope] Help - Python

2001-01-24 Thread J M Cerqueira Esteves
Ol :) On Tue, Jan 23, 2001 at 08:56:34PM +, Paula Mangas wrote: I'm a newbie and i would like to know how can i create a DTMLDocument from a Python method. Here is a short example of document creation (with a few other tips), assuming it's in a Python method with parameters (self,

Re: [zope] : Postgre installation problem

2001-01-24 Thread jpenny
On Wed, Jan 24, 2001 at 08:36:00AM +0530, K H Subrahmanyan wrote: but where can I get Popy and how to install it. kindly give the links. thanks PoPy is available from www.sourceforge.net/projects/popy zpopyda is available from www.sourceforge.net/projects/zpopyda installation of popy is in

RE: [Zope] Is it possible to make a thumbnail from an added image..?

2001-01-24 Thread Farrell, Troy
You could use the Python Imaging Library with some external methods: http://www.pythonware.com/products/pil/index.htm dtml-var typical_open_source_hint_hint_hint Troy -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 8:19 AM To:

Re: [Zope] PythonScripts editable through FTP?

2001-01-24 Thread Oleg Broytmann
On Wed, 24 Jan 2001, Jerome Alet wrote: I want to use my own text editor (JERED), not because it's the best to develop (far from that in fact) but because it works exactly like I want it to work (which is normal since I've written it). Unfortunately it doesn't handle WebDAV or any other

Re: [Zope] PythonScripts editable through FTP?

2001-01-24 Thread Chris Withers
Jerome Alet wrote: I want to use my own text editor (JERED), not because it's the best to develop (far from that in fact) but because it works exactly like I want it to work (which is normal since I've written it). Unfortunately it doesn't handle WebDAV or any other Internet protocol...

Re: [Zope] PythonScripts editable through FTP?

2001-01-24 Thread Chris Withers
Andy Dawkins wrote: Its kinda neat. The output looks like: snip Oh yeah, IIRC, the bind parameters will get updated if you change the comments and then FTP the file back, which rocks :-) Thanks to Evan... cheers, Chris ___ Zope maillist -

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

2001-01-24 Thread Toby Dickenson
On Wed, 24 Jan 2001 09:33:16 -0600, "Alan Capesius" [EMAIL PROTECTED] wrote: I would also recommend NOT using Win9x for ANYTHING. I always use NT. There are those of us who use Zope in desktop applications too (yes really), where Win9x is not an unreasonable choice. Toby Dickenson [EMAIL

[Zope] DCOracle with Python 2.0?

2001-01-24 Thread Michelle Walden
I'm having zero success getting DCOracle to build with any version of Python using the included Makefile.pre.in files. Anyone with a working DCOracle install on RedHat 6.1 who might be willing to offer suggestions or donate binaries will receive many thanks from my programmer. Thanks in

[Zope] Style guide?

2001-01-24 Thread J B Bell
Having read the Python style guide (and having found it, if a bit confusing, at least not intolerably strict), I am now curious about what style people like to use in Zope. Are folders classes, or objects? In the examples in the Book, most of the folders are done in StudlyCaps, while the

Re: [Zope] VirtualHostMonster, PATH_INFO and absolute_url

2001-01-24 Thread Evan Simpson
From: Itai Tavor [EMAIL PROTECTED] 1. When accessing http://10.0.1.21/spam PATH_INFO is /VirtualHostBase/http/10.0.1.21:80/MySite/VirtualHostRoot/spam, which breaks any method that uses PATH_INFO (For example, the login form of LoginManager). Can this be fixed somehow? The Zope virtual

Re: [Zope] Add this to Wish list

2001-01-24 Thread Evan Simpson
From: Jerome Alet [EMAIL PROTECTED] Please could you include a button "Download Source" to the Python Script edition form ? Already done; There's a link in the paragraph below the text area, and above the upload form (in CVS). Cheers, Evan @ digicool 4-am

[Zope] Zope Games

2001-01-24 Thread Gerald Gutierrez
Does anyone know about any web games written in Zope, something akin to Blacknova.net, which is written in PHP ? The source is at http://sourceforge.net/projects/blacknova/. ___ Zope maillist - [EMAIL PROTECTED]

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

2001-01-24 Thread Capesius, Alan
I understand people do use Win9x, but I would always recommend NT 4 workstation over 9x unless there is an overpowering need for USB. I don't use USB myself and have been using NT exclusively on the desktop since 94. When properly configured it is much more stable. Nowadays, NT5 (oops 2000) is

Re: [Zope] Zope Games

2001-01-24 Thread Erik Enge
[Gerald Gutierrez] | Does anyone know about any web games written in Zope, something akin | to Blacknova.net, which is written in PHP ? The source is at | http://sourceforge.net/projects/blacknova/. I don't. But I might be able to hook someone up with some financial funding to do so. I recall

RE: [Zope] Re: Some help required but no sarcastic comments this time pleas ee

2001-01-24 Thread Michelle Walden
You could now recommend W2k as a much more stable *than either 95 or NT4* alternative that does USB support out of the box. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of Capesius, Alan Sent: Wednesday, January 24, 2001 12:39 PM To: [EMAIL PROTECTED]

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

2001-01-24 Thread Dave Woolston
Hello Gerald, Hello Gerald, 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

[Zope] Calling a DTML Document using a string

2001-01-24 Thread Anderson Ami
How can I do a dtml document call using the call dtml tag ? e.g. - I have 3 DTML documents ( bot1, bot2 and bot3) - I have in my request a int variable called varX - I would like do it, but this one doesn't work : ... dtml-var expr="bot + varX" ... Thanks a lot anderson

Re: [Zope] download file from LocalFS

2001-01-24 Thread Jonothan Farr
When mylfs references a directory meta_type is 'Local Directory' but if mylfs references a file meta_type is 'File'. How can I let the user download the file? I tried it like this: dtml-call "RESPONSE.setHeader('content-type',mylfs.content_type)" dtml-var mylfs It mostly worked, except

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

2001-01-24 Thread Gerald Gutierrez
This may seem like a silly response, but have you tried the same select statement from outside zope - say from the mysql client? perhaps your select statement is truly returning an empty set. We use zope with PostgreSQL and MySQL (and have been for a few years) and haven't had any

Re: [Zope] Calling a DTML Document using a string

2001-01-24 Thread ender
On Wednesday 24 January 2001 12:00, Anderson Ami wrote: How can I do a dtml document call using the call dtml tag ? e.g. - I have 3 DTML documents ( bot1, bot2 and bot3) - I have in my request a int variable called varX - I would like do it, but this one doesn't work : ... dtml-var

Re: [Zope] Calling a DTML Document using a string

2001-01-24 Thread Jonothan Farr
- Original Message - From: "Anderson Ami" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, January 24, 2001 12:00 PM Subject: [Zope] Calling a DTML Document using a string How can I do a dtml document call using the call dtml tag ? e.g. - I have 3 DTML documents ( bot1, bot2

RE: [Zope] Re: Some help required but no sarcastic comments this time pleas ee

2001-01-24 Thread Capesius, Alan
To clarify, W2k is probably pretty reliable now for the desktop, but the servers have a way to go. In addition to reliability issues, the resources required to do the same functions on the 2000 products (w2k, office 2K, access 2K) are much higher than the 97 and 4.0 versions. MS can't even keep

RE: [Zope] Re: Some help required but no sarcastic comments this time pleas ee

2001-01-24 Thread Gerald Gutierrez
It will be interesting to see the Unix command-line loving community's reaction when MS releases their text mode server product. This will certainly interest the mouse-phobic. What product is this? ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] Re: Some help required but no sarcastic comments this time pleas ee

2001-01-24 Thread Capesius, Alan
Supposed to be in NT7 (after whistler) It will be a headless version. -Original Message- From: Gerald Gutierrez [mailto:[EMAIL PROTECTED]] Sent: Wednesday, January 24, 2001 3:16 PM To: Capesius, Alan; [EMAIL PROTECTED] Subject: RE: [Zope] Re: Some help required but no sarcastic comments

Re: [Zope] Calling a DTML Document using a string

2001-01-24 Thread Dieter Maurer
Anderson Ami writes: How can I do a dtml document call using the call dtml tag ? e.g. - I have 3 DTML documents ( bot1, bot2 and bot3) - I have in my request a int variable called varX - I would like do it, but this one doesn't work : dtml-var expr="bot + varX" This

[Zope] Q's about Zope security model tweaking

2001-01-24 Thread J B Bell
I'd like to make a 'fallback' authorization scheme for Zope. That is: If user does not exist in usual UserFolder, then authenticate against custom module (NIS, in this case) and give them Anonymous privileges. I want to do authentication for a whole subset of the site (indeed, its entire

[Zope] Access Problem - external method and aquisition

2001-01-24 Thread Bill Welch
Some time ago, I set up a site with SiteAccess and ZClient to pass through a request to legacy php a la Mamey's 'Serving PHP/Perl from Zope'. Works great, lasts a long time. I recently added Membership and restricted access to the folder. The AccessRule works and publishing of index_html

[Zope] ZODB and Reportlab

2001-01-24 Thread Jorge Magalhaes
Hi: I need to report my all "CDClass" in one pdf document. For do that i want to use the reportlab libs, but i don't know how i can access to my all "CDClass" with a External Method. I have a solution but i think that isn't the best: list all "CDCLass" with a DTMLmethod and pass that list to

Re: [Zope] Cache manager in zope 2.3.0b1

2001-01-24 Thread Bak @ kedai
-Original Message- From: Shane Hathaway [EMAIL PROTECTED] To: [EMAIL PROTECTED] [EMAIL PROTECTED] Date: Wednesday, January 24, 2001 10:20 PM Subject: Re: [Zope] Cache manager in zope 2.3.0b1 Are you saying that entering multiple REQUEST variables doesn't work? Are you putting the

[Zope] ANNOUNCE: Zope 2.3.0 beta 3 released

2001-01-24 Thread Brian Lloyd
Hi all, Zope 2.3.0 beta 3 is now available. You can download it from Zope.org: http://www.zope.org/Products/Zope/2.3.0b3/ This beta contains fixes for various issues reported to date in the beta cycle, and some older Collector bugs. Barring any major unforseen problems, this

[Zope] Re: [Zope-dev] ANNOUNCE: Zope 2.3.0 beta 3 released - Plea for bug #1884

2001-01-24 Thread John D. Heintz
Zope-maintainers, Please evaluate the patch in bug #1884. There is an ExtensionClass.c bug in CMethod_call that prevents calling unbound super-class methods when the __call_method__ hook exists. http://classic.zope.org:8080/Collector/1884/view thanks, John Brian Lloyd wrote: Hi all,

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

2001-01-24 Thread corey
And upon Wednesday of January 24, the illustrious Capesius, Alan spake thusly... What product is this? Supposed to be in NT7 (after whistler) It will be a headless version. Hmm... the term "vapor" comes immediately to mind. I'll believe it when I see it. Then I'll laugh when I

Re: [Zope] Calling a DTML Document using a string

2001-01-24 Thread Jonothan Farr
Boy did I ever misunderstand the question. Dang. Sorry! Nevermind me! --jfarr - Original Message - From: "Dieter Maurer" [EMAIL PROTECTED] To: "Anderson Ami" [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Wednesday, January 24, 2001 1:50 PM Subject: Re: [Zope] Calling a DTML Document

[Zope] Did I miss some major change in Z SQL Methods ?

2001-01-24 Thread Curtis Maloney
Green things, I have a few methods poking about that just don't seem to make sense A Z SQL Method ( Returner.sql.getDetails ) which simply contains: SELECT * FROM Returner WHERE ReturnerID=dtml-sqlvar User type="int" Which returns everything as expected. The I

Re: [Zope] VirtualHostMonster, PATH_INFO and absolute_url

2001-01-24 Thread Itai Tavor
Evan Simpson wrote: From: Itai Tavor [EMAIL PROTECTED] 1. When accessing http://10.0.1.21/spam PATH_INFO is /VirtualHostBase/http/10.0.1.21:80/MySite/VirtualHostRoot/spam, which breaks any method that uses PATH_INFO (For example, the login form of LoginManager). Can this be fixed

[Zope] eTailer Error

2001-01-24 Thread LARRY CHUON
When I click on "Check Out", I receive the following error message. Can someone shed some lights please? Zope Error Zope has encountered an error while publishing this resource. KeyError Sorry, a Zope error occurred. Traceback (innermost last): File

[Zope] Aethera server and functionalities + ZOPE

2001-01-24 Thread Nicolas Pettiaux
Dear Mr Shawn, THank you for your recent mail. As I said i a recent message, in order to move my institution towards open-source products and related services, I need the appropriate tools and services. For me, the KDE applications, aethera and kivio, you are developping, are such tools we

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-24 Thread Evan Simpson
From: "Curtis Maloney" [EMAIL PROTECTED] A Z SQL Method ( Returner.sql.getDetails ) [snip] dtml-with "Returner.getDetails(Returner, User=12)" dtml-var fieldName /dtml-with You want either: dtml-in "Returner.getDetails(Returner, User=12)" dtml-var fieldName /dtml-in ...or... dtml-with

[Zope] Re: Aethera server and functionalities + ZOPE

2001-01-24 Thread Shawn Gordon
Hi Nicolas, Here is my quick response on the items I can answer directly: At 09:44 PM 1/24/2001, Nicolas Pettiaux wrote: Dear Mr Shawn, THank you for your recent mail. As I said i a recent message, in order to move my institution towards open-source products and related services, I need the

Re: [Zope] VirtualHostMonster, PATH_INFO and absolute_url

2001-01-24 Thread Evan Simpson
From: "Itai Tavor" [EMAIL PROTECTED] Great, thanks for the fix. It's fine in Zope 2.3b3. I should probably write a Howto for VirtualHostMonster, and ask the folks who've written the various fine SiteAccess-related Howtos to incorporate it. It really is a lot easier and safer to use than

Re: [Zope] Did I miss some major change in Z SQL Methods ?

2001-01-24 Thread Curtis Maloney
On Thursday 25 January 2001 16:50, Evan Simpson wrote: From: "Curtis Maloney" [EMAIL PROTECTED] A Z SQL Method ( Returner.sql.getDetails ) [snip] dtml-with "Returner.getDetails(Returner, User=12)" dtml-var fieldName /dtml-with You want either: dtml-in

Re: [Zope] eTailer Error

2001-01-24 Thread thomas
On 24 Jan, LARRY CHUON wrote: When I click on "Check Out", I receive the following error message. Can someone shed some lights please? [snip] KeyError Sorry, a Zope error occurred. [snip] File /usr/local/Zope-2.2.4-linux2-x86/lib/python/ZPublisher/HTTPRequest.py, line 810, in

Re: [Zope] PythonScripts editable through FTP?

2001-01-24 Thread Tres Seaver
Jerome Alet [EMAIL PROTECTED] wrote: On Wed, 24 Jan 2001, Chris Withers wrote: Jerome Alet wrote: I sincerely don't know because I've disabled FTP here. How come? What about WebDAV? don't use it either. I want to use my own text editor (JERED), not because it's the

[Zope] zope + img tags + javascript

2001-01-24 Thread Lee
Hi there, I'm using JavaScript primarily for form evaluation, multiple submit buttons and various other piece of client-sided trickery but I've encountered a problem. I've seen something similar mentioned before but I can't find it in my archive. I *hate* image maps but I'd like to use one so

RE: [Zope] VirtualHostMonster, PATH_INFO and absolute_url

2001-01-24 Thread Ron Bickers
I should probably write a Howto for VirtualHostMonster, and ask the folks who've written the various fine SiteAccess-related Howtos to incorporate it. It really is a lot easier and safer to use than SiteRoots 98% of the time. I agree. It's very easy to use with Apache, and it doesn't mess

[Zope] (no subject)

2001-01-24 Thread Priya Ramkumar
Hi I am trying to create a wizard in my portal to enable users to store information. In addition to the features of the already existing Document Wizard, I would like my Wizard to have more features like information about the category of the document, etc. I created a file called

  1   2   >