Roundup Tracker - Issues

Issue 2550494

classification
Import Error - No module named distutils.core
Type: Severity: normal
Components: Installation Versions: 1.4
process
Status: closed invalid
:
: stefan : kompressor
Priority: :

Created on 2009-02-05 07:16 by kompressor, last changed 2009-02-05 20:13 by stefan.

Messages
msg3501 Author: [hidden] (kompressor) Date: 2009-02-05 07:16
I have python 2.4.2 and when I try install roundup i get the error:
ImportError: No module named distutils.core

Below is the output of  python run_tests.py when I try to install
roundup on SuSE Enterprise Linux Server SP2. Other suggestion are that
this is related to the python-setuptools package and still trying to
check that.

Running unit tests at level 1

*** SOURCE WARNING: There are files missing (277/283 found)!
Missing: roundup-admin
Missing: roundup-demo
Missing: roundup-gettext
Missing: roundup-mailgw
Missing: roundup-server
Missing: roundup-xmlrpc-server
Running unit tests from /opt/roundup-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 ?
    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 "/opt/roundup-1.4.6/./test/test_indexer.py", line 147, in test_suite
    if mysqlOpener.module.db_exists(config):
  File "/opt/roundup-1.4.6/roundup/backends/back_mysql.py", line 96, in
db_exists
    conn = MySQLdb.connect(**kwargs)
  File "/usr/lib/python2.4/site-packages/MySQLdb/__init__.py", line 66,
in Connect
    return Connection(*args, **kwargs)
  File "/usr/lib/python2.4/site-packages/MySQLdb/connections.py", line
134, in __init__
    super(Connection, self).__init__(*args, **kwargs2)
_mysql_exceptions.OperationalError: (1045, "Access denied for user
'rounduptest'@'localhost' (using password: YES)")

Thanks
msg3502 Author: [hidden] (kompressor) Date: 2009-02-05 07:50
I fixed this by installing the python-setuptools from
http://pypi.python.org/pypi/setuptools/
I used the rpm package.
History
Date User Action Args
2009-02-05 20:13:45stefansetstatus: new -> closed
assignee: stefan
resolution: invalid
2009-02-05 07:50:50kompressorsetmessages: + msg3502
2009-02-05 07:16:12kompressorcreate