Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python > #41240

Re: IOError:[Errno 27] File too large

Newsgroups comp.lang.python
Date 2013-03-14 13:12 -0700
References <b4fcf481-f673-4004-b145-bbb24864e605@googlegroups.com> <5140b84b$0$29965$c3e8da3$5496439d@news.astraweb.com> <a70fc164-89c8-4328-8e91-53ae74040f8e@googlegroups.com> <514139f8$0$29965$c3e8da3$5496439d@news.astraweb.com>
Message-ID <6895f767-cfd9-4501-8368-25c3dbf8b643@googlegroups.com> (permalink)
Subject Re: IOError:[Errno 27] File too large
From ch.valderanis@gmail.com

Show all headers | View raw


> Taking a wild guess, I think that you are using a Samba share on a Linux 
> 
> server. A file "FILENAME.xml;" was accidentally creating on this share 
> 
> from the Linux filesystem layer, since Linux will allow you to use 
> 
> semicolons in file names. But samba enforces the same restrictions as 
> 
> Windows, so when you access the file system through sambda, it gives an 
> 
> error when you try to create a new file "FILENAME.sub;".
> 
> This is a wild guess, and could be completely wrong. Please come back and 
> 
> tell us the solution when you have solved it.

So, let me report the solution.
All the files were in an afs filesystem. afs has a limit for the total length of  the filenames per directory. for more details take a look at http://www.inf.ed.ac.uk/systems/AFS/topten.html#Tip13
In my case 10k files with ~160characters per filename were just hitting the limit. The error message is basically misleading.

Makis

Back to comp.lang.python | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

IOError:[Errno 27] File too large ch.valderanis@gmail.com - 2013-03-13 09:53 -0700
  Re: IOError:[Errno 27] File too large Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-13 17:32 +0000
    Re: IOError:[Errno 27] File too large ch.valderanis@gmail.com - 2013-03-13 15:35 -0700
      Re: IOError:[Errno 27] File too large Steven D'Aprano <steve+comp.lang.python@pearwood.info> - 2013-03-14 02:46 +0000
        Re: IOError:[Errno 27] File too large ch.valderanis@gmail.com - 2013-03-14 13:12 -0700
          Re: IOError:[Errno 27] File too large Dave Angel <davea@davea.name> - 2013-03-14 21:32 -0400
  Re: IOError:[Errno 27] File too large Dennis Lee Bieber <wlfraed@ix.netcom.com> - 2013-03-13 18:27 -0400

csiph-web