Large file support >2/4GB ?

R

robert

Somebody who uses my app gets a error :

os.stat('/path/filename')

OSError: [Errno 75] Value too large for defined data type:
'/path/filename'

on a big file >4GB

( Python 2.4.4 / Linux )

How about that? Does Python not support large files? Or which
functions do not support?


Robert
 
C

Chris

Somebody who uses my app gets a error :

os.stat('/path/filename')

OSError: [Errno 75] Value too large for defined data type:
'/path/filename'

on a big file >4GB

( Python 2.4.4 / Linux )

How about that? Does Python not support large files? Or which
functions do not support?

Robert

*nix itself 'had' an issue with large files. This was patched some
time ago, what version/flavour of Linux are you running ?
 
B

Brian Smith

Chris said:
Somebody who uses my app gets a error :

os.stat('/path/filename')

OSError: [Errno 75] Value too large for defined data type:
'/path/filename'

on a big file >4GB

( Python 2.4.4 / Linux )

How about that? Does Python not support large files? Or which
functions do not support?

It looks like Python is not being compiled with large file support by
default. Most distributions do not enable large file support for Python.

- Brian
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,815
Latest member
treekmostly22

Latest Threads

Top