[Zope] Re: zope on google file system

2008-03-31 Thread Laurence Rowe
As an experiment, I started porting zodb to amazon s3 storage a while 
ago... http://code.google.com/p/s3storage/


You can use it to start zope, but it makes far too many writes 
inefficiently (it took about 15 minutes for zope2 to create all it's 
objects on a first start).


Now that ec2 comes with static IP addresses, I might end up looking at 
it again. It needs refactoring to write only one file per transaction 
(or savepoint), but once done I would imagine it might then offer 
reasonable performance.


Laurence

Tim Nash wrote:

The google summer of code is almost underway and already has a lot of
good ideas but I was wondering if any of my fellow zope users would
have any interest in the following area:

I don't have the skills but I think it would be cool if some
student ported Zope to utilize features of the google file system or
libferris. Libferris is a virtual file system that mounts just about
everything including postgres, xml and OpenOffice docs.  If zope ran
on the gfs (primarily adding business logic, security and publishing)
it would give a boost to the value of any zope based company. Also, I
think it would be fun to run map/reduce on my stored objects! A zope
that ran on libferris and offered secure publishing of libferris
resources would just be cool.

If anybody else thinks this would be useful I will jon the gsoc user
list, (even though I'm not a student and I'm not experienced enough
with zope to be a mentor) and do my best to make this happen.
___
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 )


[Zope] ZSyncer Zope 2.10

2008-03-31 Thread Craig Chasseur
Hello All,

We've recently completed an upgrade to Zope 2.10.5 on one of our servers and 
we've begun to encounter problems with ZSyncer. We use ZSyncer to synchronize 
objects between this server and another running Zope 2.9.8 (both have ZSyncer 
0.7.1 installed). When attempting to put folders from the 2.10 server to 
the 2.9 server, the process hangs and nothing is transferred. However, when 
we attempt to put individual objects, we are successful.

Does anyone know what might be the cause of this issue? ZSyncer 0.7.1, which 
is the latest release, claims that it may not be compatible with Zope 2.9 and 
up, but we were able to use it successfully before this most recent upgrade 
to 2.10. If anyone is aware of a fix or a workaround, or simply has an 
insight into why this breaks for us, I would greatly appreciate the help.

Sincerely,
Craig Chasseur
University of Michigan
___
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: Managing Zope objects in Subversion

2008-03-31 Thread martin.gfeller
Dear all

I would like to thank all those who have responded to my query about
management 
of Zope objects in Subversion. After I sent out my message on 2 March, I
got completely 
side-tracked by other business. Please accept my apologies for this late
response.

I've experimented with FSDump and FileSystemSite, but that's a one-way
solution; i.e.,
I cannot restore the file system back into ZODB.

For me, the most promising respone was:

 From: Sam Rangaswamy [EMAIL PROTECTED] 
 Sent: Sunday, March 02, 2008 5:46 PM
 Subject: Re: [Zope] Managing Zope objects in Subversion

 Hello Martin
 We use subversion extensively to manage our entire product development
life cycle.
 We have built tools to move source code back and forth between file
system and zodb.
 I will have it documented and share it with you and publish it. I
think it may be useful.

 Best
 sam

I will gladly wait until Sam publishes their tools, and I think this
will be useful to
the community indeed. Thank you in advance, Sam!

Best regards,
Martin Gfeller
___
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] ZSyncer Zope 2.10

2008-03-31 Thread Paul Winkler
On Mon, Mar 31, 2008 at 09:41:11AM -0400, Craig Chasseur wrote:
 Hello All,
 
 We've recently completed an upgrade to Zope 2.10.5 on one of our servers and 
 we've begun to encounter problems with ZSyncer. We use ZSyncer to synchronize 
 objects between this server and another running Zope 2.9.8 (both have ZSyncer 
 0.7.1 installed). When attempting to put folders from the 2.10 server to 
 the 2.9 server, the process hangs and nothing is transferred. However, when 
 we attempt to put individual objects, we are successful.
 
 Does anyone know what might be the cause of this issue? ZSyncer 0.7.1, which 
 is the latest release, claims that it may not be compatible with Zope 2.9 and 
 up, but we were able to use it successfully before this most recent upgrade 
 to 2.10. If anyone is aware of a fix or a workaround, or simply has an 
 insight into why this breaks for us, I would greatly appreciate the help.

I've never tried ZSyncer with Zope 2.10; I don't have any guesses what
your problem is.

Have you tried syncing between two 2.10 instances? In general, you
move data from 2.X to 2.X-1 at your own risk, whether using ZSyncer or
the import/export tab in the ZMI.

I've been the official ZSyncer maintainer for about 5 years now, but
honestly I've barely touched it since 2005, since in its current state
it works well enough on the rare occasions that I need it. If somebody
else cares enough about ZSyncer to maintain it, please contact me.

Otherwise, to be crassly honest, I'm unlikely to do any
ZSyncer-related work unless somebody pays me to do so.

-- 

Paul Winkler
http://www.slinkp.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] Problem with WebDAV and non-ascii titles

2008-03-31 Thread Dieter Maurer
Pawel Lewicki wrote at 2008-3-28 15:52 +0100:
I have a problem with accessing files with non-ascii titles via Enfold 
Desktop (WebDAV)- Zope 2.10.4).

Traceback (innermost last):
   Module ZPublisher.Publish, line 119, in publish
   Module ZPublisher.mapply, line 88, in mapply
   Module ZPublisher.Publish, line 42, in call_object
   Module webdav.Resource, line 286, in PROPFIND
   Module webdav.davcmds, line 124, in apply
   Module OFS.PropertySheets, line 344, in dav__allprop
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc3 in position 47: 
ordinal not in range(128)

WebDAV is XML technology, therefore essentially unicode.

Apparently, your titles are plain strings. Therefore,
Python needs to convert them to unicode at the WebDAV boundary.
Obviously, an encoding is necessary to do this -- and
as no explicit encoding is given, Python's defaultencoding
is used (which defaults to ascii).


The most proper solution would be to make your titles unicode.

If all your plain strings use a common encoding, then
you can set Python's defaultencoding to this encoding.
You must do that at startup (e.g. in sitecustomize.py),
as setdefaultencoding is removed from sys after startup.



-- 
Dieter
___
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] ZSyncer Zope 2.10

2008-03-31 Thread Dieter Maurer
Craig Chasseur wrote at 2008-3-31 09:41 -0400:
 ...
When attempting to put folders from the 2.10 server to 
the 2.9 server, the process hangs and nothing is transferred.

ZSyncer is essentially an automazation of export/import.
Try to export, then import manually. One of these steps
should show the same problem. You know then which one and
can furter investigate this step.



-- 
Dieter
___
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] Re: zope on google file system

2008-03-31 Thread Tim Nash
This is what I love about zope. It can be a much more flexible way to
store data than in a relational db. Maybe some combination of zodb and
s3 would be efficient. Zodb for frequently used business objects and a
library (localfs modified ?) for storing data documents on s3. Could
you update your plan when you get time?

Thanks!
Tim




On 3/31/08, Laurence Rowe [EMAIL PROTECTED] wrote:
 As an experiment, I started porting zodb to amazon s3 storage a while
 ago... http://code.google.com/p/s3storage/

 You can use it to start zope, but it makes far too many writes
 inefficiently (it took about 15 minutes for zope2 to create all it's
 objects on a first start).

 Now that ec2 comes with static IP addresses, I might end up looking at
 it again. It needs refactoring to write only one file per transaction
 (or savepoint), but once done I would imagine it might then offer
 reasonable performance.

 Laurence

 Tim Nash wrote:
  The google summer of code is almost underway and already has a lot of
  good ideas but I was wondering if any of my fellow zope users would
  have any interest in the following area:
 
  I don't have the skills but I think it would be cool if some
  student ported Zope to utilize features of the google file system or
  libferris. Libferris is a virtual file system that mounts just about
  everything including postgres, xml and OpenOffice docs.  If zope ran
  on the gfs (primarily adding business logic, security and publishing)
  it would give a boost to the value of any zope based company. Also, I
  think it would be fun to run map/reduce on my stored objects! A zope
  that ran on libferris and offered secure publishing of libferris
  resources would just be cool.
 
  If anybody else thinks this would be useful I will jon the gsoc user
  list, (even though I'm not a student and I'm not experienced enough
  with zope to be a mentor) and do my best to make this happen.
  ___
  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 )

___
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-dev] Zope Tests: 5 OK

2008-03-31 Thread Zope Tests Summarizer
Summary of messages to the zope-tests list.
Period Sun Mar 30 11:00:00 2008 UTC to Mon Mar 31 11:00:00 2008 UTC.
There were 5 messages: 5 from Zope Tests.


Tests passed OK
---

Subject: OK : Zope-2.8 Python-2.3.6 : Linux
From: Zope Tests
Date: Sun Mar 30 20:58:13 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-March/009330.html

Subject: OK : Zope-2.9 Python-2.4.4 : Linux
From: Zope Tests
Date: Sun Mar 30 20:59:43 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-March/009331.html

Subject: OK : Zope-2.10 Python-2.4.4 : Linux
From: Zope Tests
Date: Sun Mar 30 21:01:14 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-March/009332.html

Subject: OK : Zope-2.11 Python-2.4.4 : Linux
From: Zope Tests
Date: Sun Mar 30 21:02:44 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-March/009333.html

Subject: OK : Zope-trunk Python-2.4.4 : Linux
From: Zope Tests
Date: Sun Mar 30 21:04:14 EDT 2008
URL: http://mail.zope.org/pipermail/zope-tests/2008-March/009334.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 )