Re: [Zope] [ANN] Zope 2.9.3 released

2006-05-14 Thread Cliff Ford
Not so long ago I installed Zope-2.9.2 and as I remember it all worked 
fine. This morning, with Zope-2.9.3 I get this:



bash Zope-2.9.3: make
/usr/local/bin/python install.py -q build
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c: In 
function ‘module_aq_validate’:
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c:2155: 
warning: ‘obj’ may be used uninitialized in this function
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c:2155: 
warning: ‘name’ may be used uninitialized in this function
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c:2155: 
warning: ‘v’ may be used uninitialized in this function
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c:2155: 
warning: ‘inst’ may be used uninitialized in this function
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c:2155: 
warning: ‘validate’ may be used uninitialized in this function
bash Zope-2.9.3:


Which I thought meant it did not work. This is with Fedora Core 5 and 
Python 2.4.3. I went through the whole process again (this time 
specifying the install folder) and did not get any warnings or OK messages:


bash Zope-2.9.3: ./configure /usr/local/Zope-2.9.3
bash Zope-2.9.3: make
/usr/local/bin/python install.py -q build
bash Zope-2.9.3: make install
/usr/local/bin/python install.py -q build
/usr/local/bin/python install.py -q install --skip-build --home 
"/usr/local/Zope-2.9.3"

bash Zope-2.9.3:

The installation seems to work? Should I worry about the Dependencies 
messages?


Cliff

Andreas Jung wrote:


From: Andreas Jung <[EMAIL PROTECTED]>

Hi all,

on behalf of Zope Corporation and the Zope community I am pleased to 
announce the release of Zope 2.9.3.


You can download  it from

 http://www.zope.org/Products/Zope/2.9.3/


Some new features of Zope 2.9:

 - ZODB 3.6

 - Five 1.3

 - integration for Zope 3 events for object creation and deletion

 - Zope 3 i18n integration for page templates


For more information on what is new in this release, see the
CHANGES.txt files for the release:

 http://www.zope.org/Products/Zope/2.9.3/CHANGES.txt


Please bring all the bugs you have found to the Zope bugtracker:

  "http://collector.zope.org/Zope":http://collector.zope.org/Zope

For more information on the available Zope releases, guidance for selecting
the right distribution and installation instructions, please see:

  http://www.plope.com/Books/2_7Edition/InstallingZope.stx


Support Python versions:

 Zope 2.9 requires Python 2.4.3 (Python 2.4.1, 2.4.2 are still acceptable).
 Older Python versions are no longer supported.


Thanks to all being involved in this release.




___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce

 http://mail.zope.org/mailman/listinfo/zope-dev )

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )


Re: [Zope] [ANN] Zope 2.9.3 released

2006-05-14 Thread Andreas Jung



--On 14. Mai 2006 08:04:40 +0100 Cliff Ford <[EMAIL PROTECTED]> wrote:


Not so long ago I installed Zope-2.9.2 and as I remember it all worked
fine. This morning, with Zope-2.9.3 I get this:


bash Zope-2.9.3: make
/usr/local/bin/python install.py -q build
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c: In
function ‘module_aq_validate’:
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c:215
5: warning: ‘obj’ may be used uninitialized in this function
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c:215
5: warning: ‘name’ may be used uninitialized in this function
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c:215
5: warning: ‘v’ may be used uninitialized in this function
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c:215
5: warning: ‘inst’ may be used uninitialized in this function
Dependencies/AccessControl-Zope-2.9.3/AccessControl/cAccessControl.c:215
5: warning: ‘validate’ may be used uninitialized in this function
bash Zope-2.9.3:


As you can see: this is a compilation warning, not an error.





Which I thought meant it did not work. This is with Fedora Core 5 and
Python 2.4.3. I went through the whole process again (this time
specifying the install folder) and did not get any warnings or OK
messages:

bash Zope-2.9.3: ./configure /usr/local/Zope-2.9.3
bash Zope-2.9.3: make
/usr/local/bin/python install.py -q build
bash Zope-2.9.3: make install
/usr/local/bin/python install.py -q build
/usr/local/bin/python install.py -q install --skip-build --home
"/usr/local/Zope-2.9.3"
bash Zope-2.9.3:

The installation seems to work?


You can answer this on your own. If you can create a new Zope instance 
using mkzopeinstance and if the instance will start then the installation 
did work (obviously).


-aj


--
ZOPYX Ltd. & Co. KG - Charlottenstr. 37/1 - 72070 Tübingen - Germany
Web: www.zopyx.com - Email: [EMAIL PROTECTED] - Phone +49 - 7071 - 793376
E-Publishing, Python, Zope & Plone development, Consulting


pgpLJT2GwlpQT.pgp
Description: PGP signature
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] Kupu and Zope2

2006-05-14 Thread Thomas Adams

Hello,

I want to use kupu 1.3,.5 with Zope 2.7.3 (Python 2.3.4), but I'm stuck
in the given example. It seems not work:

Following the steps in the example.pt and then
calling http://localhost:8080/testsite/test_html/edit_kupu
(test_html is of type ZPT and pure html)
shows only the html, nothing else.

I then tried to fill the slot in the fulleditor macro


   scrolling="auto" src="fulldoc" tal:attributes="src document_url">

   


but that doesn't work as well.

Does anybody has a working example
how to use kupu.

Thanks in advance

Regards
Thomas Adams


begin:vcard
fn:Thomas Adams
n:Adams;Thomas
adr;quoted-printable:;;Richard-Strauss-Str. 27;M=C3=BCnchen;Bayern;81677;Deutschland
email;internet:[EMAIL PROTECTED]
tel;work:089 55 186 500
tel;home:089 470 270 19
tel;cell:0178 544 83 05
note;quoted-printable:Handy Interone:=0D=0A=
	=0D=0A=
	0163 432 9608
version:2.1
end:vcard

___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope-dev )


[Zope] REMOTE_USER Security Issue

2006-05-14 Thread Cliff Ford
My people want to adopt a single sign-on system for web applications 
that is based on the REMOTE_USER environment variable. I have tried out 
RemoteUserFolder and also adapted exUserFolder to work similarly.


My problem is that I figured out how a user who has permission to create 
python scripts (might work with dtml and page templates too) could 
access otherwise forbidden content by making calls that pretend to come 
from another user. Has any one else come across this problem and devised 
a solution, either in software or organisation?


Problem verified with Zope 2.9.2 and latest RemoteUserFolder.

Cliff
___
Zope maillist  -  Zope@zope.org
http://mail.zope.org/mailman/listinfo/zope
**   No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

http://mail.zope.org/mailman/listinfo/zope-dev )