[Zope-dev] Weird thing happend with Pack

2000-08-05 Thread Erik Enge
Hi. I was fiddling around with my Zope-instance, and decided to Pack the database, I had just deleted a lot of objects and the Data.fs was reported to be about 15MB large; which I knew couldn't be true. Under Control_Panel/Database I pressed the "Pack" button with "days older than" set to '0'.

[Zope] Confusing sqlvar error message

2000-08-05 Thread Dieter Maurer
Today, I analysed a confusing error message from "dtml-sqlvar". SQL query template: dtml-sqlvar "_[name]" type=string reported: "missing input variable: _[name]" Of cause, I did not expect that such an input variable

[Zope] Zope in single thread mode during DTML rendering

2000-08-05 Thread Dieter Maurer
A collegue of mine succeeded today to implement an infinite DTML loop. That happens ... However, during this loop, Zope did not respond to any request. Effectively, it was in single thread mode. Zope 2.1.6 Binary Distribution for Sparc Solaris 2.6 ZOracle DA, DCOracle, Oracle

Re: [Zope] ZCatalog attachments?

2000-08-05 Thread Dieter Maurer
Simon Coles writes: We have binary files stored in Zope, for example Word documents (but could be any of a variety of document types). We would like to be able to index and search the contents of these files using ZCatalog. So if a Word file contains the word "Fred", then any

Re: [Zope] Less than helpful traceback

2000-08-05 Thread Dieter Maurer
Spicklemire, Jerry writes: Any thoughts about how to find out what the erro message (below) means? If I could just find out what exactly is not being found, it would help alot, but there's no hint. Zope has encountered an error while publishing this resource. Resource not found

Re: [Zope] Solution Suggestions?

2000-08-05 Thread Dieter Maurer
Craig writes: ... special "Tips" objects in Zope ... It seems, this is an ideal task for a Catalog Aware ZClass. On zope.org, you will find tutorials for ZClass and ZCatalog. Dieter ___ Zope maillist - [EMAIL PROTECTED]

Re: [Zope] Python Product Tutorial

2000-08-05 Thread Erik Enge
On Fri, 4 Aug 2000, Loren Stafford wrote: I don't know of any tutorial. ZScheduler creates a container (a subclass of Catalog in fact), so you might use that code as a starting point. It doesn't put other objects in the container, tho. Thanks, but I'm really interested in how I would add

Re: [Zope] REPOST: README.txt Tab

2000-08-05 Thread Erik Enge
On Fri, 4 Aug 2000 [EMAIL PROTECTED] wrote: I'll re-ask the question: How do I get the README tab to appear in a product? In the Squishdot Product I discovered this: Readme = Document('', __name__='') Readme.__roles__ = None This one seems to add a README tab. If you have a

[Zope] Using MailHost with an SMTP server that wants authentication

2000-08-05 Thread Jean Jordaan
Hi Zopers Looking at the attributes of the dtml-sendmail tag, I don't see any way of conveying authentication data to the smtphost. Our setup here (using Exchange) requires a username/password to send. Any way of coping with this? -- Jean Jordaan --technical writer--Mosaic

[Zope] riddle me this Batman, coded copy/paste syntax?

2000-08-05 Thread Darran Edmundson
The Zope quick reference lists the following methods for the stock folder object: manage_copyObjects(self, ids, [REQUEST, RESPONSE]) manage_cutObjects(self, ids, [REQUEST]) manage_delObjects(self, [ids, REQUEST]) manage_pasteObjects(self, [cb_copy_data, REQUEST]) For the life of me

[Zope] Troubles with ZOracleDA successfully resolved

2000-08-05 Thread Pedro Vega
All the problem was an permissions issue; Pedro Vega ___ Zope maillist - [EMAIL PROTECTED] http://lists.zope.org/mailman/listinfo/zope ** No cross posts or HTML encoding! ** (Related lists - http://lists.zope.org/mailman/listinfo/zope-announce

[Zope] Python Class trickyness

2000-08-05 Thread Erik Enge
Good evening. I know how to make a Python Class, which is a container. But how do I make another Class which can only be added from the container-class I have created. Know what I mean? The last class should only show up in the "Available Objects"-list if the user is in a instance of the

[Zope] (Fwd) Re: [Zope] Pluggable brains aren't seen by first-nnn in - SOLUTION

2000-08-05 Thread Brad Clements
On 4 Aug 2000, at 22:10, Dieter Maurer wrote: Brad Clements writes: However first-eventday is ALWAYS true, however when I print dtml- eventday; the output value is always the same for each row, so first- eventday shouldn't be true on any row except the first. Almost surely, the

[Zope] DA threading issues (was: server instability: ZODB corruption?)

2000-08-05 Thread Guido A.J. Stevens
If I'm running current stable versions of Zope and Zope-MysqlDA, do I need to consider threading issues or are these safely abstracted away in the DA? "Luis Cortes" [EMAIL PROTECTED] writes: It may just be the version of Zope you have ( with regard to the Thread problem ) there exists a

[Zope] LoginManager and ZPatterns - Sparse Install Docs, Help.

2000-08-05 Thread Darin Lee
Zopistas, Maybe I'm making this harder than it needs to be. I want to set up a membership system for the site I am developing with Zope. I do not want to "restrict" any part of the site - instead I want a user to login (at their convenience) and then extend the "menu" options based on their

RE: [Zope] Zope 2.2 under Debian (Woody) broken?

2000-08-05 Thread Chris McDonough
It would seem to be broken you might want to contact the package maintainer. I think it's Glyph Lefkowitz? -Original Message- From: Pedro I. Sanchez [mailto:[EMAIL PROTECTED]] Sent: Saturday, August 05, 2000 10:39 PM To: [EMAIL PROTECTED] Subject: [Zope] Zope 2.2 under Debian

Re: [Zope] Zope 2.2 under Debian (Woody) broken?

2000-08-05 Thread Terry Kerr
Did u upgrade an existing zope instance with the new distribution, or was it a clean install? Did you install the SiteAccess product? This sounds like the error you get with an old SiteAccess object in the new zope2.2. You need to upgrade to the new SiteAccess. "Pedro I. Sanchez" wrote:

Re: [Zope] Zope 2.2 under Debian (Woody) broken?

2000-08-05 Thread Pedro I. Sanchez
Thank you for the hint. I had purged my old zope (dpkg --purge) but it seems something was still there hanging around. I did an "rm -rf /var/lib/zope /usr/lib/zope" and reinstalled zope and it worked! I then tried to install the package "zope-siteaccess" from Woody but it depends on zope (=

Re: [Zope] Zope 2.2 under Debian (Woody) broken?

2000-08-05 Thread Terry Kerr
You only need the siteaccess product if you wish to server multiple domains from one zope instance. "Pedro I. Sanchez" wrote: Thank you for the hint. I had purged my old zope (dpkg --purge) but it seems something was still there hanging around. I did an "rm -rf /var/lib/zope /usr/lib/zope"

[Zope] Sybase Thread

2000-08-05 Thread Nicholas Lo
Hi,I just wonder if anyone can help me with my problem. Recently, I've been working on creating a ZOPE product which requires periodic access to my Sybase. I have created a thread process using the Threading module. There is no problem of periodically wake up the thread and print something

Re: [Zope] Precondition

2000-08-05 Thread Martijn Pieters
On Fri, Aug 04, 2000 at 10:11:55PM -0400, R. David Murray wrote: On Fri, 4 Aug 2000, RC Compaan wrote: What does the "Precondition" property of the file class refer to? As far as I can tell from a quick scan of the source, the precondition is an object that is called just before the file