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


Groups > comp.lang.python > #41254

Re: IOError:[Errno 27] File too large

Date 2013-03-14 21:32 -0400
From Dave Angel <davea@davea.name>
Subject Re: IOError:[Errno 27] File too large
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> <6895f767-cfd9-4501-8368-25c3dbf8b643@googlegroups.com>
Newsgroups comp.lang.python
Message-ID <mailman.3328.1363311189.2939.python-list@python.org> (permalink)

Show all headers | View raw


On 03/14/2013 04:12 PM, ch.valderanis@gmail.com wrote:
>
>> 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
>

Aha!  So the file that was too large was the directory file.

-- 
DaveA

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