Description
Install of the various pieces seemed to all eventually go through without any errors.
Using the two files at https://medistim.com/dicom/
On linux (based on ubuntu 18.04) I can only get bmode.dcm to "Open quickly" and then when I select Ultrasound Multi-frame Image, the Loading DICOM data progress bar comes up and gets to 98% before emitting (and then hanging indefinitely):
(dicompyler:14156): Gtk-WARNING **: 03:01:55.686: Negative content width -1 (allocation 12, extents 6x7) while allocating gadget (node button, owner GtkButton)
ERROR: Unhandled exception: Traceback (most recent call last):
File "/home/chris/.local/lib/python2.7/site-packages/wx/core.py", line 3240, in <lambda>
lambda event: event.callable(*event.args, **event.kw) )
File "/home/chris/.local/lib/python2.7/site-packages/dicompyler/guiutil.py", line 134, in OnUpdateProgress
self.gaugeProgress.SetValue(percentDone)
wxAssertionError: C++ assertion "pos <= m_rangeMax" failed at /tmp/pip-build-fSSxZu/wxPython/ext/wxWidgets/src/gtk/gauge.cpp(95) in SetValue(): invalid value in wxGauge::SetValue()
The windows version fills in the DICOM tree.
Not sure how best to diagnose this, some additional info:
import wx
wx.version()
4.0.3 gtk3 (phoenix) wxWidgets 3.0.5
dpkg -s libgtk-3-0|grep '^Version'
Version: 3.22.30-1ubuntu1
I did have to do two extra things to get it to run on linux:
pip install PyPubSub==3.3.0 # rollback to latest version for py2
pip install matplotlib==2.1.0 # rollback before ImportError: cannot import name '_cntr' issue
this was after:
pip install -U -f https://extras.wxpython.org/wxPython4/extras/linux/gtk3/ubuntu-18.04/wxPython-4.0.3-cp37-cp37m-linux_x86_64.whl
pip install git+https://github.com/bastula/dicompyler
Thanks for any insight you can offer and the awesome project in general - it will be nice to have consistent viewing with team mates on the Mac and Windows!