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 hynek
Recipients grobian, hynek
Date 2012-04-24.19:08:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1335294496.08.0.904694567675.issue14662@psf.upfronthosting.co.za>
In-reply-to
Content
Now that’s odd. I just looked into the code at http://hg.python.org/cpython/file/2.7/Lib/shutil.py#l103 and there is a guard against EOPNOTSUPP:

try:
   os.chflags(dst, st.st_flags)
except OSError, why:
   if (not hasattr(errno, 'EOPNOTSUPP') or
   why.errno != errno.EOPNOTSUPP):
      raise

Does your /Library/Gentoo/usr/lib/python2.7/shutil.py look the same? Would you mind adding a `print why.errno` just before the raise?

I have tried move'ing files to NTFS and FAT32 and it works just fine here.
History
Date User Action Args
2012-04-24 19:08:16hyneksetrecipients: + hynek, grobian
2012-04-24 19:08:16hyneksetmessageid: <1335294496.08.0.904694567675.issue14662@psf.upfronthosting.co.za>
2012-04-24 19:08:15hyneklinkissue14662 messages
2012-04-24 19:08:15hynekcreate