Re: [Zope] Where oh where is Repozo

2006-01-17 Thread Jonathan Cyr




Didn't think of that... and it
wont mess with my config.

Thanks,

-Jon

Hkan Johansson wrote:

On Jan 16, 2006, at 22:52, Jonathan Cyr wrote:
  
  
  Does the Zope Wiki article on Repozo tell you
where to find it, maybe I missed it. I actually looked for quite a
while. Maybe it just needs to be a little clearer... or maybe I need a
smack in the head.


I didn't have much success anyway, I setup my Zope/ZEO setup using
SuSE 9.0's onboard Python and PIL installs, which, at the time, seemed
an easy way to reproduce a ZEO client machine over and over.


Upon running repozo, it can't find the pieces of Zope/ZODB, it needs
to run, and I get an immediate traceback refering to the import of
ZODB. After trying to adjust the pythonpath (wouldn't stick), and
trying to drop repozo in the right directory. I couldn't get it to
work. And, frankly, with everything Zope/Python/PIL working fine, I
didn't mess with it very hard, fearing breaking it.


Using SuSE's YAST installed Python seems to be my mistake... but It
made sense at the time, and the right versions and everything... and
although it works, upgrading Zope and using repozo are major drawbacks.


I'll have to build a new box, correctly, and migrate to it.


In any case, thanks for your time,


-Jon

  
  
I had the same problem with repozo. I "solved" it by modifying the
repozo.py file and adding "sys.path.append( PATH/TO/ZOPE/lib/python )"
right before the "from ZODB.FileStorage ..." line.
  
It's not a beautiful fix, but it works.
  
  
___
  
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 )
  
  


-- 
Jonathan Cyr
http://www.cyr.info
http://www.weddingweblog.com
[EMAIL PROTECTED]


___
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] Where oh where is Repozo

2006-01-16 Thread Jonathan Cyr




Does the Zope Wiki article on
Repozo tell you where to find it, maybe I missed it. I actually looked
for quite a while. Maybe it just needs to be a little clearer... or
maybe I need a smack in the head.

I didn't have much success anyway, I setup my Zope/ZEO setup using SuSE
9.0's onboard Python and PIL installs, which, at the time, seemed an
easy way to reproduce a ZEO client machine over and over. 

Upon running repozo, it can't find the pieces of Zope/ZODB, it needs to
run, and I get an immediate traceback refering to the import of ZODB.
After trying to adjust the pythonpath (wouldn't stick), and trying to
drop repozo in the right directory. I couldn't get it to work. And,
frankly, with everything Zope/Python/PIL working fine, I didn't mess
with it very hard, fearing breaking it.

Using SuSE's YAST installed Python seems to be my mistake... but It
made sense at the time, and the right versions and everything... and
although it works, upgrading Zope and using repozo are major drawbacks.

I'll have to build a new box, correctly, and migrate to it.

In any case, thanks for your time,

-Jon

Tim Peters wrote:

  [Jonathan Cyr]
  
  
Where is the latest version of Repozo, the backup tool, kept?

Is there a reason, that it's not included with the Zope
install/utilities (at least the 2.7.x I'm using).

  
  
[... time passes ...]

  
  
Thanks for the quick response, I noticed that the my WinXP Zope
(sandbox) doesn't have it, but my production SuSE Linux does.

  
  
It's in my WinXP Zope-2_7-branch sandbox:

C:\Code\Zope-2_7-branchdir/b utilities\ZODBTools\rep*
repozo.py

It's also in Zope 2.8 branch, 2.9 branch, and current Zope trunk.

For some reason (oversight?), Zope3 does not include ZODB tools, but
you should find them in every flavor of Zope2 (and of course a CVS or
SVN sandbox gets you the same stuff no matter which platform you use
to do the checkout).
___
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 )

  


-- 
Jonathan Cyr
http://www.cyr.info
http://www.weddingweblog.com
[EMAIL PROTECTED]


___
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] Where oh where is Repozo

2006-01-16 Thread Håkan Johansson


On Jan 16, 2006, at 22:52, Jonathan Cyr wrote:

Does the Zope Wiki article on Repozo tell you where to find it, maybe 
I missed it.  I actually looked for quite a while.  Maybe it just 
needs to be a little clearer... or maybe I need a smack in the head.


 I didn't have much success anyway, I setup my Zope/ZEO setup using 
SuSE 9.0's onboard Python and PIL installs, which, at the time, seemed 
an easy way to reproduce a ZEO client machine over and over. 


 Upon running repozo, it can't find the pieces of Zope/ZODB, it needs 
to run, and I get an immediate traceback refering to the import of 
ZODB.   After trying to adjust the pythonpath (wouldn't stick), and 
trying to drop repozo in the right directory.  I couldn't get it to 
work.  And, frankly, with everything Zope/Python/PIL working fine, I 
didn't mess with it very hard, fearing breaking it.


 Using SuSE's YAST installed Python seems to be my mistake... but It 
made sense at the time, and the right versions and everything... and 
although it works, upgrading Zope and using repozo are major 
drawbacks.


 I'll have to build a new box, correctly, and migrate to it.

 In any case, thanks for your time,

 -Jon


I had the same problem with repozo. I solved it by modifying the 
repozo.py file and adding sys.path.append( PATH/TO/ZOPE/lib/python ) 
right before the from ZODB.FileStorage ... line.

It's not a beautiful fix, but it works.

___
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] Where oh where is Repozo

2006-01-15 Thread Tim Peters
[Jonathan Cyr]
 Where is the latest version of Repozo, the backup tool, kept?

 Is there a reason, that it's not included with the Zope
 install/utilities (at least the 2.7.x I'm using).

[... time passes ...]

 Thanks for the quick response, I noticed that the my WinXP Zope
 (sandbox) doesn't have it, but my production SuSE Linux does.

It's in my WinXP Zope-2_7-branch sandbox:

C:\Code\Zope-2_7-branchdir/b utilities\ZODBTools\rep*
repozo.py

It's also in Zope 2.8 branch, 2.9 branch, and current Zope trunk.

For some reason (oversight?), Zope3 does not include ZODB tools, but
you should find them in every flavor of Zope2 (and of course a CVS or
SVN sandbox gets you the same stuff no matter which platform you use
to do the checkout).
___
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] Where oh where is Repozo

2006-01-11 Thread Jonathan Cyr

Um,

Where is the latest version of Repozo, the backup tool, kept?

Is there a reason, that it's not included with the Zope 
install/utilities (at least the 2.7.x I'm using).


I confess, I've been stopping my zope, and tar'ing the directories 
so now I want to clean up my act and use Repozo... and I'm having 
difficulty finding it in Google, Zope.org.


BTW, there is an excellent explanation of Repozo in two places,

http://www.zope.org/Wikis/ZODB/FileStorageBackup

http://www.plope.com/Members/chrism/repozo

but neither have links to a source/repository.

It also says here, that repozo is included with Plone, but not with 
Zope... h


I find Zope to be super stable, with zero corruptions of any kind, and 
no need to ever restore a backup... but lightning may strike, and I've 
gotten away with poor backup disciplines long enough.


A URL would be much appreciated.

-Jon

--
Jonathan Cyr
http://www.cyr.info
http://www.weddingweblog.com
[EMAIL PROTECTED]

___
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] Where oh where is Repozo

2006-01-11 Thread Jonathan Cyr




And then I found it, and felt
really dumb...

Many apologies.

under ZopeInstallationDirectory/utilities/ZODBTools/reposo.py

Many apologies,

-Jon

Jonathan Cyr wrote:
Um,
  
  
Where is the latest version of Repozo, the backup tool, kept?
  
  
Is there a reason, that it's not included with the Zope
install/utilities (at least the 2.7.x I'm using).
  
  
I confess, I've been stopping my zope, and tar'ing the directories
so now I want to clean up my act and use Repozo... and I'm having
difficulty finding it in Google, Zope.org.
  
  
BTW, there is an excellent explanation of Repozo in two places,
  
  
http://www.zope.org/Wikis/ZODB/FileStorageBackup
  
  
http://www.plope.com/Members/chrism/repozo
  
  
but neither have links to a source/repository.
  
  
It also says here, that repozo is included with Plone, but not with
Zope... h
  
  
I find Zope to be super stable, with zero corruptions of any kind, and
no need to ever restore a backup... but lightning may strike, and I've
gotten away with poor backup disciplines long enough.
  
  
A URL would be much appreciated.
  
  
-Jon
  
  


-- 
Jonathan Cyr
http://www.cyr.info
http://www.weddingweblog.com
[EMAIL PROTECTED]


___
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] Where oh where is Repozo

2006-01-11 Thread J Cameron Cooper

Jonathan Cyr wrote:

Um,

Where is the latest version of Repozo, the backup tool, kept?

Is there a reason, that it's not included with the Zope 
install/utilities (at least the 2.7.x I'm using).


I confess, I've been stopping my zope, and tar'ing the directories 
so now I want to clean up my act and use Repozo... and I'm having 
difficulty finding it in Google, Zope.org.


BTW, there is an excellent explanation of Repozo in two places,

http://www.zope.org/Wikis/ZODB/FileStorageBackup

http://www.plope.com/Members/chrism/repozo

but neither have links to a source/repository.

It also says here, that repozo is included with Plone, but not with 
Zope... h


I find Zope to be super stable, with zero corruptions of any kind, and 
no need to ever restore a backup... but lightning may strike, and I've 
gotten away with poor backup disciplines long enough.


A URL would be much appreciated.


$ locate repozo
/home/jccooper/zope/Zope27/bin/repozo.py
/home/jccooper/zope/Zope-2.8.3-final/utilities/ZODBTools/manual_tests/testrepozo.py
/home/jccooper/zope/Zope-2.8.3-final/utilities/ZODBTools/repozo.py
/home/jccooper/zope/Zope-2.8.3-final/build-base/python-2.3/build-scripts/repozo.py
/home/jccooper/zope/Zope283/bin/repozo.py

Also:

http://svn.zope.org/ZODB/trunk/src/scripts/repozo.py?view=log

--jcc

--
Building Websites with Plone
http://plonebook.packtpub.com/

Enfold Systems, LLC
http://www.enfoldsystems.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] Where oh where is Repozo

2006-01-11 Thread Jonathan Cyr




Thanks for the quick response, I
noticed that the my WinXP Zope (sandbox) doesn't have it, but my
production SuSE Linux does.

So the URL is very helpful.

Thanks,

-Jon

J Cameron Cooper wrote:
Jonathan
Cyr wrote:
  
  Um,


Where is the latest version of Repozo, the backup tool, kept?


Is there a reason, that it's not included with the Zope
install/utilities (at least the 2.7.x I'm using).


I confess, I've been stopping my zope, and tar'ing the directories
so now I want to clean up my act and use Repozo... and I'm having
difficulty finding it in Google, Zope.org.


BTW, there is an excellent explanation of Repozo in two places,


http://www.zope.org/Wikis/ZODB/FileStorageBackup


http://www.plope.com/Members/chrism/repozo


but neither have links to a source/repository.


It also says here, that repozo is included with Plone, but not with
Zope... h


I find Zope to be super stable, with zero corruptions of any kind, and
no need to ever restore a backup... but lightning may strike, and I've
gotten away with poor backup disciplines long enough.


A URL would be much appreciated.

  
  
$ locate repozo
  
/home/jccooper/zope/Zope27/bin/repozo.py
  
/home/jccooper/zope/Zope-2.8.3-final/utilities/ZODBTools/manual_tests/testrepozo.py
  
/home/jccooper/zope/Zope-2.8.3-final/utilities/ZODBTools/repozo.py
  
/home/jccooper/zope/Zope-2.8.3-final/build-base/python-2.3/build-scripts/repozo.py
  
/home/jccooper/zope/Zope283/bin/repozo.py
  
  
Also:
  
  
http://svn.zope.org/ZODB/trunk/src/scripts/repozo.py?view=log
  
  
 --jcc
  
  


-- 
Jonathan Cyr
http://www.cyr.info
http://www.weddingweblog.com
[EMAIL PROTECTED]


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