Re: [Zope-dev] 2 failures on the KGS (z3c.rml zope.app.publication)

2008-02-04 Thread Stephan Richter
On Friday 11 January 2008, Christophe Combelles wrote:
 I was trying to read and understand zope.release and zope.kgs (to be able
 to add zope.app.locales 3.4.1 into the upcoming zope 3.4).

Cool, did you get it to work? BTW, I have added this version to the KGS and it 
is life now.

 So I've tried to run all the tests of the KGS :

Some explanations:

1. A few tests are failing because previous tests did not do a correct tear 
down. If you run the tests separately, they work.

2. Some packages, such as PIL, have not been properly packaged yet, so they 
have to be installed manually. :-(

3. ReportLab uses module globals to store state, so when running all tests of 
z3c.rml in the same process, one test does not pass. :-(

Regards,
Stephan
-- 
Stephan Richter
Web Software Design, Development and Training
Google me. Zope Stephan Richter
___
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 )


Re: [Zope-dev] 2 failures on the KGS (z3c.rml zope.app.publication)

2008-02-04 Thread Christophe Combelles

Stephan Richter a écrit :

On Friday 11 January 2008, Christophe Combelles wrote:

I was trying to read and understand zope.release and zope.kgs (to be able
to add zope.app.locales 3.4.1 into the upcoming zope 3.4).


Cool, did you get it to work? BTW, I have added this version to the KGS and it 
is life now.


I was just missing the upload. It's ok thanks.

BTW don't we want to have a tag for 3.4.0c1 in 
http://svn.zope.org/zope.release/tags/ ?





So I've tried to run all the tests of the KGS :


Some explanations:

1. A few tests are failing because previous tests did not do a correct tear 
down. If you run the tests separately, they work.


2. Some packages, such as PIL, have not been properly packaged yet, so they 
have to be installed manually. :-(


3. ReportLab uses module globals to store state, so when running all tests of 
z3c.rml in the same process, one test does not pass. :-(


Regards,
Stephan


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


[Zope-dev] 2 failures on the KGS (z3c.rml zope.app.publication)

2008-01-11 Thread Christophe Combelles

Hi,

I was trying to read and understand zope.release and zope.kgs (to be able to add 
zope.app.locales 3.4.1 into the upcoming zope 3.4).


So I've tried to run all the tests of the KGS :


-
$ ./bin/test -vpc1
Running tests at level 1
Test-module import failures:

Module: ZEO.tests.testZEO

IOError: [Errno 2] No such file or directory: 
'/home/dadafkas/projets/zope3/zope3.4/test/eggs/ZODB3-3.8.0b4-py2.4-linux-i686.egg/ZEO/tests/registerDB.test'



Module: z3c.rml.tests.test_rml

Traceback (most recent call last):
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/z3c.rml-0.7.1-py2.4.egg/z3c/rml/tests/test_rml.py, 
line 19, in ?

import PIL
ImportError: No module named PIL


Running unit tests:
  Running:
3966/10840 (36.6%) ... ml-0.7.1-py2.4.egg/z3c/rml/tests/../pagetemplate.txt

Failure in test 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/z3c.rml-0.7.1-py2.4.egg/z3c/rml/tests/../pagetemplate.txt

Failed doctest test for pagetemplate.txt
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/z3c.rml-0.7.1-py2.4.egg/z3c/rml/tests/../pagetemplate.txt, 
line 0


--
File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/z3c.rml-0.7.1-py2.4.egg/z3c/rml/tests/../pagetemplate.txt, 
line 41, in pagetemplate.txt

Failed example:
from z3c.rml import pagetemplate
Exception raised:
Traceback (most recent call last):
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/tmpHxshRy/zope.testing-3.5.1-py2.4.egg/zope/testing/doctest.py, 
line 1356, in __run


  File doctest pagetemplate.txt[3], line 1, in ?
from z3c.rml import pagetemplate
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/z3c.rml-0.7.1-py2.4.egg/z3c/rml/pagetemplate.py, 
line 20, in ?

from z3c.rml import rml2pdf
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/z3c.rml-0.7.1-py2.4.egg/z3c/rml/rml2pdf.py, 
line 24, in ?

from z3c.rml import document, interfaces
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/z3c.rml-0.7.1-py2.4.egg/z3c/rml/document.py, 
line 22, in ?

import reportlab.pdfgen.canvas
ImportError: No module named reportlab.pdfgen.canvas

4909/10840 (45.3%) ... 
etup-3.4.1-py2.4.egg/zope/app/appsetup/bootstrap.txtzope.app.appsetup: Security 
policy is not configured.

Please make sure that securitypolicy.zcml is included in site.zcml immediately
before principals.zcml
zope.app.appsetup: Security policy is not configured.
Please make sure that securitypolicy.zcml is included in site.zcml immediately
before principals.zcml
zope.app.appsetup: Security policy is not configured.
Please make sure that securitypolicy.zcml is included in site.zcml immediately
before principals.zcml
6434/10840 (59.4%) evolve 
(zope.app.generations.generations)zope.app.generations: Failed to evolve 
database to generation 4 for app1

Traceback (most recent call last):
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/tmpmkOgSQ/zope.app.generations-3.4.1-py2.4.egg/zope/app/generations/generations.py, 
line 415, in evolve

  File doctest zope.app.generations.generations.evolve[1], line 12, in 
evolve
raise ValueError(generation)
ValueError: 4
zope.app.generations: Failed to evolve database to generation 4 for app1
Traceback (most recent call last):
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/tmpmkOgSQ/zope.app.generations-3.4.1-py2.4.egg/zope/app/generations/generations.py, 
line 415, in evolve

  File doctest zope.app.generations.generations.evolve[1], line 12, in 
evolve
raise ValueError(generation)
ValueError: 4
zope.app.generations: Failed to evolve database to generation 4 for app1
Traceback (most recent call last):
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/tmpmkOgSQ/zope.app.generations-3.4.1-py2.4.egg/zope/app/generations/generations.py, 
line 415, in evolve

  File doctest zope.app.generations.generations.evolve[1], line 12, in 
evolve
raise ValueError(generation)
ValueError: 4
zope.app.generations: Failed to evolve database to generation 4 for app1
Traceback (most recent call last):
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/tmpmkOgSQ/zope.app.generations-3.4.1-py2.4.egg/zope/app/generations/generations.py, 
line 415, in evolve

  File doctest zope.app.generations.generations.evolve[1], line 12, in 
evolve
raise ValueError(generation)
ValueError: 4
zope.app.generations: Failed to evolve database to generation 4 for app1
Traceback (most recent call last):
  File 
/home/dadafkas/projets/zope3/zope3.4/test/eggs/tmpmkOgSQ/zope.app.generations-3.4.1-py2.4.egg/zope/app/generations/generations.py, 
line 415, in evolve

  File doctest zope.app.generations.generations.evolve[1], line 12, in 
evolve
raise ValueError(generation)
ValueError: 4
zope.app.generations: Failed to evolve database to generation 4 for app1
Traceback (most recent call last):
  File