[Zope-Checkins] SVN: Zope/trunk/ - Collector #1773: by default user accounts are now encrypted for

2005-08-03 Thread Andreas Jung
Log message for revision 37677: - Collector #1773: by default user accounts are now encrypted for security reasons Changed: U Zope/trunk/doc/CHANGES.txt U Zope/trunk/lib/python/AccessControl/User.py -=- Modified: Zope/trunk/doc/CHANGES.txt

[Zope-dev] File System Directory Files Permission Setting

2005-08-03 Thread Evrim Ozcelik
Is there a way to set zope permissions for files that are linked to zope with file system directory view. For example, i have a zope python script which must only be executed by users that have manager role. In order to do this i think i have 2 alternatives: 1- I can control the permission in

[Zope-dev] Re: File System Directory Files Permission Setting

2005-08-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Evrim Ozcelik wrote: Is there a way to set zope permissions for files that are linked to zope with file system directory view. For example, i have a zope python script which must only be executed by users that have manager role. In order to do

[Zope-dev] Username/userid separation

2005-08-03 Thread Leonardo Rochael Almeida
Hi, I've started the lra-userid_username_separation-branch (from Zope-2_8-branch to start from a stable point) in order to implement proper userid/username separation in Zope. I don't intend to change the default user folder implementation, just the ZMI interface for owner and local roles so

Re: [Zope-dev] Username/userid separation

2005-08-03 Thread Tino Wildenhain
Am Mittwoch, den 03.08.2005, 21:01 -0300 schrieb Leonardo Rochael Almeida: Hi, I've started the lra-userid_username_separation-branch (from Zope-2_8-branch to start from a stable point) in order to implement proper userid/username separation in Zope. I don't intend to change the default

AW: [Zope] Re: Oracle 9.2.0.2

2005-08-03 Thread Happle Dr., Klaus Martin
Very nice, so I can try it also with SQLRelay. The troubelsome is that SQLRelay comes not with a DB API 2.0 compatible Wrapper so we can't test it immediatly. The possible solutions to write a wrapper for SQLRelay or to reimplemented the database access in our scripts/environmnet taking up much

Re: [Zope] rendering the contents of ..

2005-08-03 Thread J Cameron Cooper
David Bear wrote: On 8/1/05, J Cameron Cooper [EMAIL PROTECTED] wrote: David Bear wrote: I am looking at a couple way of producing a qotd solution. one way is to put quotes in a folder. Then use objectvalues on the folder and randomly select one of the items. I get get the objectid. but I

Re: [Zope] RE: Blobs in Interbase

2005-08-03 Thread Ashley Lloyd
Bob, you're a star! I unpacked it, restarted Zope, and there it was! Marvellous, I've now got a kinterbase installed that works. Thats the good news. The bad news is I still can't update the blob field - I still get errors. I think, unless anyone here has any more ideas, I'll have to go

[Zope] How to instruct my Zope to use another pytrhon than the one it was budled with.

2005-08-03 Thread tomatbiz-tominfo
Hello everybody, its a hot day here today and pytho-zope-plone is the best refreshment of them all... By the way i run on windows and my weapons bay as follows : Zope Version (mast be 2.7.0) (unreleased version, python 2.3.3, win32) Python Version 2.3.3 (#51, Dec 18 2003, 20:22:39) [MSC v.1200

Re: [Zope] RE: Blobs in Interbase

2005-08-03 Thread Bob Corriher
Hi Ashley, One down, one to go. I've used this adapter with Interbase 6.0 with no problems, although I've since upgraded to Firebird. Perhaps you could send the error traceback you get, we could get some clues from that. Also, the metadata from the table that shows the problem. It's got to

Re: [Zope] Zope 2.8 and conflict errors

2005-08-03 Thread Maciej Wisniowski
It might. ZEO adds network overhead to ZODB transactions, which generally increases the likelihood of conflict errors. I've created ZEO and executed the same test with my application. Tests were done with SQLRelay backend (DCOracle2 is running now ;)) I have tested this with 50, 55, 60

RE: [Zope] How to instruct my Zope to use another pytrhon than the oneit was budled with.

2005-08-03 Thread Jim Abramson
I also have another Python version on my system and i was wondering how could i tell Zope to use that one instead of the one it comes with from the installation executable package. If you start up using the runzope.bat script in ZOPE_HOME/bin, just edit the value of PYTHON to point to the

[Zope] PCNG 1.2.7 does exception when being added.

2005-08-03 Thread Vlada Macek
I have the following configuration, both Zope and Plone are up to date to these branches: svn://svn.zope.org/repos/main/Zope/branches/Zope-2_8-branch https://svn.plone.org/svn/plone/bundles/2.1 Plone version: Plone 2.1-beta2 (svn/unreleased) Zope version: Zope (Zope 2.8.1-b1, python 2.3.5,

Re: [Zope] PCNG 1.2.7 does exception when being added.

2005-08-03 Thread Andreas Jung
--On 3. August 2005 19:11:18 +0200 Vlada Macek [EMAIL PROTECTED] wrote: I have the following configuration, both Zope and Plone are up to date to these branches: svn://svn.zope.org/repos/main/Zope/branches/Zope-2_8-branch https://svn.plone.org/svn/plone/bundles/2.1 Plone version: Plone

Re: [Zope] PUT_factory fight

2005-08-03 Thread Dieter Maurer
Garito wrote at 2005-8-2 12:34 +0200: ... Could anyone find the mistake? You forgot to tell us what problem you observe... You say you were fighting but that is not enough. What happened precisely? -- Dieter ___ Zope maillist - Zope@zope.org

Re: [Zope] NauSchduler problem

2005-08-03 Thread Dieter Maurer
Barry Drake wrote at 2005-8-2 14:00 -0700: ... The Script Python that sends the digest works fine when tested alone, but when I run it from NS the URL, gotten from obj.absolute_url(), is replace with the physical path. And what is it otherwise? Note that absolute_url combines the physical path

Re: [Zope] When Debug Spinning Zope doesn't work

2005-08-03 Thread Dieter Maurer
Paul Winkler wrote at 2005-8-1 12:12 -0400: ... But, what does it mean when I get nothing at all from info threads in gdb? That gdb does not understand the OS structures. I found that gdb has significant problems to understand core files of multithreaded applications and is easily confused by

Re: [Zope] test for the existence of a nodeValue

2005-08-03 Thread Dieter Maurer
Jon Bowlas wrote at 2005-8-2 19:08 +0100: ... I'm pretty new to python and zope but would like to know how I can adapt this script below to test to see if nodeValue actually contains a value and if it doesn't then I would like to return a default value I can check for using my zpt that references

Re: [Zope] zserver blocking behavior with a slow request

2005-08-03 Thread Dieter Maurer
Jim Abramson wrote at 2005-8-2 13:07 -0400: ... I have 8 zserver threads and a ZODB pool size of 10. I'm fairly certain I'm not maxing these out. So is this blocking effect just expected behavior for zope? No, there should be no blocking. Although some colleagues reported similar behaviour

RE: [Zope] Mount points

2005-08-03 Thread Pascal Peregrina
Ok will do. Thanks -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dieter Maurer Sent: 03 August 2005 18:36 To: Pascal Peregrina Cc: zope@zope.org Subject: Re: [Zope] Mount points Pascal Peregrina wrote at 2005-8-2 19:39 +0100: Is there a way to

[Zope] ZMI manage main and zpt to provide reasonable view of content type

2005-08-03 Thread David Pratt
Hi. I have been working on a product in that works with filesystem content for CMF. I have my content types developed and they are all registered and working fine but my hitch has to do with edit and views screens. I want to emulate the way that the ZMI handles things because the

[Zope] Re: ZMI manage main and zpt to provide reasonable view of content type

2005-08-03 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 David Pratt wrote: Hi. I have been working on a product in that works with filesystem content for CMF. I have my content types developed and they are all registered and working fine but my hitch has to do with edit and views screens. I want to

RE: [Zope] zserver blocking behavior with a slow request

2005-08-03 Thread Jim Abramson
I'm finding that once a user requests a page which runs a particularly slow sql (say up to 5 minutes), any other subsequent requests seem to take the hit as well, and return very slowly. Take a look at DadlockDebugger product - you'll see what is happening with your Zope threads.

RE: [Zope] zserver blocking behavior with a slow request

2005-08-03 Thread Jim Abramson
I have 8 zserver threads and a ZODB pool size of 10. I'm fairly certain I'm not maxing these out. So is this blocking effect just expected behavior for zope? No, there should be no blocking. Although some colleagues reported similar behaviour with a (non Zope/ZServer)

Re: [Zope] NauSchduler problem

2005-08-03 Thread Barry Drake
Dieter, Thank you. I replaced the call obj.absolute_url() with obj.getPhysicalPath() and prepended the portal URL in my code. That way the URL is not overwritten with the physical path by NauScheduler. Barry --- Dieter Maurer wrote: Barry Drake wrote at 2005-8-2 14:00 -0700: ... The

[Zope] MVC Approach

2005-08-03 Thread Thomas Adams
Hi all, I'm a newbie to Zope, using version 2.7.3 (okay it is not the newest one) and I want to know if there is something like a MVC approach available for Zope, i.e. Model-View-Controller approach, as it is for instance in Java with the Struts framework from Apache. To be more specific: -

Re: [Zope] Zope 2.8 and conflict errors

2005-08-03 Thread Maciej Wisniowski
I've lost context here... is this good or bad? ;-) I'm keenly interested in your results, so please let me know. I've just send my results ;) Good or bad... it depends. It's much better than it was with Zope 2.8.0, it is better than with Zope 2.7.2 but it is not perfect because errors

Re: [Zope] Zope 2.8 and conflict errors

2005-08-03 Thread Chris McDonough
On Wed, 2005-08-03 at 23:02 +0200, Maciej Wisniowski wrote: Previously you've written that: Zope 2.8.0 ships with a TemporaryStorage implementation (used by sessions in the default configuration) which does not implement MVCC. The one in 2.8.1 (now in beta) and better will implement

Re: [Zope] MVC Approach

2005-08-03 Thread Thomas Adams
Asad Habib schrieb: Hi Thomas. If you plan to implement MVC, my advice would be to stick to Java technology - it's by far the best for implementing MVC - I mean literally the best! You may want to look at JSF or the Spring frameworkas alternatives to Struts. - Asad On Wed, 3 Aug 2005, Thomas

[Zope] Nothing in undo list

2005-08-03 Thread robert rottermann
I created a folder and added a acl_users. When a user from this acl_users logs in and manipulates things in Zope and Plone he can not see anything in the undo_list. If I enter as a user that is declared in the root acl_users he can see and undo all the manipulations. Both of this users are