LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   problems with python: what else is new??? (https://www.linuxquestions.org/questions/linux-software-2/problems-with-python-what-else-is-new-322538/)

mrchaos 05-11-2005 06:58 PM

problems with python: what else is new???
 
I like to download using bit-torrent. Specifically, I enjoy using bittornado (in Windows at least). 3 months ago, when I ditched Windows for good, I installed bit-tornado using wine, because python gave me hella trouble. With sudden, horrid realization today, I discovered that bittornado in Wine was severely limited as downloading is concerned. Ever since I moved onto a faster network, I cannot get more than 24 Kb/s for download rate. I tried the same torrents in Windows and got a rate in excess of 60 Kb/s on average! So I decided to install the native linux version of bittornado one more time... of course, there was Python, waiting to screw me once again. (if you've seen my previous posts, you'll know that I absolutely HATE python. Short and simple: it hasn't ONCE worked right)

I downloaded the native linux version of bit-tornado, and used the python script to install. then I ran
Code:

root@ZAXCOMP:/home/zax/BitTornado-CVS# btdownloadgui.py
Traceback (most recent call last):
  File "/usr/bin/btdownloadgui.py", line 29, in ?
    from BitTornado.ConfigReader import configReader
  File "/usr/lib/python2.4/site-packages/BitTornado/ConfigReader.py", line 40, in ?
    _CHECKINGCOLOR = ColorToHex(wxSystemSettings_GetColour(wxSYS_COLOUR_3DSHADOW))
  File "/usr/lib/python2.4/site-packages/wx-2.5.3-gtk2-unicode/wx/_misc.py", line 145, in SystemSettings_GetColour
    return _misc_.SystemSettings_GetColour(*args, **kwargs)
wx._core.PyNoAppError: The wx.App object must be created first!

I've installed wxPython MULTIPLE times, and it's still as useless as a screen door on a submarine. Can somebody PLEASE tell me what's going on???????????????????????????????





Side note: python sucks.

mrchaos 05-11-2005 07:18 PM

oh yeah, this is a bunch of bullcrap. I decided to install the newest version of wxPython just to be sure, so downloaded the source file, and ran ./configure:
Code:

no
configure: error:
The development files for GTK+ were not found. For GTK+ 2, please
ensure that pkg-config is in the path and that gtk+-2.0.pc is
installed. For GTK+ 1.2 please check that gtk-config is in the path,
and that the version is 1.2.3 or above. Also check that the
libraries returned by 'pkg-config gtk+-2.0 --libs' or 'gtk-config
--libs' are in the LD_LIBRARY_PATH or equivalent.

Oh that's just great. I remember having this problem a long time ago. It was like a giant chain of stuff that just flat out didn't work. I tried installing the new GTK+ and THAT spit back an error. What the hell. just some side information for anyone who feels brave enough to wrestle this beast called Python

foo_bar_foo 05-11-2005 10:35 PM

Quote:

Originally posted by mrchaos
oh yeah, this is a bunch of bullcrap.
it's a bit hard to see how trying to compile a gtk app without installing gtk developement packages is related to the universal laws of bovine flatulence but i'm sure it is

as for the other thing isn't there some version of bittorrent or bittornado that comes packaged to actually work on your particular system

Quote:

wx._core.PyNoAppError: The wx.App object must be created first!
this is a bug in bittornado so there is also some apologizing to do to the snake family as well

i bet you just hate animals and liberal programming environmentalists

rshaw 05-11-2005 10:40 PM

or just install azureus and get on with life

mrchaos 05-13-2005 02:43 PM

haha. yeah, that's actually what I ended up doing (installing azureus). The java runtime environ. is a much more friendly system than python in linux (well, for all OS since it's cross-environment)

thanks all.


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