Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
bittornado 0.3.4 issue
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
quadbox
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jun 2002
Posts: 94
Location: Brisbane, Australia

PostPosted: Sun Jul 04, 2004 10:42 am    Post subject: bittornado 0.3.4 issue Reply with quote

Just upgraded bittornado, and am getting the following fatal error when attempting to use it:

Code:

miles@miles miles $ btdownloadgui.py
Traceback (most recent call last):
  File "/usr/bin/btdownloadgui.py", line 125, in __init__
    style = wxDEFAULT_FRAME_STYLE|wxFULL_REPAINT_ON_RESIZE)
NameError: global name 'wxFULL_REPAINT_ON_RESIZE' is not defined

Traceback (most recent call last):
  File "/usr/bin/btdownloadgui.py", line 2321, in ?
    run(argv[1:])
  File "/usr/bin/btdownloadgui.py", line 2174, in run
    _run(params)
  File "/usr/bin/btdownloadgui.py", line 2177, in _run
    app = btWxApp(0, params)
  File "/usr/bin/btdownloadgui.py", line 2143, in __init__
    wxApp.__init__(self, x)
  File "/usr/lib/python2.3/site-packages/wxPython/wx.py", line 1951, in __init__
    _wxStart(self.OnInit)
  File "/usr/bin/btdownloadgui.py", line 2147, in OnInit
    d = DownloadInfoFrame(doneflag, self.configfile)
  File "/usr/bin/btdownloadgui.py", line 452, in __init__
    self.exception()
  File "/usr/bin/btdownloadgui.py", line 2084, in exception
    self.on_errorwindow(data.getvalue())
  File "/usr/bin/btdownloadgui.py", line 2090, in on_errorwindow
    if self._errorwindow is None:
AttributeError: DownloadInfoFrame instance has no attribute '_errorwindow'
miles@miles miles $


Anyone else getting this issue/know a solution?
Back to top
View user's profile Send private message
borh
Tux's lil' helper
Tux's lil' helper


Joined: 24 Nov 2002
Posts: 89
Location: Ljubljana

PostPosted: Sun Jul 04, 2004 11:27 am    Post subject: Reply with quote

I get the same problem on ~amd64 when trying to run the GUI, but the curses GUI runs perfectly, so I don't mind. Seems like a wxpython / wxGTK problem to me. (On the bittornado site 0.3.4 changelog it says "still no new GUI, been working on the engine" - so most likely it will be fixed in a new version)
Back to top
View user's profile Send private message
s0r0k
n00b
n00b


Joined: 04 Jul 2004
Posts: 31

PostPosted: Sun Jul 04, 2004 12:45 pm    Post subject: Reply with quote

Yeah, btdownloadgui.py is broken, although easy to fix.

Add this to your /usr/bin/btdownloadgui.py

Code:
wxFULL_REPAINT_ON_RESIZE = 0


It has to be added to some other file too to make the setup dialog work, but I can't remember where, it will say the path in an error message :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum