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 |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
|
 |
04-11-2004, 10:02 PM
|
#1
|
Member
Registered: Nov 2003
Location: New Zealand
Distribution: Ubuntu 6.10/7.04
Posts: 51
Rep:
|
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.
|
|
|
04-16-2004, 03:21 AM
|
#2
|
LQ Newbie
Registered: Apr 2004
Location: Canada
Posts: 1
Rep:
|
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 
|
|
|
04-16-2004, 03:45 PM
|
#3
|
LQ Newbie
Registered: Apr 2004
Posts: 1
Rep:
|
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.
|
|
|
All times are GMT -5. The time now is 10:22 PM.
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|