RE: Zope Digest, Vol 37, Issue 16
-----Original Message----- From: zope-bounces@zope.org [mailto:zope-bounces@zope.org] On Behalf Of zope-request@zope.org Sent: Monday, June 18, 2007 12:00 PM To: zope@zope.org Subject: Zope Digest, Vol 37, Issue 16 Send Zope mailing list submissions to zope@zope.org To subscribe or unsubscribe via the World Wide Web, visit http://mail.zope.org/mailman/listinfo/zope or, via email, send a message with subject or body 'help' to zope-request@zope.org You can reach the person managing the list at zope-owner@zope.org When replying, please edit your Subject line so it is more specific than "Re: Contents of Zope digest..." Today's Topics: 1. Re: Auto Cataloging my ZCatalog (kamal hamzat) 2. Re: zope stopped working suddenly (Mohammed Tlais) 3. Re: zope stopped working suddenly (Maciej Wisniowski) 4. Re: Auto Cataloging my ZCatalog (Jonathan) 5. RSS to HTML in Zope (Tom Von Lahndorff) 6. Re: security assertion needed for dictionary? (tomvon) 7. RE: security assertion needed for dictionary? (Doyon, Jean-Francois) 8. Re: RSS to HTML in Zope (Andreas Jung) 9. RE: security assertion needed for dictionary? (tomvon) ---------------------------------------------------------------------- Message: 1 Date: Sun, 17 Jun 2007 18:01:28 +0100 From: "kamal hamzat" <hamzat@dnetsystems.net> Subject: Re: [Zope] Auto Cataloging my ZCatalog To: "Jonathan" <dev101@magma.ca>, <zope@zope.org> Message-ID: <004801c7b101$275bcdc0$0200a8c0@design4> Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response ----- Original Message ----- From: "Jonathan" <dev101@magma.ca> To: "kamal hamzat" <hamzat@dnetsystems.net>; <zope@zope.org> Sent: Friday, June 15, 2007 5:58 PM Subject: Re: [Zope] Auto Cataloging my ZCatalog
----- Original Message ----- From: "kamal hamzat" <hamzat@dnetsystems.net> To: <zope@zope.org> Sent: Friday, June 15, 2007 12:51 PM Subject: [Zope] Auto Cataloging my ZCatalog
Hello,
I have a ZCatalog that my users use to catalog there news articles
which
are (DTML Documents). I have already explained it to them to always input the id for the new DTML Documents under "with ids" section on the Find
Objects tab on the ZMI to catalog new articles. But most time they will not and they end up cataloging the entire articles which runs to 13,000 records.
What i want is either to be able to display error when the "with ids" is missing on Find Objects form or to be able to automate it. For example use a python code. I am new to python but very eager to learn.
One possible approach:
- I would not allow end-users access to the ZMI.
- Have users interact with the application through a menu driven interface
- Use a series of forms to collect data, then use python scripts/external methods to create/store objects (eg. your DTML Documents) and update the ZCatalog(s).
This sound interesting, but i do not have an idea of how to use python/ external method to create/store objects. I will appreciate if you can point me to links or articles that have treated something similar. Thanks kamal ------------------------------ Message: 2 Date: Mon, 18 Jun 2007 08:18:22 +0300 From: "Mohammed Tlais" <m.tlais@gmail.com> Subject: Re: [Zope] zope stopped working suddenly To: "Maciej Wisniowski" <maciej.wisniowski@coig.katowice.pl> Cc: zope@zope.org Message-ID: <4fbde830706172218s6b11ad1cwdf8a4b44d2b4a71@mail.gmail.com> Content-Type: text/plain; charset="iso-8859-1" On 6/15/07, Maciej Wisniowski <maciej.wisniowski@coig.katowice.pl> wrote:
File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line 234, in dropPrivileges return dropPrivileges(self.cfg) File "/opt/Zope-2.10/lib/python/Zope2/Startup/__init__.py", line 403, in dropPrivileges raise ZConfig.ConfigurationError(msg) ZConfig.ConfigurationError: A user was not specified to setuid to;
fix
this to start as root (change the effective-user directive in zope.conf) /** END **/ You have answer above. To run as root you have to change effective-user at zope.conf file
I tried to change effective-user from the zope.conf.in file and saved it as zope.conf, I used the command effective-user tleis , as stated in the example of that file, but no thing changed. if anyone knows why please tell me (just curousity)
When everything was ok in the past I was able to run zope through ./zopectl start (as a root) but now the stop command displays that the daemon manager is not
open. Strange that it worked. In general I think you shouldn't run zope as root.
-- Maciej Wisniowski
I created a new user as Maciej said, and there i tried to create an instance, but I got a denied permission message. What I did finally is that I deleted the folders in both /tmp/zope and /opt/Zope-2.10 folders, and installed Zope Again and everything is working fine right now! but i still want to understand why this happened to me? Thanks for you
participants (1)
-
Mark, Jonathan (Integic)