Comment 3 for bug 1033699

Revision history for this message
mjb (mjbutte) wrote :

Even with a single .ibw file (force curve) in a directory, OpenFovea still crashes (trace below). I'm running on Win7-64 on Xeon 2.67GHz with 6 GB RAM (a generic Dell box). Has anyone gotten the software to work with Asylum force maps? Could it be that something has changed in the Asylum .ibw file in a recent build of their software?

Exception in thread Thread-1:
Traceback (most recent call last):
  File "C:\Python27\lib\threading.py", line 551, in __bootstrap_inner
    self.run()
  File "C:\Python27\lib\threading.py", line 504, in run
    self.__target(*self.__args, **self.__kwargs)
  File "C:\Python27\lib\site-packages\openfovea\classes.py", line 1713, in load_
folder
    self.load_file(os.path.join(fv_folder, files))
  File "C:\Python27\lib\site-packages\openfovea\classes.py", line 1694, in load_
file
    self.file['list'].append(ForceVolume(fv_file))
  File "C:\Python27\lib\site-packages\openfovea\classes.py", line 165, in __init
__
    self.__array['Piezo']] = afm_file.load(fv_file)
  File "C:\Python27\lib\site-packages\openfovea\fovea_toolbox\file_util\afm_file
.py", line 88, in load
    [trace, retrace, piezo, header] = asylum.load(file_name)
  File "C:\Python27\lib\site-packages\openfovea\fovea_toolbox\file_util\asylum.p
y", line 72, in load
    trace, retrace, header, piezo = get_file(file_name)
  File "C:\Python27\lib\site-packages\openfovea\fovea_toolbox\file_util\asylum.p
y", line 282, in get_file
    header = parse_note(note[0])
  File "C:\Python27\lib\site-packages\openfovea\fovea_toolbox\file_util\asylum.p
y", line 315, in parse_note
    _index = note.index(_text)
ValueError: substring not found

Traceback (most recent call last):
  File "C:\Python27\lib\site-packages\openfovea\openfovea_gui.py", line 820, in
on_new_experiment_activate
    self.force_volume = self.experiment.get_file(0)
  File "C:\Python27\lib\site-packages\openfovea\classes.py", line 1618, in get_f
ile
    self.update_switch()
  File "C:\Python27\lib\site-packages\openfovea\classes.py", line 1969, in updat
e_switch
    mask = self.file['list'][self.file['current']].get_switch('mask')
IndexError: list index out of range