jigneshvasoya / ruffus

Automatically exported from code.google.com/p/ruffus
MIT License
0 stars 0 forks source link

easy_install: sandbox violation #6

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. have easy_install installed in your computer (setuptools)
2. $: sudo easy_install ruffus
3. it will return an error

What is the expected output? What do you see instead?
it should install ruffus on my system, but instead it says:
gioby@dayhoff:~/Local_Repository/Python$ sudo easy_install ruffus-1.0.7.tar.gz 
Processing ruffus-1.0.7.tar.gz
Running ruffus-1.0.7/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-bVm9UI/ruffus-1.0.7/egg-dist-tmp-0mNy3Y
Traceback (most recent call last):
  File "/usr/bin/easy_install", line 8, in <module>
    load_entry_point('setuptools==0.6c9', 'console_scripts', 'easy_install')()
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 1671, in main

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 1659, in
with_ei_usage

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 1675, in
<lambda>

  File "/usr/lib/python2.5/distutils/core.py", line 151, in setup
    dist.run_commands()
  File "/usr/lib/python2.5/distutils/dist.py", line 974, in run_commands
    self.run_command(cmd)
  File "/usr/lib/python2.5/distutils/dist.py", line 994, in run_command
    cmd_obj.run()
  File "/usr/lib/python2.5/site-packages/easy_install.py", line 211, in run

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 427, in
easy_install

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 476, in
install_item

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 655, in
install_eggs

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 930, in
build_and_install

  File "/usr/lib/python2.5/site-packages/easy_install.py", line 919, in
run_setup

  File
"/usr/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/setuptools/sandbox.
py",
line 27, in run_setup
  File
"/usr/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/setuptools/sandbox.
py",
line 63, in run
  File
"/usr/lib/python2.5/site-packages/setuptools-0.6c9-py2.5.egg/setuptools/sandbox.
py",
line 29, in <lambda>
  File "setup.py", line 12, in <module>
  File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 4, in <module>
    #
  File "/tmp/easy_install-bVm9UI/ruffus-1.0.7/src/ruffus/task.py", line 79,
in <module>
  File "/tmp/easy_install-bVm9UI/ruffus-1.0.7/src/ruffus/graph.py", line
15, in <module>
  File "/usr/lib/python2.5/site-packages/PIL/__init__.py", line 108, in
<module>

  File "build/bdist.linux-i686/egg/simplejson/decoder.py", line 7, in <module>
  File "build/bdist.linux-i686/egg/simplejson/scanner.py", line 5, in <module>
  File "build/bdist.linux-i686/egg/simplejson/_speedups.py", line 7, in
<module>
  File "build/bdist.linux-i686/egg/simplejson/_speedups.py", line 4, in
__bootstrap__
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 841, in
resource_filename
    self, resource_name
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1310, in
get_resource_filename
    self._extract_resource(manager, self._eager_to_zip(name))
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 1332, in
_extract_resource
    self.egg_name, self._parts(zip_path)
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 921, in
get_cache_path
    self.extraction_error()
  File "/usr/lib/python2.5/site-packages/pkg_resources.py", line 887, in
extraction_error
    raise err
pkg_resources.ExtractionError: Can't extract file(s) to egg cache

The following error occurred while trying to extract file(s) to the Python egg
cache:

  SandboxViolation:
mkdir('/home/gioby/.python-eggs/simplejson-2.0.9-py2.5-linux-i686.egg-tmp/simple
json',
511) {}

The package setup script has attempted to modify files on your system
that are not within the EasyInstall build area, and has been aborted.

This package cannot be safely installed by EasyInstall, and may not
support alternate installation locations even if you run its setup
script by hand.  Please inform the package's author and the EasyInstall
maintainers to find out if a fix or workaround is available.

The Python egg cache directory is currently set to:

  /home/gioby/.python-eggs

Perhaps your account does not have write access to this directory?  You can
change the cache directory by setting the PYTHON_EGG_CACHE environment
variable to point to an accessible directory.

What version of the product are you using? On what operating system?

Please provide any additional information below.

Original issue reported on code.google.com by dalloli...@gmail.com on 7 Jul 2009 at 2:35

GoogleCodeExporter commented 9 years ago
New installation instructions:
should be easy_install -U ruffus
Please reopen ticket if issue persists

Original comment by bunbu...@gmail.com on 17 Nov 2009 at 4:42

GoogleCodeExporter commented 9 years ago
New installation instructions:
should be easy_install -U ruffus
Please reopen ticket if issue persists

Original comment by bunbu...@gmail.com on 17 Nov 2009 at 4:42