RE: [Zope] Dump .zexp export to readable source?

2000-11-08 Thread Max Møller Rasmussen
From: Alex Khan [mailto:[EMAIL PROTECTED]] I can probably learn more from reading other people's code than by reading the fragmented documentation. I can do this easily with products but not zexp's. Thanks in advance... zClasses are not written in Python so there is no code to see. Except fot

[Zope] tags for export import

2000-11-08 Thread jacintha menezes
Hi, Kindly give dtml tags or python module for doing import export in zope.Since i am not able to send the query output as an attachment with zope mail facility i am thinking of using import export. thanks, bye,

[Zope] Needed: DCOracle C++ code on which SWIG was used

2000-11-08 Thread Alwyn Schoeman
Hi all, It is a real pain in the b to get a C++ library to use with Oracle 8 on Solaris Can someone please send me information on getting the C++ code used to generate the python wrappers with SWIG? Thank you -- ~~~ Alwyn Schoeman The clock on the wall keeps moving, time

Re: [Zope] Dump .zexp export to readable source?

2000-11-08 Thread Robin Becker
In article 7BD10B680501D411B9DF009027E06F32197AD5@exchange, Max Møller Rasmussen [EMAIL PROTECTED] writes From: Alex Khan [mailto:[EMAIL PROTECTED]] I can probably learn more from reading other people's code than by reading the fragmented documentation. I can do this easily with products but not

Re: [Zope] asked a million times again...

2000-11-08 Thread Chris Withers
Chris Trowbridge wrote: Okay, I got the dtml-var filename to work right assuming that that files are arranged properly according to aquistion, but then when I try to get the file from another folder like dtml-var "folder.filename" It displays the code of that page rather thatn

[Zope] Python Methods Vote

2000-11-08 Thread Chris Withers
Is there any way you can see what the results are looking like without having to vote again? How do you know we're only voting once? ;-) cheers, Chris Michel Pelletier wrote: Please vote folks! -Michel Shane Hathaway wrote: Being Election Day in the United States, now is a good

[Zope] How to access control panel debug information as normal user??

2000-11-08 Thread Gilles Lavaux
Hello, I want to give to my normal users (non manager) the possibility to access some debug informations like: - the number of currently open connections + the date of the openning. (This mainly to track the hanged request...) I am not able to retrive this information, except as manager.

Re: [Zope] How to access control panel debug information as normal user??

2000-11-08 Thread Chris Withers
Gilles Lavaux wrote: I am not able to retrive this information, except as manager. Whatever security or role I set on my 'status' method: You need to give your 'status' method a proxy Role of Manager. Then be very careful that only managers can edit that method ;-) cheers, Chris

[Zope] Python Zope Method as option for renamed Python Method?

2000-11-08 Thread Hamish Lawson
In the poll currently underway on renaming options for Python Methods, the most popular choice so far is to leave the name as it is. It could just be because people don't see enough benefit in changing what's already there, but I think it may be that people actively feel that the term 'method'

Re: [Zope] Cloning a ZClass-Instance

2000-11-08 Thread brocken22
Thank you Dieter for your reply, but yout suggestion doesn't solve the problem. This is the traceback: "The object 973677459 does not support this operation " This means to me that x is an instance. That's my script- dtml-in "objectValues(['news'])" dtml-let x="_.getitem('sequence-item')"

Re: [Zope] images in directories

2000-11-08 Thread Chris Withers
Dieter Maurer wrote: Then Chris Withers wrote: use dtml-with imagesdtml-var image.gif/dtml-with I did not believe him and tried it out... ... it works in Zope 2.2.2. ...worked for me all the way back to 2.1.4 ;-) Anyway, if you're _really_ lazy, write an external method something

Re: [Zope] newbie: comparing dates?

2000-11-08 Thread Chris Withers
Georg Rellensmann wrote: Hi all, another newbie-question: - I created a zclass with three date properties. - Now I´d like to display the most recent of these dates in directory-listings etc. Try something like: dtml-in "objectValues('MetaTypeOfYourZClass')"

Re: [Zope] Python Zope Method as option for renamed Python Method?

2000-11-08 Thread Chris Withers
Hamish Lawson wrote: Zope regards as a method a Zope Method? That would then give us Python Zope Method, Perl Zope Method, DTML Zope Method, SQL Zope Method, etc. Is it too late to add the option for Python Zope Method to the poll? All too long an unwieldy... glad to see the -lets have died.

[Zope] my brains?

2000-11-08 Thread Júlio Dinis Silva
Hello, I'm doing some search in two catalogs I have. They each have more than 1000 items. When a search is made besides taking to long the debug information screen print a lot of my brains instance. Can anyone explain what is this "my brains" thing or some page to go and read more about this?

RE: [Zope] Python Methods Vote

2000-11-08 Thread Seb Bacon
Is there any way you can see what the results are looking like without having to vote again? Don't worry, there's no need actually to count the votes. Despite the fact that this race went right down to the wire, according to my complex computer-based prediction models (based on exit polls

RE: [Zope] XMLRPC accessing Zope DTML/SQL methods

2000-11-08 Thread Mayers, Philip J
Ok, so this works: def extmethod(self, REQUEST): return str(REQUEST) From the web that prints the string Representation of REQUEST. But, over XMLRPC, this: s=xmlrpblib.Server("http://server.name/Zope/path/") s.path.extmethod() Returns the string representation of REQUEST, but *this*

Re: [Zope] ISPs that host zope

2000-11-08 Thread Stephan Goeldi
-give me access to an RDBMS (MySQL or any other system would more than suffice) MySQL -give me a reasonable amount of space (50MB) 200MB -not break my budget ($30.00 per month.) CHF 49.- i.e. about US$28.00 Does such an animal exist? We offer Zope Hosting (over Apache ProxyPass or

RE: [Zope] Dump .zexp export to readable source?

2000-11-08 Thread Max Møller Rasmussen
From: Robin Becker [mailto:[EMAIL PROTECTED]] zClasses are not written in Python so there is no code to see. Except fot the dtml code and you can see that when you have imported a zClass product. ... I disagree strongly. Many of the useful coding tools need line oriented Ascii text; where is

RE: [Zope] asked a million times again...

2000-11-08 Thread Max Møller Rasmussen
Okay, I got the dtml-var filename to work right assuming that that files are arranged properly according to aquistion, but then when I try to get the file from another folder like dtml-var "folder.filename" It displays the code of that page rather thatn recognizing that it is

Re: [Zope] Your thoughts about Zope-based database apps

2000-11-08 Thread Francisco José Esteban Risueño
We've implemented an application like this in our intranet, and it's now up and running satisfactory with 1500 users. We use Oracle as back-end. Here are responses from the rest of your questions: 1.- We've using zope only since six months ago. the development period of the application was three

[Zope] Re: [Zope-Annce] November 8th Zope Weekly News

2000-11-08 Thread Gregor Hoffleit
On Tue, Nov 07, 2000 at 11:56:28PM -0500, emf wrote: How Many Zopatistas? Zope gets downloaded from zope.org 12-15,000 times a month. It has risen steadily over the last year and a half. Zope has been downloaded roughly 200,000 times since version 2.0. Zope is distributed on

[Zope] ZSQL is killing me...

2000-11-08 Thread Hugo Ramos
Yellow ppl, I think everybody already had this problem... Suppose you have a DB connection in /root/subfolder/DB_conn then you build lots of zsql objects from that point down... then you move the DB connection object up to the root. result: all ZSQL's have to be changed to assume the DB_conn

Re: [Zope] Python Methods Vote

2000-11-08 Thread peter bengtson
I have the opposite problem. Having voted once - early yesterday - I now can't vote again. The reason I want to vote again is that I have changed my mind! Now I want to _poll down_ "Python Method" and add a new alternative "ZPython Method" or add some points to "Python Script" or "ZPY". The

Re: [Zope] importing data

2000-11-08 Thread Steve Spicklemire
Hi Jamey, It's also possible (and i think maybe easiest...) to do this in an external method. Alas.. this also requires you to be familiar with Python (as was posted before...) -steve "James" == James Sintz [EMAIL PROTECTED] writes: James I have created a simple zclass product for a

[Zope] installing ZPatterns

2000-11-08 Thread Mario Olimpio de Menezes
Hi, I'm trying to install ZPatterns and I'm having troubles with the Setup. I don't have a cPersistence.h file and I don't know where to find it. This file is necessary to compile DynPersist.c. Here is the error: gcc -fPIC -I../../ZODB -I../../../Components/ExtensionClass -g

Re: [Zope] Python Methods Vote

2000-11-08 Thread Simon Michael
Just view the poll again. Everything but "python method" has been getting trounced so far. How come "python function" isn't there, again ? Isn't that what they actually are ? ___ Zope maillist - [EMAIL PROTECTED]

[Zope] Can't delete products

2000-11-08 Thread Stephan Goeldi
I deleted some products in Control_Panel several times. Some are gone (ok), some stay and seem to be undeletable. I'm sure someone shows me the way to delete it from the command line (it's Zope 2.2.2 on RedHat Linux). TIA -goe-

[Zope] Problen wtih dtml-in inside Zsql method

2000-11-08 Thread Alejandro Pancani
- I have a problem using a 'dtml-in' tag inside of a Zsql method and I'm wondering if anybody can help me I´m using a sequence in ORACLE (called 'seq') and I need to obtain the

[Zope] I can't find a way to give parameters to the getDtmlData of a ZGDChartobjectobject

2000-11-08 Thread Frederic Quin
Hi all, I can't find a way to give parameters to the getDtmlData of a ZGDChart object. Please, help... 'Cause I don't want to duplicate the same chart one hundred times... Fred ___ Zope maillist - [EMAIL PROTECTED]

RE: [Zope] Can't delete products

2000-11-08 Thread Max Møller Rasmussen
From: Stephan Goeldi [mailto:[EMAIL PROTECTED]] I deleted some products in Control_Panel several times. Some are gone (ok), some stay and seem to be undeletable. I'm sure someone shows me the way to delete it from the command line (it's Zope 2.2.2 on RedHat Linux). You should also delete the

Re: [Zope] Python Zope Method as option for renamed Python Method?

2000-11-08 Thread Jason Cunliffe
Hamish Lawson [EMAIL PROTECTED] wrote In the poll currently underway on renaming options for Python Methods, the most popular choice so far is to leave the name as it is. It could just be because people don't see enough benefit in changing what's already there, but I think it may be that

RE: [Zope] Can't access management page.

2000-11-08 Thread Joel Janosky
I have tried this. I have restarted Zope. I have recreated the admin password with zpasswd.py. Nothing seems to help. Is there some security setting that may have been corrupted that I need to examine and fix?? Joel -Original Message- From: Andy McKay [mailto:[EMAIL PROTECTED]]

[Zope] ZCatalog scalability?

2000-11-08 Thread Júlio Dinis Silva
Does anyone has a Catalog with more than 1500 items catalogued? If yes does anyone can do searches to this Catalog in a resonable time without freezing ZServer until it ends? Thanks, Júlio Silva _ Get Your Private, Free

RE: [Zope] Can't delete products

2000-11-08 Thread Stephan Goeldi
Is it save to simply delete a folder in Products? From: Max Møller Rasmussen [EMAIL PROTECTED] To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED], "'[EMAIL PROTECTED]'" [EMAIL PROTECTED] Subject: RE: [Zope] Can't delete products Date: Wed, 8 Nov 2000 16:28:00 +0100 From: Stephan Goeldi

Re: [Zope] Python Zope Method as option for renamed Python Method?

2000-11-08 Thread Oliver Bleutgen
Hamish Lawson [EMAIL PROTECTED] wrote Python Zope Method Perl Zope Method SQL Zope Method DTML Zope Method Rebol Zope Method Java Zope Method VB Zope Method Custom Zope Mthod etc.. and perhaps let "Zope Method" become a "ZMethod", a bit shorter. oliver

Re: [Zope] I can't find a way to give parameters to the getDtmlData of a ZGDChartobjectobject

2000-11-08 Thread Steve Spicklemire
Hi Fred, I experimented a bit with the ZGDChart product. You can might try the following patch: *** lib/python/Products/ZGDChart/ZGDChart.pyTue Sep 12 21:44:09 2000 --- /usr/local/etc/Zope2Test/pr/ZGDChart/ZGDChart.pyWed Oct 4 10:41:51 2000 *** *** 64,73 --- 64,74

[Zope] String to Object

2000-11-08 Thread Leichtman, David J
Does anyone now how I might take a string and turn it into an object reference in DTML? By that, I mean, I want to take a string like: 'object.subobject.subobject' from a database, and I want to reference it as dtml-var object.subobject.subobject. I think this is a simple, straightforward

RE: [Zope] XMLRPC accessing Zope DTML/SQL methods

2000-11-08 Thread Mayers, Philip J
sigh Getting there. Note to the wise - when using PCGI and Apache, sometimes Zope won't notice that you've edited an internal method source file... The cache in Data.fs gets out-of-date. Ok. So, I have this working: def callSQLmethod(self, REQUEST): s=self.sqlMethod(self, REQUEST)

Re: [Zope] Python Zope Method as option for renamed Python Method?

2000-11-08 Thread jpenny
On Wed, Nov 08, 2000 at 05:08:13PM +0100, Oliver Bleutgen wrote: Hamish Lawson [EMAIL PROTECTED] wrote Python Zope Method Perl Zope Method SQL Zope Method DTML Zope Method Rebol Zope Method Java Zope Method VB Zope Method Custom Zope Mthod etc.. and perhaps let "Zope

Re: [Zope] ZCatalog scalability?

2000-11-08 Thread Andy McKay
Yes. Some queries especially ones with wildcards can take a lot more juice than others. Try and keep your metadata small and your queries simple. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Júlio Dinis Silva" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent:

Re: [Zope] ZSQL is killing me...

2000-11-08 Thread Andy McKay
Yes it should if the one in the root is the "closest" or first connection it finds. Im using ZODBC and it works for me. -- Andy McKay, Developer. ActiveState. - Original Message - From: "Hugo Ramos" [EMAIL PROTECTED] To: "ZOPE" [EMAIL PROTECTED] Sent: Wednesday, November 08, 2000

Re: [Zope] Can't delete products

2000-11-08 Thread Andy McKay
Yes, the Zope simply looks for all the product directories that are there, if its not there no problem. (Unless of course that means you are about to lose any unsaved changes to the actual python or so on, or have any objects derived from that product.) -- Andy McKay, Developer.

Re: [Zope] my brains?

2000-11-08 Thread Andy McKay
Basically ZCatalog does not return an object but a brain which is a sort of lightweight object based on the metadata. You might be doing something like dtml-in catalog dtml-var sequence-item /dtml-in Where you should be: dtml-in catalog dtml-var title /dtml-in Have a look at:

RE: [Zope] Can't delete products

2000-11-08 Thread Max M
From: Stephan Goeldi Is it save to simply delete a folder in Products? Well that depends on what folder it is ;-) But if it's a product you have installed yourself and don't want to use anymore, just throw it out. It can still be in the products folder in Zope so you have to delete it there

Re: [Zope] String to Object

2000-11-08 Thread Chris Withers
"Leichtman, David J" wrote: Does anyone now how I might take a string and turn it into an object reference in DTML? By that, I mean, I want to take a string like: 'object.subobject.subobject' from a database, and I want to reference it as dtml-var object.subobject.subobject. I think

[Zope] Python ZMethod (was Python Zope Method as option for renamed Python Method?)

2000-11-08 Thread Hamish Lawson
I suggested the term Zope Method for anything Zope regards as a method, giving Python Zope Method, Perl Zope Method, DTML Zope Method, SQL Zope Method, etc. But Chris Withers thought those to be too long and unwieldy. OK, what about ZMethod? Thus Python ZMethod, Perl ZMethod, DTML ZMethod, SQL

Re: [Zope] ZMethod (Safe)

2000-11-08 Thread Chris Withers
[EMAIL PROTECTED] wrote: On Wed, Nov 08, 2000 at 05:08:13PM +0100, Oliver Bleutgen wrote: Hamish Lawson [EMAIL PROTECTED] wrote Python Zope Method Perl Zope Method SQL Zope Method DTML Zope Method Rebol Zope Method Java Zope Method VB Zope Method Custom Zope Mthod

[Zope] Pre-newbie question: how to implement this app?

2000-11-08 Thread Don Dwiggins
I'm calling this a "pre-newbie" question because I'm not running Zope yet, although I've been looking into it for some time, and have recently started reading in earnest. I have an application that I think would be a good initial app for getting into Zope, and I'd like some advice on how to go

[Zope] Is data.fs corrupted?

2000-11-08 Thread Alexander Chelnokov
Hello All, After a linux machine crash or cold restart something strange is going on with Zope (2.2.2) - all objects built on ZClass-based products like Yihaw or QSurvey are broken. Products are in Product folder, and i even can add an object and it works, but when i try to access it in a new

[Zope] FW: [Zope] adding properties to all existing docs

2000-11-08 Thread michael angelo ruberto
hi Dieter, thanks for the advice. i have written a small DTML script which i plan to call from the standard html header so that the intranet users will unknowingly populate the docs as they browse. saves me from doing it manually unless there are file objects in the folder. here is the script:

Re: [Zope] Is data.fs corrupted?

2000-11-08 Thread Chris McDonough
In your start script, set the STUPID_LOG_FILE environment variable to the path of a file to which you want log messages to be sent (before 'start' calls z2.py). Then review the log file. You'll probably get more clues as to what is going wrong, allowing you to fix the problem. - Original

[Zope] Job Tracking Product

2000-11-08 Thread Andy McKay
Anyone seen a product to track jobs, similar to a bug tracking product (Collector, Itrack etc) but more focused on resources, timelines, completion rate etc...? Had a look on Zope.org and managed to miss it if there is one. TIA -- Andy McKay, Developer. ActiveState.

Re: [Zope] ZMethod (Safe)

2000-11-08 Thread Evan Simpson
From: Chris Withers [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Now, how about internal/external? Safe and Flexible are probably more meaningful words there ;-) ZMethod is growing though ;-) We've pretty much settled on restricted/unrestricted here. In honor of the presidential

[Zope] Tar Ball with all Zope-Howtos

2000-11-08 Thread Manuel Gutierrez Algaba
Is there such a best ? I email zope admin and he kindly pointed me to a site where I could download a .pdf with all Howtos. Is there the _real_ .tar.gz ? Thanks zope admin and thank you guys. BTW, what means things like " _.method()" In pure python the "_" has not special sense, what object

Re: [Zope] ZCatalog scalability?

2000-11-08 Thread Wolfgang Strobl
On 8 Nov 2000, 15:54 Júlio Dinis Silva wrote: Does anyone has a Catalog with more than 1500 items catalogued? If yes does anyone can do searches to this Catalog in a resonable time without freezing ZServer until it ends? I did some experiments over the weekend, for example cataloging about

Re: [Zope] Is data.fs corrupted?

2000-11-08 Thread Bill Welch
I think it is ZODB corruption. See my post of a couple of weeks ago for suggestions for recovery. This the fourth example of ZClass related DB corruption that I've seen in the past six weeks. In my own brush with this, it seemed to be triggered by uninstalling and reinstalling products. Bill.

[Zope] Product removal stress: a plea for help

2000-11-08 Thread seb bacon
If anyone can shed some light on this it would be a great help to the newbies out here. Perhaps I could even do a HOWTO, and lighten the load on the list considerably ;) I don't have a solution to Alexander's problem quoted below, but it's one I keep hitting and one that is frequently asked

Re: [Zope] Tar Ball with all Zope-Howtos

2000-11-08 Thread Morten W. Petersen
[Manuel Gutierrez Algaba] | BTW, what means things like " _.method()" It's a way to access 'restricted functionality'. See the documentation for more information.. | In pure python the "_" has not special sense, what object is "_" ? Actually, the "_" has a special meaning in interactive

[Zope] Re: Is data.fs corrupted?

2000-11-08 Thread Darcy Clark
Alexander, we encountered a similar error (i.e. Could not load oid + broken products etc) a while back on our install of 2.1.6 on Windows. We first tried deleting all products gradually in the hope that we could trace which one of them had caused the 'corruption', but to no avail. The

Re: [Zope] Is data.fs corrupted?

2000-11-08 Thread Chris McDonough
- Original Message - From: "Bill Welch" [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, November 08, 2000 1:58 PM Subject: Re: [Zope] Is data.fs corrupted? I think it is ZODB corruption. This is very unlikely. What makes you think this?

[Zope] Re: Re[4]: [Zope] Is data.fs corrupted?

2000-11-08 Thread Chris McDonough
Hi Alexander, I am going to take this back to the Zope list... Have you examined the STUPID_LOG_FILE? It seems you're showing us the error from an interactive session, but there should be more information in the log file. It seems you've narrowed this down in some fashion to Yihaw. How did

[Zope] Second Try: Zope FTP tunneled through SSH1

2000-11-08 Thread Rob Miller
Nobody picked up at all on my first post of this question, so I'm hoping I have better luck this time. Does anyone out there even have any leads for me in this situation? Here's the repost: I'm trying to tunnel FTP connections to a Zope server through SSH1 to ensure that passwords don't get

Re: [Zope] Is data.fs corrupted?

2000-11-08 Thread Bill Welch
In my case, I couldn't import DemoPortal.zexp or Wizard.zexp from PTK because oid 1377 was already in use. The pickle dump that followed contained references to ZDiscussions, which I had deleted some time before. After deleting the offending products and their directories, restarting zope, and

[Zope] PHP/Zope Guru

2000-11-08 Thread Vincent - D. Ertner
Hi folks, first of all I'd like to apologize for crossposting this message. I'm well aware of the fact that this isn't they way it should be done, but I considered this the probably most promising alternative. Enough about this. I want to setup a major database project. It is supposed to cover

Re: [Zope] Is data.fs corrupted?

2000-11-08 Thread Chris McDonough
I can see your point, but it's not quite correct to call this "ZODB corruption". This was (and is) related to a Zope programming error. Perhaps ZDiscussion.zexp does some funky things in instance space on an import that it shouldn't do. I imagine if we unraveled this far enough that we could

[Zope] calendar help (newbie)

2000-11-08 Thread James Sintz
I want to use the Calendar Tag product to display the subject of my daily newsletters (newsletter archive), but there are no examples of how to display anything other than propval stuff. I would like the calendar to show the subject for each day and link to the newsletter but only show

[Zope] XML-RPC

2000-11-08 Thread David Nimmons
I am trying to develop a web based interface to automation equipment (Allen Bradley plc's in this case) to use for an operator interface. I am using SVG to develop graphics and want to use javascript to manipulate the graphics based on data from the plc. I am looking for a way to pull more data

Re: [Zope] Is data.fs corrupted?

2000-11-08 Thread Bill Welch
Here's my evidence. A record (OID 0) in the "Added Globals" transaction refers to a record (OID 57) in the "Installed product DemoPortal" transaction. From tranalyzer -r TID: 33140200A4749F8 @ 69694 obs 1 len 274 (status 'p') By [Zope] "Added Globals" OID: 0 len 204 2,

Re: [Zope] Cloning a ZClass-Instance

2000-11-08 Thread Dieter Maurer
[EMAIL PROTECTED] writes: Thank you Dieter for your reply, but yout suggestion doesn't solve the problem. Sad to hear. This is the traceback: "The object 973677459 does not support this operation " This means to me that x is an instance. I agree. Though, your news items have strange

RE: [Zope] XMLRPC accessing Zope DTML/SQL methods

2000-11-08 Thread Dieter Maurer
Mayers, Philip J writes: def extmethod(self, REQUEST): return str(REQUEST) From the web that prints the string Representation of REQUEST. But, over XMLRPC, this: s=xmlrpblib.Server("http://server.name/Zope/path/") s.path.extmethod() Returns the string representation of

[Zope] Re: How about create another method other than index_html to get content in OFS::File?

2000-11-08 Thread Dieter Maurer
iap_y2fun.com writes: My problem is that : I have a ZClass based on OFS::File. I need to override the default index_html for my own purpose. After I created my own index_html, I found myself can't access the content of that object. Since: 1. I have no way to access the original method

[Zope] Re: tags for export import

2000-11-08 Thread Dieter Maurer
jacintha menezes writes: Kindly give dtml tags or python module for doing import export in zope.Since i am not able to send the query output as an attachment with zope mail facility i am thinking of using import export. You *ARE* able to send any output as an attachment with zope's

Re: [Zope] acessing parameters in a helper class

2000-11-08 Thread Dieter Maurer
Max M writes: dtml-in getAllComments idtml-var author/ibr . Traceback: Unauthorized: author def addComment(self, comment='', author='' , RESPONSE=None): "Adds a comment" self.comments.append(aComment(comment, author))

Re: [Zope] Problen wtih dtml-in inside Zsql method

2000-11-08 Thread Dieter Maurer
Alejandro Pancani writes: The problem is that when I execute the Zsql method 'sql_2' it seems to execute the sql_select_next_val method two times because at the next time that I execute 'sql_2' the value returned from sql_select_next_val is incremented in 2 in comparison with last

[Zope] Can't get dtml-tree to work in a sub-folder.

2000-11-08 Thread jvoth
Howdy Folks, I'm trying to make use of the dtml-tree gizmo and it only works in the root directory. I'm trying to create a dynamic navigation display so users can click their way through the sub-directories of files. Kind of a "Zope Explorer". Any ideas? I've been playing with the security

Re: [Zope] How do I logout?

2000-11-08 Thread The Doctor What
* Ender ([EMAIL PROTECTED]) [001104 18:04]: I don't know if there is an elegant way to do this. if i'm the superuser i just try to find a junk method (The QuickStart Tutorial does nicely) and change the text to include the following. (if i'm another user it the same thing applies but i

[Zope] Wampum Generator

2000-11-08 Thread Kathy Hester
Hi, Has anyone used this before? I am a newbie and would like to play around with it. I have the how-to docs. But my problem starts at the download! When I try to open it with winzip I get this error: “Error reading header after processing 0 entries”. I have successfully untared other files

[Zope] Zope Book (Error and Suggestion)

2000-11-08 Thread The Doctor What
At least I think it's an error (either in my understanding or in the book). First off, I think the books great. Finally something that's trying to explain what's going on. Zope looks so cool, but it's been hard for a hardcode PHP and Perl programmer like me to get my brain around it. Anyway,

Re: [Zope] ZMethod (Safe)

2000-11-08 Thread jpenny
On Wed, Nov 08, 2000 at 01:12:12PM -0500, Evan Simpson wrote: From: Chris Withers [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Now, how about internal/external? Safe and Flexible are probably more meaningful words there ;-) ZMethod is growing though ;-) We've pretty much settled

Re: [Zope] XML-RPC

2000-11-08 Thread Hannu Krosing
David Nimmons wrote: I am trying to develop a web based interface to automation equipment (Allen Bradley plc's in this case) to use for an operator interface. I am using SVG to develop graphics and want to use javascript to manipulate the graphics based on data from the plc. I am looking

Re: [Zope] SAP DB with Zope?

2000-11-08 Thread Daniel Dittmar
There isn't one yet, although it is on my private list. It will be difficult to make it run on Linux, though, because - a SAP DB client connection isn't allowed to be taken across a fork () (otherwise two process could use the same connection) - Linux assigns new process ids to threads, so a

Re: [Zope] ZMethod (Safe)

2000-11-08 Thread Jason Cunliffe
Evan Simpson [EMAIL PROTECTED] wrote Safe and Flexible are probably more meaningful words there ;-) ZMethod is growing though ;-) We've pretty much settled on restricted/unrestricted here. In honor of the presidential Indecision 2000 race, we're seriously thinking about revamping and

RE: [Zope] acessing parameters in a helper class

2000-11-08 Thread Max M
From: Dieter Maurer You may consider to provide security rules. There is a nice document from Brian which explains your options. Yes there is indeed. I just hadn't noticed it before. I have just added: "__allow_access_to_unprotected_subobjects__=1" to the aComment class and everythings dandy.

Re: [Zope] Is data.fs corrupted?

2000-11-08 Thread Chris McDonough
I'm going to take a guess. It would appear AFAICT that the ZDiscussions product installed an object which it hung off the root object (the application object) when it was first imported. Maybe it was trying to make some sort of a singleton by doing so, where the singleton was *not* a

Re: [Zope] ZMethod (Safe)

2000-11-08 Thread Simon Michael
[EMAIL PROTECTED] writes: Damn, I am beginning to think that Tame Snake Thingy and Wild Snake Thingy are the best yet! Yeah! new poll please :) ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts

Re: [Zope] ZMethod (Safe)

2000-11-08 Thread Evan Simpson
From: Jason Cunliffe [EMAIL PROTECTED] Good news: 'ZMethod' is nice and 'sounds' good, however one says it. I agree, but then everyone around here thought that Zopelet was fairly unobjectionable, even though nobody really *liked* it. 1. 'closed' / 'open' 2. 'builtin' / 'custom' 3. 'local'

Re: [Zope] XML-RPC

2000-11-08 Thread Phil Harris
Another possibility is to use IE on the client side and use one of the COM interfaces to XML-RPC. You could then use javascript/vbscript to get data as required. hth Phil - Original Message - From: "Hannu Krosing" [EMAIL PROTECTED] To: "David Nimmons" [EMAIL PROTECTED] Cc: [EMAIL

Re: [Zope] ZMethod (Safe)

2000-11-08 Thread jpenny
On Wed, Nov 08, 2000 at 05:48:22PM -0500, Jason Cunliffe wrote: Evan Simpson [EMAIL PROTECTED] wrote Safe and Flexible are probably more meaningful words there ;-) ZMethod is growing though ;-) We've pretty much settled on restricted/unrestricted here. In honor of the presidential

[Zope] Newbie help - method needs auth anonymous. WHY?

2000-11-08 Thread jvoth
Howdy Folks, I'm a Zope newbie (5 days and counting). I am trying to use this method called objectList: ul dtml-in objectValues lidtml-var id/li /dtml-in /ul I've put it in the standard_html_header. When I try looking at the root page (http://john:8080) I have to provide

Re: [Zope] SiteAccess2: How do I suppress all when managing?

2000-11-08 Thread Aleksander Salwa
On Tue, 7 Nov 2000, Danny William Adair wrote: How can I suppress the URL generation in the management screens? I've seen the "Z" folder example but it didn't work for me. Everything is fine except the management interface. This example works when you leave blank all properties in your

Re: [Zope] Re: [Image-SIG] Properly integrating PIL, reportlab, and zope

2000-11-08 Thread ed colmar
Thanks for the help everyone! I'm a few steps closer to solving this one. What I'm doing is pretty much a workaround, since I can't figure out how to pass a image file directly from within the zodb. I have created a seperate field that gets passed to a localFS directory. Right now, I just

Re: [Zope] ZMethod (Safe)

2000-11-08 Thread jpenny
On Wed, Nov 08, 2000 at 06:13:54PM -0500, Evan Simpson wrote: From: Jason Cunliffe [EMAIL PROTECTED] Good news: 'ZMethod' is nice and 'sounds' good, however one says it. I agree, but then everyone around here thought that Zopelet was fairly unobjectionable, even though nobody really

Re: [Zope] XML-RPC

2000-11-08 Thread Jason Cunliffe
Hello I am missing the start of this thread, so I may be off topic, but you might want to look seriously at Flash5 for the client side programming and graphics. PROS: 1. Flash5 ActionScript is _very_ close to JavaScript 2. Flash Player/Plugin is much smaller than SVG 300Kb vs. 13Mb I think +

Re: [Zope] objectValues type?

2000-11-08 Thread Richard Lanham
Rick, I got a chance to try this out, had to fix it a little, but this was the hook I needed. Thanks. Richard - Original Message - From: "Rik Hoekstra" [EMAIL PROTECTED] To: "Richard Lanham" [EMAIL PROTECTED]; [EMAIL PROTECTED] Sent: Monday, November 06, 2000 8:59 AM Subject: Re: [Zope]

Re: [Zope] Zope Book (Error and Suggestion)

2000-11-08 Thread Michel Pelletier
The Doctor What wrote: At least I think it's an error (either in my understanding or in the book). First off, I think the books great. Finally something that's trying to explain what's going on. Zope looks so cool, but it's been hard for a hardcode PHP and Perl programmer like me to get

[Zope] test

2000-11-08 Thread Matt Burleigh
test -- Matt Burleigh Systems Administrator, Digital Creations - publishers of Zope. ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists -

[Zope] Acquisition beahviour ... static/shared vs local instance

2000-11-08 Thread Matt
This is more a philosophical question about what is the better way to organize a Zope utility. The feeling of acquisition is a nice one, and is a joy to program with, but there seems to be one scenario that troubles me a little. Am I correct in assuming that objects and their properties(if they

[Zope] zzLocale 0.0.3a uninstall bug fix

2000-11-08 Thread Yves-Eric Martin
Hello, Once installed, zzLocale 0.0.3a cannot be removed (if removed, Zope refuses to start, complaining that zzLocale cannot be found). Since 0.0.3a is an alpha release, I was not planning to write a fix to such a broken Zope. But I have been asked to, so here it is:

[Zope] can we give path of the file to be sent as an attachment

2000-11-08 Thread jacintha menezes
Hi, Thanks for your mail. I have seen the tags of sendmail mime.Kindly let me know whether we can send a file stored in the hard disk as an attachment by giving it's path. I shall send the tags , kindly modify it wherever necessary.I don't know how where actually to give the path.

Re: [Zope] Python Zope Method as option for renamed Python Method?

2000-11-08 Thread Michael Bernstein
Chris Withers wrote: Hamish Lawson wrote: Zope regards as a method a Zope Method? That would then give us Python Zope Method, Perl Zope Method, DTML Zope Method, SQL Zope Method, etc. Is it too late to add the option for Python Zope Method to the poll? All too long an unwieldy... glad

  1   2   >