Hi All,
Playing with venus as a personal aggegrator. On Win32
(WinXP, Python
2.4, libxml2 installed) - output from runtests.py below
(used latest
snapshot this morning from bzr). The biggest issue seems to
be the way
locking in implemented in htmltmpl.py on Windows - see also;
http://lists.planetplanet.org/archives/deve
l/2006-January/000655.html
http://lists.planetplanet.org/archives/dev
el/2006-February/000676.html
Note that the first error reported actually only occurs the
_second_
time I run the test suite - seems be related to the locking
issue - I
guess the test suite was unable to clean up entirely after
the first
run.
Note also that without libxml2 installed, it prodcues more
errors, in
a manner similar to this discussion -
http://lists.planetplanet.org/archives/de
vel/2006-September/001047.html
There _may_ also be some issues with trying to access feeds
from
behind a proxy that requires authentication - yet to fully
nail this
down - might also be related to this:
http://lists.planetplanet.org/archives/d
evel/2006-September/001055.html.
I believe urllib2 attempts to detect proxy settings
automatically and
may even consult IE for information on Windows (
http://www.voidspace.org.uk/python/articles/urllib
2.shtml#id13 ),
which would produce bogus values right now. Perhaps some
explicit ini
settings for proxy servers would be good?
Many thanks,
Harry
---------------------------------------
D:\py\venus>runtests.py
.E..........................................................
....................
................................................EEF.FFFF....
.......
============================================================
==========
ERROR: test_apply_fancy (tests.test_apply.ApplyTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File "D:\py\venus\tests\test_apply.py",
line 52, in test_apply_fancy
splice.apply(self.feeddata)
File "D:\py\venus\planet\splice.py", line
80, in apply
shell.run(template_file, doc)
File
"D:\py\venus\planet\shell\__init__.py",
line 46, in run
module.run(template_resolved, doc, output_file, options)
File "D:\py\venus\planet\shell\tmpl.py",
line 229, in run
template = manager.prepare(script)
File "D:\py\venus\planet\htmltmpl.py",
line 204, in prepare
precompiled = self.load_precompiled(file)
File "D:\py\venus\planet\htmltmpl.py",
line 341, in load_precompiled
self.lock_file(file, LOCK_UN)
File "D:\py\venus\planet\htmltmpl.py",
line 284, in lock_file
msvcrt.locking(fd, msvcrt.LK_UNLCK, 1)
IOError: [Errno 13] Permission denied
============================================================
==========
ERROR: test_cache (tests.test_rlists.ReadingListTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File "D:\py\venus\tests\test_rlists.py",
line 44, in test_cache
parser.read(cache[0])
IndexError: list index out of range
============================================================
==========
ERROR: test_feed_options (tests.test_rlists.ReadingListTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File "D:\py\venus\tests\test_rlists.py",
line 31, in test_feed_options
feed1 = feeds['testfeed1a.atom']
KeyError: 'testfeed1a.atom'
============================================================
==========
FAIL: test_feeds (tests.test_rlists.ReadingListTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File "D:\py\venus\tests\test_rlists.py",
line 25, in test_feeds
'testfeed2.atom', 'testfeed3.rss'], feeds)
AssertionError: ['testfeed0.atom', 'testfeed1a.atom',
'testfeed2.atom', 'testfee
d3.rss'] != []
============================================================
==========
FAIL: test_filename (tests.test_spider.SpiderTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File "D:\py\venus\tests\test_spider.py",
line 30, in test_filename
filename('.', 'http://example.com/inde
x.html'))
AssertionError: './example.com,index.html' !=
'.\\example.com,index.html'
============================================================
==========
FAIL: test_spiderFeed (tests.test_spider.SpiderTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File "D:\py\venus\tests\test_spider.py",
line 54, in test_spiderFeed
self.assertTrue(workdir +
AssertionError
============================================================
==========
FAIL: test_spiderPlanet (tests.test_spider.SpiderTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File "D:\py\venus\tests\test_spider.py",
line 76, in test_spiderPlanet
self.assertTrue(workdir +
AssertionError
============================================================
==========
FAIL: test_spiderUpdate (tests.test_spider.SpiderTest)
------------------------------------------------------------
----------
Traceback (most recent call last):
File "D:\py\venus\tests\test_spider.py",
line 65, in test_spiderUpdate
self.test_spiderFeed()
File "D:\py\venus\tests\test_spider.py",
line 54, in test_spiderFeed
self.assertTrue(workdir +
AssertionError
------------------------------------------------------------
----------
Ran 147 tests in 2.103s
FAILED (failures=5, errors=3)
--
devel mailing list
devel lists.planetplanet.org
http://lists.planetplanet.org/mailman/listinfo/devel
|