Error in plot_matching.py example
Hi everyone, I am getting the following error while running plot_matching.py . ankit@ubuntu:/media/ankit/D/foss/scikit-image$ python doc/examples/plot_matching.py Traceback (most recent call last): File "doc/examples/plot_matching.py", line 28, in <module> from skimage import data File "/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-x86_64.egg/skimage/data/__init__.py", line 11, in <module> from ..io import imread File "/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-x86_64.egg/skimage/io/__init__.py", line 7, in <module> from ._plugins import use as use_plugin File "/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-x86_64.egg/skimage/io/_plugins/__init__.py", line 1, in <module> from .plugin import * File "/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-x86_64.egg/skimage/io/_plugins/plugin.py", line 65, in <module> _scan_plugins() File "/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-x86_64.egg/skimage/io/_plugins/plugin.py", line 47, in _scan_plugins name = cp.sections()[0] IndexError: list index out of range Can you check and see if this error is reproducible with you? Thanks. Cheers, Ankit.
Hi Ankit On Thu, Jul 11, 2013 at 3:32 PM, Ankit Agrawal <aaaagrawal@gmail.com> wrote:
"/usr/local/lib/python2.7/dist-packages/scikit_image-0.9dev-py2.7-linux-x86_64.egg/skimage/io/_plugins/plugin.py", line 47, in _scan_plugins name = cp.sections()[0] IndexError: list index out of range
That's odd--the error is with your plugins, not with that specific example. Can you try from skimage import data data.checkerboard() ? Stéfan
participants (2)
-
Ankit Agrawal
-
Stéfan van der Walt