This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author loewis
Recipients barry, loewis, tarek
Date 2010-03-10.08:20:17
SpamBayes Score 1.2684632e-07
Marked as misclassified No
Message-id <1268209220.96.0.437139733461.issue8107@psf.upfronthosting.co.za>
In-reply-to
Content
test_distutils fails like this:

test test_distutils crashed -- <type 'exceptions.TypeError'>: object of type 'NoneType' has no len()
Traceback (most recent call last):
  File "Lib\test\regrtest.py", line 560, in runtest_inner
    indirect_test()
  File "c:\Python26\lib\test\test_distutils.py", line 13, in test_main
    test.test_support.run_unittest(distutils.tests.test_suite())
  File "c:\Python26\lib\distutils\tests\__init__.py", line 30, in test_suite
    suite.addTest(module.test_suite())
  File "c:\Python26\lib\distutils\tests\test_build_ext.py", line 391, in test_suite
    src = _get_source_filename()
  File "c:\Python26\lib\distutils\tests\test_build_ext.py", line 22, in _get_sou
rce_filename
    return os.path.join(srcdir, 'Modules', 'xxmodule.c')
  File "c:\Python26\lib\ntpath.py", line 96, in join
    assert len(path) > 0
TypeError: object of type 'NoneType' has no len()

Not sure whether this is a regression from 2.6.4.
History
Date User Action Args
2010-03-10 08:20:21loewissetrecipients: + loewis, barry, tarek
2010-03-10 08:20:20loewissetmessageid: <1268209220.96.0.437139733461.issue8107@psf.upfronthosting.co.za>
2010-03-10 08:20:19loewislinkissue8107 messages
2010-03-10 08:20:17loewiscreate