Hi Raquel, I checked out today's master and installed it; the most recent commit is yours, #6ff405046369ba34a3e3fa24caf46b92de10a051. It installs fine.
However, I can't seem to run the unit test suite. When I first tried
it, it complained that there was no 'selenium' module.
So this raises two questions for me:
* Shouldn't the new dependency be recorded in the INSTALL file?
* Why is it trying to import selenium for the --run-unit-tests, anyway?
Anyway, I did:
$ easy_install selenium
This seems to have fixed the first problem, only to give me another one:
$ sudo -u apache /opt/invenio/bin/inveniocfg --run-unit-tests
Traceback (most recent call last):
File "/opt/invenio/bin/inveniocfg", line 33, in ?
main()
File "/usr/lib/python2.4/site-packages/invenio/inveniocfg.py", line
1241, in main
cli_cmd_run_unit_tests(conf)
File "/usr/lib/python2.4/site-packages/invenio/inveniocfg.py", line
735, in cli_cmd_run_unit_tests
from invenio.testutils import build_and_run_unit_test_suite
File "/usr/lib/python2.4/site-packages/invenio/testutils.py", line 35,
in ?
from selenium import webdriver
File
"/usr/lib/python2.4/site-packages/selenium-2.8.1-py2.4.egg/selenium/webdriver/__init__.py",
line 18, in ?
from firefox.webdriver import WebDriver as Firefox
File
"/usr/lib/python2.4/site-packages/selenium-2.8.1-py2.4.egg/selenium/webdriver/firefox/webdriver.py",
line 83
finally:
^
SyntaxError: invalid syntax
It looks as though the selenium module uses try...except...finally,
which I think was introduced in Python 2.5, so it would be incompatible
with Python 2.4.
Did the minimum supported Python version bump to 2.5 while I was on
vacation, or have I done something wrong? Perhaps using easy_install
was the wrong way to get selenium?
Thanks,
Joe
signature.asc
Description: OpenPGP digital signature

