[Zope] Re: UnpickleableError: Cannot pickleobjects

2005-06-14 Thread Dylan Jay
"Dylan Jay" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
>I think I've tracked it down to a RamCacheManager inside a volitile 
>variable. But I thought volitile variables we'ren't stored? Am I doing 
>something strange with my heirachy that is abusing the ZODB? The heirachy 
>is
> object.[Cacheable] And the Cacheable has _v_ZCacheable_cache = 
> RamCacheManager. I believe the RamCacheManager has locks in it.

I think I've tracked down the problem. Cacheable did not inherit from 
Persistent. I was infact using a super class of Cacheable called 
NamedCacheable which inherited Acquisition.Implicit which I'd thought was 
enough (a long time ago when I wrote it).

Just for the record, how I tracked this down was by using dumps. In pdb I 
did

from pickle import dumps
pp state['attributename']

until I found the parts of the state that raised errors.

>
>
>> "Dieter Maurer" <[EMAIL PROTECTED]> wrote in message 
>> news:[EMAIL PROTECTED]
>>> Dylan Jay wrote at 2005-6-14 17:45 +1000:
 ...
356, in _commit_objects
jar.commit(o, self)
  File "C:\Program 
 Files\Zope-2.7.5-final\lib\python\ZODB\Connection.py",
line 4
52, in commit
dump(state)
UnpickleableError: Cannot pickle  objects
>>>
>>> I would catch the error and enter a debugger to analyse the "o" above.
>>>
>>> With "pdb" (the Python Debugger, part of Python),
>>> this could look like:
>>>
>>> try: dump(state)
>>> except: import pdb; pdb.set_trace()
>>
>> Good suggestion (I did try to get debugging working in WingIDE and Boa 
>> but your way worked best in the end).
>> Unfortunatly I'm still none the wiser.
>> I know which object it is and I've looked at its state (below). I've 
>> looked at the OOBTree and made sure it contains nothing that has a lock 
>> in it. I can look at sys.exc_info[1].args which is a lock object but what 
>> I really need to do is work out where this lock object is and why its 
>> entangled with my transaction. Any suggestions?
>>
>> {'__ac_local_roles__': {'djay': ['Owner']},
>> '_cacheables': {'constructReviewer': > 0409A8D0>,
>> 'findNeighbors': },
>> '_hasBeenTrained': 0,
>> 'filterByMovies': 0,
>> 'filterByPeople': 0,
>> 'filterByVotes': 0,
>> 'hashMoviesToUse': None,
>> 'hashPeopleToUse': None,
>> 'hoods': ,
>> 'id': 'predictor',
>> 'keepInMemory': 0,
>> 'moviesToUse': None,
>> 'neighborhoodSize': 30,
>> 'overlapPenalty': 50,
>> 'peopleToUse': None,
>> 'reviewers': None,
>> 'title': '',
>> 'votesToUse': None}
>>
>>
>>
>> ___
>> 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] Re: UnpickleableError: Cannot pickle objects

2005-06-14 Thread Dylan Jay
I think I've tracked it down to a RamCacheManager inside a volitile 
variable. But I thought volitile variables we'ren't stored? Am I doing 
something strange with my heirachy that is abusing the ZODB? The heirachy is
object.[Cacheable] And the Cacheable has _v_ZCacheable_cache = 
RamCacheManager. I believe the RamCacheManager has locks in it.



> "Dieter Maurer" <[EMAIL PROTECTED]> wrote in message 
> news:[EMAIL PROTECTED]
>> Dylan Jay wrote at 2005-6-14 17:45 +1000:
>>> ...
>>>356, in _commit_objects
>>>jar.commit(o, self)
>>>  File "C:\Program Files\Zope-2.7.5-final\lib\python\ZODB\Connection.py",
>>>line 4
>>>52, in commit
>>>dump(state)
>>>UnpickleableError: Cannot pickle  objects
>>
>> I would catch the error and enter a debugger to analyse the "o" above.
>>
>> With "pdb" (the Python Debugger, part of Python),
>> this could look like:
>>
>> try: dump(state)
>> except: import pdb; pdb.set_trace()
>
> Good suggestion (I did try to get debugging working in WingIDE and Boa but 
> your way worked best in the end).
> Unfortunatly I'm still none the wiser.
> I know which object it is and I've looked at its state (below). I've 
> looked at the OOBTree and made sure it contains nothing that has a lock in 
> it. I can look at sys.exc_info[1].args which is a lock object but what I 
> really need to do is work out where this lock object is and why its 
> entangled with my transaction. Any suggestions?
>
> {'__ac_local_roles__': {'djay': ['Owner']},
> '_cacheables': {'constructReviewer':  0409A8D0>,
> 'findNeighbors': },
> '_hasBeenTrained': 0,
> 'filterByMovies': 0,
> 'filterByPeople': 0,
> 'filterByVotes': 0,
> 'hashMoviesToUse': None,
> 'hashPeopleToUse': None,
> 'hoods': ,
> 'id': 'predictor',
> 'keepInMemory': 0,
> 'moviesToUse': None,
> 'neighborhoodSize': 30,
> 'overlapPenalty': 50,
> 'peopleToUse': None,
> 'reviewers': None,
> 'title': '',
> 'votesToUse': None}
>
>
>
> ___
> 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] Re: UnpickleableError: Cannot pickle objects

2005-06-14 Thread Dylan Jay
"Dieter Maurer" <[EMAIL PROTECTED]> wrote in message 
news:[EMAIL PROTECTED]
> Dylan Jay wrote at 2005-6-14 17:45 +1000:
>> ...
>>356, in _commit_objects
>>jar.commit(o, self)
>>  File "C:\Program Files\Zope-2.7.5-final\lib\python\ZODB\Connection.py",
>>line 4
>>52, in commit
>>dump(state)
>>UnpickleableError: Cannot pickle  objects
>
> I would catch the error and enter a debugger to analyse the "o" above.
>
> With "pdb" (the Python Debugger, part of Python),
> this could look like:
>
> try: dump(state)
> except: import pdb; pdb.set_trace()

Good suggestion (I did try to get debugging working in WingIDE and Boa but 
your way worked best in the end).
Unfortunatly I'm still none the wiser.
I know which object it is and I've looked at its state (below). I've looked 
at the OOBTree and made sure it contains nothing that has a lock in it. I 
can look at sys.exc_info[1].args which is a lock object but what I really 
need to do is work out where this lock object is and why its entangled with 
my transaction. Any suggestions?

{'__ac_local_roles__': {'djay': ['Owner']},
 '_cacheables': {'constructReviewer': ,
 'findNeighbors': },
 '_hasBeenTrained': 0,
 'filterByMovies': 0,
 'filterByPeople': 0,
 'filterByVotes': 0,
 'hashMoviesToUse': None,
 'hashPeopleToUse': None,
 'hoods': ,
 'id': 'predictor',
 'keepInMemory': 0,
 'moviesToUse': None,
 'neighborhoodSize': 30,
 'overlapPenalty': 50,
 'peopleToUse': None,
 'reviewers': None,
 'title': '',
 'votesToUse': None}



___
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] Transferring Zope Settings

2005-06-14 Thread robert rottermann

jlegris wrote:

Hello All,

I need to transfer Plone/Zope settings from a test instance to a live
instance of the Zope server. Aside from transferring the entire Data.fs file
or manually copying scripts and replicating configuration settings, is there
a simple way to do this?

Any advice would be greatly appreciated,

Regards,

Joel




 



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

Hi Joel,

we have developped a product that we use  for syncing developpment and 
production sites.

It is called RedPick and you can find it at
http://www.redcor.ch/produkte_html/redpick
http://www.redcor.ch/produkte_html/redpick/Documentation
it has a readme file that does explain its use. Consult it to check 
whether it fits your needs.


Robert
___
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] Single worklist for documents with different states?

2005-06-14 Thread Nikko Wolf
I've implemented a workflow (in Plone Workflow, derived from 
DCWorkflow), and would like my reviewers to see a "worklist" portal.


However, since I have two reviewer roles that must independently review 
the document, I have two intervening states in my workflow (ie: "needAB" 
then either "needA" or "needB" and then "submitted").


I'd like the "A" reviewers to see documents in the "needA" and "needAB" 
states, while the reviewers see documents in "needB" and "needAB" 
states.  Of course, I'm presuming these will be separate worklists.


Is there some other way to implement these worklists?   I can create a 
"portal_tab" which pulls a ZPT that generates the list of items on which 
the member could work (as Owner, Editor or one of the reviewer roles), 
but I was hoping to make the worklists work in the short term.


Nikko

___
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 Corp and Z3ECM

2005-06-14 Thread Rob Page

Zope Corporation is delighted to announce its active
participation in the Zope 3 Enterprise Content
Management project recently organized by Nuxeo and
joined by a number of community members.

It's clear that the Zope Community will benefit from a
consolidation of common patterns and their
implementations in order to grow Zope's market share
and we are excited to participate in this effort.

In conjunction with the Zope Foundation we expect the
Z3ECM project to set the example for global
collaboration on sophisticated content management
functionality and its application.  We are looking
forward to launching the Foundation with community
involvement so that the Z3ECM project can safely share
in the Zope brand.

We would like to sincerely thank all of the pioneers
who planted the seeds for this effort at the recent
sprints (Castle, Paris, etc.).  We know from
first-hand, large-scale commercial experience that Zope
3 will excel at supporting this effort.

Zope Corporation has been making substantial
investments in Zope 3 evolution and associated add-on
componentry for the last year.

An example of this investment is the XML Process
Definition Language (XPDL) support that is now
available in Zope 3.  XPDL support is the first in a
series of substantial, customer-inspired contributions
that Zope Corporation will be making to the ZECMP over
the coming months.

Together with Nuxeo's significant ongoing investment in
CPS (the Zope 3 version of which will also be
contributed to the Z3ECM) we expect the platform will
quickly evolve to be the world-leading content
management platform.

We also propose a name change to the project from Z3ECM
to Zope Enterprise Content Management Platform (ZECMP).
This will allow the project to disassociate from Zope 3
(it seems likely that there will be 2.8/"5" ports of
many/most capabilities).  It also makes for a natural
transition to the Zope Foundation when that's available
in the early Fall.

Thanks again to everyone who has helped get Zope 3 and
these ideas to this exciting point!

Regards,
Rob

--

Rob PageV: 540.361.1710
Zope CorporationF: 703.995.0412

___
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: undo many things

2005-06-14 Thread Rakotomandimby (R12y) Mihamina
J Cameron Cooper <[EMAIL PROTECTED]> :
> Also, can you not just undo one page at a time? I don't generally try
> undoing anything too far off as a rule, since I don't expect it to work.

No, It was a CPS upgrade.
The concerned object is the CPS site.

I made the update, then we saw that we had to undo it, because some
documents behaved wrong. You can guess we made many test before deciding
to undo the upgrade. So we have to get back far in the past... very far...

Four pages.

I dont know how to use script as Dieter suggested. 
Is there any tips to start? 

-- 
Miroir de logiciels libreshttp://www.etud-orleans.fr
Développement de logiciels libres http://aspo.rktmb.org/activites/developpement
Infogerance de serveur dédié  http://aspo.rktmb.org/activites/infogerance
(En louant les services de l'ASPO vous luttez contre la fracture numerique)


___
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] Transferring Zope Settings

2005-06-14 Thread Paul Winkler
On Tue, Jun 14, 2005 at 11:56:47AM -0500, J Cameron Cooper wrote:
> The ZSyncer product may help. I don't recall how good it is at syncing 
> attributes, but it can certainly help you get your tools and skins and 
> whatnot configured the same.

ZSyncer currently syncs only entire objects. So if you
sync a folder, you automatically sync all its sub-objects.

But it can still help with some things, if e.g. it's safe to sync
your entire portal_skins tool.
 
-- 

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] Zope quotes cookie values...

2005-06-14 Thread Dieter Maurer
Oscar Figueiredo wrote at 2005-6-13 19:38 +0200:
>I wonder why ZPublisher/HTTPResponse.py adds double quotes to cookie values
>when creating the Set-Cookie HTTP header (see function _cookie_list) ?
>Browsers (Firefox at least) seem to consider these quotes as part of the value
>which can be problematic.

A cookie value must not contain some characters -- unless it is quoted.
Therefore, Zope quotes the values (to avoid problems when you forgot
to quote yourself).

HTTP clients should not interprete the cookie value but handle
it as an opaque item.

This means a client should not have a problem with a quoted value.

> ...
>Should I submit a patch to the maintainers ?

I expect your acceptance chances as small...

-- 
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] UnpickleableError: Cannot pickle objects

2005-06-14 Thread Dieter Maurer
Dylan Jay wrote at 2005-6-14 17:45 +1000:
> ...
>356, in _commit_objects
>jar.commit(o, self)
>  File "C:\Program Files\Zope-2.7.5-final\lib\python\ZODB\Connection.py", 
>line 4
>52, in commit
>dump(state)
>UnpickleableError: Cannot pickle  objects

I would catch the error and enter a debugger to analyse the "o" above.

With "pdb" (the Python Debugger, part of Python),
this could look like:

 try: dump(state)
 except: import pdb; pdb.set_trace()

Zope will then enter the debugger when the error happens.

You must run Zope in the foreground for this to work
(otherwise, you do not have a chance to interact with "pdb").

-- 
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] Objects loosing persistency

2005-06-14 Thread Dieter Maurer
Max M wrote at 2005-6-14 11:14 +0200:
>I have a Plone web app where the users are complaining that they can 
>create objects, edit titles etc.
>
>But when they return to the objects a little later, they are gone.

Unbelievable...

> ...
>There are reletively many objects in the system, so I suspect it to be 
>some kind of conflict with a lot of reads blocking for the writing to 
>the ZODB?

Quite unlikely.

  When a request finished (without exception) then
  its side effects are made persistent.

  For the ZODB, a read never waits for a write
  (only some writes may wait for some others).

-- 
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] zope, latin-1 and accented words

2005-06-14 Thread Dieter Maurer
Yuri wrote at 2005-6-14 16:54 +0200:
>How could I can tell the Splitter of ZCText intedex to not split words 
>as "aaaèbbb" in "aaa" and "bbb"?

It may obey the current "locale".

Try to set it (correctly) in your Zope configuration file.

-- 
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] backing up a running zodb fileStorage

2005-06-14 Thread J Cameron Cooper

gabor wrote:


i am trying to backup a zodb filestorage of a running zope.
i'm on linux.

i've read that you simply make a copy of the Data.fs file..

but what about the modifications/transactions that are happening when i 
make the copy.


will not the database be in a corrupt state then?


The ZODB will discard any incomplete transactions on startup. Copying a 
live ZODB is generally to be considered safe. Which is not to say there 
aren't better ways, as previously mentioned.


--jcc

--
"Building Websites with Plone"
http://plonebook.packtpub.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] undo many things

2005-06-14 Thread J Cameron Cooper

Rakotomandimby (R12y) Mihamina wrote:


If I want to undo a very early action, I have to also undo all the actions
done after the one I want to undo.

The problem is that the action to undo is 4 pages earlier, so that I want
to one time check all the actions of the 4 last pages.

How to manage it? 


Some objects have a "History" tab, which allows "Copy to Present". This 
may be more useful.


Also, can you not just undo one page at a time? I don't generally try 
undoing anything too far off as a rule, since I don't expect it to work.


--jcc
--
"Building Websites with Plone"
http://plonebook.packtpub.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] Transferring Zope Settings

2005-06-14 Thread J Cameron Cooper

jlegris wrote:

Hello All,

I need to transfer Plone/Zope settings from a test instance to a live 
instance of the Zope server. Aside from transferring the entire Data.fs 
file or manually copying scripts and replicating configuration settings, 
is there a simple way to do this?


Any advice would be greatly appreciated,


The ZSyncer product may help. I don't recall how good it is at syncing 
attributes, but it can certainly help you get your tools and skins and 
whatnot configured the same.


--jcc

--
"Building Websites with Plone"
http://plonebook.packtpub.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 )


[Zope] ANNOUNCE: Zope Foundation

2005-06-14 Thread Rob Page

Zope Corporation has begun the process of creating a
Zope Foundation.  The Zope Foundation will provide a
mechanism for managing the various Zope projects (e.g.,
Zope 2, the Zope CMF, Zope 3, and other Zope community
projects) in a vendor neutral way.

The Foundation will have global copyrights over the Zope
source code (to include Zope 2, Zope 3, and any other
projects managed by the Foundation) as well as a
limited, world-wide, non-exclusive, irrevocable,
perpetual license to use the Zope trademarks (i.e.,
"Zope" and the "Circle Z") to brand its software
releases.

In addition, zope.org will be operated and maintained
by the Foundation.

The Foundation's governance mechanisms are being
developed by taking the most appropriate ideas from
other leading open source projects.  These mechanisms
are being developed and legally reviewed.

We will launch the Foundation by or before the end of
October 2005.

We have scheduled an IRC session to answer questions
from the community about the Foundation.

IRC Session Summary:

  - Who:  Zope Corp and Zope Community
  - What: IRC session to discuss the Zope Foundation
  - When: Tue, 21 Jun 2005 10a - 12p (US EDT)
  - Where: irc.freenode.net #zope

Please send specific questions to:

  mailto:[EMAIL PROTECTED]

We hope to see you there!

Regards,
Rob

--

Rob PageV: 540.361.1710
Zope CorporationF: 703.995.0412

___
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, latin-1 and accented words

2005-06-14 Thread Andreas Jung

Use TextIndexNG...it is better suited for such purposes.

-aj

--On 14. Juni 2005 16:54:19 +0200 Yuri <[EMAIL PROTECTED]> wrote:


How could I can tell the Splitter of ZCText intedex to not split words as
"aaaèbbb" in "aaa" and "bbb"?

 I would like to tell zope that è,à and so on are alphanumeric
letters... In Splitter.c I have:

class Splitter:

import re
rx = re.compile(r"(?L)\w+")

 ?L match "as the locale", but I have multilingual latin-1 contents... \w
would match only [a..z,A..Z]!

 TIA

 P.S. I've written a small Class for the ZCTextindex pipeline that
convert all the accented characters in non accented ones, so I can index
"perchè" as "perche". It would work only if I can solve this splitter
problem...
___
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 )






pgpP8uWtBRMgS.pgp
Description: 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 )


[Zope] Re: Transferring Zope Settings

2005-06-14 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

jlegris wrote:
> Hello All,
> 
> I need to transfer Plone/Zope settings from a test instance to a live
> instance of the Zope server. Aside from transferring the entire Data.fs file
> or manually copying scripts and replicating configuration settings, is there
> a simple way to do this?
> 
> Any advice would be greatly appreciated,

CMF 1.5 introduced a new 'portal_setup' tool which is designed to export
such configurations in an extensible way:

  http://cvs.zope.org/CMF/CMFSetup

Unfortunately, I don't believe any shipping version of Plone is
compatible with CMF 1.5, and the tool as configured expects a few things
which break in CMF 1.4.  You might be able to hack around that breakage,
however.

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

iD8DBQFCru/U+gerLs4ltQ4RAuV5AJ949X00mtcfMAFrEBciN5+HKK8xQACePo5F
eB0LgsSYXlaZqgqdVj7+iXs=
=IlQ/
-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 )


[Zope] zope, latin-1 and accented words

2005-06-14 Thread Yuri
How could I can tell the Splitter of ZCText intedex to not split words 
as "aaaèbbb" in "aaa" and "bbb"?


I would like to tell zope that è,à and so on are alphanumeric 
letters... In Splitter.c I have:


class Splitter:

   import re
   rx = re.compile(r"(?L)\w+")

?L match "as the locale", but I have multilingual latin-1 contents... 
\w would match only [a..z,A..Z]!


TIA

P.S. I've written a small Class for the ZCTextindex pipeline that 
convert all the accented characters in non accented ones, so I can index 
"perchè" as "perche". It would work only if I can solve this splitter 
problem...

___
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] ZEO recommended for single-cpu?

2005-06-14 Thread Tim Peters
[gabor]
> i understand that you need to use ZEO when running ZOPE on a multi-cpu
> machine (or when you want to cluster ZOPE).
> 
> but from mails on this forum it seems that people are also using ZEO
> when they're running ZOPE on a single-cpu machine.
>
> why?

More here:

http://zope.org/Wikis/ZODB/FileStorageBackup
___
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] Transferring Zope Settings

2005-06-14 Thread Philip Kilner
Hi Joel,

jlegris wrote:
> Clearly, transferring the Data.fs from
> the test server to the production server is insufficient given the user data
> mismatch. Therefore, it would seem that my only option, given the
> circumstances would be to manually replicate the configuration in the
> production server. However, my better judgment leads me to think that this
> isn't sensible. Is there no alternative? 
> 

If you have "settings" and "user data" (not sure exactly what that means
 in terms of which objects are which) in the ZODB, and you need to
update  some and keep some, the way I would go about it is as follows: -

- Identify in your production data.fs what user data needs preserving
- Export these to disk as .zexp files.
- Drop in the new data.fs
- Test
- Import the user data from the .zexp files on disk

Clearly, in your case treating the data.fs as a single monolithic entity
 will not work for you - you need a way of splitting up the two types of
data that need to be treated in two different ways. I do the above
fairly frequently - I have a Plone site that seems to be nomadic, and
has passed through a number of data.fs instances in it's life. The only
"gotcha" I've encountered is where the products were out of sync between
instances.

(Note that this is pretty much what Tino has already said - I'm just
expanding on it a bit to try and get some "traction".)

Is there any reason why the above would not work for you?

I have a nagging feeling I'm missing something here...which I think
flows form your use of the term "settings" - would you care to expand on
what objects you are thinking of?


-- 

Regards,

PhilK

Email: [EMAIL PROTECTED]
PGP Public key: http://www.xfr.co.uk
Voicemail & Facsimile: 07092 070518

"You'll find that one part's sweet and one part's tart:
say where the sweetness and the sourness start."
- Tony Harrison
___
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] ZEO recommended for single-cpu?

2005-06-14 Thread Pascal Peregrina
Also, concerning multi-cpu, I think it's the other way around.

Because python processes only use one CPU, it's useless to run one Zope
instance on a multi-cpu system, as only one CPU will be used.  That's why on
multi-cpu system lots of people run at least Zeo + one instance of Zope (and
often one Zope instance per CPU).

But Zeo is really lightweight, so it's worth trying to use Zeo+Zope on a
single cpu system, to take advantage of what Chris describes below.

Pascal

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of
Chris McDonough
Sent: 14 June 2005 10:46
To: gabor
Cc: zope@zope.org
Subject: Re: [Zope] ZEO recommended for single-cpu?


Typically it's because:

- Zope starts faster in a ZEO setup.
- You can use "zopectl debug" to get into a debugger session
  without shutting down Zope first if you use ZEO.

- C


On Tue, 2005-06-14 at 11:03 +0200, gabor wrote:
> hi,
> 
> i understand that you need to use ZEO when running ZOPE on a multi-cpu 
> machine (or when you want to cluster ZOPE).
> 
> but from mails on this forum it seems that people are also using ZEO 
> when they're running ZOPE on a single-cpu machine.
> 
> why?
> 
> gabor
> ___
> 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 )


**
This email and any files transmitted with it are confidential and
intended solely for the use of the individual or entity to whom they
are addressed. If you have received this email in error please notify
the system manager.

This footnote also confirms that this email message has been swept by
MIMEsweeper for the presence of computer viruses.

www.mimesweeper.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] ZEO recommended for single-cpu?

2005-06-14 Thread Chris McDonough
Typically it's because:

- Zope starts faster in a ZEO setup.
- You can use "zopectl debug" to get into a debugger session
  without shutting down Zope first if you use ZEO.

- C


On Tue, 2005-06-14 at 11:03 +0200, gabor wrote:
> hi,
> 
> i understand that you need to use ZEO when running ZOPE on a multi-cpu 
> machine (or when you want to cluster ZOPE).
> 
> but from mails on this forum it seems that people are also using ZEO 
> when they're running ZOPE on a single-cpu machine.
> 
> why?
> 
> gabor
> ___
> 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] RE: Transferring Zope Settings

2005-06-14 Thread Malcolm Cleaton
On Tue, 14 Jun 2005 01:57:28 -0700, jlegris wrote:
> Hi Andreas,
> 
> As I indicated in a previous email, I inherited a system that was primarily
> configured through the ZMI. Recognizing that application development through
> the ZMI imposes certain limitations (such as rudimentary version control), I
> managed the development in a manner that you suggested in your initial
> response. Given these facts, how do you suggest I improve my approach? 
> 
> Based on the two suggestions that you generously offered, I am still puzzled
> as to how this problem can be solved. Clearly, transferring the Data.fs from
> the test server to the production server is insufficient given the user data
> mismatch. Therefore, it would seem that my only option, given the
> circumstances would be to manually replicate the configuration in the
> production server. However, my better judgment leads me to think that this
> isn't sensible. Is there no alternative? 


Zope allows free mixing of content, code and configuration, so working out
which parts are which, in order to update code and configuration while
leaving content alone, is up to you as the maintainer of the individual
solution.

If you can tell which parts of the OFS tree represent the data, vs.
which parts represent the code and configuration you want to update,
exporting the appropriate folders/objects from your development system and
importing them to your live one may do the job, or at least get you most
of the way there.

If it's not that simple - if you've got objects (eg tools) containing both
configuration and content, you can't avoid having to do a bit more work,
but that doesn't mean there's no alternative to the time-consuming and
error-prone approach of manually re-applying your changes. Anything you
can do in the ZMI can be done in code, so these configuration changes can
be scripted, and the script can be tested on a fresh copy of the live data
before being used for real.

Thanks,
Malcolm.


-- 

[] j a m k i t
  web solutions for charities

 malcolm cleaton
T:  020 7549 0520
F:  020 7490 1152
M:  07986 563852
W: www.jamkit.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 )


[Zope] Objects loosing persistency

2005-06-14 Thread Max M
I have a Plone web app where the users are complaining that they can 
create objects, edit titles etc.


But when they return to the objects a little later, they are gone.

The same behaviour as when an object doesn't have its _p_changed = 1 
set, it seems to me.


So I just wonder if anybody knows what can be causing this?

It is not programming error as it happens with stable products. It is 
only this particular site that has the problem.


There are reletively many objects in the system, so I suspect it to be 
some kind of conflict with a lot of reads blocking for the writing to 
the ZODB?


--

hilsen/regards Max M, Denmark

http://www.mxm.dk/
IT's Mad Science

___
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] ZEO recommended for single-cpu?

2005-06-14 Thread gabor

hi,

i understand that you need to use ZEO when running ZOPE on a multi-cpu 
machine (or when you want to cluster ZOPE).


but from mails on this forum it seems that people are also using ZEO 
when they're running ZOPE on a single-cpu machine.


why?

gabor
___
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] Transferring Zope Settings

2005-06-14 Thread jlegris
Hi Andreas,

As I indicated in a previous email, I inherited a system that was primarily
configured through the ZMI. Recognizing that application development through
the ZMI imposes certain limitations (such as rudimentary version control), I
managed the development in a manner that you suggested in your initial
response. Given these facts, how do you suggest I improve my approach? 

Based on the two suggestions that you generously offered, I am still puzzled
as to how this problem can be solved. Clearly, transferring the Data.fs from
the test server to the production server is insufficient given the user data
mismatch. Therefore, it would seem that my only option, given the
circumstances would be to manually replicate the configuration in the
production server. However, my better judgment leads me to think that this
isn't sensible. Is there no alternative? 

Regards

Joel

> -Original Message-
> From: Andreas Jung [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 14, 2005 1:05 AM
> To: jlegris; 'Andreas Jung'; zope@zope.org
> Subject: RE: [Zope] Transferring Zope Settings
> 
> 
> 
> --On 14. Juni 2005 00:46:51 -0700 jlegris <[EMAIL PROTECTED]> wrote:
> 
> > Hi Andreas,
> >
> > In this case, copying the Data.fs file isn't a feasible solution because
> > there is plenty of user content that would get over-written. The test
> > instance of course doesn't contain this data. I am pretty new to Zope,
> so
> > it's possible that I don't fully understand the development process when
> > using this tool, but I would find it surprising if there isn't a way to
> > administer updates without affecting content or manually replicating
> > configuration settings. Is this an inherent weakness of Zope?
> >
> 
> Basicially a weakness of your approach using Zope. Zope does distinguish
> between user content, customizations or whatever...everything is an
> object.
> 
> -aj

___
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 Digest, Vol 13, Issue 15

2005-06-14 Thread Bert Vanderbauwhede
> Date: Mon, 13 Jun 2005 10:27:07 -0400
> From: Paul Winkler <[EMAIL PROTECTED]>
> Subject: Re: [Zope] ACTUAL_URL vs. VIRTUAL_URL
> 
> On Mon, Jun 13, 2005 at 02:37:44PM +0200, Bert Vanderbauwhede wrote:
> >
> > What's the difference between ACTUAL_URL and VIRTUAL_URL in the REQUEST 
> > object?
> 
> VIRTUAL_URL only appears in the REQUEST when VirtualHostMonster does its
> thing. So if you are not using virtual-hosting, VIRTUAL_URL does not
> appear in the request. This is inconvenient; we wanted something
> that would always be available and would always mean
> "the URL originally sent by the client".  This is what ACTUAL_URL is.

OK, thank you. So ACTUAL_URL is safe to use in all cases.

> Having said that, I'm not clear on the difference between
> ACTUAL_URL and URL :-)

Hurray! I'm useful!

I think I can answer that one.

I have created a product to redirect authenticated users to HTTPS,
using a pre-traversal hook. In the hook, it turned out that URL is the
url to the folder with the pre-traversal hook, and not the requested
url. I think that URL is modified during the traversal process, so
that it contains the url for the current object. Only when the last
object is reached does URL contain the full requested url, and is it
equal to ACTUAL_URL.


Bert...
___
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] Transferring Zope Settings

2005-06-14 Thread Andreas Jung



--On 14. Juni 2005 00:46:51 -0700 jlegris <[EMAIL PROTECTED]> wrote:


Hi Andreas,

In this case, copying the Data.fs file isn't a feasible solution because
there is plenty of user content that would get over-written. The test
instance of course doesn't contain this data. I am pretty new to Zope, so
it's possible that I don't fully understand the development process when
using this tool, but I would find it surprising if there isn't a way to
administer updates without affecting content or manually replicating
configuration settings. Is this an inherent weakness of Zope?



Basicially a weakness of your approach using Zope. Zope does distinguish 
between user content, customizations or whatever...everything is an object.


-aj


pgpfXvJ9QRc4W.pgp
Description: 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] Transferring Zope Settings

2005-06-14 Thread jlegris
Hi Andreas,

In this case, copying the Data.fs file isn't a feasible solution because
there is plenty of user content that would get over-written. The test
instance of course doesn't contain this data. I am pretty new to Zope, so
it's possible that I don't fully understand the development process when
using this tool, but I would find it surprising if there isn't a way to
administer updates without affecting content or manually replicating
configuration settings. Is this an inherent weakness of Zope?

Joel 

> -Original Message-
> From: Andreas Jung [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 14, 2005 12:32 AM
> To: jlegris; 'Andreas Jung'; zope@zope.org
> Subject: RE: [Zope] Transferring Zope Settings
> 
> You got the solution already : copy the Data.fs
> 
> -aj
> 
> --On 14. Juni 2005 00:27:25 -0700 jlegris <[EMAIL PROTECTED]> wrote:
> 
> > Wow, thanks for the quick response. I took this precaution while
> > customizing a Product that I was working on, but in this case I
> inherited
> > a system that was primarily customized through the ZMI. Is there any way
> > to transfer those settings?
> >
> > Joel
> >
> >> -Original Message-
> >> From: Andreas Jung [mailto:[EMAIL PROTECTED]
> >> Sent: Tuesday, June 14, 2005 12:19 AM
> >> To: jlegris; zope@zope.org
> >> Subject: Re: [Zope] Transferring Zope Settings
> >>
> >>
> >>
> >> --On 14. Juni 2005 00:09:58 -0700 jlegris <[EMAIL PROTECTED]>
> wrote:
> >>
> >> > Hello All,
> >> >
> >> > I need to transfer Plone/Zope settings from a test instance to a live
> >> > instance of the Zope server. Aside from transferring the entire
> Data.fs
> >> > file or manually copying scripts and replicating configuration
> >> > settings, is there a simple way to do this?
> >>
> >> This way is simple if you think about your system setup before starting
> >> development. If you put your customization into a dedicated product and
> >> put
> >> this under revision control then you can easily keep track of change on
> >> test and production server.
> >>
> >> -aj
> 
> 


___
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] UnpickleableError: Cannot pickle objects

2005-06-14 Thread Dylan Jay
I'm having some ZODB troubles.
I'm getting the following error. The problem is I'm not using locks in the 
objects that are being changed. I do have a lock being used with the 
Schedule object which is in the acquisition path. but this lock was a module 
variable rather than a attribute so that shouldn't matter should it?
I've also taken the lock code out altogeather now and I'm still getting the 
same error. Any ideas?

2005-06-14T17:33:39 ERROR(200) SiteError 
http://localhost:8080/iv/scheduler/noti
fyOne
Traceback (most recent call last):
  File "C:\Program Files\Zope-2.7.5-final\lib\python\ZPublisher\Publish.py", 
lin
e 107, in publish
transactions_manager.commit()
  File "C:\Program Files\Zope-2.7.5-final\lib\python\Zope\App\startup.py", 
line
222, in commit
get_transaction().commit()
  File "C:\Program Files\Zope-2.7.5-final\lib\python\ZODB\Transaction.py", 
line
241, in commit
ncommitted += self._commit_objects(objects)
  File "C:\Program Files\Zope-2.7.5-final\lib\python\ZODB\Transaction.py", 
line
356, in _commit_objects
jar.commit(o, self)
  File "C:\Program Files\Zope-2.7.5-final\lib\python\ZODB\Connection.py", 
line 4
52, in commit
dump(state)
UnpickleableError: Cannot pickle  objects

-- 
Dylan Jay
---
http://www.meetmemap.com - makes giving directions easy
http://www.pretaweb.com - Update-it-yourself, low cost websites
http://www.eatmanifesto.com - against all dumbing down of food
Y!:dylan_jay ICQ:520341 MSN:[EMAIL PROTECTED] Ph:+61423198306 



___
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] Transferring Zope Settings

2005-06-14 Thread Andreas Jung

You got the solution already : copy the Data.fs

-aj

--On 14. Juni 2005 00:27:25 -0700 jlegris <[EMAIL PROTECTED]> wrote:


Wow, thanks for the quick response. I took this precaution while
customizing a Product that I was working on, but in this case I inherited
a system that was primarily customized through the ZMI. Is there any way
to transfer those settings?

Joel


-Original Message-
From: Andreas Jung [mailto:[EMAIL PROTECTED]
Sent: Tuesday, June 14, 2005 12:19 AM
To: jlegris; zope@zope.org
Subject: Re: [Zope] Transferring Zope Settings



--On 14. Juni 2005 00:09:58 -0700 jlegris <[EMAIL PROTECTED]> wrote:

> Hello All,
>
> I need to transfer Plone/Zope settings from a test instance to a live
> instance of the Zope server. Aside from transferring the entire Data.fs
> file or manually copying scripts and replicating configuration
> settings, is there a simple way to do this?

This way is simple if you think about your system setup before starting
development. If you put your customization into a dedicated product and
put
this under revision control then you can easily keep track of change on
test and production server.

-aj






pgpmaDm24NZrp.pgp
Description: 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] Transferring Zope Settings

2005-06-14 Thread jlegris
Wow, thanks for the quick response. I took this precaution while customizing
a Product that I was working on, but in this case I inherited a system that
was primarily customized through the ZMI. Is there any way to transfer those
settings?

Joel

> -Original Message-
> From: Andreas Jung [mailto:[EMAIL PROTECTED]
> Sent: Tuesday, June 14, 2005 12:19 AM
> To: jlegris; zope@zope.org
> Subject: Re: [Zope] Transferring Zope Settings
> 
> 
> 
> --On 14. Juni 2005 00:09:58 -0700 jlegris <[EMAIL PROTECTED]> wrote:
> 
> > Hello All,
> >
> > I need to transfer Plone/Zope settings from a test instance to a live
> > instance of the Zope server. Aside from transferring the entire Data.fs
> > file or manually copying scripts and replicating configuration settings,
> > is there a simple way to do this?
> 
> This way is simple if you think about your system setup before starting
> development. If you put your customization into a dedicated product and
> put
> this under revision control then you can easily keep track of change on
> test and production server.
> 
> -aj

___
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] Transferring Zope Settings

2005-06-14 Thread Tino Wildenhain
Am Dienstag, den 14.06.2005, 00:09 -0700 schrieb jlegris:
> Hello All,
> 
> I need to transfer Plone/Zope settings from a test instance to a live
> instance of the Zope server. Aside from transferring the entire
> Data.fs file or manually copying scripts and replicating configuration
> settings, is there a simple way to do this?

transferring Data.fs is the simplest and most solid aproach.
Followed by export/import.



___
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] Datetime bug in Zope-2.7.6?

2005-06-14 Thread Andreas Jung



--On 14. Juni 2005 00:17:19 -0300 Luiz Fernando 
<[EMAIL PROTECTED]> wrote:




But I would prefer zope to work the same as python itself, that works as
expected.


You mean "datetime"? It is unlikely that this will happen for Zope 2 in the 
future.


-aj


pgpLnk80FtwvD.pgp
Description: 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] Transferring Zope Settings

2005-06-14 Thread Andreas Jung



--On 14. Juni 2005 00:09:58 -0700 jlegris <[EMAIL PROTECTED]> wrote:


Hello All,

I need to transfer Plone/Zope settings from a test instance to a live
instance of the Zope server. Aside from transferring the entire Data.fs
file or manually copying scripts and replicating configuration settings,
is there a simple way to do this?


This way is simple if you think about your system setup before starting 
development. If you put your customization into a dedicated product and put 
this under revision control then you can easily keep track of change on 
test and production server.


-aj


pgpYZU9ivJllX.pgp
Description: 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 )


[Zope] Transferring Zope Settings

2005-06-14 Thread jlegris








Hello All,

I need to transfer Plone/Zope settings from a test instance to a live instance
of the Zope server. Aside from transferring the entire Data.fs file or manually
copying scripts and replicating configuration settings, is there a simple way
to do this?

Any advice would be greatly appreciated,

Regards,

Joel

 






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