Roundup Tracker - Issues

Message3944

Author radioking
Recipients radioking
Date 2009-12-23.15:54:58
Message-id <1261583699.27.0.463771931304.issue2550617@psf.upfronthosting.co.za>
In-reply-to
Installation notes at
http://www.roundup-tracker.org/docs/installation.html

propose testing python with

python run_tests.py
or
python2 run_tests.py


I have checked out svn trunk as well as release-1-4-6, but neither test
works for me:

###################################
root@roundup:/usr/local/src/roundup/release-1-4-6# python run_tests.py 
Running unit tests at level 1

*** SOURCE WARNING: The MANIFEST file is missing!
Running unit tests from /usr/local/src/roundup/release-1-4-6/.
Including anydbm tests
Skipping Xapian indexer tests
Skipping postgresql indexer tests
Traceback (most recent call last):
  File "run_tests.py", line 889, in <module>
    process_args()
  File "run_tests.py", line 879, in process_args
    bad = main(module_filter, test_filter, libdir)
  File "run_tests.py", line 671, in main
    runner(files, test_filter, debug)
  File "run_tests.py", line 585, in runner
    s = get_suite(file)
  File "run_tests.py", line 510, in get_suite
    return suite_func()
  File "/usr/local/src/roundup/release-1-4-6/./test/test_indexer.py",
line 147, in test_suite
    if mysqlOpener.module.db_exists(config):
  File
"/usr/local/src/roundup/release-1-4-6/roundup/backends/back_mysql.py",
line 96, in db_exists
    conn = MySQLdb.connect(**kwargs)
  File "/var/lib/python-support/python2.5/MySQLdb/__init__.py", line 74,
in Connect
    return Connection(*args, **kwargs)
  File "/var/lib/python-support/python2.5/MySQLdb/connections.py", line
170, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (1045, "Access denied for user
'rounduptest'@'localhost' (using password: YES)")
root@roundup:/usr/local/src/roundup/release-1-4-6# python2 run_tests.py 
bash: python2: command not found
###################################


Is the documentation lacking any prerequesite step?
History
Date User Action Args
2009-12-23 15:54:59radiokingsetmessageid: <1261583699.27.0.463771931304.issue2550617@psf.upfronthosting.co.za>
2009-12-23 15:54:59radiokingsetrecipients: + radioking
2009-12-23 15:54:59radiokinglinkissue2550617 messages
2009-12-23 15:54:58radiokingcreate