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 jerome.chabod
Recipients jerome.chabod
Date 2008-04-04.14:43:16
SpamBayes Score 0.09724676
Marked as misclassified No
Message-id <1207320258.84.0.0564229805861.issue2549@psf.upfronthosting.co.za>
In-reply-to
Content
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.
History
Date User Action Args
2008-04-04 14:44:19jerome.chabodsetspambayes_score: 0.0972468 -> 0.09724676
recipients: + jerome.chabod
2008-04-04 14:44:18jerome.chabodsetspambayes_score: 0.0972468 -> 0.0972468
messageid: <1207320258.84.0.0564229805861.issue2549@psf.upfronthosting.co.za>
2008-04-04 14:43:17jerome.chabodlinkissue2549 messages
2008-04-04 14:43:16jerome.chabodcreate