1 |
On Tue, 2008-08-12 at 16:52 +0800, Jan Schneiders wrote: |
2 |
> After updating python you always have to run the python updater |
3 |
> script: |
4 |
> |
5 |
> # python-updater |
6 |
> |
7 |
> (or did you do that already?) |
8 |
|
9 |
I did and it updated a bunch of stuffs and I've also um-merged 2.4 and |
10 |
then now trying to retrace steps (by giving 2.5 the boot as i'm lost as |
11 |
to what to do) |
12 |
|
13 |
|
14 |
> |
15 |
> On Aug 12, 2008, at 10:43 AM, Ow Mun Heng wrote: |
16 |
> |
17 |
> > Just upgraded from 2.4 to 2.5 of python and I'm finding that I have |
18 |
> > issues with importing gtk. |
19 |
> > |
20 |
> > I have no idea what is happening and I've tried various methods of |
21 |
> > upgrading/re-compiling/downgrading pygobject & pygtk and python and |
22 |
> > glib |
23 |
> > and pycairo and cairo and a whole host of other packages and still |
24 |
> > this |
25 |
> > error. |
26 |
> > |
27 |
> > Google is not my friend unfortunately. I saw something like this |
28 |
> > from a |
29 |
> > debian bug report |
30 |
> > |
31 |
> http://www.mail-archive.com/debian-bugs-closed@××××××××××××.org/msg186144.html |
32 |
> > |
33 |
> > |
34 |
> > |
35 |
> > Python 2.5.2 (r252:60911, Aug 7 2008, 23:56:43) |
36 |
> > [GCC 4.1.2 (Gentoo 4.1.2 p1.0.1)] on linux2 |
37 |
> > Type "help", "copyright", "credits" or "license" for more |
38 |
> information. |
39 |
> >>>> import gtk |
40 |
> > Traceback (most recent call last): |
41 |
> > File "<stdin>", line 1, in <module> |
42 |
> > File "/usr/lib/python2.5/site-packages/gtk-2.0/gtk/__init__.py", |
43 |
> > line 38, in <module> |
44 |
> > import gobject as _gobject |
45 |
> > File "/usr/lib/python2.5/site-packages/gtk-2.0/gobject/ |
46 |
> > __init__.py", line 30, in <module> |
47 |
> > from gobject.constants import * |
48 |
> > File "/usr/lib/python2.5/site-packages/gtk-2.0/gobject/ |
49 |
> > constants.py", line 22, in <module> |
50 |
> > from _gobject import type_from_name |
51 |
> > ImportError: /usr/lib/python2.5/site-packages/gtk-2.0/gobject/ |
52 |
> > _gobject.so: undefined symbol: PyGILState_Release |
53 |
> > |
54 |
> > |
55 |
> > emerge --info |
56 |
> > Portage 2.1.4.4 (default-linux/x86/2007.0/server, gcc-4.1.2, |
57 |
> > glibc-2.5-r4, 2.6.17-gentoo-r8 i686) |
58 |
> > ================================================================= |
59 |
> > System uname: 2.6.17-gentoo-r8 i686 Pentium II (Deschutes) |
60 |
> > Timestamp of tree: Mon, 11 Aug 2008 14:15:01 +0000 |
61 |
> > distcc 2.18.3 i686-pc-linux-gnu (protocols 1 and 2) (default port |
62 |
> > 3632) [disabled] |
63 |
> > ccache version 2.3 [enabled] |
64 |
> > app-shells/bash: 3.2_p33 |
65 |
> > dev-lang/python: 2.5.2-r7 |
66 |
> > dev-python/pycrypto: 2.0.1-r6 |
67 |
> > dev-util/ccache: 2.3 |
68 |
> > sys-apps/baselayout: 1.11.14-r6 |
69 |
> > sys-apps/sandbox: 1.2.18.1-r2 |
70 |
> > sys-devel/autoconf: 2.13, 2.61-r2 |
71 |
> > sys-devel/automake: 1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6- |
72 |
> > r1, 1.10.1 |
73 |
> > sys-devel/binutils: 2.18-r3 |
74 |
> > sys-devel/gcc-config: 1.4.0-r4 |
75 |
> > sys-devel/libtool: 1.5.26 |
76 |
> > virtual/os-headers: 2.6.23-r3 |
77 |
> > ACCEPT_KEYWORDS="x86" |
78 |
> > CBUILD="i686-pc-linux-gnu" |
79 |
> > CFLAGS="-march=pentium2 -O2 -pipe" |
80 |
> > CHOST="i686-pc-linux-gnu" |
81 |
> > CONFIG_PROTECT="/etc /var/bind" |
82 |
> > |
83 |
> CONFIG_PROTECT_MASK="/etc/env.d /etc/gconf /etc/php/apache2-php5/ext- |
84 |
> > |
85 |
> active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ / |
86 |
> > etc/terminfo" |
87 |
> > CXXFLAGS="-march=pentium2 -O2 -pipe" |
88 |
> > DISTDIR="/usr/portage/distfiles" |
89 |
> > FEATURES="buildpkg ccache distlocks metadata-transfer |
90 |
> parallel-fetch |
91 |
> > sandbox sfperms strict unmerge-orphans userfetch" |
92 |
> > GENTOO_MIRRORS="http://mirror.averse.net/pub/gentoo/ |
93 |
> http://ftp.ucsb.edu/pub/mirrors/linux/gentoo/ |
94 |
> > http://gentoo.kems.net ftp://ftp.twaren.net/Linux/Gentoo/ |
95 |
> http://mirrors1.mirrors.64hosting.com/pub/mirrors/gentoo/ |
96 |
> > http://mirror.gentoo.gr.jp" |
97 |
> > MAKEOPTS="-j3" |
98 |
> > PKGDIR="/usr/portage/packages" |
99 |
> > PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms |
100 |
> --times |
101 |
> > --compress --force --whole-file --delete --stats |
102 |
> > --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/ |
103 |
> > packages" |
104 |
> > PORTAGE_TMPDIR="/var/tmp" |
105 |
> > PORTDIR="/usr/portage" |
106 |
> > |
107 |
> PORTDIR_OVERLAY="/usr/portage/local/layman/webapps-experimental /usr/ |
108 |
> > local/portage" |
109 |
> > SYNC="rsync://rsync.jp.gentoo.org/gentoo-portage" |
110 |
> > USE="apache2 bash-completion berkdb bzip2 cjk crypt hardened |
111 |
> > logrotate memlimit mmx ncurses nls nptl ntpl ntplonly pam perl pic |
112 |
> > python readline samba session |
113 |
> > snmp ssl syslog tcpd unicode userlocales utf8 x86 xml xml2 zlib" |
114 |
> > ALSA_CARDS="ali5451 |
115 |
> > als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1 |
116 |
> > emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 |
117 |
> > intel8x0m |
118 |
> > maestro3 trident usb-audio via82xx via82xx-modem ymfpci" |
119 |
> > ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty |
120 |
> > extplug file hooks iec958 ioplug ladspa lfloat linear meter |
121 |
> mmap_emul |
122 |
> > mulaw multi null plug rate route share shm softvol" |
123 |
> > APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon |
124 |
> > authn_dbd authn_dbm authn_default authn_file authz_dbm |
125 |
> > authz_default authz_groupfile authz_host authz_owner authz_user |
126 |
> > autoindex cache dav dav_fs dav_lock dbd deflate dir disk_ |
127 |
> > cache env expires ext_filter file_cache filter headers ident |
128 |
> > imagemap include info log_config logio mem_cache mime mime_magic |
129 |
> > negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http |
130 |
> > rewrite setenvif so speling status unique_id userdir usertrack |
131 |
> > vhost_alias" |
132 |
> > ELIBC="glibc" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" |
133 |
> > LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 |
134 |
> > mtxorb ncurses text" USERLAND="GNU" VIDEO_CARDS="apm ark chips |
135 |
> > cirrus cyrix dummy fbdev glint i128 i740 i810 imstt mach64 mga |
136 |
> > neomagic nsc nv r128 radeon rendition s3 s3virge savage |
137 |
> > siliconmotion sis sisusb tdfx tga trident tseng v4l vesa vga via |
138 |
> > vmware |
139 |
> > voodoo" |
140 |
> > Unset: CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, LANG, |
141 |
> > LC_ALL, LDFLAGS, LINGUAS, PORTAGE_COMPRESS, |
142 |
> > PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTs |
143 |
> > |
144 |
> |
145 |
> |
146 |
> |
147 |
> |
148 |
> |