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 TTimo
Recipients TTimo, tarek
Date 2010-04-19.22:16:05
SpamBayes Score 1.110223e-16
Marked as misclassified No
Message-id <1271715366.82.0.701190255078.issue6547@psf.upfronthosting.co.za>
In-reply-to
Content
It's a symlink that points to a file that doesn't exist. There are many ways this can happen, in this particular case my text editor (emacs) seems to keep some metadata about which user, machine and process is editing a file. I tried to reproduce in 2.6 (Debian sid amd64) and I can confirm it still happens:

timo@ttimozilla:~$ mkdir test
timo@ttimozilla:~$ cd test
timo@ttimozilla:~/test$ ln -s foo bar
timo@ttimozilla:~/test$ ls -1l bar
lrwxrwxrwx 1 timo timo 3 Apr 19 17:12 bar -> foo
timo@ttimozilla:~/test$ ls -1l foo
ls: cannot access foo: No such file or directory
timo@ttimozilla:~/test$ python2.6
Python 2.6.5 (r265:79063, Mar 20 2010, 03:56:44) 
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import shutil
>>> shutil.copytree( '../test', '../test2' )
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/usr/lib/python2.6/shutil.py", line 177, in copytree
    raise Error, errors
shutil.Error: [('../test/bar', '../test2/bar', "[Errno 2] No such file or directory: '../test/bar'")]
>>>
History
Date User Action Args
2010-04-19 22:16:07TTimosetrecipients: + TTimo, tarek
2010-04-19 22:16:06TTimosetmessageid: <1271715366.82.0.701190255078.issue6547@psf.upfronthosting.co.za>
2010-04-19 22:16:05TTimolinkissue6547 messages
2010-04-19 22:16:05TTimocreate