PDA

View Full Version : ccsm under debian sid/unstable


gauss-gs
February 2nd, 2008, 07:21 PM
Hello, i have problem running ccsm on my debian sid/unstable box:


gauss@pmain:~$ ccsm
Traceback (most recent call last):
File "/usr/bin/ccsm", line 40, in ?
from ccm.Utils import GlobalUpdater
ImportError: cannot import name GlobalUpdater


I have checked module by importing it from commandline:

gauss@pmain:~$ python
Python 2.4.4 (#2, Jan 3 2008, 13:36:28)
[GCC 4.2.3 20071123 (prerelease) (Debian 4.2.2-4)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from ccm.Utils import GlobalUpdater
Traceback (most recent call last):
File "<stdin>", line 1, in ?
ImportError: cannot import name GlobalUpdater
>>> from ccm.Utils import Updater


I have not found solution by myself and google-ing doesn't helps me...
Please put me on right way =) Thanks in advance.

crdlb
February 2nd, 2008, 07:48 PM
Generally this means that you have a mismatch between the ccsm script and the ccm python package (which contains the vast majority of ccsm's code).

Please post the output of dpkg -L compizconfig-settings-manager echo $PYTHONPATH

gauss-gs
February 2nd, 2008, 11:44 PM
Here it is:


gauss@pmain:~$ dpkg -L compizconfig-settings-manager
/.
/usr
/usr/lib
/usr/lib/python2.4
/usr/lib/python2.4/site-packages
/usr/lib/python2.4/site-packages/ccm
/usr/lib/python2.4/site-packages/ccm/Conflicts.py
/usr/lib/python2.4/site-packages/ccm/Pages.py
/usr/lib/python2.4/site-packages/ccm/Settings.py
/usr/lib/python2.4/site-packages/ccm/Utils.py
/usr/lib/python2.4/site-packages/ccm/Widgets.py
/usr/lib/python2.4/site-packages/ccm/Window.py
/usr/lib/python2.4/site-packages/ccm/__init__.py
/usr/lib/python2.4/site-packages/ccm/Constants.py
/usr/lib/python2.4/site-packages/ccm/Conflicts.pyc
/usr/lib/python2.4/site-packages/ccm/Pages.pyc
/usr/lib/python2.4/site-packages/ccm/Settings.pyc
/usr/lib/python2.4/site-packages/ccm/Utils.pyc
/usr/lib/python2.4/site-packages/ccm/Widgets.pyc
/usr/lib/python2.4/site-packages/ccm/Window.pyc
/usr/lib/python2.4/site-packages/ccm/__init__.pyc
/usr/lib/python2.4/site-packages/ccm/Constants.pyc
/usr/lib/python2.4/site-packages/ccsm-0.6.99.egg-info
/usr/bin
/usr/bin/ccsm
/usr/share
/usr/share/applications
/usr/share/applications/ccsm.desktop
/usr/share/icons
/usr/share/icons/hicolor
/usr/share/icons/hicolor/16x16
/usr/share/icons/hicolor/16x16/apps
/usr/share/icons/hicolor/16x16/apps/ccsm.png
/usr/share/icons/hicolor/22x22
/usr/share/icons/hicolor/22x22/apps
/usr/share/icons/hicolor/22x22/apps/ccsm.png
/usr/share/icons/hicolor/24x24
/usr/share/icons/hicolor/24x24/apps
/usr/share/icons/hicolor/24x24/apps/ccsm.png
/usr/share/icons/hicolor/48x48
/usr/share/icons/hicolor/48x48/apps
/usr/share/icons/hicolor/48x48/apps/ccsm.png
/usr/share/icons/hicolor/scalable
/usr/share/icons/hicolor/scalable/apps
/usr/share/icons/hicolor/scalable/apps/ccsm.svg
/usr/share/ccsm
/usr/share/ccsm/icons
/usr/share/ccsm/icons/hicolor
/usr/share/ccsm/icons/hicolor/22x22
/usr/share/ccsm/icons/hicolor/22x22/categories
/usr/share/ccsm/icons/hicolor/22x22/categories/dummy
/usr/share/ccsm/icons/hicolor/22x22/categories/plugins-accessibility.png
/usr/share/ccsm/icons/hicolor/22x22/categories/plugins-desktop.png
/usr/share/ccsm/icons/hicolor/22x22/categories/plugins-effects.png
/usr/share/ccsm/icons/hicolor/22x22/categories/plugins-extras.png
/usr/share/ccsm/icons/hicolor/22x22/categories/plugins-general.png
/usr/share/ccsm/icons/hicolor/22x22/categories/plugins-image_loading.png
/usr/share/ccsm/icons/hicolor/22x22/categories/plugins-utility.png
/usr/share/ccsm/icons/hicolor/22x22/categories/plugins-window_management.png
/usr/share/ccsm/icons/hicolor/22x22/devices
/usr/share/ccsm/icons/hicolor/22x22/devices/input-keyboard.png
/usr/share/ccsm/icons/hicolor/22x22/devices/input-mouse.png
/usr/share/ccsm/icons/hicolor/22x22/devices/video-display.png
/usr/share/ccsm/icons/hicolor/22x22/mimetypes
/usr/share/ccsm/icons/hicolor/22x22/mimetypes/audio-x-generic.png
/usr/share/ccsm/icons/hicolor/scalable
/usr/share/ccsm/icons/hicolor/scalable/apps
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-3d.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-addhelper.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-animation.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-annotate.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-atlantis.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-bench.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-blur.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-bs.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-capture.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-clone.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-colorfilter.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-core.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-crashhandler.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-cube.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-cubecaps.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-cubereflex.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-dbus.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-debug.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-decoration.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-expo.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-extrawm.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-ezoom.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-fade.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-fadedesktop.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-fakeargb.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-firepaint.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-fs.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-gears.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-glib.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-group.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-imgjpeg.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-inotify.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-mblur.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-minimize.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-move.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-mswitch.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-neg.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-notification.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-opacify.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-place.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-plane.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-png.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-put.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-reflex.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-regex.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-resize.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-resizeinfo.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-ring.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-rotate.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-scale.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-scaleaddon.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-scalefilter.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-schemep.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-screencasting.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-screensaver.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-screenshot.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-shift.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-showdesktop.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-snap.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-snow.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-splash.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-state.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-svg.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-switcher.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-text.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-thumbnail.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-tile.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-trailfocus.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-unknown.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-video.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-vpswitch.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-wall.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-wallpaper.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-water.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-widget.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-winrules.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-wobbly.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-workarounds.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-zoom.svg
/usr/share/ccsm/icons/hicolor/scalable/apps/plugin-mag.svg
/usr/share/ccsm/icons/hicolor/scalable/categories
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-accessibility.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-all.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-desktop.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-effects.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-extras.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-general.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-image_loading.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-key_bindings.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-profiles.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-search.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-uncategorized.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-utility.svg
/usr/share/ccsm/icons/hicolor/scalable/categories/plugins-window_management.svg
/usr/share/ccsm/images
/usr/share/ccsm/images/display.png
/usr/share/ccsm/images/modifier.png
/usr/share/locale
/usr/share/locale/ar
/usr/share/locale/ar/LC_MESSAGES
/usr/share/locale/ar/LC_MESSAGES/ccsm.mo
/usr/share/locale/bn
/usr/share/locale/bn/LC_MESSAGES
/usr/share/locale/bn/LC_MESSAGES/ccsm.mo
/usr/share/locale/bn_IN
/usr/share/locale/bn_IN/LC_MESSAGES
/usr/share/locale/bn_IN/LC_MESSAGES/ccsm.mo
/usr/share/locale/ca
/usr/share/locale/ca/LC_MESSAGES
/usr/share/locale/ca/LC_MESSAGES/ccsm.mo
/usr/share/locale/cs
/usr/share/locale/cs/LC_MESSAGES
/usr/share/locale/cs/LC_MESSAGES/ccsm.mo
/usr/share/locale/de
/usr/share/locale/de/LC_MESSAGES
/usr/share/locale/de/LC_MESSAGES/ccsm.mo
/usr/share/locale/el
/usr/share/locale/el/LC_MESSAGES
/usr/share/locale/el/LC_MESSAGES/ccsm.mo
/usr/share/locale/es
/usr/share/locale/es/LC_MESSAGES
/usr/share/locale/es/LC_MESSAGES/ccsm.mo
/usr/share/locale/eu
/usr/share/locale/eu/LC_MESSAGES
/usr/share/locale/eu/LC_MESSAGES/ccsm.mo
/usr/share/locale/fr
/usr/share/locale/fr/LC_MESSAGES
/usr/share/locale/fr/LC_MESSAGES/ccsm.mo
/usr/share/locale/gl
/usr/share/locale/gl/LC_MESSAGES
/usr/share/locale/gl/LC_MESSAGES/ccsm.mo
/usr/share/locale/gu
/usr/share/locale/gu/LC_MESSAGES
/usr/share/locale/gu/LC_MESSAGES/ccsm.mo
/usr/share/locale/hi
/usr/share/locale/hi/LC_MESSAGES
/usr/share/locale/hi/LC_MESSAGES/ccsm.mo
/usr/share/locale/hr
/usr/share/locale/hr/LC_MESSAGES
/usr/share/locale/hr/LC_MESSAGES/ccsm.mo
/usr/share/locale/hu
/usr/share/locale/hu/LC_MESSAGES
/usr/share/locale/hu/LC_MESSAGES/ccsm.mo
/usr/share/locale/id
/usr/share/locale/id/LC_MESSAGES
/usr/share/locale/id/LC_MESSAGES/ccsm.mo
/usr/share/locale/it
/usr/share/locale/it/LC_MESSAGES
/usr/share/locale/it/LC_MESSAGES/ccsm.mo
/usr/share/locale/ja
/usr/share/locale/ja/LC_MESSAGES
/usr/share/locale/ja/LC_MESSAGES/ccsm.mo
/usr/share/locale/ko
/usr/share/locale/ko/LC_MESSAGES
/usr/share/locale/ko/LC_MESSAGES/ccsm.mo
/usr/share/locale/md
/usr/share/locale/md/LC_MESSAGES
/usr/share/locale/md/LC_MESSAGES/ccsm.mo
/usr/share/locale/nb
/usr/share/locale/nb/LC_MESSAGES
/usr/share/locale/nb/LC_MESSAGES/ccsm.mo
/usr/share/locale/nl
/usr/share/locale/nl/LC_MESSAGES
/usr/share/locale/nl/LC_MESSAGES/ccsm.mo
/usr/share/locale/pa
/usr/share/locale/pa/LC_MESSAGES
/usr/share/locale/pa/LC_MESSAGES/ccsm.mo
/usr/share/locale/pl
/usr/share/locale/pl/LC_MESSAGES
/usr/share/locale/pl/LC_MESSAGES/ccsm.mo
/usr/share/locale/pt
/usr/share/locale/pt/LC_MESSAGES
/usr/share/locale/pt/LC_MESSAGES/ccsm.mo
/usr/share/locale/pt_BR
/usr/share/locale/pt_BR/LC_MESSAGES
/usr/share/locale/pt_BR/LC_MESSAGES/ccsm.mo
/usr/share/locale/ru
/usr/share/locale/ru/LC_MESSAGES
/usr/share/locale/ru/LC_MESSAGES/ccsm.mo
/usr/share/locale/sk
/usr/share/locale/sk/LC_MESSAGES
/usr/share/locale/sk/LC_MESSAGES/ccsm.mo
/usr/share/locale/sv
/usr/share/locale/sv/LC_MESSAGES
/usr/share/locale/sv/LC_MESSAGES/ccsm.mo
/usr/share/locale/tr
/usr/share/locale/tr/LC_MESSAGES
/usr/share/locale/tr/LC_MESSAGES/ccsm.mo
/usr/share/locale/wo
/usr/share/locale/wo/LC_MESSAGES
/usr/share/locale/wo/LC_MESSAGES/ccsm.mo
/usr/share/locale/zh_CN
/usr/share/locale/zh_CN/LC_MESSAGES
/usr/share/locale/zh_CN/LC_MESSAGES/ccsm.mo
/usr/share/doc
/usr/share/doc/compizconfig-settings-manager
/usr/share/doc/compizconfig-settings-manager/changelog.gz
/usr/share/doc/compizconfig-settings-manager/AUTHORS
/usr/share/doc/compizconfig-settings-manager/copyright
/usr/share/doc/compizconfig-settings-manager/changelog.Debian.gz
gauss@pmain:~$ echo $PYTHONPATH

gauss@pmain:~$


I have no PYTHONPATH in env...
And I am forgot to tell, I am using packages from http://download.tuxfamily.org/shames/debian-sid/desktopfx/unstable/, maybe this helps...

gauss-gs
February 2nd, 2008, 11:50 PM
I have found symbol GlobalUpdater in /usr/lib/python2.4/site-packages/ccm/Utils.py, but python ignores it...