[Zope-Checkins] SVN: Zope/trunk/lib/python/ merged yuppie-tal-backports branch:

2005-08-04 Thread Yvo Schubbe
Log message for revision 37697: merged yuppie-tal-backports branch: - made sure custom strings like MessageID are not converted by ustr - synced TALInterpreter code and tests with zope.tal where possible without changing behavior - backported MessageID support from zope.tal Changed:

[Zope-Checkins] SVN: Zope/trunk/lib/python/Zope2/Startup/zopectl.py Merge 'zopectl test' fix from 2.8 branch.

2005-08-04 Thread Tres Seaver
Log message for revision 37712: Merge 'zopectl test' fix from 2.8 branch. Changed: U Zope/trunk/lib/python/Zope2/Startup/zopectl.py -=- Modified: Zope/trunk/lib/python/Zope2/Startup/zopectl.py === ---

[Zope-Checkins] CVS: Packages/Zope/Startup - zopectl.py:1.3.2.13

2005-08-04 Thread Tres Seaver
Update of /cvs-repository/Packages/Zope/Startup In directory cvs.zope.org:/tmp/cvs-serv9629/lib/python/Zope/Startup Modified Files: Tag: Zope-2_7-branch zopectl.py Log Message: - Backported fix to 'zopectl test' from 2.8 branch, to allow remaining in the 'zopectl' shell

[Zope-Checkins] SVN: Zope/branches/Zope-2_8-branch/ Merge rev 37721 from Zope trunk.

2005-08-04 Thread Tim Peters
Log message for revision 37723: Merge rev 37721 from Zope trunk. Move to ZODB 3.4.1b3. This contains critical ZODB bugfixes, and Philipp von Weitershausen's changes to the way ZEO scripts get installed with Zope. Changed: _U Zope/branches/Zope-2_8-branch/doc/ _U

Re: [Zope-dev] Username/userid separation

2005-08-04 Thread Jens Vagelpohl
On 4 Aug 2005, at 01:01, Leonardo Rochael Almeida wrote: 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. Chris McDonough did most of that for Zope 2.7 already a

[Zope-dev] Commercial: looking for Zope/Plone developer

2005-08-04 Thread sathya
We are looking for a developer with atleast 3 years of development experience with knowledge of Zope and Plone to work in our Dallas Texas Office. We use Zope Plone for product development in managed care, workers comp and have an install base of 500,000 lives. We can consider telecommuters

[Zope-dev] Make objectValues return a generator?

2005-08-04 Thread Petri Savolainen
Am I right in assuming that calls to objectValues etc. still return a real sequence of objects loaded in memory from ZODB? How about making object* calls return a generator instead? Has this been discussed somewhere already? I tried a bit of googling list-searching but could not find much

Re: [Zope-dev] Make objectValues return a generator?

2005-08-04 Thread Tim Hicks
Petri Savolainen wrote: Am I right in assuming that calls to objectValues etc. still return a real sequence of objects loaded in memory from ZODB? How about making object* calls return a generator instead? Has this been discussed somewhere already? I tried a bit of googling list-searching but

Re: [Zope-dev] Username/userid separation

2005-08-04 Thread Leonardo Rochael Almeida
Em Qui, 2005-08-04 às 08:39 +0100, Jens Vagelpohl escreveu: On 4 Aug 2005, at 01:01, Leonardo Rochael Almeida wrote: 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

Re: [Zope-dev] Username/userid separation

2005-08-04 Thread Leonardo Rochael Almeida
Em Qui, 2005-08-04 às 16:20 -0300, Leonardo Rochael Almeida escreveu: I propose that we look up the userid for the username in RoleManager.manage_{add,set,del}LocalRoles() and change the signature of these methods to mention username instead of userid. And we also need to change

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

2005-08-04 Thread tomatbiz-tominfo
Thank you Puttaraju that was very good. I thought it would be something like this but I am a rookie-Zope so I can now go on and try with more confidence. Thank you Jim Abramson that was also some good piece for me. I will have it in mind. I 'll try it some weekend and give you the feedback

Re: [Zope] MVC Approach

2005-08-04 Thread Peter Sabaini
On Wednesday 03 August 2005 22:06, Thomas Adams wrote: 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

Re: [Zope] MVC Approach

2005-08-04 Thread bruno modulix
Thomas Adams wrote: 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.

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

2005-08-04 Thread Jon Bowlas
Thanks Dieter, But I still cant get it to work. I've changed my get_attributes.py script to this: if not attobject: return '' version = attobject.get_viewable() nodes = version.content.documentElement.getElementsByTagName(attname) if not nodes: return '' nodeValue =

[Zope] Cannot pass parameters to Externa Method From inside a DTML Method

2005-08-04 Thread Thomas Apostolou
I have in my Extensions folder the file TestODBCEM.py witch contains the following code to select and return 40 rows by 8 columns of a query: def TestODBCEM(self, sysDSN=defDSN, usr=defUsr, mypass=defPass, sSQL=SELECT * FROM defTable, xx=40, yy=8): id = self.id import dbi import odbc

[Zope] dtml-var variable from REQUEST not shown in input tag if it has spaces??

2005-08-04 Thread Thomas Apostolou
Hello everybody, Im using Zope 2.7.0 on Windows XP Pro. I pass some parameters from a form to a DTML method. Inside that method i try to get the parameters with dtml-var sSQL ( sSQL is the name of the submiting form's field). When i just use it as dtml-var sSQL everything is ok. When i use it

Re: [Zope] dtml-var variable from REQUEST not shown in input tag if it has spaces??

2005-08-04 Thread Tino Wildenhain
Am Donnerstag, den 04.08.2005, 11:33 +0100 schrieb Thomas Apostolou: Hello everybody, Im using Zope 2.7.0 on Windows XP Pro. I pass some parameters from a form to a DTML method. Inside that method i try to get the parameters with dtml-var sSQL ( sSQL is the name of the submiting form's

Re: [Zope] Cannot pass parameters to Externa Method From inside a DTML Method

2005-08-04 Thread Tino Wildenhain
Am Donnerstag, den 04.08.2005, 11:31 +0100 schrieb Thomas Apostolou: I have in my Extensions folder the file TestODBCEM.py witch contains the following code to select and return 40 rows by 8 columns of a query: def TestODBCEM(self, sysDSN=defDSN, usr=defUsr, mypass=defPass, sSQL=SELECT *

Re: [Zope] PUT_factory fight

2005-08-04 Thread Garito
Dieter Maurer escribió: 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? Sorry Dieter It seems it's a problem with PUT_factory

[Zope] (1 conflicts since startup at 2005-08-04T14:45:39)

2005-08-04 Thread Garito
Hi all! We have: Zope Version (Zope 2.7.4-0, python 2.3.4, linux2) Python Version 2.3.4 (#1, May 19 2005, 17:40:30) [GCC 3.3.5-20050130 (Gentoo 3.3.5.20050130-r1, ssp-3.3.5.20050130-1, pie-8.7.7. System Platform linux2 and Archetypes 1.3.2-final CMF 1.4.7 Epoz

Re: Re: [Zope] Cannot pass parameters to Externa Method From inside a DTML Method

2005-08-04 Thread Thomas Apostolou
This is not a good idea anyway. 1) it lets every user knowing the external method connect to every database on your host (depending on credentials if any) 2) even worser it enables the user to issue any raw SQL string to the database, including but not limited to DROP table;

Θέμα: Re: [Zope] dtml-var variable fro m REQUEST not shown in input tag if it has spaces??

2005-08-04 Thread Thomas Apostolou
--- Tino Wildenhain [EMAIL PROTECTED] έγραψε: Yes, you should write HTML when you want HTML ;) This means, attribute values in HTML are supposed to be in (See the HTML source in your Browser when you display the page and you will know what I mean :) So, if you really want DTML here,

Re: [Zope] localhost:8080 not found on windows

2005-08-04 Thread michael nt milne
Hi Thanks for the advice. Yes I've looked at everything mentioned here. Localhost is in the hosts file. Zope has started as a service. I've changed the hosts file to include localhost:8080/manage etc. Yes this is a set-up on Windows Small Business Server and it also has an Exchange webmail

[Zope] FTP Failures on new install

2005-08-04 Thread Steve McMahon
I've having trouble getting FTP working on a new Zope install. All other Zope functions appear normal, but I'm unable to transfer files _to_ Zope via FTP. I can use FTP to download files from the Zope server and can create new directories on the server. But attempts to transfer files to the

Re: [Zope] Installation of login_html Fails

2005-08-04 Thread ktmi
In case anyone is interested, using the python code below won't copy the file unless the View Security permission on login_html is turned on for Anonymous... Then to protect the page from other Anonymous visitors, I have to manually turn off the View Security settings of login_html after it's

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

2005-08-04 Thread Dieter Maurer
Jim Abramson wrote at 2005-8-3 14:57 -0400: ... Interesting. Are you aware if your colleagues' was a python(/dcoracle2) app? Yes -- on Windows (I think) -- Dieter ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope **

Re: [Zope] Nothing in undo list

2005-08-04 Thread Dieter Maurer
robert rottermann wrote at 2005-8-4 06:21 +0200: ... 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

Re: [Zope] FTP Failures on new install

2005-08-04 Thread Dieter Maurer
Steve McMahon wrote at 2005-8-4 08:28 -0700: I've having trouble getting FTP working on a new Zope install. All other Zope functions appear normal, but I'm unable to transfer files _to_ Zope via FTP. I can use FTP to download files from the Zope server and can create new directories on the

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

2005-08-04 Thread Dieter Maurer
Jon Bowlas wrote at 2005-8-4 10:31 +0100: ... But I still cant get it to work. I've changed my get_attributes.py script to this: if not attobject: return '' version = attobject.get_viewable() nodes = version.content.documentElement.getElementsByTagName(attname) if not nodes: return ''

Re: [Zope] Installation of login_html Fails

2005-08-04 Thread Dieter Maurer
[EMAIL PROTECTED] wrote at 2005-8-3 21:21 -0600: ... I cannot figure out what permissions to give folders/objects that will allow Zope to add the login-html file programatically. It depends on the type of object you want to add. Adding is usually protected by a permission of the form Add

Re: [Zope] (1 conflicts since startup at 2005-08-04T14:45:39)

2005-08-04 Thread Dieter Maurer
Garito wrote at 2005-8-4 14:11 +0200: Our problem is we create some archetypes and in some parts of our structure if we try to create some object the computer cpu grows to 100% and raises 2005-08-04T15:01:02 INFO(0) ZODB conflict error at /VirtualHostBase/the url to the object/createObject (1

[Zope] Re: FTP Failures on new install

2005-08-04 Thread Steve McMahon
Sorry, I should have mentioned that there are no traces of the problem in the error log. Z2.log entries look routine, except for the ftp error itself. Dieter Maurer wrote: Steve McMahon wrote at 2005-8-4 08:28 -0700: I've having trouble getting FTP working on a new Zope install. All other

[Zope] Re: FTP Failures on new install

2005-08-04 Thread Steve McMahon
Switching to python 2.4.1 cured the problem. Steve McMahon wrote: I've having trouble getting FTP working on a new Zope install. All other Zope functions appear normal, but I'm unable to transfer files _to_ Zope via FTP. I can use FTP to download files from the Zope server and can create new

[Zope] Is it possible to add fields to the user registration in zope and plone?

2005-08-04 Thread michael . milne
Hi-Does anyone know if you can you can alter the user registration process in plone and zope to create extra user entry fields? Basically altering the zope database. ___ Zope maillist - Zope@zope.org http://mail.zope.org/mailman/listinfo/zope ** No

Re: [Zope] Is it possible to add fields to the user registration in zope and plone?

2005-08-04 Thread Peter Bengtsson
Yeah, you need to do some programming. Look at Chris Withers' SimpleUserFolder product. On 8/4/05, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: Hi-Does anyone know if you can you can alter the user registration process in plone and zope to create extra user entry fields? Basically altering the

[Zope] Re: dtml-var variable from REQUEST not shown in input tag if it has spaces??

2005-08-04 Thread Josef Meile
Hi Thomas, When i just use it as dtml-var sSQL everything is ok. When i use it like : input type=text value=dtml-var sSQL, i get everything until the first space. For example from select * from mytable i get select. I'm not sure, but don't you need to enclose it with double quotation marks?