btdownloadgui.py fails

Hi Robin,

Juergen Rose wrote:
> Hi all,
>
> I installed wxGTK-2.5.2 and wxPythonSrc-2.5.1.5. For the installation of
> wxPythonSrc-2.5.1.5 I had to replace self.root=None with elf.root=''.
> But now fails btdownloadgui.py:
>
> scorpion:/usr/src/WWW/BitTorrent-3.4.2(156)#btdownloadgui.py
> Traceback (most recent call last):
> File "/usr/bin/btdownloadgui.py", line 262, in run
> app = btWxApp(0, params)
> File "/usr/bin/btdownloadgui.py", line 249, in __init__
> wxApp.__init__(self, x)
> File "/usr/lib/python2.3/site-packages/wx/core.py", line 5042, in
> __init__
> self._BootstrapApp()
> File "/usr/lib/python2.3/site-packages/wx/core.py", line 4791, in
> _BootstrapApp
> return _core.PyApp__BootstrapApp(*args, **kwargs)
> File "/usr/bin/btdownloadgui.py", line 253, in OnInit
> d = DownloadInfoFrame(doneflag)
> File "/usr/bin/btdownloadgui.py", line 108, in __init__
> colSizer.Add(50, 50, 0, wxEXPAND)
> File "/usr/lib/python2.3/site-packages/wx/core.py", line 8242, in Add
> return _core.Sizer_Add(*args, **kwargs)
>
> Any hint?

BitTorrent hasn't been migrated to 2.5 yet. Try changing line 108 to
  
  colSizer.Add((50,50), 0, wxEXPAND)

I changed line 108, but it helps only some seconds, the download window
is opened, perhaps two Donate windows are also opened (to recognize this
windows I run 'strace btdownloadgui.py some.torrent'), and a
Segmentation fault happens:

(btdownloadgui.py:3497): Gtk-CRITICAL **: file gtkwidget.c: line 5448
(gtk_widget_set_uposition): assertion `GTK_IS_WIDGET (widget)' failed
Segmentation fault

Are there still some hints?

  Regards Juergen

ยทยทยท

On Thu, 2004-07-15 at 14:41 -0700, Robin Dunn wrote: