[Zope] How best to restart Zope?

2000-09-19 Thread Jason Cunliffe
Hello Q: How to make sure Zope restarts automatically it is shut down ? Zope version: Zope 2.2.0 (binary release, python 1.5.2, linux2-x86) Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] Linux2.2.5-15 RedHat6.0 (Hedwig) any ideas? tia - Jason

[Zope] sendmail

2000-09-19 Thread Jason Cunliffe
Hello Trying to automate some sendmail messages but we keep getting Error Type: error Error Value: host not found Traceback (innermost last): File /Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 222, in publish_module File /Zope-2.2.0/lib/python/ZPublisher/Publish.py, line 187, in

Re: [Zope] sendmail

2000-09-19 Thread J. Atwood
It looks like the email address you are sending (testing) to is not valid. "host not found" J At 7:10 AM -0400 9/19/2000, Jason Cunliffe wrote: Hello Trying to automate some sendmail messages but we keep getting Error Type: error Error Value: host not found Traceback (innermost last):

Re: [Zope] How best to restart Zope?

2000-09-19 Thread Jerome Alet
On Tue, 19 Sep 2000, J. Atwood wrote: Put this in your 'start' script -Z /home/local/zope/var/Z2.pid It watches the PID and if it fails will restart it. Ok, my script covered a very different problem: Zope instances were still active and running, but unable to serve requests. My

Re: [Zope] How best to restart Zope?

2000-09-19 Thread Jørgen Skogstad
Jason Cunliffe wrote: Hello Q: How to make sure Zope restarts automatically it is shut down ? Zope version: Zope 2.2.0 (binary release, python 1.5.2, linux2-x86) Python version: 1.5.2 (#10, Dec 6 1999, 12:16:27) [GCC 2.7.2.3] Linux2.2.5-15 RedHat6.0 (Hedwig) any ideas? tia -

Re: [Zope] sendmail

2000-09-19 Thread Jason Cunliffe
- Original Message - From: J. Atwood [EMAIL PROTECTED] It looks like the email address you are sending (testing) to is not valid. "host not found" That can't be right. I have tried with a couple of known working email address. ..But I notice the Python error points first to

[Zope] Re: Re(2): [Zope] Zope not starting after VaryTag install

2000-09-19 Thread Didier Georgieff
Le 18 Sep 00, à 15:49, Tino Wildenhain a écrit : I just checked with 2.1.6 (winNT) and it worked without problems. Can anybody else confirm this? Sounds like it's Varytag under Linux related. A - first step : 1 - I reinstalled a fresh 2-1-6 from the source (on Corel Linux and python from

Re: [Zope] How best to restart Zope?

2000-09-19 Thread Dimitris Andrakakis
Jørgen wrote: There is an article on www.zope.org that describes the daemontools package .. do a search on the zope website for "daemontools" .. and you should be redirected to some "lightwerk" website in germany i think.. A vote from me too, daemontools is a great tool in general -not only

[Zope] Re: How best to restart Zope?

2000-09-19 Thread Frank Tegtmeyer
But if it works, why would one ever need more than "-Z" ? For me it didn't work - maybe that the problem is gone in newer versions of Zope. That's why I run Zope under daemontools. Additional it's nice to be able to control Zope the same way like other services. Regards, Frank

[Zope] Massive FTP troubles

2000-09-19 Thread marwin98
Hello all, after solving my problem with siteroot (thanks to Evan Simpson!), I just encountered something very strange: I login with my FTP-client and after uploading a couple of gif files to port 8021, I get the following in the Z2.log: ===

Re: [Zope] Using GUF (generic user folder) under 2.2.x?

2000-09-19 Thread César A. K. Grossmann
Danny William Adair wrote: I've experienced the same problem with GUF (which is why I am desperately waiting for the LoginManager HOWTO). Everything looks fine first, but the login screen will keep reappearing. Which part of the walkthrough could be out of date, the password? ;-) I

Re: [Zope] Should I use ZODB or not ?

2000-09-19 Thread Loren Stafford
From: "Jerome Alet" [EMAIL PROTECTED] [snip] Our needs are to store hundreds, and possibly thousands of MPEG2 and MPEG4 (generally short) video movies, MP3 audio files, JPEG images, etc... [snip] I see 5 solutions: 1 - store both files and their associated datas in ZODB 2 - store files

[Zope] howto force rendering of a dtml doc

2000-09-19 Thread Ralph Heinkel
Hi, having a structure like FolderA DocA FolderB DocB I try to display DocA from within DocB using dtml-var "FolderA.DocA" which basically works, except that HTML code from DocA is not rendered but printed as plain ascii (e.g. I can see the br statements as these 4 characters). Is

[Zope] Zope 2.2.2 breaks zdiscussions

2000-09-19 Thread Júlio Dinis Silva
more specific it is a zdbase problem, and by consequence zdconfera and zdiscussions are broken. somewhere on startup: zope couldnt import Products.ZDBase ... ZDiscussions.py line 106 ... lib\python\App\class_init.py line 109 in default__class_init ... lib\python\AccessControl\Permisson.py line

[Zope] dtml-var and Null values.

2000-09-19 Thread Stuart Foster
I am trying to use the null attribute for a btml-var tag. But it doesn't seem to work. The docs say if the value is an empty string you can use something like dtml-var some_empty_value null="none" but this doesn't seem to work. Am I missing something? TIA Stuart

Re: [Zope] Zope 2.2.2 breaks zdiscussions

2000-09-19 Thread Júlio Dinis Silva
Hi, I'm using version 1.0, and here is the exact traceback from the ZDBASE Product Folder: ( yes, I recovered my copy+paste mojo :) - Traceback (innermost last): File "lib\python\OFS\Application.py", line 397, in import_products

[Zope] SQLSession Chokes on Hyphens (-), Spaces, and punctuation

2000-09-19 Thread Baker, Dennis [sjmr]
I'm using SQLSession to manage sessions on my zope site. I need to store member ID's which may or may not contain hyphens, or short sentences describing a diagnosis which usually includes one or more spaces. SQLSession accepts the item, but the next page it tries to load comes up with

Re: [Zope] Zope 2.2.2 breaks zdiscussions

2000-09-19 Thread Júlio Dinis Silva
From: "J. Atwood" [EMAIL PROTECTED] To: Júlio Dinis Silva [EMAIL PROTECTED] Subject: Re: [Zope] Zope 2.2.2 breaks zdiscussions Date: Tue, 19 Sep 2000 12:53:24 -0400 Ahh.. what version of Zope did you go from? I use zdiscussions with no problems since zope 2.0.0 to 2.2.0. I didnt test it with

[Zope] DTML call, form vars, submits

2000-09-19 Thread Dale Kiefling
Hello, Any help with the following questions appreciated: 1. I am currently calling the SQL session product with the following code: dtml-call "SESSION.set('user_id',per_cpk)" I would like to change this to include a variable, like so: dtml-call "SESSION.set('user_id',dtml-var

[Zope] Import Problems

2000-09-19 Thread Joshua Brauer
Here's another try at getting this question addressed I have 2 Zope installs. On the newer one (2.2.1) when I try to import KM Net News (to install in the products list) I get the following error. Note I previously deleted KM Net News (the earlier version) but think that Zope might have

Re: [Zope] DTML call, form vars, submits

2000-09-19 Thread Chris McDonough
Hello, Any help with the following questions appreciated: 1. I am currently calling the SQL session product with the following code: dtml-call "SESSION.set('user_id',per_cpk)" I would like to change this to include a variable, like so: dtml-call

Re: [Zope] Import Problems

2000-09-19 Thread Lalo Martins
On Tue, Sep 19, 2000 at 11:19:22AM -0600, Joshua Brauer wrote: Here's another try at getting this question addressed I have 2 Zope installs. On the newer one (2.2.1) when I try to import KM Net News (to install in the products list) I get the following error. Note I previously deleted KM

[Zope] problems with objects

2000-09-19 Thread Joaldo Junior
It forgives for my English, I am still learning we go direct to the subject: it would like to know with I I make to attribuir values of an object SQL Method for the other. Former object sql_contatos TBL_Contatos.int_id = sql_problemas TBL_Problemas.int_id very obliged

[Zope] RE: Looking for Zope vs. Others at-a-glance comparison

2000-09-19 Thread Spicklemire, Jerry
-Original Message- From: Richard Moon [mailto:[EMAIL PROTECTED]] Sent: Tuesday, September 19, 2000 11:43 AM To: Spicklemire, Jerry; [EMAIL PROTECTED] Subject: Re: Looking for Zope vs. Others at-a-glance comparison Perhaps there should be someone producing an 'approved' list of products

Re: [Zope] manage_delObjects on ZopeTime

2000-09-19 Thread Dieter Maurer
Dr. Anthony Monta writes: ... what's the DTML for making these objects auto-delete after x number of days? Zope objects are not active in its own. They must be operated on and will not auto-delete themselves after some period. You may look at Xron, a Zope product implementing a scheduler

Re: [Zope] Massive FTP troubles

2000-09-19 Thread Dieter Maurer
marwin98 writes: after solving my problem with siteroot (thanks to Evan Simpson!), I just encountered something very strange: I login with my FTP-client and after uploading a couple of gif files to port 8021, I get the following in the Z2.log:

Re: [Zope] Should I use ZODB or not ?

2000-09-19 Thread Jason Cunliffe
Hello I am curious how do you all think LocalFS would perform for such a big multimedia application.? http://www.zope.org/Members/jfarr/Products/LocalFS Use Zope for managing meta-data, or mayeb even better Zope + a fast DB tool for the metadata part. Let Zope do its holy best for the

Re: [Zope] Import Problems

2000-09-19 Thread Joshua Brauer
Unfortunately the previous version of KM Net News was broken by 2.2 :-( At 2:50 PM -0300 9/19/00, Lalo Martins wrote: On Tue, Sep 19, 2000 at 11:19:22AM -0600, Joshua Brauer wrote: Here's another try at getting this question addressed I have 2 Zope installs. On the newer one (2.2.1)

[Zope] More Import Problems

2000-09-19 Thread Joshua Brauer
As a horrid workaround for the earlier problem with Z-classes I exported all of my data, restarted Zope and am re-importing, or would like to re-import data, but some of it won't import back into the same install that it came from. I re-imported the products and then want to re-import the

[Zope] flat file db, favorite links, and zope

2000-09-19 Thread sean
Hi, I have a comma delimited file which holds favorite links info for my site and is used by Perl to display and add new ones. I want to use something Zope related but don't know Zope that well yet (don't know Perl much but enough to recycle another's script). Anyway, I have all of these

[Zope] FW: [Zope-PTK] Date Question

2000-09-19 Thread Scott Burton
This is the correct list :) -- From: Scott Burton [EMAIL PROTECTED] Date: Tue, 19 Sep 2000 14:27:46 -0700 To: [EMAIL PROTECTED] Subject: [Zope-PTK] Date Question OK, I have searched everywhere for the answer to this. It is quite simple but I can't seem to figure it out. All I want to do

Re: [Zope] can I suppress newlines/whitespace in DocumentTemplates?

2000-09-19 Thread Dennis Nichols
At 9/19/00 03:11 PM, Skip Montanaro wrote: I'd like to structure my DTML so it is vaguely readable: dtml-var "_['start'].strftime('%m/%d%y')" dtml-if "start != end"-- -dtml-var "_['end'].strftime('%m/%d%y')" /dtml-if-- This means inserting newlines and doing some

[Zope] Folderish DTML Document

2000-09-19 Thread Andy McKay
Am I totally off my head or is it possible to make a Folderish DTML Document. I had a thread on zope-dev got no response. I know Chris Withers thinks every object is a folderish one, but Im talking about using PropertyManager, ObjectManager and DTMLMethod all on one object. The main problem being

Re: [Zope] Folderish DTML Document

2000-09-19 Thread Andy McKay
Well here's my proclamation. It cant be done... you cant have a Folderish, DTMLMethod without doing any major rewrites of code. Looking at that old favorite Squishdot, it seems the postings are all just stuck in one folder and you rewrite whole bunches of bits. Im going to look at it more

[Zope] Imagemaps

2000-09-19 Thread Karl Munroe
How can I get to make image maps in zope?? ___ 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

Re: [Zope] FW: [Zope-PTK] Date Question

2000-09-19 Thread Bill Anderson
Scott Burton wrote: This is the correct list :) -- From: Scott Burton [EMAIL PROTECTED] Date: Tue, 19 Sep 2000 14:27:46 -0700 To: [EMAIL PROTECTED] Subject: [Zope-PTK] Date Question OK, I have searched everywhere for the answer to this. It is quite simple but I can't seem to

[Zope-dev] Using PropertySheets

2000-09-19 Thread Erich Seifert
Hi everbody, I've played a bit with the PropertySheets interface and I wanted to create two Stylesheets. Everything works fine, but ... * I don't get the management tabs in the propertysheet/manage method. Perhaps a permission problem? * I can't pass a default value to a tokens property. How

Re: [Zope-dev] Returning a list of names from a Python Method

2000-09-19 Thread Steve Alexander
Michael Bernstein wrote: Michael Bernstein wrote: Does anyone on the list know how to change the getUserNames Python method to return a list of names instead of a list of objects? The code in question is this: user_ids=self.UserSource.getPersistentItemIDs() names=[] for i

Re: [Zope-dev] Using PropertySheets

2000-09-19 Thread Steve Alexander
Erich Seifert wrote: * I can't pass a default value to a tokens property. How to? Can you pass in a space-separated string, such as '' or 'token1' or 'token1 token2'? * I can't pass a default value to a boolean property. How to? How are you trying to do this? You can pass in the string

Re: [Zope-dev] Using PropertySheets

2000-09-19 Thread Erich Seifert
Thanks Steve Steve Alexander wrote: Erich Seifert wrote: * I can't pass a default value to a tokens property. How to? Can you pass in a space-separated string, such as '' or 'token1' or 'token1 token2'? No I tried that. * I can't pass a default value to a boolean property.

[Zope-dev] HiperDOM xmlc

2000-09-19 Thread Spicklemire, Jerry
There are a few things I'm trying to understand about the xmlc-like Templates proposal. First : "Using specialized webdesigners with Zope project has been one of the biggest pains in Zope development; we have to take the sometimes ugly code generated by the tools they use, usually clean it up,