Issue223704
Created on 2000-11-28.16:32:55 by jmacy, last changed 2000-12-01.19:24:37 by bckfnn.
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-28 16:32:55 | jmacy | create |
Created on 2000-11-28.16:32:55 by jmacy, last changed 2000-12-01.19:24:37 by bckfnn.
Messages | |||
---|---|---|---|
msg215 (view) | Author: Joshua Macy (jmacy) | Date: 2000-11-28.16:32:55 | |
When I include C:\Python2.0\Lib in the python.path registry entry on my WinNT machine, I get the following error on startup: Jython 2.0alpha1 on java1.2.2 (JIT: symcjit) Type "copyright", "credits" or "license" for more information. error importing site Traceback (innermost last): File "c:\Python20\Lib\site.py", line 206, in ? AttributeError: class 'org.python.modules.os' has no attribute '__file__' This error is in the site.py line: here = os.path.dirname(os.__file__) Without the Python20\Lib in python.path, jython executes, but of course can't import any modules such as rexec or xml that aren't included in jython\Lib. |
|||
msg216 (view) | Author: Finn Bock (bckfnn) | Date: 2000-12-01.19:24:37 | |
Fixed by /cvsroot/jython/jython/org/python/modules/os.java,v <-- os.java new revision: 2.3; previous revision: 2.2 |
History | |||
---|---|---|---|
Date | User | Action | Args |
2000-11-28 16:32:55 | jmacy | create |
Supported by Python Software Foundation,
Powered by Roundup