You are not logged in.

#1 2012-03-21 19:22:21

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

[SOLVED] CCSM won't start after updating compiz

I just updated compiz, compil-plugins-main, ccsm etc. and ccsm (Compizconfig settings manager) just dont start.

[broi@broi-Archlinux ~]$ ccsm
Info: No sexy-python package found, don't worry it's optional.
Traceback (most recent call last):
  File "/usr/bin/ccsm", line 99, in <module>
    import compizconfig
ImportError: /usr/lib/python2.7/site-packages/compizconfig.so: undefined symbol: ccsImportFromFile
[broi@broi-Archlinux ~]$ 

I tried with "python2" or "python3" before I type a .py command (which worked in some issues) but in this one it dont help.
When I try with python 3 -> "python3 /usr/bin/ccsm" I get:

[broi@broi-Archlinux ~]$ python3 /usr/bin/ccsm
  File "/usr/bin/ccsm", line 45
    if dbus.version < (0, 80, 0):
                                ^
TabError: inconsistent use of tabs and spaces in indentation
[broi@broi-Archlinux ~]$ 

Thanks.

Solution: Rebuilt the compizconfig-python
UPDATE: Just run update and you will get fixed compizconfig-python.

Last edited by broi (2012-03-23 16:26:25)

Offline

#2 2012-03-21 20:12:21

aabmass
Member
Registered: 2011-12-14
Posts: 34

Re: [SOLVED] CCSM won't start after updating compiz

I'm having the same problem here. Fusion-icon gives a similar error and doesn't start, too:

Traceback (most recent call last):
  File "/usr/bin/fusion-icon", line 57, in <module>
    from FusionIcon.interface import choose_interface
  File "/usr/lib/python2.7/site-packages/FusionIcon/interface.py", line 22, in <module>
    from util import env
  File "/usr/lib/python2.7/site-packages/FusionIcon/util.py", line 23, in <module>
    import os, compizconfig, ConfigParser, time
ImportError: /usr/lib/python2.7/site-packages/compizconfig.so: undefined symbol: ccsImportFromFile

Offline

#3 2012-03-21 20:18:14

vincentvega_1985
Member
Registered: 2011-03-24
Posts: 7

Re: [SOLVED] CCSM won't start after updating compiz

i did a fresh install of arch today and am having the same problem. any ideas yet?

Last edited by vincentvega_1985 (2012-03-21 20:18:24)

Offline

#4 2012-03-21 21:09:56

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [SOLVED] CCSM won't start after updating compiz

Same problem after pacman -Syu (using XFCE).

Not only compiz won't start, my mouse cursor is gone until I open some windows.  The window decorations have disappeared (minimize, maximize, close).  This is even after removing the fusion-icon from autostart in XFCE and rebooting (afaict, compiz is not running as a process when I list running processes with ps -ef).  Also having difficulty switching focus between open windows.

[2012-03-21 14:27] upgraded bash (4.2.024-1 -> 4.2.024-2)
[2012-03-21 14:27] upgraded libcompizconfig (0.8.8-1 -> 0.8.8-2)
[2012-03-21 14:27] upgraded compizconfig-python (0.8.4-2 -> 0.8.4-3)
[2012-03-21 14:27] upgraded ccsm (0.8.4-2 -> 0.8.4-3)
[2012-03-21 14:27] upgraded compiz-bcop (0.8.8-1 -> 0.8.8-2)
[2012-03-21 14:27] upgraded compiz-fusion-plugins-main (0.8.8-1 -> 0.8.8-2)
[2012-03-21 14:27] upgraded compiz-fusion-plugins-extra (0.8.8-1 -> 0.8.8-2)
[2012-03-21 14:27] upgraded compizconfig-backend-gconf (0.8.8-1 -> 0.8.8-2)
[2012-03-21 14:27] upgraded device-mapper (2.02.90-1 -> 2.02.95-1)
[2012-03-21 14:27] upgraded emerald-themes (0.6.0-3 -> 0.6.0-4)
[2012-03-21 14:27] upgraded ffmpeg (20120127-3 -> 20120317-1)
[2012-03-21 14:27] upgraded fusion-icon (20101021-1 -> 20120321-1)
[2012-03-21 14:27] upgraded libtasn1 (2.9-2 -> 2.12-1)
[2012-03-21 14:27] upgraded gnutls (3.0.15-1 -> 3.0.17-1)
[2012-03-21 14:27] upgraded grub2-common (1:1.99-6 -> 1:2.00beta2-2)
[2012-03-21 14:27] upgraded grub2-bios (1:1.99-6 -> 1:2.00beta2-2)
[2012-03-21 14:27] upgraded iproute2 (3.2.0-2 -> 3.2.0-3)
[2012-03-21 14:27] upgraded libdrm (2.4.31-1 -> 2.4.32-1)
[2012-03-21 14:27] upgraded lib32-libdrm (2.4.31-1 -> 2.4.32-1)
[2012-03-21 14:27] upgraded lib32-libice (1.0.7-2 -> 1.0.8-1)
[2012-03-21 14:27] upgraded lib32-libxdmcp (1.1.0-2 -> 1.1.1-1)
[2012-03-21 14:27] upgraded lib32-libxcb (1.8.1-1 -> 1.8.1-2)
[2012-03-21 14:27] upgraded lib32-libx11 (1.4.99.901-1 -> 1.4.99.901-2)
[2012-03-21 14:27] upgraded lib32-libxcomposite (0.4.3-2 -> 0.4.3-3)
[2012-03-21 14:27] upgraded lib32-libxext (1.3.0-1 -> 1.3.1-1)
[2012-03-21 14:27] upgraded lib32-libxinerama (1.1.1-2 -> 1.1.2-1)
[2012-03-21 14:27] upgraded lib32-libxrandr (1.3.2-1 -> 1.3.2-2)
[2012-03-21 14:27] upgraded lib32-libxtst (1.2.0-2 -> 1.2.1-1)
[2012-03-21 14:27] upgraded lib32-libxxf86vm (1.1.1-2 -> 1.1.2-1)
[2012-03-21 14:27] upgraded lib32-util-linux (2.20.1-1 -> 2.21-1)
[2012-03-21 14:27] upgraded libftdi (0.19-1 -> 0.20-1)
[2012-03-21 14:27] upgraded linux (3.2.11-1 -> 3.2.12-1)
[2012-03-21 14:27] upgraded live-media (2012.02.29-2 -> 2012.03.20-1)
[2012-03-21 14:27] upgraded lvm2 (2.02.90-1 -> 2.02.95-1)
[2012-03-21 14:27] upgraded mpg123 (1.13.4-2 -> 1.13.6-1)
[2012-03-21 14:27] upgraded neon (0.29.6-3 -> 0.29.6-4)
[2012-03-21 14:28] upgraded openssl (1.0.0.h-1 -> 1.0.1-1)
[2012-03-21 14:28] upgraded psmisc (22.15-1 -> 22.16-1)
[2012-03-21 14:28] upgraded systemd-arch-units (20120311-1 -> 20120317-1)
[2012-03-21 14:28] upgraded vlc (2.0.0-8 -> 2.0.1-1)
[2012-03-21 14:28] upgraded xf86-input-evdev (2.7.0-1 -> 2.7.0-2)

Last edited by David Batson (2012-03-21 21:10:35)

Offline

#5 2012-03-21 21:36:40

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

Re: [SOLVED] CCSM won't start after updating compiz

David Batson wrote:

Same problem after pacman -Syu (using XFCE).

Not only compiz won't start, my mouse cursor is gone until I open some windows.  The window decorations have disappeared (minimize, maximize, close).  This is even after removing the fusion-icon from autostart in XFCE and rebooting (afaict, compiz is not running as a process when I list running processes with ps -ef).  Also having difficulty switching focus between open windows.

Untill you fix this problem, you can use other WM instead of compiz so u can atlast move cursor, have decorations etc. for instance install openbox and type in terminal "openbox --replace", or xfwm4 --replace

Offline

#6 2012-03-21 22:21:39

nonah
Member
Registered: 2012-03-18
Posts: 24

Re: [SOLVED] CCSM won't start after updating compiz

To fix this, downgrade compizconfig-python to an older version.

Offline

#7 2012-03-22 04:58:10

aabmass
Member
Registered: 2011-12-14
Posts: 34

Re: [SOLVED] CCSM won't start after updating compiz

nonah wrote:

To fix this, downgrade compizconfig-python to an older version.

Thanks, worked for me!

Offline

#8 2012-03-22 05:11:57

ningchi
Member
Registered: 2011-11-22
Posts: 2

Re: [SOLVED] CCSM won't start after updating compiz

nonah wrote:

To fix this, downgrade compizconfig-python to an older version.

same question.
thanks, it also work well for me.

Last edited by ningchi (2012-03-22 05:16:23)

Offline

#9 2012-03-22 06:05:17

David Batson
Member
Registered: 2011-10-13
Posts: 640

Re: [SOLVED] CCSM won't start after updating compiz

nonah wrote:

To fix this, downgrade compizconfig-python to an older version.

Thanks!  Fixed all my issues with compiz, the mouse cursor, and the window decorations. smile

Last edited by David Batson (2012-03-22 06:06:19)

Offline

#10 2012-03-22 06:31:55

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [SOLVED] CCSM won't start after updating compiz

Guys, how can downgrading be a fix? I'd be glad if someone could look into a real fix; because all I did was a simple rebuild.

Offline

#11 2012-03-22 09:00:40

Brygi
Member
Registered: 2012-01-20
Posts: 3

Re: [SOLVED] CCSM won't start after updating compiz

Well, something must go wrong smile

Offline

#12 2012-03-22 09:03:25

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: [SOLVED] CCSM won't start after updating compiz

Pierre wrote:

Guys, how can downgrading be a fix? I'd be glad if someone could look into a real fix; because all I did was a simple rebuild.

What libraries were changed to make the rebuild necessary?


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#13 2012-03-22 10:03:04

Doctor Drive
Member
From: Ukraine
Registered: 2010-08-11
Posts: 167
Website

Re: [SOLVED] CCSM won't start after updating compiz

Just in case,
compizconfig-python-0.8.4-2-i686.pkg.tar.xz
compizconfig-python-0.8.4-2-x86_64.pkg.tar.xz wink

Last edited by Doctor Drive (2012-03-22 10:03:49)

Offline

#14 2012-03-22 14:31:29

silverzhao
Member
Registered: 2011-07-05
Posts: 33

Re: [SOLVED] CCSM won't start after updating compiz

nonah wrote:

To fix this, downgrade compizconfig-python to an older version.

Good! Just solved my problem. Thanks.


What you are you do not see, what you see is your shadow.

Offline

#15 2012-03-22 22:00:12

dunc
Member
From: Glasgow, UK
Registered: 2007-06-18
Posts: 559

Re: [SOLVED] CCSM won't start after updating compiz

SanskritFritz wrote:
Pierre wrote:

Guys, how can downgrading be a fix? I'd be glad if someone could look into a real fix; because all I did was a simple rebuild.

What libraries were changed to make the rebuild necessary?

That's what puzzles me. If it works - perfectly - with the previous build, what's the new one for? I'm not flaming; it just doesn't look like it was necessary to rebuild all the packages.


0 Ok, 0:1

Offline

#16 2012-03-22 22:10:02

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [SOLVED] CCSM won't start after updating compiz

It was one of the last packages that were not signed. But if rebuilding it results in a broken package it was a ticking time bomb anyway. So we either get this working or it has to be removed from the repo. I don't see any other options.

Offline

#17 2012-03-23 05:55:16

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: [SOLVED] CCSM won't start after updating compiz

Here is a relevant bug report: FS#29041

Last edited by SanskritFritz (2012-03-23 05:56:07)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#18 2012-03-23 08:17:00

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: [SOLVED] CCSM won't start after updating compiz

I spoke with the compiz guys on IRC, and they suggested a build issue. So I rebuilt the compizconfig-python package myself from ABS and it solved the problem. Pierre, could you do a rebuild again, maybe there was a problem with the build.

Can someone confirm that an ABS rebuild solves the issue?

UPDATE: reading the comments below, I updated the bug report.

Last edited by SanskritFritz (2012-03-23 10:44:13)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#19 2012-03-23 09:14:26

miau
Member
Registered: 2009-05-06
Posts: 202

Re: [SOLVED] CCSM won't start after updating compiz

Yes, a rebuild solved the problem for me too!

Offline

#20 2012-03-23 09:47:40

kaivalagi
Member
From: Norwich, UK
Registered: 2009-11-05
Posts: 145

Re: [SOLVED] CCSM won't start after updating compiz

miau wrote:

Yes, a rebuild solved the problem for me too!

+1


Running Arch 64 (Made the switch to Arch 10/2009)
AUR | BZR

Offline

#21 2012-03-23 14:01:11

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

Re: [SOLVED] CCSM won't start after updating compiz

I guess this thread should be marked as solved, even I couldnt rebuild with abs with some another reason:

[broi@broi-Archlinux compizconfig-python]$ makepkg -s
==> ERROR: You do not have write permission to create packages in /home/broi/abs/compizconfig-python.
    Aborting...

Lol

Anyway, this is solved.

Offline

#22 2012-03-23 14:40:26

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: [SOLVED] CCSM won't start after updating compiz

broi wrote:

I guess this thread should be marked as solved, even I couldnt rebuild with abs with some another reason:

[broi@broi-Archlinux compizconfig-python]$ makepkg -s
==> ERROR: You do not have write permission to create packages in /home/broi/abs/compizconfig-python.
    Aborting...

Lol

Anyway, this is solved.

Use pbget, it is much easier to muck with that than to sync the whole ABS tree.

pbget --abs --dir=~/abs/ compizconfig-python

Last edited by SanskritFritz (2012-03-23 14:45:38)


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

#23 2012-03-23 16:25:03

broi
Member
From: Bosnia & Herzegovina
Registered: 2011-12-10
Posts: 127

Re: [SOLVED] CCSM won't start after updating compiz

It's fixed in Official repo so if you didnt rebuilt it, you can just update your system smile

Offline

#24 2012-03-23 17:49:08

Pierre
Developer
From: Bonn
Registered: 2004-07-05
Posts: 1,964
Website

Re: [SOLVED] CCSM won't start after updating compiz

The problem were missing dependencies. The build system was fine. Note that we don't use plain makepkg to build but a wrapper that sets up a clean environment before.

Offline

#25 2012-03-23 18:18:10

SanskritFritz
Member
From: Budapest, Hungary
Registered: 2009-01-08
Posts: 1,924
Website

Re: [SOLVED] CCSM won't start after updating compiz

I see. Thank you Pierre!


zʇıɹɟʇıɹʞsuɐs AUR || Cycling in Budapest with a helmet camera || Revised log levels proposal: "FYI" "WTF" and "OMG" (John Barnette)

Offline

Board footer

Powered by FluxBB