[Zope-dev] Zope Tests: 6 OK

2009-11-09 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sun Nov  8 12:00:00 2009 UTC to Mon Nov  9 12:00:00 2009 UTC.
There were 6 messages: 6 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.10 Python-2.4.6 : Linux
From: Zope Tests
Date: Sun Nov  8 20:38:50 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012980.html

Subject: OK : Zope-2.11 Python-2.4.6 : Linux
From: Zope Tests
Date: Sun Nov  8 20:40:50 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012981.html

Subject: OK : Zope-2.12 Python-2.6.2 : Linux
From: Zope Tests
Date: Sun Nov  8 20:42:50 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012982.html

Subject: OK : Zope-2.12-alltests Python-2.6.2 : Linux
From: Zope Tests
Date: Sun Nov  8 20:44:50 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012983.html

Subject: OK : Zope-trunk Python-2.6.2 : Linux
From: Zope Tests
Date: Sun Nov  8 20:46:50 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012984.html

Subject: OK : Zope-trunk-alltests Python-2.6.2 : Linux
From: Zope Tests
Date: Sun Nov  8 20:48:50 EST 2009
URL: http://mail.zope.org/pipermail/zope-tests/2009-November/012985.html

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


[Zope-dev] Packing and GC versus packtime

2009-11-09 Thread Christian Theune
Hi,

I'm wondering:

Scenario 1: I pack a storage to a time T and append X transactions after
that

Scenario 2: I append X transactions to a storage and then pack it to time T.

Will those scenarios end up with the same result? I can imagine GC to
get in the way, but I'm not sure about how it does its thing exactly.

The question can also be phrased as: Are the operations pack and
append transaction for storages commutative?

Christian

-- 
Christian Theune · c...@gocept.com
gocept gmbh  co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development

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


Re: [Zope-dev] Packing and GC versus packtime

2009-11-09 Thread Christian Theune
On 11/09/2009 01:22 PM, Christian Theune wrote:
 Hi,
 
 I'm wondering:
 
 Scenario 1: I pack a storage to a time T and append X transactions after
 that
 
 Scenario 2: I append X transactions to a storage and then pack it to time T.
 
 Will those scenarios end up with the same result? I can imagine GC to
 get in the way, but I'm not sure about how it does its thing exactly.
 
 The question can also be phrased as: Are the operations pack and
 append transaction for storages commutative?

Dang. Post to wrong list. Please consider this moved to the zodb-dev list.



-- 
Christian Theune · c...@gocept.com
gocept gmbh  co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development

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


Re: [Zope-dev] Packing and GC versus packtime

2009-11-09 Thread Jim Fulton
On Mon, Nov 9, 2009 at 7:22 AM, Christian Theune c...@gocept.com wrote:
 Hi,

 I'm wondering:

 Scenario 1: I pack a storage to a time T and append X transactions after
 that

 Scenario 2: I append X transactions to a storage and then pack it to time T.

 Will those scenarios end up with the same result? I can imagine GC to
 get in the way, but I'm not sure about how it does its thing exactly.

 The question can also be phrased as: Are the operations pack and
 append transaction for storages commutative?

Yes, as long as the pack time is before the time of the appended transactions.

Jim

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


Re: [Zope-dev] Packing and GC versus packtime

2009-11-09 Thread Christian Theune
On 11/09/2009 02:47 PM, Jim Fulton wrote:
 On Mon, Nov 9, 2009 at 7:22 AM, Christian Theune c...@gocept.com wrote:
 Hi,

 I'm wondering:

 Scenario 1: I pack a storage to a time T and append X transactions after
 that

 Scenario 2: I append X transactions to a storage and then pack it to time T.

 Will those scenarios end up with the same result? I can imagine GC to
 get in the way, but I'm not sure about how it does its thing exactly.

 The question can also be phrased as: Are the operations pack and
 append transaction for storages commutative?
 
 Yes, as long as the pack time is before the time of the appended transactions.

Right. Cool. Oh joy, oh joy! :)


-- 
Christian Theune · c...@gocept.com
gocept gmbh  co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 0 · fax +49 345 1229889 1
Zope and Plone consulting and development

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


Re: [Zope] UTF-8 problem with zope2.10 and postgresql [Solved]

2009-11-09 Thread Claire Boussard

- Jonathan (dev101) dev...@magma.ca a écrit :

 - Original Message - 
 From: Andreas Jung li...@zopyx.com
 To: Claire Boussard claibo...@free.fr
 Cc: zope zope@zope.org
 Sent: Friday, November 06, 2009 12:47 PM
 Subject: Re: [Zope] UTF-8 problem with zope2.10 and postgresql
 
 
  Am 06.11.09 17:40, schrieb Claire Boussard:
 
  In the HTML page 
  meta http-equiv=Content-Type content=text/html; charset=UTF-8
 /

  The ZPublisher does not care about that. You may set the
 content-type
  explictly as HTTP header and not through http-equiv by calling
  
  RESPONSE.setHeader(key, value)
  
  (no idea how to do that using the ancient technology DTML).
 
 
 dtml-call RESPONSE.setHeader('Content-Type','text/html;
 charset=UTF-8')

I tried this but it changed nothing, I think specifiying
default-zpublisher-encoding utf-8 in zope.conf does the same.

Eventually I have replaced 
dtml-var firstname
with
dtml-var expr=firstname.decode('utf8')

I do'nt really understand why, and it's not very convenient as I must fix
all the pages, but it works!

Many thanks to all who responded.

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


Re: [Zope] UTF-8 problem with zope2.10 and postgresql [Solved]

2009-11-09 Thread Andreas Jung
Am 09.11.09 15:59, schrieb Claire Boussard:
 - Jonathan (dev101) dev...@magma.ca a écrit :

   
 - Original Message - 
 From: Andreas Jung li...@zopyx.com
 To: Claire Boussard claibo...@free.fr
 Cc: zope zope@zope.org
 Sent: Friday, November 06, 2009 12:47 PM
 Subject: Re: [Zope] UTF-8 problem with zope2.10 and postgresql


 
 Am 06.11.09 17:40, schrieb Claire Boussard:
   
 In the HTML page 
 meta http-equiv=Content-Type content=text/html; charset=UTF-8
 
 /
 
   
 
 The ZPublisher does not care about that. You may set the
   
 content-type
 
 explictly as HTTP header and not through http-equiv by calling

 RESPONSE.setHeader(key, value)

 (no idea how to do that using the ancient technology DTML).
   

 dtml-call RESPONSE.setHeader('Content-Type','text/html;
 charset=UTF-8')
 
 I tried this but it changed nothing, 
I doubt that.

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


[Zope] zope 2.10.7 enabling json server

2009-11-09 Thread Jayakrishnan Nair
hello friends
VERY VERY new to ZOPE and dfacing a problem with my final year project :
working on a project that involves making an existing plone product
json rpc enabled so that i can use it for cross site calls from a
Mozilla extension
i cant make standard httprequests because of the cross site security
issues in the browser
the query library (that i have to make json rpc enabled ) works fine
with xml rpc in python and using the GET method in the url but i need
it to work for json requests

i have added this http://www.zope.org/Members/ree/jsonserver2 and
tried using several javascript json rpc libraries but still no luck
are there any settings involved that i have to do to make the query
library json enabled

there is also an examples section to it which breaks the ZMI completely
in the above package there is a test folder containing a test script
to check the working but no clue how to execute it cos in teh zmi it
goes into a loop asking for authorization

if u can pls help me and tell me a solution to this problem it will be
just awesome

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


[Zope-CMF] CMF Tests: 4 OK

2009-11-09 Thread CMF Tests Summarizer
Summary of messages to the cmf-tests list.
Period Sun Nov  8 12:00:00 2009 UTC to Mon Nov  9 12:00:00 2009 UTC.
There were 4 messages: 4 from CMF Tests.


Tests passed OK
---

Subject: OK : CMF-2.1 Zope-2.10 Python-2.4.6 : Linux
From: CMF Tests
Date: Sun Nov  8 20:56:14 EST 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-November/012225.html

Subject: OK : CMF-2.1 Zope-2.11 Python-2.4.6 : Linux
From: CMF Tests
Date: Sun Nov  8 20:58:14 EST 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-November/012226.html

Subject: OK : CMF-trunk Zope-2.12 Python-2.6.2 : Linux
From: CMF Tests
Date: Sun Nov  8 21:00:14 EST 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-November/012227.html

Subject: OK : CMF-trunk Zope-trunk Python-2.6.2 : Linux
From: CMF Tests
Date: Sun Nov  8 21:02:14 EST 2009
URL: http://mail.zope.org/pipermail/cmf-tests/2009-November/012228.html

___
Zope-CMF maillist  -  Zope-CMF@zope.org
https://mail.zope.org/mailman/listinfo/zope-cmf

See https://bugs.launchpad.net/zope-cmf/ for bug reports and feature requests