[issue6727] ImportError when package is symlinked on Windows
Waldemar Kornewald
report at bugs.python.org
Tue May 10 19:05:45 CEST 2011
Waldemar Kornewald <wkornewald at gmail.com> added the comment:
I'm using Python 2.6.6 on Windows 7 Professional with the latest service pack. My system is pretty bare bones. Do you have Visual Studio or the Visual Studio Redistributables?
Here's the output of your script (the last exception seems to be caused by the .pyc file, but apart from that it seems to work):
C:\Users\wkornewald\Downloads\a>test_import_symlink_package.py
Problem does not exist here.
Traceback (most recent call last):
File "C:\Users\wkornewald\Downloads\a\test_import_symlink_package.py", line 66, in <module>
os.rmdir(tagged)
WindowsError: [Error 145] The directory is not empty: 'sample-tagged'
C:\Users\wkornewald\Downloads\a>dir sample-tagged
Volume in drive C has no label.
Volume Serial Number is 50C8-BE90
Directory of C:\Users\wkornewald\Downloads\a\sample-tagged
10.05.2011 19:04 <DIR> .
10.05.2011 19:04 <DIR> ..
10.05.2011 19:04 107 __init__.pyc
1 File(s) 107 bytes
2 Dir(s) 66.517.442.560 bytes free
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6727>
_______________________________________
More information about the Python-bugs-list
mailing list