A new Archer having some (possibly Python related) issues with CCSM seeking help.
I installed Arch Linux for the first time a few days ago. Consider me a "refugee" of sorts from Ubuntu who got tired of the drama (ie: OMG BANSHEE WILL BE THE NEW DEFAULT MUSIC WTF) and the direction they're taking. My feelings thusfar about Arch are extremely positive and cannot accurately be summed up without going into great detail, from which I will spare you for now.
Everything from my install went very smoothly, and I went from an "empty" root terminal to a fully fledged desktop very quickly. The only one of my installed programs that I'm having difficulty with is Compiz-Fusion (from which there are a few plugins which I find terribly handy).
I followed along the wiki step by step until I got to the part where I needed to modify Compiz's settings (using ccsm).
Launching ccsm via command line nets me this error: Traceback (most recent call last): File "/usr/bin/ccsm", line 126, in <module> context = compizconfig.Context(screens) File "compizconfig.pyx", line 1082, in compizconfig.Context.cinit (src/compizconfig.c:9077) TypeError: an integer is required
For the record: The code to which the error initially refers can be found here.
I'm really not sure where to go with debugging this one. The best guess that I have is that it is a Python issue caused by the recent conversion of the Arch Python package from 2.x to 3.x...but I really have nothing substantial to back that up with.
I would appreciate any help you'd be willing to give me!
About this post
- Posted
- Archived
- Score
- 1 · 100% up
- Kind
- Text
- ID
- e4y64
5 comments
It looks like CCSM is flagged as out of date : http://www.archlinux.org/packages/community/any/ccsm/
Compiz probably changed their configuration API and CCSM is still using an old API which does not work any more. Try installing a newer version or wait for the official update.
EDIT: http://cgit.compiz.org/compiz/compizconfig/compizconfig-python/commit/?id=a40079dcf4f647c85aadc8f07095f583939ec33d
This is probably the commit which is causing the error.
compizconfig.Contextnow takes an integer, but CCSM is still passing a list.Nice work. Now all you can do is email the maintainer to let him know that it's a critical update and needs to happen soon.
Thanks for your help (especially locating the actual commit which caused the error)!
I've been trying to install Compiz Fusion from source (but I keep running into various errors) to make up for the out of date package...I might just end up waiting for him to update the packages if I can't get it working properly on my lonesome (who knows how long that will take?).
If you haven't resolved this you might try using the archlinuxfr repository. It's an unofficial user repository, but it's very popular. It has working compiz listed under the package name 'compiz09'. It also is a popular source for yaourt.
edit /usr/bin/ccsm and change the top line to
instead of