View previous topic :: View next topic |
Author |
Message |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
Posted: Tue Sep 13, 2005 5:05 pm Post subject: Unable to start bittornado [solved!!!!] |
|
|
I just emerged bittornado
I jsut and installed wxpython but i get this error every time i start btdownloadgui.py
Code: |
zak@slacker ~ $ btdownloadgui.py
wxPython is either not installed or has not been installed properly.
zak@slacker ~ $
|
I am not sure if this is the correct forums but i beleive it is. Any one have any idea why I am getting this error?
Last edited by plastikman187 on Fri Sep 30, 2005 3:47 pm; edited 1 time in total |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Sadako Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
![](images/avatars/2074682074aea79062b33b.jpg)
Joined: 05 Aug 2004 Posts: 3792 Location: sleeping in the bathtub
|
Posted: Tue Sep 13, 2005 5:42 pm Post subject: |
|
|
I don't know for sure as I don't use it, but I think btdownloadgui.py has a gtk interface, if so (and even if not), my guess would be you didn't emerge wxpython with the necessary use flags.
What's the output of "emerge -pv wxpython"? _________________ "You have to invite me in" |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
Posted: Wed Sep 14, 2005 2:52 pm Post subject: |
|
|
Here is the output
Code: |
zak@slacker ~ $ sudo emerge -pv wxpython
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] dev-python/wxpython-2.4.2.4 +gtk2 +jpeg +opengl +png +tiff +unicode 0 kB
Total size of downloads: 0 kB
zak@slacker ~ $
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
Posted: Wed Sep 14, 2005 6:57 pm Post subject: |
|
|
I found another post on a german site that said that i need to install wxGTK I am currently installing this and will let you know the progress once i have this built.
Thanks for the help |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
Posted: Wed Sep 14, 2005 7:54 pm Post subject: |
|
|
That still did not help the problem does any one else have any idea? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nuteater Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/16978633333f73140e3e859.png)
Joined: 25 Sep 2003 Posts: 193 Location: Jyväskylä, Finland
|
Posted: Fri Sep 16, 2005 4:37 pm Post subject: |
|
|
See this bug. It seems the current stable ebuild for wxpython is pretty much broken, and does not
install the necessary modules (and hence the importing of wxpython fails). The patch
attached to the bug fixed this problem for me. Now, the question remains: how a broken
ebuild found it's way to the stable arch? Don't these things get tested? ![Mad :x](images/smiles/icon_mad.gif) _________________ I am Nuteater, hear me roar. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
Posted: Thu Sep 22, 2005 5:38 pm Post subject: |
|
|
I must be retarded but when i apply the patch i get an error on the build. I will emerge --sync and try again. do you think that this patch will work on amd64? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nuteater Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/16978633333f73140e3e859.png)
Joined: 25 Sep 2003 Posts: 193 Location: Jyväskylä, Finland
|
Posted: Thu Sep 22, 2005 5:56 pm Post subject: |
|
|
plastikman187 wrote: | I must be retarded but when i apply the patch i get an error on the build. I will emerge --sync and try again. do you think that this patch will work on amd64? |
The patch only corrects two invalid directory references, so I can't see why it could be platform-dependent.
Are you sure you are patching the correct wxPython version (2.4.2.4-r2)? What kind of error are you getting? _________________ I am Nuteater, hear me roar. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
Posted: Thu Sep 22, 2005 6:38 pm Post subject: |
|
|
Here is what i added to my ebuild to get the patch to work
Code: |
src_unpack() {
unpack ${A}
cd ${S}
epatch ${FILESDIR}/wxpython-fix.patch
}
|
Here is the error that i am receiving.
Code: |
* Applying wxpython-fix.patch ...
* Failed Patch: wxpython-fix.patch !
* ( /usr/local/portage/dev-python/wxpython/files/wxpython-fix.patch )
*
* Include in your bugreport the contents of:
*
* /var/tmp/portage/wxpython-2.4.2.4-r2/temp/wxpython-fix.patch-9764.out
!!! ERROR: dev-python/wxpython-2.4.2.4-r2 failed.
!!! Function epatch, Line 361, Exitcode 0
!!! Failed Patch: wxpython-fix.patch!
!!! If you need support, post the topmost build error, NOT this status message.
|
Code: |
localhost wxpython # cat /var/tmp/portage/wxpython-2.4.2.4-r2/temp/wxpython-fix.patch-9764.out
***** wxpython-fix.patch *****
==============================
PATCH COMMAND: patch -p0 -g0 --no-backup-if-mismatch < /usr/local/portage/dev-python/wxpython/files/wxpython-fix.patch
==============================
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- wxpython-2.4.2.4-r2.ebuild 2005-09-11 02:37:58.000000000 +0200
|+++ /root/wxpython-2.4.2.4-r2.ebuild 2005-09-16 14:03:47.345647000 +0200
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
==============================
PATCH COMMAND: patch -p1 -g0 --no-backup-if-mismatch < /usr/local/portage/dev-python/wxpython/files/wxpython-fix.patch
==============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- wxpython-2.4.2.4-r2.ebuild 2005-09-11 02:37:58.000000000 +0200
|+++ /root/wxpython-2.4.2.4-r2.ebuild 2005-09-16 14:03:47.345647000 +0200
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
==============================
PATCH COMMAND: patch -p2 -g0 --no-backup-if-mismatch < /usr/local/portage/dev-python/wxpython/files/wxpython-fix.patch
==============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- wxpython-2.4.2.4-r2.ebuild 2005-09-11 02:37:58.000000000 +0200
|+++ /root/wxpython-2.4.2.4-r2.ebuild 2005-09-16 14:03:47.345647000 +0200
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
==============================
PATCH COMMAND: patch -p3 -g0 --no-backup-if-mismatch < /usr/local/portage/dev-python/wxpython/files/wxpython-fix.patch
==============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- wxpython-2.4.2.4-r2.ebuild 2005-09-11 02:37:58.000000000 +0200
|+++ /root/wxpython-2.4.2.4-r2.ebuild 2005-09-16 14:03:47.345647000 +0200
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
==============================
PATCH COMMAND: patch -p4 -g0 --no-backup-if-mismatch < /usr/local/portage/dev-python/wxpython/files/wxpython-fix.patch
==============================
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- wxpython-2.4.2.4-r2.ebuild 2005-09-11 02:37:58.000000000 +0200
|+++ /root/wxpython-2.4.2.4-r2.ebuild 2005-09-16 14:03:47.345647000 +0200
--------------------------
No file to patch. Skipping patch.
3 out of 3 hunks ignored
localhost wxpython #
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nuteater Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/16978633333f73140e3e859.png)
Joined: 25 Sep 2003 Posts: 193 Location: Jyväskylä, Finland
|
Posted: Thu Sep 22, 2005 8:03 pm Post subject: |
|
|
hmm hmm... the patch applies against the ebuild itself, not the wxPython source. _________________ I am Nuteater, hear me roar. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
Posted: Thu Sep 22, 2005 9:01 pm Post subject: |
|
|
Even if this is a bug with the ebuild wxpython-2.4.2.4-r2 i tried 2.6 with the same results. can you take a look at the last post on this forums and tell me if it makes sense to you
http://www.gentooforum.de/artikel/5271/4/geloest-wxPython-und-Bittornado.html
Note i translated it using bable fish to english
Quote: |
I PROPERTY IT SOLVED!!!!!!!!! Joy Property which wxpython versions on my system are examined again and see there: # emerge Cp wxpython Thesis of acres the packages that I would unmerge: dev python/wxpython selected: 2.4.2.4-r2 2.6.1.0 protected: none omitted: none ' Selected ' of packages of acres slated for rem oval. ' Protected ' and ' omitted ' packages wants emergency removed. To property then the version 2.4.2.4-r2 by my system taken and see there it goes, there: .... Setting wx-2.6-gtk2-ansi as system default.... Now gehts again!!!! Thanks to all!!!! Greeting at MyD!!! Gitano merrily
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Nylan n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/gallery/Futurama/cartoon_futurama_nibbler_2.gif)
Joined: 14 Jun 2003 Posts: 38
|
Posted: Fri Sep 23, 2005 10:59 am Post subject: |
|
|
Hello,
i had the same problem with wxPython 2.4.2.4-r2 and 2.6.
My actual workaround :
1. open as root /usr/bin/btdownloadgui.py
2. look for the line :
Code: |
try:
from wxPython.wx import
|
and
3. add following lines:
Code: |
import wxversion
wxversion.select("2.4")
|
Result:
Code: |
try:
import wxversion
wxversion.select("2.4")
from wxPython.wx import
|
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
rakan6 n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
Joined: 20 Sep 2005 Posts: 2
|
Posted: Fri Sep 23, 2005 2:01 pm Post subject: |
|
|
I had a problem with bittornado's gui. As I recall the solution was to upgrade wxgtk, which was at 2.45 or something, to 2.65, as the former was incompatible with the newer gtk.
I think after I did that it worked, but I've noticed that the linux version seems to lack the colored progress bar, so maybe I got lucky by not installing something else! |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
Posted: Sat Sep 24, 2005 6:29 pm Post subject: |
|
|
I have made all of the modifications that have been recomended but i am still not able to get bittornado to run still spits out that i dont have wxpython installed.
I have unmerged python (Bad Idea) but recovered now i only have one version of python installed.
I have unmerged wxpython and am installing 2.4.2.4 to see if this helps.
I also have wxGTK 2.6.1 installed which is the latest version in portage.
Any other sugestions? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zyzzyva100 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 08 Aug 2005 Posts: 193
|
Posted: Sat Sep 24, 2005 11:12 pm Post subject: |
|
|
I am trying to figure this out too, I am curious to see what actually fixes it, because I like bittornado much more than other clients. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zyzzyva100 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 08 Aug 2005 Posts: 193
|
Posted: Sun Sep 25, 2005 7:04 pm Post subject: |
|
|
Good, i tried some fixes I had seen in other threads, as well as reemerging wxgtk and wxpython. Nothing did it. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
Posted: Mon Sep 26, 2005 6:00 am Post subject: |
|
|
Zyzzyva100 wrote: | Good, i tried some fixes I had seen in other threads, as well as reemerging wxgtk and wxpython. Nothing did it. |
are you also running amd64 2005.1?
it is strange because it worked on 2004.3 updated to 2005.0 but once i did a clean install of 2005.1 it was broken.
Can you post your emerge --info here? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
cylamanae Tux's lil' helper
![Tux's lil' helper Tux's lil' helper](/images/ranks/rank_rect_1.gif)
Joined: 26 Mar 2004 Posts: 126
|
Posted: Mon Sep 26, 2005 11:02 pm Post subject: |
|
|
Hmm same here. I had it working under amd 2005.1. Then i reinstalled it and now it doesnt work. I had it working then i did a world update then it died again. Here is my emerge --info if it will help.
Code: |
localhost nivlac # emerge --info
Portage 2.0.51.22-r2 (default-linux/amd64/2005.1, gcc-3.4.4, glibc-2.3.5-r1, 2.6.12-gentoo-r10 x86_64)
=================================================================
System uname: 2.6.12-gentoo-r10 x86_64 AMD Athlon(tm) 64 Processor 3000+
Gentoo Base System version 1.6.13
dev-lang/python: 2.3.5-r2
sys-apps/sandbox: 1.2.12
sys-devel/autoconf: 2.13, 2.59-r6
sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6
sys-devel/binutils: 2.15.92.0.2-r10
sys-devel/libtool: 1.5.18-r1
virtual/os-headers: 2.6.11-r2
ACCEPT_KEYWORDS="amd64"
AUTOCLEAN="yes"
CBUILD="x86_64-pc-linux-gnu"
CFLAGS="-O2 -march=k8"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/2/share/config /usr/kde/3.4/env /usr/kde/3.4/share/config /usr/kde/3.4/shutdown /usr/kde/3/share/config /usr/lib/X11/xkb /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=k8"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoconfig distlocks sandbox sfperms strict"
GENTOO_MIRRORS="http://distfiles.gentoo.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X alsa amd64 audiofile avi berkdb bitmap-fonts cdr crypt cups curl dvd dvdread eds emboss emul-linux-x86 encode esd fam ffmpeg foomaticdb fortran ftp gif gpm gstreamer gtk gtk2 imlib ipv6 javascript jpeg kde kdeenablefinal lzw lzw-tiff mad matroska matrox mp3 mpeg ncurses nls nsplugin ogg oggvorbis openal opengl oss pam pcmcia pdflib perl png python qt quicktime readline ruby sdl spell ssl tcpd tiff truetype-fonts type1-fonts unicode usb userlocales vcd vorbis wifi wxgtk1 wxwindows xine xml2 xpm xv xvid zlib userland_GNU kernel_linux elibc_glibc"
Unset: ASFLAGS, CTARGET, LANG, LC_ALL, LDFLAGS, LINGUAS, PORTDIR_OVERLAY
|
Thanks
Calvin |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
Zyzzyva100 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
Joined: 08 Aug 2005 Posts: 193
|
Posted: Tue Sep 27, 2005 5:13 am Post subject: |
|
|
I will post mine later when I am back to my desktop. I am running 2005.0 x86 (I am using an A64 processor, but using a 32 bit kernel). Bit tornado worked just fine on my install I had going about 2 weeks ago. Then I had some issues and had to reinstall. Same everything, but yet now it doesn't work.
On a side note though, for those using KDE, ktorrent seems to work very well. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
wickwire n00b
![n00b n00b](/images/ranks/rank_rect_0.gif)
![](images/avatars/744157424400648dd0bae4.png)
Joined: 13 Dec 2003 Posts: 71
|
Posted: Tue Sep 27, 2005 6:22 pm Post subject: |
|
|
Code: | * net-p2p/bittorrent :
[ ] 3.4.2-r2 (0)
[ I] 4.0.2 (0)
[M~ ] 4.0.4 (0)
[M~ ] 4.1.3 (0)
|
Code: | GRiN ~ # emerge -av bittorrent
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild R ] net-p2p/bittorrent-4.0.2 +X 0 kB
|
When building just this one, stable one, btdownloadgui.py freezes when ran as user, no window popping up - works ok when root does it. I lknow I've used it without a problem since last week, don't know if it got upgraded though... but I don't have wxPython installed and as root, it works... ![Question :?:](images/smiles/icon_question.gif) |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerard27 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Tue Sep 27, 2005 6:45 pm Post subject: |
|
|
I had the same problem after doing
Code: |
emerge -e system && emerge -e world |
In the thread under this one (about wxglade) I saw the problem
was solved by making a link in
/usr/lib/python2.3/site-packages pointing to /usr/lib/wxPython.
After installing this link bittornado works again!
Apparently it has to do with a lot of programs using wx**
By the way I am running AMD Athlon-xp. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
plastikman187 Apprentice
![Apprentice Apprentice](/images/ranks/rank_rect_2.gif)
![](images/avatars/14750714694236385f2e16b.gif)
Joined: 15 Mar 2005 Posts: 233
|
Posted: Tue Sep 27, 2005 10:03 pm Post subject: |
|
|
Gerard van Vuuren wrote: | I had the same problem after doing
Code: |
emerge -e system && emerge -e world |
In the thread under this one (about wxglade) I saw the problem
was solved by making a link in
/usr/lib/python2.3/site-packages pointing to /usr/lib/wxPython.
After installing this link bittornado works again!
Apparently it has to do with a lot of programs using wx**
By the way I am running AMD Athlon-xp. |
Hmmm i dont have any thing in my 2.3 dir it is all in 2.4
when I
Code: | ln -s /usr/lib/python2.4/site-packages/ /usr/lib/wxPython |
then run btdownloadgui.py i still get the same error....
am i doing it wrong? |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
gerard27 Advocate
![Advocate Advocate](/images/ranks/rank-G-1-advocate.gif)
Joined: 04 Jan 2004 Posts: 2377 Location: Netherlands
|
Posted: Wed Sep 28, 2005 11:46 am Post subject: |
|
|
@Plastikman
Python 2.4 is still masked.
I avoid using masked packages as much as possible.
Maybe you could try downgrading to 2.3.
Is python slotted?
Please read the changelog in the python ebuild.You
will notice that 2.3 has been worked on recently and not 2.4.
Good luck. |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
djpenguin Guru
![Guru Guru](/images/ranks/rank_rect_3.gif)
![](images/avatars/17860048404373bd79cb75d.jpg)
Joined: 02 Sep 2004 Posts: 386
|
Posted: Thu Sep 29, 2005 7:11 am Post subject: |
|
|
I'm having the same error.
Tried patching the ebuild like so:
Code: | # cat wxpython-fix.patch wxpython-2.4.2.4-r2.ebuild |
then recompiling both wxpython and bittornado, but I still get the same error output:
Code: | wxPython is either not installed or has not been installed properly. |
What's going wrong?
This is on a standard x86 system |
|
Back to top |
|
![](templates/gentoo/images/spacer.gif) |
|