Roundup Tracker - Issues

Issue 1155649

classification
0.8.2 run_tests.py fails on Windows XP
Type: Severity: normal
Components: Installation Versions:
process
Status: closed
:
: richard : a1s, cknittel, richard
Priority: normal :

Created on 2005-03-03 08:12 by cknittel, last changed 2005-03-29 16:49 by a1s.

Messages
msg1888 Author: [hidden] (cknittel) Date: 2005-03-03 08:12
On Windows XP, I get the following error message when
running run_tests.py:

*** SOURCE WARNING: The MANIFEST file is missing!
Running unit tests from C:\roundup-0.8.2\.
Traceback (most recent call last):
  File "C:\roundup-0.8.2\run_tests.py", line 887, in ?
    process_args()
  File "C:\roundup-0.8.2\run_tests.py", line 877, in
process_args
    bad = main(module_filter, test_filter, libdir)
  File "C:\roundup-0.8.2\run_tests.py", line 669, in main
    runner(files, test_filter, debug)
  File "C:\roundup-0.8.2\run_tests.py", line 583, in runner
    s = get_suite(file)
  File "C:\roundup-0.8.2\run_tests.py", line 495, in
get_suite
    mod = package_import(modname)
  File "C:\roundup-0.8.2\run_tests.py", line 487, in
package_import
    mod = __import__(modname)
  File "C:\roundup-0.8.2\.\test\test_anydbm.py", line
23, in ?
    from db_test_base import DBTest, ROTest,
SchemaTest, ClassicInitTest, config

  File "C:\roundup-0.8.2\.\test\db_test_base.py", line
43, in ?
    config.init_logging()
  File "C:\roundup-0.8.2\roundup\configuration.py",
line 1074, in init_logging
    hdlr = logging.FileHandler(_file)
  File "C:\PROGRA~1\Python23\lib\logging\__init__.py",
line 694, in __init__
    StreamHandler.__init__(self, open(filename, mode))
IOError: [Errno 2] No such file or directory:
'/tmp/logfile'
msg1889 Author: [hidden] (a1s) Date: 2005-03-16 06:32
Logged In: YES 
user_id=8719

confirmed on w2k: the tests fail if there is no 'tmp'
directory in the root of current drive.

why do the tests write logfile at all?  log file left behind
is pretty long, ever-growing, and it is not used by the test
system in any way.
msg1890 Author: [hidden] (a1s) Date: 2005-03-29 16:49
Logged In: YES 
user_id=8719

fixed in cvs
History
Date User Action Args
2005-03-03 08:12:39cknittelcreate