* [gentoo-user] pygtk threading disabled at compile time
@ 2008-05-04 11:49 luis jure
2008-05-04 18:30 ` Mick
2008-05-05 0:32 ` Daniel Iliev
0 siblings, 2 replies; 6+ messages in thread
From: luis jure @ 2008-05-04 11:49 UTC (permalink / raw
To: gentoo-user
hello list,
recently i began having problems when trying to run gaupol, a subtitle
editor. it fails thus:
Traceback (most recent call last):
File "/usr/bin/gaupol", line 18, in <module>
import gaupol.gtk
File "/usr/lib/python2.5/site-packages/gaupol/gtk/__init__.py", line
44, in <module> gobject.threads_init()
RuntimeError: pygtk threading disabled at compile time
yesterday i installed deluge (a bittorrent client) and it crashes with
the same error:
File "/usr/lib/python2.5/site-packages/deluge/interface.py", line
1041, in start gobject.threads_init()
RuntimeError: pygtk threading disabled at compile time
i searched the web but i couldn't find anything useful. supposedly this
happens when pygtk is compiled without threads support, but the ebuild
doesn't have an USE option for threads, and when it compiles i see the
option --enable-threads flashing by, so i guess pygtk *should* have
threads enabled. any ideas?
best,
lj
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] pygtk threading disabled at compile time
2008-05-04 11:49 [gentoo-user] pygtk threading disabled at compile time luis jure
@ 2008-05-04 18:30 ` Mick
2008-05-04 20:09 ` luis jure
2008-05-05 0:32 ` Daniel Iliev
1 sibling, 1 reply; 6+ messages in thread
From: Mick @ 2008-05-04 18:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1175 bytes --]
On Sunday 04 May 2008, luis jure wrote:
> hello list,
>
> recently i began having problems when trying to run gaupol, a subtitle
> editor. it fails thus:
>
> Traceback (most recent call last):
> File "/usr/bin/gaupol", line 18, in <module>
> import gaupol.gtk
> File "/usr/lib/python2.5/site-packages/gaupol/gtk/__init__.py", line
> 44, in <module> gobject.threads_init()
> RuntimeError: pygtk threading disabled at compile time
>
>
> yesterday i installed deluge (a bittorrent client) and it crashes with
> the same error:
>
> File "/usr/lib/python2.5/site-packages/deluge/interface.py", line
> 1041, in start gobject.threads_init()
> RuntimeError: pygtk threading disabled at compile time
>
> i searched the web but i couldn't find anything useful. supposedly this
> happens when pygtk is compiled without threads support, but the ebuild
> doesn't have an USE option for threads, and when it compiles i see the
> option --enable-threads flashing by, so i guess pygtk *should* have
> threads enabled. any ideas?
I assume that you have tried the basics like /usr/sbin/python-updater and
revdep-rebuild -X -v -p ?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] pygtk threading disabled at compile time
2008-05-04 18:30 ` Mick
@ 2008-05-04 20:09 ` luis jure
0 siblings, 0 replies; 6+ messages in thread
From: luis jure @ 2008-05-04 20:09 UTC (permalink / raw
To: gentoo-user
El Sun, 4 May 2008 19:30:25 +0100
Mick <michaelkintzios@gmail.com> escribió:
> I assume that you have tried the basics like /usr/sbin/python-updater
> and revdep-rebuild -X -v -p ?
hi, thanks for your answer. yes, i did that, and i did recompile pygtk
several times and a few other packages that i could think could be
related, just in case. in fact i asked the list before doing the last i
could think of, that is emerge -e pygtk (well, the last i can think of
is reinstalling the whole system...)
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] pygtk threading disabled at compile time
2008-05-04 11:49 [gentoo-user] pygtk threading disabled at compile time luis jure
2008-05-04 18:30 ` Mick
@ 2008-05-05 0:32 ` Daniel Iliev
2008-05-05 8:43 ` Neil Bothwick
1 sibling, 1 reply; 6+ messages in thread
From: Daniel Iliev @ 2008-05-05 0:32 UTC (permalink / raw
To: gentoo-user
On Sun, 4 May 2008 08:49:23 -0300
luis jure <ljc@internet.com.uy> wrote:
> ebuild doesn't have an USE option for threads, and when it compiles i
> see the option --enable-threads flashing by, so i guess pygtk
> *should* have threads enabled. any ideas?
>
> best,
>
> lj
Hi,
You might want to try this:
echo "EXTRA_ECONF=--enable-threads" >> /etc/make.conf
emerge -1 dev-python/pygtk
If things are still not OK you could re-emerge all packs which
depend on pygtk. To get a list of those:
equery depends dev-python/pygtk
Then you can remark/delete the EXTRA_ECONF line from make.conf.
HTH
--
Best regards,
Daniel
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] pygtk threading disabled at compile time
2008-05-05 0:32 ` Daniel Iliev
@ 2008-05-05 8:43 ` Neil Bothwick
2008-05-06 2:50 ` luis jure
0 siblings, 1 reply; 6+ messages in thread
From: Neil Bothwick @ 2008-05-05 8:43 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 582 bytes --]
On Mon, 5 May 2008 03:32:58 +0300, Daniel Iliev wrote:
> You might want to try this:
>
> echo "EXTRA_ECONF=--enable-threads" >> /etc/make.conf
> emerge -1 dev-python/pygtk
That would enable it for all ebuilds. To do it foe one package you have
two options.
The temporary approach:
EXTRA_ECONF=--enable-threads emerge -1 dev-python/pygtk
The permanent approach:
mkdir -p /etc/portage/env/dev-python
echo "EXTRA_ECONF=--enable-threads" >>/etc/portage/env/dev-python/pygtk
emerge -1 dev-python/pygtk
--
Neil Bothwick
Top Oxymorons Number 22: Childproof
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [gentoo-user] pygtk threading disabled at compile time
2008-05-05 8:43 ` Neil Bothwick
@ 2008-05-06 2:50 ` luis jure
0 siblings, 0 replies; 6+ messages in thread
From: luis jure @ 2008-05-06 2:50 UTC (permalink / raw
To: gentoo-user
El Mon, 5 May 2008 09:43:07 +0100
Neil Bothwick <neil@digimed.co.uk> escribió:
> The temporary approach:
> EXTRA_ECONF=--enable-threads emerge -1 dev-python/pygtk
thanks neil and daniel for the tips (always learning something new...).
unfortunately it didn't solve my problem.
so i finally did emerge -e pygtk and that solved it. it seems it was
something related to one of the 173 packages i had to re-emerge...
best,
lj
--
gentoo-user@lists.gentoo.org mailing list
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-05-06 2:52 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-05-04 11:49 [gentoo-user] pygtk threading disabled at compile time luis jure
2008-05-04 18:30 ` Mick
2008-05-04 20:09 ` luis jure
2008-05-05 0:32 ` Daniel Iliev
2008-05-05 8:43 ` Neil Bothwick
2008-05-06 2:50 ` luis jure
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox