Menu

#39 bin/xmipp_browser crashes with Tkinter error

v3
accepted
None
1
2014-07-14
2013-04-30
No

Hi all,

when running xmipp_browser (installed from sources) and then click on any file or directory in the selection list, the browser immediately crashes:

bash-3.2$ xb
Exception in Tkinter callback
Traceback (most recent call last):
  File "/g/software/linux/pack/xmipp-3.0/SRC/xmipp/external/python/Python-2.7.2/Lib/lib-tk/Tkinter.py", line 1410, in __call__
    return self.func(*args)
  File "/g/software/linux/pack/xmipp-3.0/SRC/xmipp/protocols/protlib_gui_ext.py", line 1577, in onClick
    msg += fm.onClick(item, self)
  File "/g/software/linux/pack/xmipp-3.0/SRC/xmipp/protocols/protlib_gui_ext.py", line 1142, in defaultOnClick
    browser.updatePreview(fn)
  File "/g/software/linux/pack/xmipp-3.0/SRC/xmipp/protocols/protlib_gui_ext.py", line 1605, in updatePreview
    self.preview.updateData(Z)
  File "/g/software/linux/pack/xmipp-3.0/SRC/xmipp/protocols/protlib_gui_figure.py", line 72, in updateData
    self.clear()
  File "/g/software/linux/pack/xmipp-3.0/SRC/xmipp/protocols/protlib_gui_figure.py", line 69, in clear
    self._update(self.bg)
  File "/g/software/linux/pack/xmipp-3.0/SRC/xmipp/protocols/protlib_gui_figure.py", line 90, in _update
    self.canvas.draw()
  File "/g/software/linux/pack/xmipp-3.0/SRC/xmipp/lib/python2.7/site-packages/matplotlib/backends/backend_tkagg.py", line 240, in draw
    tkagg.blit(self._tkphoto, self.renderer._renderer, colormode=2)
  File "/g/software/linux/pack/xmipp-3.0/SRC/xmipp/lib/python2.7/site-packages/matplotlib/backends/tkagg.py", line 19, in blit
    tk.call("PyAggImagePhoto", photoimage, id(aggimage), colormode, id(bbox_array))
TclError
alloc: invalid block: 0x14906330: 0 0 0

/g/software/linux/pack/xmipp-3.0/SRC/xmipp/bin/xmipp_python: line 13: 13432 Aborted                 $EXT_PYTHON/$VPYTHON/python "$@"
bash-3.2$

Platform is CentOS 5.9 x86_64.

The zipped build directory is attached

1 Attachments

Discussion

  • Ignacio Foche Pérez

    • status: open --> accepted
    • assigned_to: Ignacio Foche Pérez
     
  • Ignacio Foche Pérez

    Can you rebuild tcltk, python and python modules with...

    ./install.sh disable_all tcltk=true python=true pymodules=true

    ...and post the build. There is any kind of allocation problem that is very strange, because tcl/tk configure and make files don't say error at all during compilation. It would be also great to have your bin/xmipp_python and .xmipp_scons.options files just to check everything's fine there.

     

Anonymous
Anonymous

Add attachments
Cancel





Monday.com Logo