Mailinglist Archive: opensuse (963 mails)
| < Previous | Next > |
Re: [opensuse] Python not working in 11.4
- From: Ilya Chernykh <neptunia@xxxxxxx>
- Date: Mon, 4 Apr 2011 12:55:51 +0400
- Message-id: <201104041255.51894.neptunia@mail.ru>
On Monday 04 April 2011 12:39:39 Michael Schroeder wrote:
I've got something like this:
write(2, " File \"/usr/lib/python2.7/site-"..., 81
File "/usr/lib/python2.7/site-packages/ccm/Widget
s.py", line 1608, in __init__
) = 81
open("/usr/lib/python2.7/site-packages/ccm/Widgets.py", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=56854, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f5e4f568000
read(8, "# -*- coding: UTF-8 -*-\n\n# This "..., 4096) = 4096
read(8, "k.ListStore(str, gtk.gdk.Pixbuf,"..., 4096) = 4096
read(8, "x = gtk.VBox()\n self.box."..., 4096) = 4096
read(8, "one\n\n _x0 = 0\n _y0 "..., 4096) = 4096
read(8, " gobject.TYPE_NONE, (gobject.TYP"..., 4096) = 4096
read(8, " 2, pi)\n cr.line_to (x1 -"..., 4096) = 4096
read(8, ", y2 + radius, radius) \\\n "..., 4096) = 4096
read(8, " value = setting.Value"..., 4096) = 4096
read(8, "key_press_event (self, widget, e"..., 4096) = 4096
read(8, "= self.match\n\n prefix = s"..., 4096) = 4096
read(8, "e)\n self._entry.activate "..., 4096) = 4096
read(8, "ror has occured\"))\n self."..., 4096) = 4096
read(8, "name = \"\"\n _tabel = None"..., 4096) = 4096
read(8, "s):\n for plugin in po"..., 4096) = 3606
write(2, " ", 4 ) = 4
write(2, "self.props.hscrollbar_policy = g"..., 48self.props.hscrollbar_policy
= gtk.POLICY_NEVER
) = 48
close(8) = 0
munmap(0x7f5e4f568000, 4096) = 0
write(2, "ImportError", 11ImportError) = 11
write(2, ": ", 2: ) = 2
write(2, "PyCapsule_Import could not impor"..., 45PyCapsule_Import could not
import module "gi") = 45
write(2, "\n", 1
) = 1
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5e5a2a82d0},
{0x7f5e5a549fc6, [], SA_RESTORER, 0x7
f5e5a2a82d0}, 8) = 0
exit_group(1) = ?
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
Compiz settings manager:
anixx@anixx-desktop:~> ccsm
/usr/lib64/python2.7/site-packages/gtk-2.0/gtk/__init__.py:40:
RuntimeWarning: tp_compare didn't return -1 or -2 for exception
from gtk import _gtk
ImportError: PyCapsule_Import could not import module "gi"
[...]
Googling that error indicates that this is caused by some missing
package on your system. 'strace ccsm' should give you a hint
about what python wanted to load before it died.
I've got something like this:
write(2, " File \"/usr/lib/python2.7/site-"..., 81
File "/usr/lib/python2.7/site-packages/ccm/Widget
s.py", line 1608, in __init__
) = 81
open("/usr/lib/python2.7/site-packages/ccm/Widgets.py", O_RDONLY) = 8
fstat(8, {st_mode=S_IFREG|0644, st_size=56854, ...}) = 0
mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) =
0x7f5e4f568000
read(8, "# -*- coding: UTF-8 -*-\n\n# This "..., 4096) = 4096
read(8, "k.ListStore(str, gtk.gdk.Pixbuf,"..., 4096) = 4096
read(8, "x = gtk.VBox()\n self.box."..., 4096) = 4096
read(8, "one\n\n _x0 = 0\n _y0 "..., 4096) = 4096
read(8, " gobject.TYPE_NONE, (gobject.TYP"..., 4096) = 4096
read(8, " 2, pi)\n cr.line_to (x1 -"..., 4096) = 4096
read(8, ", y2 + radius, radius) \\\n "..., 4096) = 4096
read(8, " value = setting.Value"..., 4096) = 4096
read(8, "key_press_event (self, widget, e"..., 4096) = 4096
read(8, "= self.match\n\n prefix = s"..., 4096) = 4096
read(8, "e)\n self._entry.activate "..., 4096) = 4096
read(8, "ror has occured\"))\n self."..., 4096) = 4096
read(8, "name = \"\"\n _tabel = None"..., 4096) = 4096
read(8, "s):\n for plugin in po"..., 4096) = 3606
write(2, " ", 4 ) = 4
write(2, "self.props.hscrollbar_policy = g"..., 48self.props.hscrollbar_policy
= gtk.POLICY_NEVER
) = 48
close(8) = 0
munmap(0x7f5e4f568000, 4096) = 0
write(2, "ImportError", 11ImportError) = 11
write(2, ": ", 2: ) = 2
write(2, "PyCapsule_Import could not impor"..., 45PyCapsule_Import could not
import module "gi") = 45
write(2, "\n", 1
) = 1
rt_sigaction(SIGINT, {SIG_DFL, [], SA_RESTORER, 0x7f5e5a2a82d0},
{0x7f5e5a549fc6, [], SA_RESTORER, 0x7
f5e5a2a82d0}, 8) = 0
exit_group(1) = ?
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
For additional commands, e-mail: opensuse+help@xxxxxxxxxxxx
| < Previous | Next > |