|
List Info
Thread: Tests failing on Debian Stable
|
|
| Tests failing on Debian Stable |

|
2007-01-18 10:06:37 |
I tried to install Venus on my home server running Debian
Stable, but it
failed its self tests. I enclose the output - any ideas
where I goofed?
(I haven't installed any extra libraries yet, I just wanted
to start
from the minimum.)
Martin
------------------------------------------------------
maudite$ python -V
Python 2.3.5
maudite$ python runtests.py
xsltproc is not available => can't test XSLT templates
libxslt is not available => can't test xslt filters
Popen is not available => can't test standard filters
Redland RDF is not available => can't test FOAF reading
lists
.EFFE.......................................................
.........................................FE.
============================================================
==========
ERROR: test_spiderFeed (tests.test_spider.SpiderTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File
"/home/martin/foodir/venus/tests/test_spider.py",
line 73, in
test_spiderFeed
File
"/home/martin/foodir/venus/tests/test_spider.py",
line 49, in
spiderFeed
File
"/home/martin/foodir/venus/planet/spider.py", line
191, in
writeCache
AttributeError: 'module' object has no attribute
'reconstitute'
============================================================
==========
ERROR: test_spiderUpdate (tests.test_spider.SpiderTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File
"/home/martin/foodir/venus/tests/test_spider.py",
line 78, in
test_spiderUpdate
File
"/home/martin/foodir/venus/tests/test_spider.py",
line 49, in
spiderFeed
File
"/home/martin/foodir/venus/planet/spider.py", line
191, in
writeCache
AttributeError: 'module' object has no attribute
'reconstitute'
============================================================
==========
ERROR: test_index_splice (tests.test_idindex.idIndexTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File
"/home/martin/foodir/venus/tests/test_idindex.py",
line 50, in
test_index_splice
AttributeError: 'module' object has no attribute
'configfile'
============================================================
==========
FAIL: test_spiderPlanet (tests.test_spider.SpiderTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File
"/home/martin/foodir/venus/tests/test_spider.py",
line 104, in
test_spiderPlanet
File
"/home/martin/foodir/venus/tests/test_spider.py",
line 86, in
verify_spiderPlanet
File "/usr/lib/python2.3/unittest.py", line
302, in failUnlessEqual
raise self.failureException,
AssertionError: 14 != 2
============================================================
==========
FAIL: test_spiderThreads (tests.test_spider.SpiderTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File
"/home/martin/foodir/venus/tests/test_spider.py",
line 145, in
test_spiderThreads
File
"/home/martin/foodir/venus/tests/test_spider.py",
line 86, in
verify_spiderPlanet
File "/usr/lib/python2.3/unittest.py", line
302, in failUnlessEqual
raise self.failureException,
AssertionError: 14 != 2
============================================================
==========
FAIL: test_index_spider (tests.test_idindex.idIndexTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File
"/home/martin/foodir/venus/tests/test_idindex.py",
line 39, in
test_index_spider
File "/usr/lib/python2.3/unittest.py", line
302, in failUnlessEqual
raise self.failureException,
AssertionError: 12 != 0
------------------------------------------------------------
----------
Ran 104 tests in 1.947s
FAILED (failures=3, errors=3)
Exception bsddb._db.DBNoSuchFileError: (2, 'No such file or
directory --
tests/work/spider/cache/index/id: unable to flush: No such
file or
directory') in ignored
Exception bsddb._db.DBNoSuchFileError: (2, 'No such file or
directory --
tests/work/spider/cache/index/id: unable to flush: No such
file or
directory') in ignored
--
Martin Fowler
http://martinfowler.com
--
devel mailing list
devel lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
|
|
| Re: Tests failing on Debian Stable |

|
2007-01-18 11:05:18 |
Martin Fowler wrote:
> AttributeError: 'module' object has no attribute
'reconstitute'
Can you tell me what the following produces:
python -c "print
dir(__import__('planet.reconstitute').reconstitute)"
For reference, here's what I get on Ubuntu Dapper:
rubys rubix:~/bzr/venus$ python2.3 runtests.py
Popen is not available => can't test standard filters
Redland RDF is not available => can't test FOAF reading
lists
libxslt is not available => can't test xslt filters
............................................................
............................................................
...............................................
------------------------------------------------------------
----------
Ran 167 tests in 5.923s
OK
rubys rubix:~/bzr/venus$ python2.3 -V
Python 2.3.5
- Sam Ruby
--
devel mailing list
devel lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
|
|
| Re: Tests failing on Debian Stable |

|
2007-01-18 12:00:55 |
maudite$ python -c "print
dir(__import__('planet.reconstitute').reconstitute)"
Traceback (most recent call last):
File "<string>", line 1, in ?
File
"/home/martin/foodir/venus/planet/reconstitute.py"
, line 19, in ?
File
"/home/martin/foodir/venus/planet/html5lib/__init__.py&
quot;, line
34, in ?
File
"/home/martin/foodir/venus/planet/html5lib/html5parser.
py", line
25, in ?
File
"/home/martin/foodir/venus/planet/html5lib/treebuilders
/__init__.py",
line 36, in ?
File
"/home/martin/foodir/venus/planet/html5lib/treebuilders
/etree.py", line
4, in ?
ImportError: No module named elementtree
Sam Ruby wrote:
> Martin Fowler wrote:
>> AttributeError: 'module' object has no attribute
'reconstitute'
>
> Can you tell me what the following produces:
>
> python -c "print
dir(__import__('planet.reconstitute').reconstitute)"
>
> For reference, here's what I get on Ubuntu Dapper:
>
> rubys rubix:~/bzr/venus$ python2.3 runtests.py
> Popen is not available => can't test standard
filters
> Redland RDF is not available => can't test FOAF
reading lists
> libxslt is not available => can't test xslt filters
>
............................................................
............................................................
...............................................
>
>
------------------------------------------------------------
----------
> Ran 167 tests in 5.923s
>
> OK
> rubys rubix:~/bzr/venus$ python2.3 -V
> Python 2.3.5
>
> - Sam Ruby
--
Martin Fowler
http://martinfowler.com
--
devel mailing list
devel lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
|
|
| Re: Tests failing on Debian Stable |

|
2007-01-18 12:11:42 |
Martin Fowler wrote:
> maudite$ python -c "print
>
dir(__import__('planet.reconstitute').reconstitute)"
> Traceback (most recent call last):
> File "<string>", line 1, in ?
> File
"/home/martin/foodir/venus/planet/reconstitute.py"
, line 19, in ?
> File
"/home/martin/foodir/venus/planet/html5lib/__init__.py&
quot;, line 34,
> in ?
> File
"/home/martin/foodir/venus/planet/html5lib/html5parser.
py", line
> 25, in ?
> File
>
"/home/martin/foodir/venus/planet/html5lib/treebuilders
/__init__.py",
> line 36, in ?
> File
>
"/home/martin/foodir/venus/planet/html5lib/treebuilders
/etree.py", line
> 4, in ?
> ImportError: No module named elementtree
Is it possible that you are using a version of venus that
you picked up
between Thu 2007-01-11 15:05:30 -0500 and Mon 2007-01-15
20:22:55 -0500?
- Sam Ruby
P.S. Don't just pick up that one file, I'd suggest a
"bzr pull"
instead. (Or simply re-download the tar/zip file, if you
went that way).
--
devel mailing list
devel lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
|
|
| Re: Tests failing on Debian Stable |

|
2007-01-18 12:25:48 |
> Is it possible that you are using a version of venus
that you picked
> up between Thu 2007-01-11 15:05:30 -0500 and Mon
2007-01-15 20:22:55
> -0500?
Very
$ ls -l venus.tgz
-rw-r--r-- 1 martinfo staff 324645 Jan 15 18:20
venus.tgz
maudite$ wget http://intertw
ingly.net/code/venus.tgz
maudite$ tar -xvzf venus.tgz
maudite$ cd venus/
maudite$ python runtests.py
xsltproc is not available => can't test XSLT templates
libxslt is not available => can't test xslt filters
Popen is not available => can't test standard filters
Redland RDF is not available => can't test FOAF reading
lists
............................................................
............................................................
.............................................
------------------------------------------------------------
----------
Ran 165 tests in 5.081s
OK
Thanks for the help.
Martin
Sam Ruby wrote:
> Martin Fowler wrote:
>> maudite$ python -c "print
>>
dir(__import__('planet.reconstitute').reconstitute)"
Traceback
>> (most recent call last): File
"<string>", line 1, in ? File
>>
"/home/martin/foodir/venus/planet/reconstitute.py"
, line 19, in ?
>> File
"/home/martin/foodir/venus/planet/html5lib/__init__.py&
quot;, line
>> 34, in ? File
>>
"/home/martin/foodir/venus/planet/html5lib/html5parser.
py", line
>> 25, in ? File
>>
"/home/martin/foodir/venus/planet/html5lib/treebuilders
/__init__.py",
>> line 36, in ? File
>>
"/home/martin/foodir/venus/planet/html5lib/treebuilders
/etree.py",
>> line 4, in ? ImportError: No module named
elementtree
>
> Is it possible that you are using a version of venus
that you picked
> up between Thu 2007-01-11 15:05:30 -0500 and Mon
2007-01-15 20:22:55
> -0500?
>
>
>
> - Sam Ruby
>
> P.S. Don't just pick up that one file, I'd suggest a
"bzr pull"
> instead. (Or simply re-download the tar/zip file, if
you went that
> way).
>
>
--
Martin Fowler
http://martinfowler.com
--
devel mailing list
devel lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
|
|
[1-5]
|
|