Re: [Zope-dev] zeo server conflict resolving

2006-06-03 Thread Dieter Maurer
M. Krainer wrote at 2006-6-2 12:27 +0200:
>Forgot to mention that this was actually the first thing I tried. But it
>doesen't work, as
>the INSTANCE_HOME dir does also not show up in sys.path (in find_globals).

A ZEO weakness, I fixed in our local copy this way:

"runzeo.py":

# DM: 2004-06-03
# activate Zope's INSTANCE_HOME magic.
# This is necessary for conflict resolution of classes
# defined in "$INSTANCE_HOME/Products"
# Note that this is only a partial workaround. A complete solution
# would give ZEO the same Python path and product configuration options
# used by Zope. To get better control which classes are loaded
# an additional registration facility for such classes would
# be needed as well.
try: from App import FindHomes
except ImportError: pass # this is not Zope



-- 
Dieter
___
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] Re: SVN: CMF/branches/1.6/ - preparing CMF 1.6.1-beta

2006-06-03 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 3 Jun 2006, at 20:53, Florent Guillaume wrote:


On 3 Jun 2006, at 20:46, Jens Vagelpohl wrote:

On 3 Jun 2006, at 18:49, Florent Guillaume wrote:
I didn't see the GenericSetup checkin creating that tag, could  
you check that you're subscribed (but not receiving mail if you  
don't want to) to the list

http://mail.zope.org/mailman/listinfo/zope-cvs
Or are these checkins messages now going somewhere else?


I am subscribed to the [EMAIL PROTECTED] list and everything shows  
up on it. Are you on that list?


I am, but not reading mail through it, I'm using Gmane. It seems  
[EMAIL PROTECTED] is not on Gmane. Should I ask for it to be added?


I think that would be a great idea :)

jens

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.1 (Darwin)

iD8DBQFEgdwiRAx5nvEhZLIRAo9DAJoDOI9cgmMeRbzD5zDJTblf/CkQfACfcuMq
diICOTMC2Wqz+PspI+9Ka3U=
=mVN7
-END PGP SIGNATURE-
___
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] Re: SVN: CMF/branches/1.6/ - preparing CMF 1.6.1-beta

2006-06-03 Thread Florent Guillaume

On 3 Jun 2006, at 20:46, Jens Vagelpohl wrote:

On 3 Jun 2006, at 18:49, Florent Guillaume wrote:
I didn't see the GenericSetup checkin creating that tag, could you  
check that you're subscribed (but not receiving mail if you don't  
want to) to the list

http://mail.zope.org/mailman/listinfo/zope-cvs
Or are these checkins messages now going somewhere else?


I am subscribed to the [EMAIL PROTECTED] list and everything shows  
up on it. Are you on that list?


I am, but not reading mail through it, I'm using Gmane. It seems  
[EMAIL PROTECTED] is not on Gmane. Should I ask for it to be added?


Florent

--
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]



___
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] default view

2006-06-03 Thread Florent Guillaume

In current Zope 2.10, when you have:

  
and a URL like:

  http://.../foodoc/thepage

it seems that the publisher will still use attribute lookup (and  
therefore acquisition) before the view if you have a URL like


This is unfortunate because in my case I want to use a page name that  
is present as an attribute on all the parents ("view", this is for  
CMF), and there seems to be no way of having the Five views take  
precedence over attributes and acquisition. What's the reason for  
having decided to do it this way? Can this be changed?



A second problem is that even if I specify:

  

and the URL:
   http://.../foodoc/

then "thepage" is still looked up as above, attribute lookup first.  
I'm pretty that in this cas we only want view lookup.


Opinions?

Florent

--
Florent Guillaume, Nuxeo (Paris, France)   Director of R&D
+33 1 40 33 71 59   http://nuxeo.com   [EMAIL PROTECTED]



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