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.

classification
Title: os.rename FileNotFound complaining about dst, but it is src which is missing
Type: Stage: resolved
Components: Library (Lib) Versions: Python 3.3
process
Status: closed Resolution: duplicate
Dependencies: Superseder: Bad error message in os.rename, os.link, and os.symlink
View: 16074
Assigned To: Nosy List: Dun.Peal, ned.deily
Priority: normal Keywords:

Created on 2013-07-09 23:19 by Dun.Peal, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (2)
msg192783 - (view) Author: Dun Peal (Dun.Peal) Date: 2013-07-09 23:19
# The following reproduction is running on Ubuntu 13.04, Python 3.3.1:

$ ls
bar
$ python3 -c "import os; os.rename('foo', 'bar')"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
FileNotFoundError: [Errno 2] No such file or directory: 'bar'
msg192789 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2013-07-10 01:40
Thanks for the report.  This problem is being tracked in Issue16074.
History
Date User Action Args
2022-04-11 14:57:47adminsetgithub: 62620
2013-07-10 01:40:21ned.deilysetstatus: open -> closed

superseder: Bad error message in os.rename, os.link, and os.symlink

nosy: + ned.deily
messages: + msg192789
resolution: duplicate
stage: resolved
2013-07-09 23:19:54Dun.Pealcreate