You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
shutil: NameError (WindowsError) when moving from ext3 to fat32 under linuxΒ #46801
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
assignee='https://github.com/tpn'closed_at=<Date2008-06-23.15:23:14.907>created_at=<Date2008-04-04.14:43:17.752>labels= ['easy', 'library', 'type-crash']
title='shutil: NameError (WindowsError) when moving from ext3 to fat32 under linux'updated_at=<Date2008-06-23.15:23:14.906>user='https://bugs.python.org/jeromechabod'
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 copytreeexceptWindowsError:
NameError: global name 'WindowsError' is not defined
Tested on ubuntu Feisty and a newly installed Hardy-beta.
changed the title [-]shutil: NameError (WindowsWrror) when moving from ext3 to fat32 under linux[/-][+]shutil: NameError (WindowsError) when moving from ext3 to fat32 under linux[/+]on Apr 4, 2008
This problem has been noticed as part of bpo-1545 and a patch with the
fix has been proposed but has a small problem with it. Do you want to
take a look?
draghuram commented on Jun 23, 2008
draghurammannequin
Mannequin
More actions
This is duplicate of 3134. I posted a patch there.
Activity
jeromechabod commentedon Apr 4, 2008
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
Tested on ubuntu Feisty and a newly installed Hardy-beta.
[-]shutil: NameError (WindowsWrror) when moving from ext3 to fat32 under linux[/-][+]shutil: NameError (WindowsError) when moving from ext3 to fat32 under linux[/+]draghuram commentedon Apr 4, 2008
This problem has been noticed as part of bpo-1545 and a patch with the
fix has been proposed but has a small problem with it. Do you want to
take a look?
draghuram commentedon Jun 23, 2008
This is duplicate of 3134. I posted a patch there.