[Debian-med-packaging] Bug#759056: dicompyler: Please update to use wxpython3.0
Andreas Tille
andreas at an3as.eu
Thu Sep 11 10:14:50 UTC 2014
Hi Olly,
I have updated
Vcs-Svn: svn://anonscm.debian.org/debian-med/trunk/packages/dicompyler/trunk/
a lot (also with help of Debian Python) but I think I'm stalled again
with an WX3.0 issue. If I build the package as in SVN and run
dicompyler I get a window telling me:
XRC error: 229: invalid column index 7: must be less than 4
The detailed log says:
12:12:27: XRC error: 90: too many children in grid sizer: 12 > 3 x 1 (consider omitting the number of rows or columns)
12:12:27: XRC error: 90: unexpected item in sizer
12:12:27: XRC error: 229: invalid column index 5: must be less than 4
12:12:27: XRC error: 229: invalid column index 7: must be less than 4
Here is the full output of the xterm from where I called dicompyler:
$ dicompyler
ERROR: Unhandled exception: Traceback (most recent call last):
File "/usr/bin/dicompyler", line 9, in <module>
load_entry_point('dicompyler==0.4.2', 'console_scripts', 'dicompyler')()
File "/usr/share/dicompyler/dicompyler/main.py", line 946, in start
app = dicompyler(0)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8631, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/share/dicompyler/dicompyler/main.py", line 938, in OnInit
dicompylerFrame = MainFrame(None, -1, "dicompyler", self.res)
File "/usr/share/dicompyler/dicompyler/main.py", line 235, in __init__
parent = None, appname = 'dicompyler', name = 'Options')
File "/usr/share/dicompyler/dicompyler/preferences.py", line 35, in __init__
pub.subscribe(self.SetPreferenceTemplate, 'preferences.updated.template')
TypeError: unbound method subscribe() must be called with Publisher instance as first argument (got instancemethod instance instead)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/share/dicompyler/dicompyler/main.py", line 45, in LogExcepthook
pub.sendMessage('logging.exception', text)
TypeError: unbound method sendMessage() must be called with Publisher instance as first argument (got str instance instead)
Original exception was:
Traceback (most recent call last):
File "/usr/bin/dicompyler", line 9, in <module>
load_entry_point('dicompyler==0.4.2', 'console_scripts', 'dicompyler')()
File "/usr/share/dicompyler/dicompyler/main.py", line 946, in start
app = dicompyler(0)
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8631, in __init__
self._BootstrapApp()
File "/usr/lib/python2.7/dist-packages/wx-3.0-gtk2/wx/_core.py", line 8196, in _BootstrapApp
return _core_.PyApp__BootstrapApp(*args, **kwargs)
File "/usr/share/dicompyler/dicompyler/main.py", line 938, in OnInit
dicompylerFrame = MainFrame(None, -1, "dicompyler", self.res)
File "/usr/share/dicompyler/dicompyler/main.py", line 235, in __init__
parent = None, appname = 'dicompyler', name = 'Options')
File "/usr/share/dicompyler/dicompyler/preferences.py", line 35, in __init__
pub.subscribe(self.SetPreferenceTemplate, 'preferences.updated.template')
TypeError: unbound method subscribe() must be called with Publisher instance as first argument (got instancemethod instance instead)
ERROR: Unhandled exception: Traceback (most recent call last):
File "/usr/share/dicompyler/dicompyler/preferences.py", line 340, in OnClose
pub.sendMessage('preferences.updated.values', self.values)
TypeError: unbound method sendMessage() must be called with Publisher instance as first argument (got str instance instead)
Error in sys.excepthook:
Traceback (most recent call last):
File "/usr/share/dicompyler/dicompyler/main.py", line 45, in LogExcepthook
pub.sendMessage('logging.exception', text)
TypeError: unbound method sendMessage() must be called with Publisher instance as first argument (got str instance instead)
Original exception was:
Traceback (most recent call last):
File "/usr/share/dicompyler/dicompyler/preferences.py", line 340, in OnClose
pub.sendMessage('preferences.updated.values', self.values)
TypeError: unbound method sendMessage() must be called with Publisher instance as first argument (got str instance instead)
Segmentation fault
Any idea how to fix this?
I have no idea whether this is connected to the patch[1] that was
inspired by your suggestion[2]. If not you might like to adapt your
script to include the changes I did in [1]. Could you possibly give
some advise what might be wrong?
Thanks a lot for your help
Andreas.
[1] http://anonscm.debian.org/viewvc/debian-med/trunk/packages/dicompyler/trunk/debian/patches/wxpy30-more.patch?revision=17981&view=markup
[2] http://sources.debian.net/src/bitpim/1.0.7%2Bdfsg1-4/debian/
--
http://fam-tille.de
More information about the Debian-med-packaging
mailing list