Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder1.news.weretis.net!feeder.erje.net!eu.feeder.erje.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.050 X-Spam-Evidence: '*H*': 0.90; '*S*': 0.00; 'filename': 0.07; 'filenames': 0.07; 'filesystem': 0.09; 'windows,': 0.09; 'limit.': 0.16; 'subject:File': 0.16; 'subject:too': 0.16; 'wrote:': 0.17; 'basically': 0.17; 'directory.': 0.17; 'restrictions': 0.17; 'solution.': 0.18; 'subject:] ': 0.19; 'file.': 0.20; 'names.': 0.22; 'linux': 0.24; 'header:In-Reply-To:1': 0.25; 'header:User- Agent:1': 0.26; 'creating': 0.26; 'accidentally': 0.29; 'subject::[': 0.29; 'error': 0.30; 'server.': 0.32; 'file': 0.32; 'could': 0.32; 'skip:~ 10': 0.33; 'to:addr:python-list': 0.33; 'so,': 0.35; 'pm,': 0.35; 'but': 0.36; 'too': 0.36; 'subject:: ': 0.38; 'files': 0.38; 'gives': 0.39; 'to:addr:python.org': 0.39; 'received:192': 0.39; 'skip:" 10': 0.40; 'received:192.168': 0.40; 'think': 0.40; 'share': 0.61; 'back': 0.62; 'details': 0.63; 'email addr:gmail.com': 0.63; 'more': 0.63; 'limit': 0.65; 'taking': 0.65; 'total': 0.65; 'received:74.208': 0.71; 'received:74.208.4.194': 0.84; 'samba': 0.84; 'url:inf': 0.84 Date: Thu, 14 Mar 2013 21:32:49 -0400 From: Dave Angel User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130221 Thunderbird/17.0.3 MIME-Version: 1.0 To: python-list@python.org Subject: Re: IOError:[Errno 27] File too large References: <5140b84b$0$29965$c3e8da3$5496439d@news.astraweb.com> <514139f8$0$29965$c3e8da3$5496439d@news.astraweb.com> <6895f767-cfd9-4501-8368-25c3dbf8b643@googlegroups.com> In-Reply-To: <6895f767-cfd9-4501-8368-25c3dbf8b643@googlegroups.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:LWeQnCAH3pos0V8XXe7bh4l8ujpqPo4QlOfVnRpPJF1 NaTx9IlXnvY2pe/zQP+/eTVrN9nsh9P8ZNuqGuO0BbGE514FSx ZQs6bPlicc45WnWEcjfDlP9ynssmjP8PCw9J8Ih5I06Am8CCzv hWBNIIjfT2f/vpQAQt2ywLOe3jVH3uNFLkjNNV95pFWmeUwL2P CbQrOZd1d1Z4CGLhTEt+u1jcXSHwwcBMOMtkk7oC97A9SeGwEw oEJDP0yo/nGk2tNROd0sstb/0AOgp3UrnSBoGYhup5LyeU8CP7 FLwBy1DMI2QV/Vbf46OpKau9vLF2ol5Jh8j228CtynWuwQ1HA= = X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1363311189 news.xs4all.nl 6955 [2001:888:2000:d::a6]:40584 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:41254 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