This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: 'setup.py install' fails on linux from read-only storage
Type: behavior Stage: needs patch
Components: Distutils, Distutils2 Versions: Python 3.3, Python 3.4, Python 2.7
process
Status: languishing Resolution:
Dependencies: Superseder:
Assigned To: eric.araujo Nosy List: bialix, eric.araujo, tarek
Priority: normal Keywords:

Created on 2005-08-26 21:31 by bialix, last changed 2022-04-11 14:56 by admin.

Messages (4)
msg60806 - (view) Author: Alexander Belchenko (bialix) Date: 2005-08-26 21:31
I'm trying to install some package on linux from
read-only storage (pex, CD-ROM), and process has been
crashed. After copying first file from build/lib
directory I have error message.

I run setup script with command:

python setup.py install --skip-build -f --no-compile

Directory build/lib contain builded python scripts (and
extensions). If I try to install from hard disk -- all
OK. If try to install from read-only devices -- process
breaked.

I have this error message:

error:
/usr/lib/python2.4/site-package/module/__init__.py:
Invalid argument

Error message appear after successful copying file
__init__.py.

If copying directory with all files to install from
CD-ROM to hard drive and then launch setup.py, then it
is works fine.

Tested on:
* linux2 + python 2.3
* cygwin + python 2.4

On windows it is works OK.
msg113009 - (view) Author: Terry J. Reedy (terry.reedy) * (Python committer) Date: 2010-08-05 19:00
With development of disutils2, distutils issues are not getting much separate attention.
msg113027 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-08-05 19:21
Alexander, thank you for the report. I’m sorry there was no reply earlier. Distutils was without dedicated maintainer for a long time, now Tarek has taken it over and fixes bugs. He’s very busy these months, so I’ll investigate this later this month when I get some time. Thanks again!
msg124089 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-12-15 23:05
Guidelines for someone wanting to make a patch: http://wiki.python.org/moin/Distutils/FixingBugs

I’m adding the easy keyword to let a sprinter or bug-day newcomer find this and write a test.  The fix itself may be more difficult, since the error message looks like it comes from a program called by distutils.
History
Date User Action Args
2022-04-11 14:56:12adminsetgithub: 42309
2013-10-25 07:58:47christian.heimessetstatus: open -> languishing
versions: + Python 3.3, Python 3.4, - 3rd party, Python 3.1, Python 3.2
2010-12-15 23:05:00eric.araujosetversions: + 3rd party
nosy: bialix, tarek, eric.araujo
title: 'setup.py install' fail on linux from read-only storage -> 'setup.py install' fails on linux from read-only storage
messages: + msg124089

components: + Distutils2
stage: needs patch
2010-10-22 08:56:30eric.araujosetassignee: eric.araujo
versions: + Python 3.1, Python 2.7, Python 3.2
nosy: - terry.reedy
2010-08-05 19:21:43eric.araujosetnosy: + eric.araujo
messages: + msg113027
2010-08-05 19:00:35terry.reedysetnosy: + terry.reedy
messages: + msg113009
2009-02-10 16:57:18akitadasetnosy: + tarek
type: behavior
2005-08-26 21:31:18bialixcreate