Re: [Zope-dev] zope-tests - FAILED: 10, OK: 12

2013-03-15 Thread Marius Gedminas
On Fri, Mar 15, 2013 at 01:00:01AM +, Zope tests summarizer wrote:
 [1]Still Failing - zopetoolkit_trunk - Build # 202

Back to regular failures:
- test-ztk-zope.traversing
- test-ztk-zope.dublincore
- test-ztk-zope.container
- test-ztk-zope.catalog

ImportError: No module named persistent
ImportError: No module named persistent.dict
AttributeError: 'module' object (BTrees) has no attribute 'Interfaces'
ImportError: No module named persistent.cPersistence
ImportError: cannot import name 
(zope.container._zope_container_contained.)ContainedProxyBase

These sound familiar.

 [2]winbot / z3c.form_py_265_32
 [3]winbot / z3c.form_py_265_32
 [4]winbot / z3c.formui_py_265_32
 [5]winbot / z3c.layer.ready2go_py_265_32
 [6]winbot / z3c.pagelet_py_265_32

lxml

 [7]winbot / zope.app.localpermission_py_265_32

https://github.com/zopefoundation/zope.app.localpermission does not have
a buildout.cfg

Lossy git conversion?  A buildout.cfg existed in
http://zope3.pov.lt/trac/browser/zope.app.localpermission/trunk?rev=126937

It was created by an svn mv from zope.localpermission in r98059:
http://zope3.pov.lt/trac/log/zope.app.localpermission/trunk/buildout.cfg?rev=126937

 [8]winbot / zope.app.wsgi_py_265_32

I misunderstood last time.  *** empty log message *** does not mean
this is a clone of an empty repo.  It's *the actual svn commit message*
of the last commit: http://zope3.pov.lt/trac/changeset/124092

The actual problem is

c:\Python26_32\python.exe bootstrap.py
Downloading 
http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
Traceback (most recent call last):
  File bootstrap.py, line 257, in module
import zc.buildout.buildout
  File 
c:\temp\tmpjpk_wq\zc.buildout-2.0.1-py2.6.egg\zc\buildout\buildout.py, line 
18, in module
import zc.buildout.easy_install
  File 
c:\temp\tmpjpk_wq\zc.buildout-2.0.1-py2.6.egg\zc\buildout\easy_install.py, 
line 61, in module
pkg_resources.Requirement.parse('distribute')
AttributeError: 'NoneType' object has no attribute 'location'

Weird.

 [9]winbot / zope.site_py_265_32

buildout fails with

  We already have: zope.security 3.9.0
  but zope.site 4.0.0a2.dev0 requires 'zope.security=4.0.0a3'.

 [10]   winbot / zope.viewlet_py_265_32

buildout fails with

  We already have: zope.security 3.9.0
  but zope.publisher 4.0.0a2 requires 'zope.security=4.0.0a1'.

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


signature.asc
Description: Digital signature
___
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] zope-tests - FAILED: 10, OK: 12

2013-03-15 Thread Wichert Akkerman
On Mar 15, 2013, at 07:57, Marius Gedminas mar...@gedmin.as wrote:
 
 [8]winbot / zope.app.wsgi_py_265_32
 
 I misunderstood last time.  *** empty log message *** does not mean
 this is a clone of an empty repo.  It's *the actual svn commit message*
 of the last commit: http://zope3.pov.lt/trac/changeset/124092
 
 The actual problem is
 
c:\Python26_32\python.exe bootstrap.py
Downloading 
 http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
Traceback (most recent call last):
  File bootstrap.py, line 257, in module
import zc.buildout.buildout
  File 
 c:\temp\tmpjpk_wq\zc.buildout-2.0.1-py2.6.egg\zc\buildout\buildout.py, line 
 18, in module
import zc.buildout.easy_install
  File 
 c:\temp\tmpjpk_wq\zc.buildout-2.0.1-py2.6.egg\zc\buildout\easy_install.py, 
 line 61, in module
pkg_resources.Requirement.parse('distribute')
AttributeError: 'NoneType' object has no attribute 'location'
 
 Weird.

That is likely buildout 2 with an older bootstrap.py

Wichert.


___
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] zope-tests - FAILED: 10, OK: 12

2013-03-15 Thread Marius Gedminas
On Fri, Mar 15, 2013 at 09:39:16AM +0100, Wichert Akkerman wrote:
 On Mar 15, 2013, at 07:57, Marius Gedminas mar...@gedmin.as wrote:
  
  [8]winbot / zope.app.wsgi_py_265_32
  
  I misunderstood last time.  *** empty log message *** does not mean
  this is a clone of an empty repo.  It's *the actual svn commit message*
  of the last commit: http://zope3.pov.lt/trac/changeset/124092
  
  The actual problem is
  
 c:\Python26_32\python.exe bootstrap.py
 Downloading 
  http://pypi.python.org/packages/2.6/s/setuptools/setuptools-0.6c11-py2.6.egg
 Traceback (most recent call last):
   File bootstrap.py, line 257, in module
 import zc.buildout.buildout
   File 
  c:\temp\tmpjpk_wq\zc.buildout-2.0.1-py2.6.egg\zc\buildout\buildout.py, 
  line 18, in module
 import zc.buildout.easy_install
   File 
  c:\temp\tmpjpk_wq\zc.buildout-2.0.1-py2.6.egg\zc\buildout\easy_install.py,
   line 61, in module
 pkg_resources.Requirement.parse('distribute')
 AttributeError: 'NoneType' object has no attribute 'location'
  
  Weird.
 
 That is likely buildout 2 with an older bootstrap.py

Ah, of course.  I got it mixed up with zope.app.http.

Marius Gedminas
-- 
http://pov.lt/ -- Zope 3/BlueBream consulting and development


signature.asc
Description: Digital signature
___
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] zope-tests - FAILED: 8, OK: 12

2013-03-15 Thread Zope tests summarizer
This is the summary for test reports received on the 
zope-tests list between 2013-03-14 00:00:00 UTC and 2013-03-15 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received


[1]Still Failing - zopetoolkit_trunk - Build # 203
   winbot / ZODB_dev py_265_win32
   winbot / ZODB_dev py_265_win64
   winbot / ZODB_dev py_270_win32
   winbot / ZODB_dev py_270_win64
[2]winbot / z3c.contents_py_265_32
[3]winbot / z3c.formui_py_265_32
[4]winbot / z3c.layer.ready2go_py_265_32
[5]winbot / z3c.pagelet_py_265_32
[6]winbot / zope.app.localpermission_py_265_32
[7]winbot / zope.site_py_265_32
[8]winbot / zope.viewlet_py_265_32
   winbot / ztk_10 py_254_win32
   winbot / ztk_10 py_265_win32
   winbot / ztk_10 py_265_win64
   winbot / ztk_11 py_254_win32
   winbot / ztk_11 py_265_win32
   winbot / ztk_11 py_265_win64
   winbot / ztk_11 py_270_win32
   winbot / ztk_11 py_270_win64

Non-OK results
--

[1]FAILED  Still Failing - zopetoolkit_trunk - Build # 203
   https://mail.zope.org/pipermail/zope-tests/2013-March/073347.html


[2]FAILED  winbot / z3c.contents_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-March/073342.html


[3]FAILED  winbot / z3c.formui_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-March/073343.html


[4]FAILED  winbot / z3c.layer.ready2go_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-March/073340.html


[5]FAILED  winbot / z3c.pagelet_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-March/073341.html


[6]FAILED  winbot / zope.app.localpermission_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-March/073346.html


[7]FAILED  winbot / zope.site_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-March/073345.html


[8]FAILED  winbot / zope.viewlet_py_265_32
   https://mail.zope.org/pipermail/zope-tests/2013-March/073344.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] Restore files from Data.fs.tr0

2013-03-15 Thread Jaroslav Lukesh

Hi all,

due disk and backup failure, I need to restore latest versions of files and 
properties from Data.fs.tr0, does have anybody some script or tips how to do 
it with zope tools, please?


Note that original Data.fs have changes after failure date, size at time of 
the failure is unknown.


Many thanks,
Jaroslav Lukesh 


___
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] Restore files from Data.fs.tr0

2013-03-15 Thread Cornel Nitu
Hi,

I use the following steps to get objects from a corrupted Data.fs. You can 
apply some guesses regarding the dates.

1. Make another Zope instance, with same products
2. Copy the real Data.fs into this temporary zope instance
3. Start zopedebug: $:/path-to-zope/bin/zopectl debug. Run these commands:

import ZODB.DB, ZODB.FileStorage, cPickle
from ZODB.TimeStamp import TimeStamp
from OFS import ObjectManager
date_tuple = (2009,8,23,23,17,06) #date when data was safe
special_date = TimeStamp(*date_tuple) #make date into special format
filename=’/var/local/zopetest/var/db.fs’ #path to Zope’s Data.fs (zope instance 
have to be stopped atm)
storage = ZODB.FileStorage.FileStorage(filename, 
read_only=1,stop=`special_date`) #wait few minutes, until it opens Data.fs
DB = ZODB.DB(storage) #mount database
conn = DB.open() #open database
root = conn.root()['Application']
folder = getattr(root, ‘myfolder’) #the parent containing the folder with the 
objects you want to recover
folder.manage_exportObject(id=’mycontent’,download=0)

Hope it helps.

Good luck,
Cornel

--
Cornel Nitu
Eau de Web (http://www.eaudeweb.ro)
Clucerului 55, ap 7, 011364 Bucharest
Tel/fax: +40 21 222 1522, Mobile: +40 721 223 623
Jabber: cor...@jabber.eaudeweb.ro, Skype: nitucornel

On Mar 15, 2013, at 2:01 PM, Jaroslav Lukesh wrote:

 Hi all,
 
 due disk and backup failure, I need to restore latest versions of files and 
 properties from Data.fs.tr0, does have anybody some script or tips how to do 
 it with zope tools, please?
 
 Note that original Data.fs have changes after failure date, size at time of 
 the failure is unknown.
 
 Many thanks,
 Jaroslav Lukesh 
 ___
 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 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] Restore files from Data.fs.tr0

2013-03-15 Thread Jaroslav Lukesh

Hi,

thanks for assistance, but this solution make export of data up to specified 
date in Undo history, instead of rescuing things from data.fs.tr0.


Is it possible to rescue data from data.fs.tr0, please?

Many thanks, JL.

- Puvodní zpráva - 
Od: Cornel Nitu cornel.n...@eaudeweb.ro

Komu: Jaroslav Lukesh luk...@seznam.cz
Kopie: zope@zope.org; zodb-...@zope.org
Odesláno: 15. brezna 2013 13:34
Predmet: Re: [Zope] Restore files from Data.fs.tr0


Hi,

I use the following steps to get objects from a corrupted Data.fs. You can 
apply some guesses regarding the dates.


1. Make another Zope instance, with same products
2. Copy the real Data.fs into this temporary zope instance
3. Start zopedebug: $:/path-to-zope/bin/zopectl debug. Run these commands:

import ZODB.DB, ZODB.FileStorage, cPickle
from ZODB.TimeStamp import TimeStamp
from OFS import ObjectManager
date_tuple = (2009,8,23,23,17,06) #date when data was safe
special_date = TimeStamp(*date_tuple) #make date into special format
filename=’/var/local/zopetest/var/db.fs’ #path to Zope’s Data.fs (zope 
instance have to be stopped atm)
storage = ZODB.FileStorage.FileStorage(filename, 
read_only=1,stop=`special_date`) #wait few minutes, until it opens Data.fs

DB = ZODB.DB(storage) #mount database
conn = DB.open() #open database
root = conn.root()['Application']
folder = getattr(root, ‘myfolder’) #the parent containing the folder with 
the objects you want to recover

folder.manage_exportObject(id=’mycontent’,download=0)

Hope it helps.

Good luck,
Cornel

--
Cornel Nitu
Eau de Web (http://www.eaudeweb.ro)
Clucerului 55, ap 7, 011364 Bucharest
Tel/fax: +40 21 222 1522, Mobile: +40 721 223 623
Jabber: cor...@jabber.eaudeweb.ro, Skype: nitucornel

On Mar 15, 2013, at 2:01 PM, Jaroslav Lukesh wrote:


Hi all,

due disk and backup failure, I need to restore latest versions of files 
and properties from Data.fs.tr0, does have anybody some script or tips how 
to do it with zope tools, please?


Note that original Data.fs have changes after failure date, size at time 
of the failure is unknown.


Many thanks,
Jaroslav Lukesh
___
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 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 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 -

2013-03-15 Thread CMF tests summarizer
This is the summary for test reports received on the 
cmf-tests list between 2013-03-14 00:00:00 UTC and 2013-03-15 00:00:00 UTC:

See the footnotes for test reports of unsuccessful builds.

An up-to date view of the builders is also available in our 
buildbot documentation: 
http://docs.zope.org/zopetoolkit/process/buildbots.html#the-nightly-builds

Reports received



Non-OK results
--

___
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