[issue6727] ImportError when package is symlinked on Windows
Waldemar Kornewald added the comment: It was only with symlinked packages/folders. Symlinked files worked correctly for me. BTW, pth files won't work for our specific use-case (App Engine). -- ___ Python tracker <http://bugs.python.org/issue6727> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6727] ImportError when package is symlinked on Windows
Waldemar Kornewald added the comment: Symlinked packages used to work on Windows until recently, but a few days ago Microsoft published a few security patches and things stopped working. On my local machine I uninstalled all Visual C++ Runtime library patches (they were installed automatically on May 5th) and symlinks started working on my machine, again. On my friend's computer symlinked packages suddenly stopped working today, but he doesn't seem to have the Visual C++ Runtime libs, so we don't know how to work around this issue on his computer. Could someone please fix support for symlinked packages? It's an essential feature during development. -- nosy: +wkornewald ___ Python tracker <http://bugs.python.org/issue6727> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6727] ImportError when package is symlinked on Windows
Waldemar Kornewald added the comment: I uninstalled these three security patches: * KB2467173: http://support.microsoft.com/kb/2467173 * KB2467174: http://support.microsoft.com/kb/2467174 * KB2467175: http://support.microsoft.com/kb/2467175 Without those patches symlinked packages work for me. I didn't try to narrow it down to the exact patch. Instead I uninstalled all Visual C++ Redistributable packages in order to prevent those patches from ever being installed again. Should I risk breaking symlink support again to find the source of the problem? -- ___ Python tracker <http://bugs.python.org/issue6727> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6727] ImportError when package is symlinked on Windows
Waldemar Kornewald 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 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 . 10.05.2011 19:04 .. 10.05.2011 19:04 107 __init__.pyc 1 File(s)107 bytes 2 Dir(s) 66.517.442.560 bytes free -- ___ Python tracker <http://bugs.python.org/issue6727> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6727] ImportError when package is symlinked on Windows
Waldemar Kornewald added the comment: I've tracked it down. It's caused by KB2467174 (http://support.microsoft.com/kb/2467174) and I can reliably reproduce it. Here's how to reproduce it: Install *only* the "Microsoft Visual C++ 2008 Redistributable Package (x86)" from http://www.microsoft.com/downloads/en/confirmation.aspx?familyid=9b2da534-3e03-4391-8a4d-074b9f2bc1bf&displaylang=en Then, start Windows Update and click "Check for Updates" to get the new C++ 2008 Redistributable update and install that patch. Immediately symbolic links stop working. Then uninstall that patch and symlinks work again. We're still trying to figure out what's causing this problem on my friend's computer. He doesn't have the 2008 Redistributable. -- ___ Python tracker <http://bugs.python.org/issue6727> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue6727] ImportError when package is symlinked on Windows
Waldemar Kornewald added the comment: That's really strange. We uninstalled Service Pack 1 from my friend's machine and now everything works. What I don't understand is why I don't have Service Pack 1 on my machine and why Windows Update also doesn't offer to install it. Does it have to be installed manually? :-/ Anyway, this means that the problem can be caused either by SP1 or by KB2467174. -- ___ Python tracker <http://bugs.python.org/issue6727> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue15091] ImportError when package is symlinked on Unix
Changes by Waldemar Kornewald : -- nosy: +wkornewald ___ Python tracker <http://bugs.python.org/issue15091> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com