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.
Created on 2008年04月04日 14:43 by jerome.chabod, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (3) | |||
|---|---|---|---|
| msg64930 - (view) | Author: Chabod (jerome.chabod) | Date: 2008年04月04日 14:43 | |
shutil generate a NameError (WindowsError) exception when moving a
directory from an ext3 to a fat32 under linux
To reproduce it:
under linux, current path on an ext3 filesytem, try to enter following
commands:
mkdir toto #on an ext3 partition
python
import shutil
shutil.move("toto", "/media/fat32/toto") # /media/fat32 is mounted on a
fat32 filesystem
You will produce following error:
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.5/shutil.py", line 196, in move
copytree(src, dst, symlinks=True)
File "/usr/lib/python2.5/shutil.py", line 132, in copytree
except WindowsError:
NameError: global name 'WindowsError' is not defined
Tested on ubuntu Feisty and a newly installed Hardy-beta.
|
|||
| msg64931 - (view) | Author: Raghuram Devarakonda (draghuram) (Python triager) | Date: 2008年04月04日 14:53 | |
This problem has been noticed as part of issue1545 and a patch with the fix has been proposed but has a small problem with it. Do you want to take a look? |
|||
| msg68636 - (view) | Author: Raghuram Devarakonda (draghuram) (Python triager) | Date: 2008年06月23日 15:23 | |
This is duplicate of 3134. I posted a patch there. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:33 | admin | set | github: 46801 |
| 2008年06月23日 15:23:14 | draghuram | set | status: open -> closed resolution: duplicate messages: + msg68636 |
| 2008年04月04日 14:53:19 | draghuram | set | nosy:
+ draghuram messages: + msg64931 |
| 2008年04月04日 14:50:56 | trent | set | keywords:
+ easy assignee: trent nosy: + trent |
| 2008年04月04日 14:47:27 | jerome.chabod | set | title: shutil: NameError (WindowsWrror) when moving from ext3 to fat32 under linux -> shutil: NameError (WindowsError) when moving from ext3 to fat32 under linux |
| 2008年04月04日 14:43:17 | jerome.chabod | create | |