LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 04-11-2004, 09:02 PM   #1
davoman
Member
 
Registered: Nov 2003
Location: New Zealand
Distribution: Ubuntu 6.10/7.04
Posts: 51

Rep: Reputation: 15
Angry Bittorrent: python errors


Okay I finally got Bittorrent kinda working (btdownloadcurses.py), but when I try to run btdownloadgui.py all I get is this crazy linux-jive.
Code:
bash-2.05b$ btdownloadgui.py Star\ Trek\ Nemesis\ -\ DVDRip.XviD-DEiTY\ -\ REQUEST.torrent
Traceback (most recent call last):
  File "/usr/bin/btdownloadgui.py", line 259, in run
    app = btWxApp(0, params)
  File "/usr/bin/btdownloadgui.py", line 246, 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 250, in OnInit
    d = DownloadInfoFrame(doneflag)
  File "/usr/bin/btdownloadgui.py", line 110, 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)
TypeError: wxWindow, wxSizer, wxSize, or (w,h) expected for item
I have absolutely no idea what this is meaning. Is it some kind of scripting error (its refeering to line-numbers)? Something about core.py?

I have both python 2.3 and wxpython (whatever the latest is) installed and blasting.

I'd very much like to get this going without having to have a million terminal windows open.

<- Just because I love this emoticon.
 
Old 04-16-2004, 02:21 AM   #2
punkindrublic
LQ Newbie
 
Registered: Apr 2004
Location: Canada
Posts: 1

Rep: Reputation: 0
Same problem here

Looks like you're not the only one (now) getting this problem.

Doing a search on google for this error produced only this page, so it seems to be quite rare and I'm not sure what the cause could be.

I'm using python 2.2 and wxPython 2.5.1.5

I'm getting slightly different line numbers than you, but the errors are the same:

Code:
$./btdownloadgui.py
Traceback (most recent call last):
  File "./btdownloadgui.py", line 262, in run
    app = btWxApp(0, params)
  File "./btdownloadgui.py", line 249, in __init__
    wxApp.__init__(self, x)
  File "/usr/lib/python2.2/site-packages/wx/core.py", line 5042, in __init__
    self._BootstrapApp()
  File "/usr/lib/python2.2/site-packages/wx/core.py", line 4791, in _BootstrapApp
    return _core.PyApp__BootstrapApp(*args, **kwargs)
  File "./btdownloadgui.py", line 253, in OnInit
    d = DownloadInfoFrame(doneflag)
  File "./btdownloadgui.py", line 108, in __init__
    colSizer.Add(50, 50, 0, wxEXPAND)
  File "/usr/lib/python2.2/site-packages/wx/core.py", line 8242, in Add
    return _core.Sizer_Add(*args, **kwargs)
TypeError: wxWindow, wxSizer, wxSize, or (w,h) expected for item
If you find out how to solve this, I'd be grateful if you let me know.

Thanks
 
Old 04-16-2004, 02:45 PM   #3
lgeering
LQ Newbie
 
Registered: Apr 2004
Posts: 1

Rep: Reputation: 0
This is due to the recent changes in Wxpython 2.5. If you just have Wxpyhton for Bittorrent Or dont need the extra functions that come with Wxpython 2.5 then remove it and install wxpython 2.4 which can be downloaded from sourceforge at:

ftp://ftp.sourceforge.net/pub/source...w/wx/wxpython/

Make sure you get the package for your version of python also.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
python bittorrent 3.4.2 - how do I open it? rtil Linux - Software 4 11-16-2004 10:56 AM
Python and Bittorrent jorisb Linux - Software 1 10-02-2004 03:21 PM
python and bittorrent dependencies jkassemi Linux - Software 2 05-09-2004 03:39 PM
bittorrent without python.(azureus??) arunshivanandan Linux - Software 7 11-01-2003 10:05 AM
bittorrent and python mercutio Linux - Software 7 09-01-2003 06:06 PM


All times are GMT -5. The time now is 10:15 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration