Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Zope: Dev

z3c.recipe.i18n tests fail

 

 

Zope dev RSS feed   Index | Next | Previous | View Threaded


cz at gocept

Dec 1, 2009, 5:53 AM

Post #1 of 4 (726 views)
Permalink
z3c.recipe.i18n tests fail

Hi,

the tests fail with the following error:

Running zope.testing.testrunner.layer.UnitTests tests:
Set up zope.testing.testrunner.layer.UnitTests in 0.000 seconds.


Error in test /private/tmp/trunk/src/z3c/recipe/i18n/README.txt
Traceback (most recent call last):
File "/Users/zagy/development/python/lib/python2.6/unittest.py", line
270, in run
self.setUp()
File
"/Users/zagy/development/eggs/zope.testing-3.8.3-py2.6.egg/zope/testing/doctest.py",
line 2289, in setUp
self._dt_setUp(test)
File "/private/tmp/trunk/src/z3c/recipe/i18n/tests.py", line 43, in setUp
zc.buildout.testing.install('zope.app.publisher', test)
File
"/Users/zagy/development/eggs/zc.buildout-1.4.2-py2.6.egg/zc/buildout/testing.py",
line 464, in install
if dist.location.endswith('.egg'):
AttributeError: 'NoneType' object has no attribute 'location'

I actually have no idea why this is happening. Anybody got a clue?

Regards,
--
Christian Zagrodnick · cz [at] gocept
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development


_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
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 )


y.2009 at wcm-solutions

Dec 1, 2009, 7:36 AM

Post #2 of 4 (702 views)
Permalink
Re: z3c.recipe.i18n tests fail [In reply to]

Christian Zagrodnick wrote:
> Error in test /private/tmp/trunk/src/z3c/recipe/i18n/README.txt
> Traceback (most recent call last):
> File "/Users/zagy/development/python/lib/python2.6/unittest.py", line
> 270, in run
> self.setUp()
> File
> "/Users/zagy/development/eggs/zope.testing-3.8.3-py2.6.egg/zope/testing/doctest.py",
> line 2289, in setUp
> self._dt_setUp(test)
> File "/private/tmp/trunk/src/z3c/recipe/i18n/tests.py", line 43, in setUp
> zc.buildout.testing.install('zope.app.publisher', test)
> File
> "/Users/zagy/development/eggs/zc.buildout-1.4.2-py2.6.egg/zc/buildout/testing.py",
> line 464, in install
> if dist.location.endswith('.egg'):
> AttributeError: 'NoneType' object has no attribute 'location'

Should be fixed now. Yuppie


_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
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 )


cz at gocept

Dec 1, 2009, 10:33 PM

Post #3 of 4 (687 views)
Permalink
Re: z3c.recipe.i18n tests fail [In reply to]

On 2009-12-01 16:36:50 +0100, yuppie <y.2009 [at] wcm-solutions> said:

> Christian Zagrodnick wrote:
>> Error in test /private/tmp/trunk/src/z3c/recipe/i18n/README.txt
>> Traceback (most recent call last):
>> File "/Users/zagy/development/python/lib/python2.6/unittest.py", line
>> 270, in run
>> self.setUp()
>> File
>> "/Users/zagy/development/eggs/zope.testing-3.8.3-py2.6.egg/zope/testing/doctest.py",
line
>>
>> 2289, in setUp
>> self._dt_setUp(test)
>> File "/private/tmp/trunk/src/z3c/recipe/i18n/tests.py", line 43, in setUp
>> zc.buildout.testing.install('zope.app.publisher', test)
>> File
>> "/Users/zagy/development/eggs/zc.buildout-1.4.2-py2.6.egg/zc/buildout/testing.py",
line
>>
>> 464, in install
>> if dist.location.endswith('.egg'):
>> AttributeError: 'NoneType' object has no attribute 'location'
>
> Should be fixed now. Yuppie

Thanks! And it was such an easy fix! :)

--
Christian Zagrodnick · cz [at] gocept
gocept gmbh & co. kg · forsterstraße 29 · 06112 halle (saale) · germany
http://gocept.com · tel +49 345 1229889 4 · fax +49 345 1229889 1
Zope and Plone consulting and development


_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
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 )


y.2009 at wcm-solutions

Dec 2, 2009, 2:27 AM

Post #4 of 4 (686 views)
Permalink
Re: z3c.recipe.i18n tests fail [In reply to]

Christian Zagrodnick wrote:
> On 2009-12-01 16:36:50 +0100, yuppie <y.2009 [at] wcm-solutions> said:
>> Christian Zagrodnick wrote:
>>> AttributeError: 'NoneType' object has no attribute 'location'
>> Should be fixed now. Yuppie
>
> Thanks! And it was such an easy fix! :)

Well. Actually I didn't test with a clean buildout and removed
'zope.contenttype' as well because it wasn't part of my dependencies.
But you noticed and fixed that already :)

Cheers, Yuppie

_______________________________________________
Zope-Dev maillist - Zope-Dev [at] zope
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 RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.