Re: [Zope] ZEO troubles on RedHat EL4 Linux

2005-08-18 Thread Jens Vagelpohl
On 18 Aug 2005, at 11:00, Andreas Krasa // WUW wrote: As I understood Dieter's mail, this strange behavior is caused by the way RedHat Enterprise Linux 4 system libraries handle SIG_IGN/SIGCHLD. That makes me wonder why it does not happen on my CentOS 4 box. CentOS 4 is compiled from RHEL4 S

Re: [Zope] ZEO troubles on RedHat EL4 Linux

2005-08-18 Thread Jens Vagelpohl
On 18 Aug 2005, at 07:50, Andreas Krasa // WUW wrote: Is that worth submitting a bug to RedHat? Or is ist more like a "feature"? ;) Why would RedHat care? They will just throw it back at you and say "sorry, Zope is not one of our supported packages". By the way, I hope you are not running

Re: [Zope] ZEO troubles on RedHat EL4 Linux

2005-08-16 Thread Jens Vagelpohl
On 16 Aug 2005, at 17:42, Andreas Krasa // WUW wrote: Our system is a Intel Xeon 3 GHz Dual-CPU with 2.5 GB RAM running RedHat Enterprise Linux 4 (SElinux disabled). I just downloaded and ran all tests for Zope 2.7.7 on one of my boxes, a CentOS 4 install (same as RHEL 4) with all the latest

Re: [Zope] ZEO troubles on RedHat EL4 Linux

2005-08-16 Thread Jens Vagelpohl
During the Zope 2.7.7 compilation works - however most of the time "make test" returns a random number of errors (somewhere between 20 and 30) ALL related to ZEO. Maybe someone can help if you actually *tell us* what these errors are. At least my own crystal ball is in the shop for repairs r

[Zope] Re: ZDatabaseTool - does this still exist?

2005-08-11 Thread Jens Vagelpohl
On 11 Aug 2005, at 15:15, michael nt milne wrote: Whether you call them objects or fields it's still clear what I want to do and there's no easy way to do it. Surprised someone hasn't developed a product tn do this. I'm looking at CMFMember and perhaps it will fit the bill. Maybe I'm too den

[Zope] Re: ZDatabaseTool - does this still exist?

2005-08-11 Thread Jens Vagelpohl
On 11 Aug 2005, at 15:01, michael nt milne wrote: Hi I've already made it clear in this thread exactly what I want to do! It doesn't to be a relational db to be able to easily add fields.The database browser tools in the ZMI are ok but basic. No you haven't. First of all, the application you p

Re: [Zope] Re: ZDatabaseTool - does this still exist?

2005-08-11 Thread Jens Vagelpohl
On 11 Aug 2005, at 10:31, michael nt milne wrote: I'm looking for a phpmyadmin type tool for managing the ZODB.The control panel view in zope doesn't let you do anything apart from the basics. Obviously I could use python to access the db but looking for something easier. What exactly do you

Re: [Zope] BTree Folders questions

2005-08-11 Thread Jens Vagelpohl
I am using CMF 1.5.2 and Zope 2.8.0 - will upgrading again this week to 1.5.3 and 2.8.1 I removed my BTreeFolder2 product as it was indicating it was duplicated product in my event log after my recent upgrade - so it appears to have become part of the distribution. It is part of 2.8, ye

Re: [Zope] BTree Folders questions

2005-08-10 Thread Jens Vagelpohl
On 10 Aug 2005, at 21:57, David Pratt wrote: How many objects should one have in a single folder to consider using BTree Folder over the regular Folder? Does it make sense to use a BTree folder for 100 - 500 objects or should it be reserved for situations where there are say 1000 + object

Re: [Zope] How to set an object's last modification time

2005-08-09 Thread Jens Vagelpohl
On 9 Aug 2005, at 04:14, Gabriel Genellina wrote: Maybe I should not be playing with _p_serial, but how can I set the object's last modification time? I want it to be in sync with an external representation (stored in CVS). Set your very own attribute on the object that holds the modifica

[Zope] CMF 1.5.3 released

2005-08-07 Thread Jens Vagelpohl
ectors/CMF is ths place to report bugs (please search for existing reports of your issue first!) - Jens Vagelpohl [EMAIL PROTECTED] ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No cross posts or HTML

[Zope] CMF 1.5.3-beta released

2005-08-02 Thread Jens Vagelpohl
e active in supporting the CMF. ...to report bugs? The "CMF Collector":http://zope.org/Collectors/CMF is the place to report bugs (please search for existing reports of your issue first!) - Jens Vagelpohl [EMAIL PROTECTED] _

Re: [Zope] configurating Zopes for merged logs

2005-08-01 Thread Jens Vagelpohl
Exactly what I was planning to do. The docs themselves indicate they are incomplete. Is there any documentation beyond that supplied with the distribution. (I have read the "logging" docs and PEP 282.) Not sure what you *need* in terms of documentation. There are only a couple parameters,

Re: [Zope] configurating Zopes for merged logs

2005-08-01 Thread Jens Vagelpohl
Zope 2.7.6 with ZEO Python 2.4.1 I would like to configure for a single merged log. If BE is the backend machine running ZEO and FEA FEB and FEC are various front-ends for the ZEO, what's the configuration supposed to look like to get a merged log collected on the machine on which ZEO runs.

Re: [Zope] Question about zserver-threads.

2005-07-29 Thread Jens Vagelpohl
On 29 Jul 2005, at 10:43, Pascal Peregrina wrote: If I have an http-server, ftp-server and webdqv-source-server and if my global zserver-threads param is set to 10, does it mean : a)The the max number of http-server + ftp-server + webdav-source- server threads will be 10 ? b)The max number o

Re: [Zope] 2 Zope instances on a 2 CPU linux server

2005-07-28 Thread Jens Vagelpohl
On 28 Jul 2005, at 14:11, Pascal Peregrina wrote: Hi, I would like to know what if using taskset (CPU affinity utility on linux) to bind each Zope instance to one single CPU can improve overall performance of both instances in any way ? As far a I know, python can not fully take advantag

Re: [Zope] zoperun vs start and ssh

2005-07-23 Thread Jens Vagelpohl
On 23 Jul 2005, at 20:48, bobb wrote: you can also run start as a param... ./zopectl start & With zopectl the "&" is unnecessary. It does all the right things to go into the background and detach from the terminal by itself without the ampersand. jens __

Re: [Zope] Searching Content Objects in Zope 3

2005-07-23 Thread Jens Vagelpohl
On 23 Jul 2005, at 19:01, Jim Vine wrote: As recommended on this list I opted for Zope 3 to build my app, and I'm finding it quite powerful. However, I've hit a bit of a brick wall around searching. In case you don't get help here, you should subscribe to the specific Zope 3 list and ask the

Re: [Zope] zoperun vs start and ssh

2005-07-23 Thread Jens Vagelpohl
On 23 Jul 2005, at 18:46, virgil huston wrote: This may be a stupid question, but, after searching the archives to find out how to keep Zope running after starting and then disconnecting from a remote ssh session, nothing works. First, the Zope manual and all the archives messages talk about u

[Zope] Re: Getting a methods parent (in a product)

2005-07-23 Thread Jens Vagelpohl
On 23 Jul 2005, at 16:12, Peter Bengtsson wrote: from Acquisition import aq_inner, aq_parent parent = aq_parent(aq_inner(self)) This will return the true container the instance is set in, not just the acquisition parent. What's so bad about parent = self.aq_parent Two things: - simply us

Re: [Zope] Different IPs, one zope instance

2005-07-22 Thread Jens Vagelpohl
On 22 Jul 2005, at 21:16, Remy Pinsonnault wrote: Hello everyone, We a have a server with 5 differents IPs. How would it be possible to specify one IP (only one out of 5) to the Zope server? Yes. See the "servers" directive in zope.conf, which documents all this very well. jens __

Re: [Zope] FSZSQLMethod.py refactory

2005-07-22 Thread Jens Vagelpohl
I only wait that someone test my reimplementation of parser and says me it's really insignificant. I would like at least not to have that trash (...) in the body of the method. As far as the CMF goes, IMHO it doesn't make much sense to put code into the repository just because one person

Re: [Zope] Getting a methods parent (in a product)

2005-07-22 Thread Jens Vagelpohl
On 22 Jul 2005, at 18:48, Jan-Ole Esleben wrote: Hi! How can I get a Product instance's _actual_ parent when one of its methods is called? (In other ways: how can I find out, from an instance, where that instance is located without falling prey to acquisition in Zope 2?) from Acquisition imp

Re: [Zope] FSZSQLMethod.py refactory

2005-07-22 Thread Jens Vagelpohl
On 22 Jul 2005, at 17:17, Jean Rodrigo Ferri wrote: Jens Vagelpohl wrote: It does work. How? Give me an example! Take a look at the unit tests which exercise the FSZSQL code, there is a sample one that is part of the fake skins directory used by the CMFCore unit tests: http

Re: [Zope] FSZSQLMethod.py refactory

2005-07-22 Thread Jens Vagelpohl
On 22 Jul 2005, at 14:31, Jean Rodrigo Ferri wrote: So, the entire data information is submited in template, or either, the body of zsql method receives tags and the arguments list too. I don't know how can it work!? It does work. In the top of template has a comment: """ (not yet) Cus

Re: [Zope] manage_changeProperties quirk?

2005-07-22 Thread Jens Vagelpohl
On 22 Jul 2005, at 11:04, Joe Bezier wrote: So I tried pretty much everything - checking all sorts of permissions and other stuff, but eventually made a copy of the folder, to make sure it wasn't something peculiar with the folder name - the copy worked perfectly. So, I then replaced the or

Re: [Zope] FSZSQLMethod.py refactory

2005-07-21 Thread Jens Vagelpohl
I did a refactory in the FSZSQLMethod.py module of CMFCore from SVN. I want to use my ZSQLs from the filesystem and I improved the module to better support to this feature. First of all, CMF-related items are better discussed on the zope- [EMAIL PROTECTED] list. Can you explain how your ch

Re: [Zope] Re: emergency user account does not work

2005-07-21 Thread Jens Vagelpohl
On 21 Jul 2005, at 20:44, Tim Suter wrote: The emergency user account will not work. I have tried deleting and creating it no with no domain restrictions. Outside of that, I don't know what to do. The LDAPUserFolder IS at the root folder of the ZMI. Could that be hanging it up? No. The LDA

[Zope] [ATTN]: CMF and related packages moved to svn.zope.org

2005-07-17 Thread Jens Vagelpohl
Hi everyone, I just finished migrating the CMF and related projects from cvs.zope.org to svn.zope.org, from CVS to Subversion. All tags and branches have moved, unlike Zope itself there won't be some development using CVS and some using Subversion. These are the packages: - CMF - CMF_Hotf

Re: [Zope] Re: How to upload a file and save it in a physical path

2005-07-17 Thread Jens Vagelpohl
On 17 Jul 2005, at 11:27, Peter Bengtsson wrote: Why use Blob when there's ExtFile? I don't understand the difference. Did you follow the link and read the description? For one, Blob also hooks into the Zope transaction machinery, to maintain transactional integrity. I doubt ExtFile does.

[Zope] CMF 1.5.2 Released

2005-07-17 Thread Jens Vagelpohl
eport bugs (please search for existing reports of your issue first!) --- Jens Vagelpohl[EMAIL PROTECTED] Zetwork GmbHhttp://www.zetwork.com/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/

Re: [Zope] LDAPUSerFolder permission problem

2005-07-15 Thread Jens Vagelpohl
On 14 Jul 2005, at 02:53, Nicholas Watmough wrote: I'm not sure what you mean by a 'wrapped' user. What causes a user to have a wrapper in Zope? I am getting the 'other' user via the following code: user = context.acl_users.getUserById(username) Will this cause the user to be returned with

Re: [Zope] How to create Version Object

2005-07-12 Thread Jens Vagelpohl
On 12 Jul 2005, at 19:57, Charlene wrote: Except in the documentation. Which made it even more confusing. I guess I'll skip this chapter of the book. Books about fast-evolving software always carry the big risk of becoming at least partially obsolete quickly. Not much one can do about

Re: [Zope] How to create Version Object

2005-07-12 Thread Jens Vagelpohl
On 12 Jul 2005, at 15:28, Charlene wrote: I'm using the book The Book of Zope: How to Build and Deliver Web Applications to learn Zope. I'm on the chapter on Versions. Neither the book nor Zope documentation explains exactly how to create a version. That's probably your luck. They are d

Re: [Zope] LDAPUSerFolder permission problem

2005-07-12 Thread Jens Vagelpohl
On 12 Jul 2005, at 14:03, Nicholas Watmough wrote: I'm trying to access the getProperty() method of the LDAPUser class in a Python script, in order to access the Active Directory email address of the user. There is no problem with this, if I use the method on the current active user. How

Re: [Zope] security for ZPT-based Product

2005-07-11 Thread Jens Vagelpohl
On 11 Jul 2005, at 17:41, Andreas Pakulat wrote: add a security.declareProtected('comment_add_form', '') Where the second string would be one of the rights listed on the security tab with in the ZMI. If that right is granted to the authenticated user only, you have your access restrictions. I

Re: [Zope] ldap authentication with apache or LDAPUserFolder?

2005-07-11 Thread Jens Vagelpohl
On 11 Jul 2005, at 17:00, Tim Suter wrote: As some of you know, I am working on an installation of Zope/Zwiki. What I have inherited is a 2.5.1 Zope/Zwiki on a Debian box. I am wanting to move the data from the 2.5.1 to a 2.8. But here's the situation. Why don't you just *try* different c

[Zope] CMF 1.5.2beta released

2005-07-09 Thread Jens Vagelpohl
Zope Corporation is pleased to announce the release of version 1.5.2beta2 of the Zope Content Management Framework (CMF). This release is intended for testing purposes only; we do not recommend deploying it to production servers. The final release of version 1.5.2 is expected mid-July 200

Re: [Zope] Pluggable Auth Service ... how is it used?

2005-07-07 Thread Jens Vagelpohl
On 7 Jul 2005, at 06:41, Richard Jones wrote: I'd like to get session-based login going, and on the surface PAS appears to support that. First up, is there any documentation? I've set up in my PAS "acl_users" the following objects: 1. "cookies" - a Cookie Auth Helper active for Challenge

Re: [Zope] LDAPUserFolder OLD and Zope 2.5.1 migration to LDAPUserFolder 2.5 and Zope 2.8

2005-07-05 Thread Jens Vagelpohl
On 5 Jul 2005, at 18:42, Tim Suter wrote: - Log into a 2.5.1-based instance as the emergency user (-> see doc/ SECURITY.txt in your 2.5.1 Zope installation about how to create one) I can't do this part because I was left with no info in regards to what the credentials are as the emergency us

Re: [Zope] Re: Re: zopectl debug, 2.8.0 local zeo, Data.fs.lock file locking error

2005-07-05 Thread Jens Vagelpohl
On 5 Jul 2005, at 12:55, Jens Vagelpohl wrote: Umh, that's incorrect. zopectl debug has nothing to do with debug breakpoints or pdb. And you can run it right alongside your running Zope instance. All it does is present you with a Python prompt where the root object is bound to

Re: [Zope] Re: Re: zopectl debug, 2.8.0 local zeo, Data.fs.lock file locking error

2005-07-05 Thread Jens Vagelpohl
On 5 Jul 2005, at 12:20, Florent Guillaume wrote: Running zopectl debug runs your normal instance with additional debug breakpoints and pdb started. So in the same way that you cannot start the same instance twice, you cannot start your instance and a zopectl debug at the same time. Umh, that

Re: [Zope] Apache 2 + Zope can't gzip HTTP response body?

2005-07-04 Thread Jens Vagelpohl
On 4 Jul 2005, at 01:26, Daniel Dekany wrote: Thanks! Just on more thing... According to http://sourceforge.net/mailarchive/forum.php? thread_id=7393296&forum_id=12354 the gzip compression was enabled by default in Plone 2.0.x (only from 2.0.4 I guess), but will be disabled in 2.1. If it is tr

Re: [Zope] blacklisting referers and/or specific hosts

2005-07-03 Thread Jens Vagelpohl
On 3 Jul 2005, at 20:05, Tim Hicks wrote: So, I'm wondering if there's a way to blacklist those clients that I don't like based on host/ip and/or on referer. If there is a set of distinguishable IPs/hosts, then use a tool that was *made* for that purpose such as a firewalling/filtering too

Re: [Zope] Breadcrumb dilemma

2005-06-28 Thread Jens Vagelpohl
On 28 Jun 2005, at 23:50, Adamo, Steven wrote: However, the breadcrumb trail will only display "you are here: home". I simply cannot figure out what I haven't included (or what I "killed" when I created my new skin) that will make the breadcrumb pick up the new folder (you are here: home > co

[Zope] CMF 1.5.2beta released

2005-06-28 Thread Jens Vagelpohl
Zope Corporation is pleased to announce the release of version 1.5.2beta of the Zope Content Management Framework (CMF). This release is intended for testing purposes only; we do not recommend deploying it to production servers. The final release of version 1.5.2 is expected mid-July 2005

Re: [Zope] 2.5.1 to 2.8.0

2005-06-27 Thread Jens Vagelpohl
On 27 Jun 2005, at 22:27, Tim Suter wrote: We don't want to use LDAPUserFolder for authentication. The preferred method of authentication is against an authzldap enabled apache. Or when authenticating, is it necessary to add the LDAPUserFolder? Which, this might explain why when attempting

Re: [Zope] 2.5.1 to 2.8.0

2005-06-27 Thread Jens Vagelpohl
On 27 Jun 2005, at 21:30, Paul Winkler wrote: 2005-06-27T13:06:58 WARNING ZODB Could not import class 'SimpleLog' from module 'Products.LDAPUserFolder.SimpleLog' It's pretty clear that Zope is having a major problem with LDAPUserFolder. Possibly you have an old version of LDAPUserFolder t

Re: [Zope] Removing old FileStorage backups from repozo

2005-06-27 Thread Jens Vagelpohl
On 27 Jun 2005, at 14:00, Felix Ulrich-Oltean wrote: Can I just go in and delete files older than X days from the backup directory, or will this upset repozo, which apparently keeps info about its backup files in the .dat file? You can safely delete all files older than your last *full backup*

Re: [Zope] ZPT tutorial

2005-06-21 Thread Jens Vagelpohl
On 21 Jun 2005, at 23:23, Tamas Hegedus wrote: Hi, In addition, Zope is heading fast into even less friendly territory. DTML, which is technically 'mucky' but reasonably easy to grasp for non-programmers, > is increasingly deprecated. I just started to learn Zope recently. I choose dt

Re: [Zope] developing with zmi: how to move a patch from data from devel to live?

2005-06-20 Thread Jens Vagelpohl
On 20 Jun 2005, at 10:16, gabor wrote: well, or let me ask the question a different way: if i should not use the ZMI, then why is it there? The ZMI is great for maintenance tasks, but not great for software development. You already ran into the first issue, replicating changes to other mac

Re: [Zope] developing with zmi: how to move a patch from data from devel to live?

2005-06-20 Thread Jens Vagelpohl
On 20 Jun 2005, at 07:35, gabor wrote: now you create the fix/improvement on the devel server. but now how do you move the improvement/fix to the live server? you cannot just copy the data.fs over. the customer already has some content/data in it... one way seems to be to not use the ZMI a

Re: [Zope] Reloading iframes with DTML

2005-06-08 Thread Jens Vagelpohl
On 8 Jun 2005, at 07:47, Wim Bekker wrote: Hi, Suppose I have two iframes in a DTML document. If I submit a form in one iframe and reload this iframe, I want to also reload the other iframe. This can be done with javascript. Is there a way to do this with DTML or python? You're confusi

Re: [Zope] Uploading files

2005-06-04 Thread Jens Vagelpohl
On 3 Jun 2005, at 18:09, Nikko Wolf wrote: In my python script I use: filedata = container.REQUEST.file.read() then merge this data into a MIME submission for the external web site, and on success, save it locally as a "file". My question is -- aside from memory usage, what problems might

Re: [Zope] LDAPUserFolder at Zope root

2005-05-28 Thread Jens Vagelpohl
On May 27, 2005, at 19:29, J Cameron Cooper wrote: Do not do that. You don't want to get locked out of your Zope because of LDAP problems. The emergency user always works. You can't lock yourself out due to LDAP problems. If anyone sees a symptom like that on the current LDAPUserFolder

Re: [Zope] LDAPUserFolder at Zope root

2005-05-27 Thread Jens Vagelpohl
On May 26, 2005, at 22:34, J Cameron Cooper wrote: Oscar Figueiredo wrote: this might be trivial but I just can't find a way to do it. How does one replace the initial UserFolder at Zope root with a LDAPUSerFolder ? I tried the dummy way : delete the acl_users with an intent to instan

Re: [Zope] dollars-and-cents display fails

2005-05-12 Thread Jens Vagelpohl
On May 13, 2005, at 03:21, Greg Fischer wrote: Thanks Andy. I do have those versions. But Python is 2.3.5 because I didnt want to move to 2.4.x as I think I read something in the README for Zope stating it was not tested for compatibility. (right?) Yes, that is correct. Do not use it if you expec

Re: [Zope] custom_zodb.py and Control_Panel

2005-05-12 Thread Jens Vagelpohl
On May 12, 2005, at 21:45, Chris Withers wrote: Jens Vagelpohl wrote: I suppose it could be argued that custom_zodb.py should simply not be read in any longer, or throw big fat warnings. Why wouldn't it still work fine, apart from some minor Control Panel barfage? You will agree that

Re: [Zope] Export/import preserving bobobase_modification_time?

2005-05-12 Thread Jens Vagelpohl
On May 12, 2005, at 12:28, Marcin Kasperski wrote: Is it possible to somehow export data from Zope instance and import into another one preserving somehow bobobase_modification_time info? No it is not. If you need a time value to store a time you are interested in you should create and maintain i

Re: [Zope] what are the dtml for logout and deleting a existing user??

2005-05-11 Thread Jens Vagelpohl
On May 11, 2005, at 22:32, Andreas Pakulat wrote: That's not necessary, look at the ZMI, there is a logout option in the dropdown box. I never digged into "zmi_logout" (IIRC it has that name) but I think it is not accessible by _any_ Zope-User even not the Emergency User, so regardless of what you

Re: [Zope] LDAPUserFolder and roles/groups assignment Problem

2005-05-11 Thread Jens Vagelpohl
On May 11, 2005, at 11:21, Bernard Lange wrote: Traceback (innermost last): * Module ZPublisher.Publish, line 101, in publish * Module ZPublisher.mapply, line 88, in mapply * Module ZPublisher.Publish, line 39, in call_object * Module Products.GroupUserFolder.GroupUserFolder, line 1

Re: [Zope] Hiding HTML URL

2005-05-09 Thread Jens Vagelpohl
On May 10, 2005, at 00:48, J Cameron Cooper wrote: But please note, this is very hostile web design. I would suggest you re-think your need for such a "feature". "Hostile" is an excellent word for that kind of behavior. It certainly breaks quite a few rules in the "user friendliness" book. So

Re: [Zope] Access log

2005-05-09 Thread Jens Vagelpohl
On May 9, 2005, at 20:17, Luiz Fernando B. Ribeiro wrote: Hi all, I am hosting several virtual hosts and I need to provide access log reports (like awstats) for my clients. I would like to know if any of the following alternatives is possible: 1. Is it possible to have diferent access log file

Re: [Zope] Zope stops responding on hpux

2005-05-07 Thread Jens Vagelpohl
On May 7, 2005, at 23:45 , Samuel Bieri wrote: Dear list-members I am desperately trying to get our zope application run on hpux, and any help is greatly appreciated. I have the following problem: I know this isn't really helpful, but when it comes to exotic operating systems like HP-UX you mig

Re: [Zope] Is it possible to extend Zopes WebDAV authentication?

2005-05-07 Thread Jens Vagelpohl
On May 6, 2005, at 23:52 , mark hellewell wrote: On 5/6/05, Tino Wildenhain <[EMAIL PROTECTED]> wrote: Actually, it does not. You have no such thing like a session when all you have is webdav. I dont know if many dav-clients store cookies too - it may depend on your usecase. Yes the use-case is Win

Re: [Zope] Password Protection

2005-05-06 Thread Jens Vagelpohl
On May 6, 2005, at 2:23 , Phil Beardmore wrote: Hi Guys, still cant get it to work. Is it okay to have multiple ACL_users folders? Basdically I want to grant access to Folder A to all users in one tree of our LDAP server, then grant access to Folder B to all users in another Tree. I can ge

Re: [Zope] Password Protection

2005-05-06 Thread Jens Vagelpohl
On May 6, 2005, at 1:26 , Andrew Milton wrote: | > There is nothing you set up to make Zope "use" a user folder. It will | > automatically be consulted. | | As long as the object has an id of "acl_users". And the containing folder has __allow_groups__ attribute set to that user folder. In fa

Re: [Zope] Password Protection

2005-05-06 Thread Jens Vagelpohl
On May 6, 2005, at 1:24 , Andreas Pakulat wrote: There is nothing you set up to make Zope "use" a user folder. It will automatically be consulted. As long as the object has an id of "acl_users". Umh, no. First of all, all user folders have that ID. If not, they are not user folders. Secondly, th

Re: [Zope] Password Protection

2005-05-06 Thread Jens Vagelpohl
On May 6, 2005, at 12:08 , Phil Beardmore wrote: This may be a really simple thing to do (but I'm a bit stuck and searched the web but found no answers). I have a Plone site working great. I have a folder which I wish to password protect (and all of the data in the folder). Thing is, I wan

Re: [Zope] custom_zodb.py and Control_Panel

2005-05-02 Thread Jens Vagelpohl
On May 2, 2005, at 14:49, Jim Abramson wrote: v2.7.4 running on Linux - I'm trying to use this (custom_zodb.py in INSTANCE_HOME) custom_zodb.py is no longer used for Zope 2.7.x. You define databases in zope.conf. Ah, OK thanks. Is it for the collector that, aside from messing up the ZMI a bit,

Re: [Zope] custom_zodb.py and Control_Panel

2005-04-30 Thread Jens Vagelpohl
On Apr 29, 2005, at 20:32, Jim Abramson wrote: v2.7.4 running on Linux - I'm trying to use this (custom_zodb.py in INSTANCE_HOME) custom_zodb.py is no longer used for Zope 2.7.x. You define databases in zope.conf. jens ___ Zope maillist - Zope@zope.o

Re: [Zope] high loads, more threads, spinning wheels

2005-04-30 Thread Jens Vagelpohl
Can this be taken to mean that: - the practical maximum number of threads to run your single (non-ZEO) zope instance is {number of zodb connections in pool} else you risk deadlock No, there should be more connections than threads, just as in the original configuration. if yes, would upping the n

Re: [Zope] high loads, more threads, spinning wheels

2005-04-25 Thread Jens Vagelpohl
On Apr 25, 2005, at 17:46, Tim Middleton wrote: I've been doing some simple load tests on a zope application, and I've found when i increase the zserver-threads in zope.conf very much the zope server goes into some sort of cycle where it eats 100% cpu and refuses to any future requests until res

[Zope] CMF 1.5.1 Released

2005-04-24 Thread Jens Vagelpohl
eport bugs (please search for existing reports of your issue first!) --- Jens Vagelpohl [EMAIL PROTECTED] Zetwork GmbHhttp://www.zetwork.com/ ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/

Re: [Zope] ldap

2005-04-22 Thread Jens Vagelpohl
On Apr 22, 2005, at 13:32, Fabio Marcone wrote: I don't know I install it using debian Sarge package. but exists documentation about it? or exist another similar product? I need to access and modify a ldap directory from zope. Do you think I have to do it from python? If you are not seeking us

Re: [Zope] ldap

2005-04-22 Thread Jens Vagelpohl
On Apr 22, 2005, at 13:52, David wrote: I think I read that some people have successfully used exUserFolder (XUF) for linking Zope and LDAP users. Go to: http://sourceforge.net/search/index.php? type_of_search=mlists&group_id=36318&forum_id=190 And search on LDAP. Andrew Milton (author of XU

Re: [Zope] ldap

2005-04-22 Thread Jens Vagelpohl
On Apr 22, 2005, at 15:32, Thierry FLORAC wrote: I actually use the LDAPUserFolder (release 1.6) product with Zope-2.6.1. I plan to upgrade to Zope-2.7.x in a few months. Is this product always maintained and functional with Zope-2.7 ? ZopeLDAP != LDAPUserFolder LDAPUserFolder has no connection

Re: [Zope] ldap

2005-04-22 Thread Jens Vagelpohl
On Apr 22, 2005, at 11:38, Fabio Marcone wrote: Hi! I'm looking for a zope-ldap howto. In particular I need to use a ldap connection in a zpt and I set Connection and Filter LDAP correctly (in test page) but not in a zpt (I have a key error on ldap filter) Anyone can help me? If you are talking s

Re: [Zope] repozo over nfs?

2005-04-21 Thread Jens Vagelpohl
On Apr 21, 2005, at 13:16, Sascha Ottolski wrote: What bothers me, however, is the fact, that the backup process is real hit on the overall performance (espacially . The server in question has a RAID-5 setup, storing the backups on the same array as it reads the Data.fs from. Obviously, this kee

Re: [Zope] Both tal:on-error and error_log?

2005-04-18 Thread Jens Vagelpohl
On Apr 18, 2005, at 20:51, Kirk Strauser wrote: On Monday 18 April 2005 13:35, Jens Vagelpohl wrote: I don't think that's possible. But you can test that very easily for yourself by putting code inside the on-error that provokes an error. I guess I should've prefaced my question b

Re: [Zope] Both tal:on-error and error_log?

2005-04-18 Thread Jens Vagelpohl
On Apr 18, 2005, at 20:20, Kirk Strauser wrote: Can I use a tal:on-error attribute in a page template to provide a user-friendly explanation of an exception while still recording the occurrence of that exception to error_log? I don't think that's possible. But you can test that very easily for you

[Zope] CMF 1.5.1beta2 Released

2005-04-17 Thread Jens Vagelpohl
ing the CMF. ...to report bugs? The "CMF Collector":http://zope.org/Collectors/CMF is ths place to report bugs (please search for existing reports of your issue first!) --- Jens Vagelpohl [EMAIL PROTECTED] Zetwork GmbHhttp:/

Re: [Zope] Subfolders of Extensions folder

2005-04-15 Thread Jens Vagelpohl
On Apr 15, 2005, at 12:40, Vital Lobachevsky wrote: Hi, all! Can I use the folders in Zope's "Extensions" folder to keep the External Methods in more logical way? No, I think they all need to be at the toplevel directory. If you have too many external methods you should be writing a Python Zope p

Re: [Zope] Session without cookies.

2005-04-11 Thread Jens Vagelpohl
On Apr 12, 2005, at 1:02, Fernando Lujan wrote: The URL "test1" in the form tag is obviously *not* generated by Zope. You put it in there manually. So it cannot work as you expect. Hum, I see. Just web pages that aren't dinamically generated by Zope. For instance, other DTML document will not kee

Re: [Zope] Session without cookies.

2005-04-11 Thread Jens Vagelpohl
On Apr 11, 2005, at 23:47, Fernando Lujan wrote: Note that it says "Zope-generated" URLs. URLs that are not generated by Zope will not be encoded. The URL is generated by Zope. It's a simple code. I create two dtml documents with the following code. 1)test The URL "test1" in the form tag

Re: [Zope] symbols undefined after product refresh?

2005-04-08 Thread Jens Vagelpohl
On Apr 8, 2005, at 15:20, Jürgen Herrmann wrote: hi! after reloading my own products through the zmi it seems like some classes and methods gets undefined. please see the following traceback: Refresh is *not* the panacea to avoid all restarts. If things get funky, restart. Simple as that. jens __

Re: [Zope] Re: login page problem

2005-04-06 Thread Jens Vagelpohl
On Apr 6, 2005, at 0:52, Chris Withers wrote: Dieter Maurer wrote: exUserFolder has built in caching (positive and negative caches), Dunno what that means, but SUF supports caching via standard RAMCacheManagers or ZSQL method caching. "negative" caching means that there is a separate cache to cach

Re: [Zope] Does anyone care whether we deprecate ZClasses?

2005-04-06 Thread Jens Vagelpohl
On Apr 6, 2005, at 6:59, Andreas Jung wrote: --On Dienstag, 5. April 2005 16:38 Uhr -0400 Jake <[EMAIL PROTECTED]> wrote: And that is probably the best arguement for keeping them around longer. We should get to the point: if some people depend on ZClasses then they should take over some respon

Re: [Zope] basic &dtml syntax question

2001-01-30 Thread Jens Vagelpohl
jason, this is called 'entity notation'. the semicolon is a standard part of it. another example of an item in entity notation would be to replace "<" with < or the often abused blank space   this entity notation is a general HTML thing, it's not zope-specific. jens on 1/30/01 17:49, Jason

Re: [Zope] ANNOUNCE: please have a look at ZDatabaseTool

2001-01-29 Thread Jens Vagelpohl
here's a result from the "other side of the fence": it works just fine using IE5 on macOS 9.1 :) jens Jens Vagelpohl[EMAIL PROTECTED] Software Engineer www.digicool.com Digital Creations (888) 344-4332 Got Zope? on 1/29/01 12:24, Andreas H

Re: [Zope] Zope 2.3.0 beta 1 comments

2001-01-17 Thread Jens Vagelpohl
i had the intermittent "browser displays the CSS text and not the real page" in another situation go away by expressly setting the content type in the linked CSS file. the first line would become... jens on 1/17/01 8:20, Martijn Pieters at [EMAIL PROTECTED] wrote: > On Wed, Jan 17, 2001 at 1

Re: [Zope] Design Q: Product vs. External Methods

2001-01-15 Thread Jens Vagelpohl
if you run zope in debug mode (./start -D) you won't have to hit 'edit" - all external methods are re-read every time you access them. jens on 1/15/01 6:04, [EMAIL PROTECTED] at [EMAIL PROTECTED] wrote: > I also would like to know, if it is possible to update a bunch of external > method zope

Re: [Zope] REQUEST object - obtaining variables from

2001-01-13 Thread Jens Vagelpohl
here's how you could display the form variables on the receiving object: : REQUEST.form will contain all the fields from the form and REQUEST.form.items() will give you access to all key-value pairs that you can then access with sequence-key and sequence-item in the loop. jens on 1

Re: [Zope] multiple unknown parameters -> ZSQL

2001-01-09 Thread Jens Vagelpohl
this could be done in python in either an external method or python script/method. you can execute arbitrary SQL (which you would dynamically generate in python) on a database connection using the "query" method that is part of every database adapter. you need to - get a handle to your database

Re: [Zope] [python] converting int to string?

2001-01-07 Thread Jens Vagelpohl
in python you can do: str(int) and in zope you do it like _.str(int) "Learning Python" by o'reilly is a pretty good beginner's book for python. i suggest you read it. it's well written and gives you the basics. jens on 1/7/01 11:12, Lee at [EMAIL PROTECTED] wrote: > Hi, > > I wonder if an

Re: [Zope] Advice on searching/indexing Word documents?

2001-01-02 Thread Jens Vagelpohl
if you're on linux check out WVWare: http://www.wvware.com it's a C library that handles all word doc formats since 6.0 or so jens On Tue, 02 Jan 2001, Bowyer, Alex wrote: > Our company has a repository of staff CVs (Resumes) as Word Documents and I > am about to embark on creating a new feat

Re: [Zope] passing parameters in a call/in/with

2000-12-26 Thread Jens Vagelpohl
try... jens on 12/26/00 17:32, Lloyd Kvam at [EMAIL PROTECTED] wrote: > This is also a problem for me. > >> From using ZNOLK I have a DTML document that uses dtml-in to execute a query. > The query is get_names_for_id and is: > select name from name_table where id = > > I can now call

Re: [Zope] première version de l'interface francisée de Zope

2000-12-23 Thread Jens Vagelpohl
babelfish.altavista.com produced the following (amusing) translation: ** Hello, * You pouver to download a first version of the francized interface of Zope (currently 2.2.4) to the following address: http://zdp.zope.org/projects/zi18n/zzlocale/zzlocale_fr.tar.gz * you shou

Re: [Zope] More Problems Compiling from Source Code

2000-12-23 Thread Jens Vagelpohl
ben, python 2.0 is not officially supported yet. you will need to install the supported version (python 1.5.2). jens on 12/23/00 5:22, Ben Ocean at [EMAIL PROTECTED] wrote: > Hi, > I'm trying to recompile Zope from the source because of a module I want to > include to better enable MySQL. I'm

Re: [Zope] Still More Problems On the Install...

2000-11-19 Thread Jens Vagelpohl
ben, as far as i know python 2.0 is not (yet) fully supported. if you look at that famous INSTALL.txt again you will see this: Important notes ZOPE 2.0 REQUIRES PYTHON 1.5.2! See CHANGES.txt for important notes on Zope 2.0. so i suggest you try it with python 1.5.2. jens O

<    1   2   3   4   5   6   >