ilastik / ilastik-0.5

Interactive Learning and Segmentation Toolkit
ilastik.org
Other
24 stars 5 forks source link

Exception Module has no attribute _VigraArray when loading image #95

Closed dfarmer closed 12 years ago

dfarmer commented 12 years ago

I downloaded ilastik 0.5, vigranumpy 1.8.0, PyOpenGL 3.0.1, h5py 2.0.1, and qimage2ndarray 1.0 from Christoph Gohlke's web site @ UCI, installed everything and ran ilastik. When I try to create a project and add a file either from the Add Data button or the load files (advanced) button I get:

Traceback (most recent call last):
  File "c:\python27\lib\site-packages\ilastik\modules\project_gui\gui\projectDia
log.py", line 193, in on_addFile_clicked
    theDataItem = dataImpex.DataImpex.importDataItem(file_name, None)
  File "c:\python27\lib\site-packages\ilastik\core\dataImpex.py", line 36, in im
portDataItem
    return DataImpex.loadFromFile(filename)
  File "c:\python27\lib\site-packages\ilastik\core\dataImpex.py", line 76, in lo
adFromFile
    dataAcc = DataAccessor(data)
  File "c:\python27\lib\site-packages\ilastik\core\volume.py", line 56, in __ini
t__
    if issubclass(data.__class__, vigra.arraytypes._VigraArray):
AttributeError: 'module' object has no attribute '_VigraArray'
'module' object has no attribute '_VigraArray'
sommerc commented 12 years ago

This looks to me as Christoph Gohlke compiled a very recent vigra version which is not testet with ilastik 0.5. I would propose to build the vigra version which is forked into the ilastik project: https://github.com/Ilastik/vigra-ilastik-05. Be sure to use the same hdf5 version as h5py2.0.1 uses (e.g. python -c "import h5py; print h5py.version.hdf5_version")

Am 12.02.2012 23:03, schrieb dfarmer:

I downloaded ilastik 0.5, vigranumpy 1.8.0, PyOpenGL 3.0.1, h5py 2.0.1, and qimage2ndarray 1.0 from Christoph Gohlke's web site @ UCI, installed everything and ran ilastik. When I try to create a project and add a file either from the Add Data button or the load files (advanced) button I get:

Traceback (most recent call last):
   File "c:\python27\lib\site-packages\ilastik\modules\project_gui\gui\projectDia
log.py", line 193, in on_addFile_clicked
     theDataItem = dataImpex.DataImpex.importDataItem(file_name, None)
   File "c:\python27\lib\site-packages\ilastik\core\dataImpex.py", line 36, in im
portDataItem
     return DataImpex.loadFromFile(filename)
   File "c:\python27\lib\site-packages\ilastik\core\dataImpex.py", line 76, in lo
adFromFile
     dataAcc = DataAccessor(data)
   File "c:\python27\lib\site-packages\ilastik\core\volume.py", line 56, in __ini
t__
     if issubclass(data.__class__, vigra.arraytypes._VigraArray):
AttributeError: 'module' object has no attribute '_VigraArray'
'module' object has no attribute '_VigraArray'

Reply to this email directly or view it on GitHub: https://github.com/Ilastik/ilastik/issues/95

sommerc commented 12 years ago

for the binary version this is fixed now by using the ilastik vigra fork