Re: IOError:[Errno 27] File too large

2013-03-14 Thread Dave Angel
On 03/14/2013 04:12 PM, ch.valdera...@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.

Re: IOError:[Errno 27] File too large

2013-03-14 Thread ch . valderanis
> 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

Re: IOError:[Errno 27] File too large

2013-03-13 Thread Steven D'Aprano
On Wed, 13 Mar 2013 15:35:19 -0700, ch.valderanis wrote: > Traceback (most recent call last): > File "createsubmitfiles.py", line 12, in > newfile=open(newname,'w') > IOError: [Errno 27] File too large: 'FILENAME.sub;' > > I have changed the actual filename reported by the traceback. > FI

Re: IOError:[Errno 27] File too large

2013-03-13 Thread ch . valderanis
Dear Steven, Thank you very much both for your answer and of course your comments. They are taken into account. I found out that when I touch FILENAME.sub in the command line, I get the same error. So I guess it isn't a problem with the language but rather deeper. I will solve this first before

Re: IOError:[Errno 27] File too large

2013-03-13 Thread Steven D'Aprano
On Wed, 13 Mar 2013 09:53:17 -0700, ch.valderanis wrote: > Hi, > > Relatively newcomer here. > The following code fails with the above error: python version used 2.6.2 > under linux Which part of the code fails? Please copy and paste the entire traceback, starting with the line "Traceback (most