[Zope-dev] Zope Tests: 8 OK, 1 Failed

2006-11-19 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sat Nov 18 12:00:00 2006 UTC to Sun Nov 19 12:00:00 2006 UTC.
There were 9 messages: 9 from Zope Unit Tests.


Test failures
-

Subject: FAILED (failures=2) : Zope-2.8 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sat Nov 18 21:35:05 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006607.html


Tests passed OK
---

Subject: OK : Zope-2.6 Python-2.1.3 : Linux
From: Zope Unit Tests
Date: Sat Nov 18 21:27:34 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006602.html

Subject: OK : Zope-2.6 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Sat Nov 18 21:29:04 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006603.html

Subject: OK : Zope-2.7 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Sat Nov 18 21:30:34 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006604.html

Subject: OK : Zope-2.7 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sat Nov 18 21:32:05 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006605.html

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Unit Tests
Date: Sat Nov 18 21:33:35 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006606.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sat Nov 18 21:36:35 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006608.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sat Nov 18 21:38:05 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006609.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Unit Tests
Date: Sat Nov 18 21:39:35 EST 2006
URL: http://mail.zope.org/pipermail/zope-tests/2006-November/006610.html

___
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] OFS.Cache.Cacheable.ZCacheable_invalidate and view_name

2006-11-19 Thread Maciej Wisniowski
Hi

Question is, what is view_name supposed to do during
invalidation?

In OFS.Cache.Cacheable we have:

def ZCacheable_invalidate(self, view_name='', REQUEST=None):
'''Called after a cacheable object is edited. Causes all
cache entries that apply to the view_name to be removed.
Returns a status message.
'''
c = self.ZCacheable_getCache()
if c is not None:
ob, view_name = self.ZCacheable_getObAndView(view_name)
try:
message = c.ZCache_invalidate(ob)
(...)

and:

def ZCacheable_getObAndView(self, view_name):
(...)
ob = self
if not view_name and self.ZCacheable_isAMethod():
# This is a ZClass method.
ob = aq_parent(aq_inner(self))
if isCacheable(ob):
view_name = self.getId()
else:
# Both the parent and the child have to be
# cacheable.
ob = self
return ob, view_name


As far as I understand this, 'view_name' is useless here, and
invalidation always occurs for all cache keys associated with object
'ob'. But this is not what docstring for ZCacheable_invalidate says.
Seems strange but maybe I've missed something here?

-- 
Maciej Wisniowski

___
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] Link download zope ?

2006-11-19 Thread Luc Van Tien
My server is under Sun Solaris 10 sparc.
  I want to install  Zope version 2 newest.(version binary not source code ).
  Anyone show me link to download.
   
  PS : when i install source code zope 2 on sun solaris,always found bugs.
  But when i install it on redhat ,its works fine.


-
Hãy ghé qua trang chủ Yahoo! Việt Nam!___
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] Link download zope ?

2006-11-19 Thread Jens Vagelpohl

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1


On 19 Nov 2006, at 17:36, Luc Van Tien wrote:


My server is under Sun Solaris 10 sparc.
I want to install  Zope version 2 newest.(version binary not source  
code ).

Anyone show me link to download.

PS : when i install source code zope 2 on sun solaris,always found  
bugs.

But when i install it on redhat ,its works fine.


There is no Solaris binary, sorry. All Unix versions are installed  
using the source code. If you have problems, please post a detailed  
problem description with the *full traceback* if there is one.


jens



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

iD8DBQFFYIqaRAx5nvEhZLIRAk1xAJ45L0mMdDEuApObo5cUE6R0avXWDQCghSrz
+sdnq34u7FNac6F/+Dfc0uU=
=D2gU
-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] Link download zope ?

2006-11-19 Thread David Lloyd


Luc,


My server is under Sun Solaris 10 sparc.
I want to install  Zope version 2 newest.(version binary not source code ).
Anyone show me link to download.
 
PS : when i install source code zope 2 on sun solaris,always found bugs.

But when i install it on redhat ,its works fine.


How did you unpack the source? Solaris' tar command:

 gunzip -c Zope-2.9.5-final.tgz | tar -xvf -

...will fail to extract the Zope distribution because Solaris' tar 
contains a 100 character filename and path limit which *will* subtly 
break a Zope install script as there are paths in it that exceed 100 
characters long.


Try:

 gunzip -c Zope-2.9.5-final.tgz | tar -Exvf -

 OR:

 /usr/sfw/bin/gtar -xzvf Zope-2.9.5-final.tgz

...and then run the install instructions.

It should just work.

I have Zope 2 and Zope 3 running on Open Solaris ON (Solaris Community 
Edition) quite successfully after having discovered the above subtle issue.


DSL
___
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] OFS.Cache.Cacheable.ZCacheable_invalidate and view_name

2006-11-19 Thread Stefan H. Holek
No, you are right. The way the cache is constructed doesn't allow to  
purge by view_name.


Stefan


On 19. Nov 2006, at 13:46, Maciej Wisniowski wrote:


As far as I understand this, 'view_name' is useless here, and
invalidation always occurs for all cache keys associated with object
'ob'. But this is not what docstring for ZCacheable_invalidate says.
Seems strange but maybe I've missed something here?


--
Anything that happens, happens.  --Douglas Adams


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