Closed GoogleCodeExporter closed 9 years ago
This bug also applies at least to Fedora 14 and 15.
Original comment by jensen.r...@gmail.com
on 13 Oct 2011 at 7:01
Actually the error on Fedora is slightly different, although it is most likely
the same problem:
[root@robertj ~]# easy_install mplh5canvas
install_dir /usr/lib/python2.7/site-packages/
Searching for mplh5canvas
Reading http://pypi.python.org/simple/mplh5canvas/
Reading http://code.google.com/p/mplh5canvas/
Best match: mplh5canvas 0.5
Downloading
http://pypi.python.org/packages/source/m/mplh5canvas/mplh5canvas-0.5.tar.gz#md5=
de1a64e81a635d589e85dc33a229e4f7
Processing mplh5canvas-0.5.tar.gz
Running mplh5canvas-0.5/setup.py -q bdist_egg --dist-dir
/tmp/easy_install-HCvcuA/mplh5canvas-0.5/egg-dist-tmp-zJEfE0
error: SandboxViolation: os.open('/root/tmpsIC34Y', 131266, 384) {}
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.
Original comment by jensen.r...@gmail.com
on 14 Oct 2011 at 8:50
I can confirm that the error reported in the original post also appears on
Ubuntu 11.04.
Original comment by k.nielse...@gmail.com
on 14 Oct 2011 at 9:06
I'm also having issues on windows 7.
E:\>easy_install mplh5canvas
Searching for mplh5canvas
Best match: mplh5canvas 0.6
Processing mplh5canvas-0.6-py2.7.egg
mplh5canvas 0.6 is already the active version in easy-install.pth
Using c:\python27\lib\site-packages\mplh5canvas-0.6-py2.7.egg
Processing dependencies for mplh5canvas
Finished processing dependencies for mplh5canvas
E:\>python
>>> import matplotlib
>>> matplotlib.use('mplh5canvas')
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "C:\Python27\lib\site-packages\matplotlib\__init__.py", line 916, in use
name = validate_backend(be_parts[0])
File "C:\Python27\lib\site-packages\matplotlib\rcsetup.py", line 107, in valid
ate_backend
else: return _validate_standard_backends(s)
File "C:\Python27\lib\site-packages\matplotlib\rcsetup.py", line 49, in __call
__
% (self.key, s, self.valid.values()))
ValueError: Unrecognized backend string "mplh5canvas": valid strings are ['ps',
'Qt4Agg', 'GTK', 'GTKAgg', 'svg', 'agg', 'cairo', 'MacOSX', 'GTKCairo', 'WXAgg',
'TkAgg', 'QtAgg', 'FltkAgg', 'pdf', 'CocoaAgg', 'emf', 'gdk', 'template', 'WX']
Original comment by ubershmekel@gmail.com
on 17 Mar 2012 at 7:34
Just to close this issue:
The easy_install sandbox violation was fixed in r32 on 25 October 2011.
@ubershmekel: The correct way to select the mplh5canvas backend is:
import matplotlib
matplotlib.use('module://mplh5canvas.backend_h5canvas')
The module notation is necessary because the backend is not integrated into
matplotlib itself.
Original comment by ludwig.s...@gmail.com
on 29 Jun 2012 at 7:23
Original issue reported on code.google.com by
ugo.jard...@gmail.com
on 23 Jul 2011 at 1:31