[Zope-Checkins] CVS: Zope - README.txt:1.16.2.3

2006-03-18 Thread Jim Fulton
Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv31547

Modified Files:
  Tag: Zope-2_7-branch
README.txt 
Log Message:
*** empty log message ***


=== Zope/README.txt 1.16.2.2 = 1.16.2.3 ===
--- Zope/README.txt:1.16.2.2Sat Mar 18 11:58:54 2006
+++ Zope/README.txt Sat Mar 18 12:02:15 2006
@@ -30,3 +30,4 @@
 Installing Zope
 
   Follow the instructions in doc/INSTALL.txt to install Zope.
+

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-Checkins] CVS: Zope - README.txt:1.16.2.4

2006-03-18 Thread Jim Fulton
Update of /cvs-repository/Zope
In directory cvs.zope.org:/tmp/cvs-serv360

Modified Files:
  Tag: Zope-2_7-branch
README.txt 
Log Message:
Bogus checkin to test new mailing list. :)


=== Zope/README.txt 1.16.2.3 = 1.16.2.4 ===
--- Zope/README.txt:1.16.2.3Sat Mar 18 12:02:15 2006
+++ Zope/README.txt Sat Mar 18 12:06:38 2006
@@ -30,4 +30,3 @@
 Installing Zope
 
   Follow the instructions in doc/INSTALL.txt to install Zope.
-

___
Zope-Checkins maillist  -  Zope-Checkins@zope.org
http://mail.zope.org/mailman/listinfo/zope-checkins


[Zope-dev] Default skin pain

2006-03-18 Thread Philipp von Weitershausen
Hi there,

Zope 3 has the concept of a default layer. This is a request interface
that most skins derive from. It is also the default request interface
that browser views are registered for if they don't specify another one
using the 'layer' argument.

Zope 3 also has the concept of a default skin. This is a request
interface that is specially registered and applied to the request after
it has been created. This last bit is important because you want all
subsequent view look-ups to take the default skin into account. Since
most browser views are registered for the default layer interface and
most skins derive from the default layer interface, not setting the
default skin on the request as early as possible would result in most
views not being found.

Of course, ZPublisher doesn't apply the default skin to the request
after its creation. Therefore, Five has to do a hack: upon the first
Five-style traversal (that might involve Zope 3 views), it puts the
default skin on the request. There are two problems with this approach:

* Previous traversal steps could have already set a different layer (or
skin) on the request. This is a valid usecase (e.g. ++skin++ can be used
for this). Five's behaviour would possibly make the previously applied
layers or skins ineffective again. Five tries to be as uninvasive as
possible by only doing this when the request doesn't have an ILayer
interface yet. Problem is, the notion of all layer interfaces providing
ILayer is going to go away (it's already deprecated on the Zope 3 trunk).

* More importantly, you sometimes might want to do view lookup before
the first Five-style traversal happens. Then you're dealing with a
virgin request that doesn't have the default skin installed (and
therefore neither the default layer in most case) and your view look-ups
 would probably fail because the views were registered for the default
layer.

The latter point is an issue in Plone, by the way.

I would propose to remove the Five hack and properly set the default
skin right after the request has been created. This would be in
ZPublisher.Publish.publish_module_standard.

(ZopeTestCase would also have to be fixed up so that each test gets its
individual request object [all tests currently share the same one!] and
that the request would also have the default skin set from the beginning)

Philipp

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


Re: [Zope-dev] Default skin pain

2006-03-18 Thread Lennart Regebro
On 3/18/06, Philipp von Weitershausen [EMAIL PROTECTED] wrote:
 I would propose to remove the Five hack and properly set the default
 skin right after the request has been created. This would be in
 ZPublisher.Publish.publish_module_standard.

That's probably a good idea.

Althoug, wasn't somebody going to try replacing the whole publisher?

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] Default skin pain

2006-03-18 Thread Philipp von Weitershausen
Lennart Regebro wrote:
I would propose to remove the Five hack and properly set the default
skin right after the request has been created. This would be in
ZPublisher.Publish.publish_module_standard.
 
 That's probably a good idea.
 
 Althoug, wasn't somebody going to try replacing the whole publisher?

Sure. We just can't wait for that. I consider this a bugfix so it'll go
into Zope 2.9 as well as the trunk.

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


Re: [Zope-dev] Default skin pain

2006-03-18 Thread Lennart Regebro
On 3/18/06, Philipp von Weitershausen [EMAIL PROTECTED] wrote:
 Sure. We just can't wait for that. I consider this a bugfix so it'll go
 into Zope 2.9 as well as the trunk.

Oh, well in that case... +1.

--
Lennart Regebro, Nuxeo http://www.nuxeo.com/
CPS Content Management http://www.cps-project.org/
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope-announce
 http://mail.zope.org/mailman/listinfo/zope )


Re: [Zope-dev] New mailing list: [EMAIL PROTECTED] for all checkin messages

2006-03-18 Thread Jens Vagelpohl

I've set up a new mailing list that gets all checkins for the
zope.org CVS and Subversion repositories:

  http://mail.zope.org/mailman/listinfo/checkins


Does this list replace [EMAIL PROTECTED] as the default checkins list?

jens

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

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


Re: [Zope-dev] New mailing list: [EMAIL PROTECTED] for all checkin messages

2006-03-18 Thread Jim Fulton

Jens Vagelpohl wrote:

I've set up a new mailing list that gets all checkins for the
zope.org CVS and Subversion repositories:

  http://mail.zope.org/mailman/listinfo/checkins



Does this list replace [EMAIL PROTECTED] as the default checkins list?


Yes.

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

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


[Zope-dev] New mailing list: [EMAIL PROTECTED] for all checkin messages

2006-03-18 Thread Jim Fulton


I've set up a new mailing list that gets all checkins for the
zope.org CVS and Subversion repositories:

  http://mail.zope.org/mailman/listinfo/checkins

Note to contributors:

Only members can send messages to this list.  This means that you will
get messages for a while when you check in saying your messages are
being held for moderation.  I am moderating the list. When I see
legitimate held messages, I'll add the sender to the list of valid
non-member senders.  So if you don't want to subscribe, you don't have
to. :)

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

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


Re: [Zope-dev] New mailing list: [EMAIL PROTECTED] for all checkin messages

2006-03-18 Thread Tino Wildenhain
Jim Fulton schrieb:
 
 I've set up a new mailing list that gets all checkins for the
 zope.org CVS and Subversion repositories:
 
   http://mail.zope.org/mailman/listinfo/checkins
 
 Note to contributors:
 
 Only members can send messages to this list.  This means that you will
 get messages for a while when you check in saying your messages are
 being held for moderation.  I am moderating the list. When I see
 legitimate held messages, I'll add the sender to the list of valid
 non-member senders.  So if you don't want to subscribe, you don't have
 to. :)

I seen this with the cvs list. Cant the checkin messages not
automatically accepted? I mean the sending server is known...

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


Re: [Zope-dev] New mailing list: [EMAIL PROTECTED] for all checkin messages

2006-03-18 Thread Jim Fulton

Tino Wildenhain wrote:

Jim Fulton schrieb:


I've set up a new mailing list that gets all checkins for the
zope.org CVS and Subversion repositories:

 http://mail.zope.org/mailman/listinfo/checkins

Note to contributors:

Only members can send messages to this list.  This means that you will
get messages for a while when you check in saying your messages are
being held for moderation.  I am moderating the list. When I see
legitimate held messages, I'll add the sender to the list of valid
non-member senders.  So if you don't want to subscribe, you don't have
to. :)



I seen this with the cvs list. Cant the checkin messages not
automatically accepted? I mean the sending server is known...


I tried something like this for a while,  It even worked for a while.
And then stopped working. :(

Jim

--
Jim Fulton   mailto:[EMAIL PROTECTED]   Python Powered!
CTO  (540) 361-1714http://www.python.org
Zope Corporation http://www.zope.com   http://www.zope.org
___
Zope-Dev maillist  -  Zope-Dev@zope.org
http://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
http://mail.zope.org/mailman/listinfo/zope-announce

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


[Zope] Sample Zope Page Templates

2006-03-18 Thread John Poltorak

Is there such a thing as a repository of sample Zope Page Templates?

I don't mean sample code snippets but ZPT's that people use in real 
websites.

-- 
John



___
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] Sample Zope Page Templates

2006-03-18 Thread Jens Vagelpohl


On 18 Mar 2006, at 13:37, John Poltorak wrote:



Is there such a thing as a repository of sample Zope Page Templates?

I don't mean sample code snippets but ZPT's that people use in real
websites.


No there isn't. But you could download products like the CMF, Plone,  
CPS, etc. which use page templates and study those.


jens


___
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] Re: Stepper on Zope 2.9.X

2006-03-18 Thread Chris Withers

Dennis Allison wrote:
Chris  others -- 


Anyone have experience with Stepper under Zope 2.8.X and Zope 2.9.X.


It gets quite hammering under Zope 2.8.x on my current big project.

I have a worry that there may be some silly bugs in the public release, 
but if you find any problems in 1.4.1, please let me know!


Actually, just checked, there's a problem with continue_on_error in the 
released version, but I have a patch for that if you need to use it.


I may, of course, just crank out a 1.4.2 with that fix in some time soon ;-)

As for 2.9.x, nope, not been used by be, but I haven't heard of any 
problems either...


cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk
___
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] SimpleUserFolder 1.1.2 Released!

2006-03-18 Thread Chris Withers

SimpleUserFolder is a scriptable, subclassable, fully documented and
tested user folder implementation.

This release fixes one bug which affected a minority of ZSQL method use 
cases and ensures compatibility with Zope 2.7, 2.8 and 2.9.


For more information, please see:
http://www.simplistix.co.uk/software/zope/simpleuserfolder

cheers,

Chris

--
Simplistix - Content Management, Zope  Python Consulting
   - http://www.simplistix.co.uk

___
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] Re: Stepper on Zope 2.9.X

2006-03-18 Thread Dennis Allison

Thanks Chris.  I'll be doing dsome experimentation and will let you know 
about any problems I find.  -d

On Sat, 18 Mar 2006, Chris Withers wrote:

 Dennis Allison wrote:
  Chris  others -- 
  
  Anyone have experience with Stepper under Zope 2.8.X and Zope 2.9.X.
 
 It gets quite hammering under Zope 2.8.x on my current big project.
 
 I have a worry that there may be some silly bugs in the public release, 
 but if you find any problems in 1.4.1, please let me know!
 
 Actually, just checked, there's a problem with continue_on_error in the 
 released version, but I have a patch for that if you need to use it.
 
 I may, of course, just crank out a 1.4.2 with that fix in some time soon ;-)
 
 As for 2.9.x, nope, not been used by be, but I haven't heard of any 
 problems either...
 
 cheers,
 
 Chris
 
 

-- 

___
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] Using tal:attributes in XML with non-ASCII characters

2006-03-18 Thread Andrew Veitch
I'm just trying to think of a way of using tal:attributes with non- 
ASCII characters using the XML parser.


At first, I just used a straight tal:attributes with the encoding of  
the template set to UTF-8 but that threw an expat error.


My second attempt was to write a function which replaced all the non- 
ASCII characters with entities such as #256;


Unfortunately his also doesn't work because tal:attributes escapes it  
into amp;#256 which then fails.


Finally, I tried tal:attributes with my function and the structure  
keyword but 'structure' isn't supported with tal:attributes.


I've tried this on a variety of Zope's from 2.7.5 to 2.8.6

Any ideas would be appreciated.

A

--
Logicalware Ltd
Stuart House, Eskmills, Musselburgh, EH21 7PQ, UK
Tel: +44(0)131 273 5130 http://www.logicalware.com


___
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] Sample Zope Page Templates

2006-03-18 Thread Tino Wildenhain
John Poltorak schrieb:
 Is there such a thing as a repository of sample Zope Page Templates?
 
 I don't mean sample code snippets but ZPT's that people use in real 
 websites.
 
What are you after? (X)HTML-Design? PTs arent rocket science. And in
the event they are, the author should rethink his solution.

I dont think you need 239188172 examples showing how to
replace a HTML-tag, repeat it or set its attributes...

--Tino
___
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] zope 2.8.6 on Mac Intel

2006-03-18 Thread manuel spuhler
Hi,

does anyone know how-to compile Zope 2.8.6 on a OS X system with an
Intel processor?
___
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] zope 2.8.6 on Mac Intel

2006-03-18 Thread Jens Vagelpohl


On 18 Mar 2006, at 20:14, manuel spuhler wrote:


Hi,

does anyone know how-to compile Zope 2.8.6 on a OS X system with an
Intel processor?


If you see specific errors please describe them, including full error  
messages and tracebacks.


jens

___
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] Re: zope 2.8.6 on Mac Intel

2006-03-18 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

manuel spuhler wrote:
 Hi,
 
 does anyone know how-to compile Zope 2.8.6 on a OS X system with an
 Intel processor?

The standard Unix incantation should work:

 $ ./configure --prefix=/path/to/prefix  make  make install

If not, please report error messages.

Tres.
- --
===
Tres Seaver  +1 202-558-7113  [EMAIL PROTECTED]
Palladion Software   Excellence by Designhttp://palladion.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEHH81+gerLs4ltQ4RAtF2AJ9eEOyNIGCNNh2fU+7Vz3orP+HxYQCfaUJP
s3wapWu4kcDo0LxBNh92tiI=
=xmAM
-END 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 )


Re: [Zope] Best Practice for transparent redirect for plone site

2006-03-18 Thread Jonathan Cyr




I've had good luck with a RevProxy
tool called Pound, which is Zope friendly. This and the VHM work great
together, and no Apache overhead.

http://www.apsis.ch/pound

-Jon

JulianRead wrote:

  Hi i have set up a plone site and here at :

http://www.myplonesite.com:8080/ploneinstance/mypage

and i want it to look like 

http://www.myplonesite.com/mypage

what is the best way to achieve this

server setup is linux/apache/zope2.8.6/plone2.1.2

i have looked at virutalhostmonster but is it more efficient to use apache
mod_rewrite rules?

Please give examples as mod_rewrite leaves me confused.

Thanks  
--
View this message in context: http://www.nabble.com/Best-Practice-for-transparent-redirect-for-plone-site-t1299242.html#a3460348
Sent from the Zope - General forum at Nabble.com.

___
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 )

  


-- 
Jonathan Cyr
http://www.cyr.info
http://www.weddingweblog.com
[EMAIL PROTECTED]


___
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] Re: zope 2.8.6 on Mac Intel

2006-03-18 Thread manuel spuhler
I did not yet installed expat, so I ignore it at start. I don't think
it's the problem, for I tried with python from fink, expat installed
and got the same error.


Here is the traceback

$ ./configure --prefix=/opt/Zope2.8 --ignore-expat

Configuring Zope installation

Testing for an acceptable Python interpreter...

Python version 2.3.5 found at /usr/bin/python

The optimum Python version (2.3.5) was found at /usr/bin/python.

  - Zope top-level binary directory will be /opt/Zope2.8.
  - Makefile written.

  Next, run make.

$ make
/usr/bin/python /Users/spuhlema/Desktop/Zope-2.8.6-final/setup.py \
build
--build-base=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3
--build-lib=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-lib
--build-scripts=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-scripts
--build-temp=/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-temp
running build
running build_py
creating /Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3
creating 
/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-lib
creating 
/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-lib/ZConfig
creating 
/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-lib/ZConfig/components
creating 
/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-lib/ZConfig/components/basic
creating 
/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-lib/ZConfig/components/basic/tests
copying ZConfig/components/basic/tests/__init__.py -
/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-lib/ZConfig/components/basic/tests
copying ZConfig/components/basic/tests/test_mapping.py -
/Users/spuhlema/Desktop/Zope-2.8.6-final/build-base/python-2.3/build-lib/ZConfig/components/basic/tests
error: package directory
'build/lib/darwin-8/5/2-i386-2/4/zope/app/traversing/ftests' does not
exist
make: *** [build] Error 1
___
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 )