[Zope-dev] Another caching scheme...

2000-11-08 Thread Carlos Neves
Hello, all. The reason that brings me here is to ask for the good people's cooperation. Ok, bad people can cooperate too ;) In the long hard way of creating some sort of internal cache scheme for zope, one that wouldn't depend on meta-tags and would be transparent to the developer/user, I came

Re: [Zope-dev] Another caching scheme...

2000-11-08 Thread Itamar Shtull-Trauring
Carlos Neves wrote: But that just isn't enough... though it works for a specific caching scheme, it's not a site wide, or should I say, server wide. Mindstorming with my fellow workers, one (the boss, and that's why he's the boss) came up with the magic words... cache the html on it's way

[Zope-dev] Confera status?

2000-11-08 Thread Thilo Mezger
Hi! I read something about Confera being obsolete or not working properly anymore. Is that true? I wanted to run Confera on a 2.1.6 server but I get horribly bad results (1 req/sec). Is there a solution to the performance problem? Or a replacement to Confera? I searched but couldn't find

[Zope-dev] Objects that are properties

2000-11-08 Thread Roch'e Compaan
I have a Customer and Address ZClasses based on Dataskin as well as a CustomerManager specialist. The Customer ZClass has a external method setAddress: def setAddress(self, Address) self.Address = Address CustomerManager has a defaultRack and addressRack. The methods that adds the instance

RE: [Zope-dev] JPython Product?

2000-11-08 Thread Casey Duncan
Steve: That is good to know, being a Mac fan myself. I'll have to play with and test the different browsers on the client side as well as server-side jdks. From what I have learned so far on the server end, the project seems reasonably feasible. I think the interesting part will be creating the

[Zope-dev] ZPatterns, MySQL, Full Text Searching

2000-11-08 Thread Chris Withers
Hello, I've read that ZPatterns and ZCatalog don't interact too well and I was wondering if this is also true of the new ZPatterns release. I might be looking to move something to ZPatterns so that it can get all benefits of Zope's security system and things like the Catalog, obviously if the

Re: [Zope-dev] ZPatterns, MySQL, Full Text Searching

2000-11-08 Thread Itamar Shtull-Trauring
Chris Withers wrote: I've read that ZPatterns and ZCatalog don't interact too well and I was wondering if this is also true of the new ZPatterns release. I might be looking to move something to ZPatterns so that it can get all benefits of Zope's security system and things like the Catalog,

[Zope-dev] ZPatterns: Non-ZODB storage and Racks

2000-11-08 Thread Roch'e Compaan
In Rack.py I noticed the following: a = self.loadAttrib if not a: slot = self._writeableSlot(key) slot[SelfKey] = item.aq_base# strip acquisition wrapping item._setSlot(slot) # Not needed for non-ZODB storage If item._setSlot

Re: [Zope-dev] ZPatterns, MySQL, Full Text Searching

2000-11-08 Thread Steve Spicklemire
Hi Chris, ZPatterns and ZCatalog work fine. Here is a skin script I've been using to keep a catalog up to day with DataSkins: WHEN OBJECT ADDED CALL Catalog.catalog_object(self, _.string.join(self.getPhysicalPath(),'/')) WHEN OBJECT DELETED CALL

RE: [Zope-dev] Objects that are properties

2000-11-08 Thread Roch'e Compaan
This is a known problem. Use: dtml-let itemIDs="[]" dtml-in "addressRack.getPersistentItemIDs()" sort dmtl-call "itemIDs.append(_['sequence-item'])" /dtml-in Now you have the required itemIDs in itemIDs. /dtml-in Thanks Steve and thank you Phillip for ZPatterns. I've managed to

Re: [Zope-dev] ZPatterns: Non-ZODB storage and Racks

2000-11-08 Thread Phillip J. Eby
At 06:10 PM 11/8/00 +0200, Roch'e Compaan wrote: In Rack.py I noticed the following: a = self.loadAttrib if not a: slot = self._writeableSlot(key) slot[SelfKey] = item.aq_base# strip acquisition wrapping item._setSlot(slot) #

[Zope-dev] Cache parameters

2000-11-08 Thread Andy McKay
Just wondering what kind of cache parameters people run on their Zope installation. It would seem running a high target size and maximum time between accesses would speed up those requests it can find the cache, but not cached request take longer since more RAM is used in the maintaining of the

[Zope-dev] REQUEST in id causes errors

2000-11-08 Thread Neil K
Any id with 'REQUEST' in it cannot be edited or viewed. If you don't believe me, try it out yourself. In my case, I *need* a URL named 'BIG_REQUESTS.html' -- it's a Zope-based mirror of content from somewhere else. This fixes it: /lib/python/ZPublisher/BaseRequest.py: 243c243 if

Re: [Zope-dev] ZPatterns: Non-ZODB storage and Racks

2000-11-08 Thread Roch'e Compaan
I'm not sure I understand your question. If you don't have something special you want to do by subclassing Rack, then the answer would be "no". :) You do answer my question below. I was wondering if this line would not cause an object to be stored in the ZODB by default. The comment

RE: [Zope-dev] REQUEST in id causes errors

2000-11-08 Thread Neil K
D'oh. The diff I posted was backwards. I assume you all got the general idea. With more context: *** C:\Documents and Settings\neilk\My Documents\BaseRequest-old.py Wed Nov 08 12:21:32 2000 --- lib\python\ZPublisher\BaseRequest.pyWed Nov 08 12:22:05 2000 *** *** 242,244

[Zope-dev] Re: Problems with LoginManager 0.8.8b1

2000-11-08 Thread Phillip J. Eby
Jeff, The behavior is exactly the same with a "plain" Zope User Folder. It also has nothing to do with acquisition, at least not in the way you think. The problem is that a user who is defined in a subfolder is *not* granted roles to any folder above them. This means that they have no access

RE: [Zope-dev] JPython Product?

2000-11-08 Thread Bjorn Stabell
Somehow I think the other way around would be even more interesting: a Java application server accessing Zope (Jope?). The platform market is really tough, and competing with Java isn't easy. If you can't beat them, join them... I guess there are millions of reasons why it can't be done,

RE: [Zope-dev] ZPatterns: Non-ZODB storage and Racks

2000-11-08 Thread Roch'e Compaan
It's determined by the radio button setting on the Storage tab. If you neglected to set it to "loaded by accessing attribute " and fill in the blank, then your objects have been stored in the ZODB, as well as in the RDBMS. Thanks. I set "loaded by accessing attribute" to the

[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

  1   2   >