Issue1287

classification
Title: AttributeError when importing distutils.sysconfig on 2.5b3
Type: behaviour Severity: normal
Components: Library Versions:
Milestone:
process
Status: closed Resolution: duplicate
Dependencies: Superseder:
Assigned To: Nosy List: jsizelove, pjenvey, zyasoft
Priority: Keywords:

Created on 2009-03-25.01:02:12 by jsizelove, last changed 2009-04-04.03:11:39 by zyasoft.

Messages
msg4348 (view) Author: Jim Sizelove (jsizelove) Date: 2009-03-25.01:02:11
I discovered a bug when trying to use virtualenv with Jython 2.5b3.  I
installed it as a standalone jar and got the same error on both Mac OS X
and Ubuntu Linux 8.10.  Here is the simplest code to get the error:

~/Programming/Jython/jython2.5b3 jimsize$ java -jar jython.jar 
Jython 2.5b3 (Release_2_5beta3:6092, Mar 10 2009, 15:34:57) 
[Java HotSpot(TM) Client VM ("Apple Computer, Inc.")] on java1.5.0_16
Type "help", "copyright", "credits" or "license" for more information.
>>> import distutils.sysconfig
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File
"/Users/jimsize/Programming/Jython/jython2.5b3/jython.jar/Lib/distutils/sysconfig.py",
line 29, in <module>
  File
"/Users/jimsize/Programming/Jython/jython2.5b3/jython.jar/Lib/posixpath.py",
line 414, in abspath
  File
"/Users/jimsize/Programming/Jython/jython2.5b3/jython.jar/Lib/posixpath.py",
line 52, in isabs
AttributeError: 'NoneType' object has no attribute 'startswith'
msg4349 (view) Author: Jim Sizelove (jsizelove) Date: 2009-03-25.01:03:51
The symptom is the same as for issue 1069.
msg4433 (view) Author: Jim Baker (zyasoft) Date: 2009-04-04.03:11:39
Duplicate of #1112
History
Date User Action Args
2009-04-04 03:11:39zyasoftsetstatus: open -> closed
nosy: + pjenvey, zyasoft
resolution: duplicate
messages: + msg4433
2009-03-25 01:03:51jsizelovesetmessages: + msg4349
2009-03-25 01:02:12jsizelovecreate